Skip to content
This repository has been archived by the owner on Oct 3, 2020. It is now read-only.

helm-chart: Support excluding namespaces #83

Merged
merged 1 commit into from
Jan 22, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions helm-chart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ spec:
{{- if .Values.namespace.active_in }}
- --namespace={{ .Values.namespace.active_in }}
{{- end }}
{{- if .Values.namespace.inactive_in }}
- --exclude-namespaces={{ .Values.namespace.inactive_in | join "," }}
{{- end }}
{{- end }}
{{- if .Values.debug.enable }}
- --debug
Expand Down
2 changes: 2 additions & 0 deletions helm-chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ debug:
# namespace:
## Deployment will query all namespaces if left empty:
# active_in:
## Deployment exclude these namespaces:
# inactive_in:
## How frequently kube-downscaler should query applications uptime, unit is in seconds.

## Default is 1 minute.
Expand Down