Skip to content

Commit

Permalink
[stable/kube-downscaler]: Add inactive_in option and update default a… (
Browse files Browse the repository at this point in the history
deliveryhero#484)

[stable/kube-downscaler]: Add inactive_in option and update default appVersion

Co-authored-by: Florian Fl Bauer <[email protected]>
  • Loading branch information
derbauer97 and derbauer97 authored Jun 13, 2023
1 parent 4de7fec commit 9b09cae
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions stable/kube-downscaler/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: kube-downscaler
apiVersion: v1
version: "0.7.1"
appVersion: 22.9.0
version: "0.7.2"
appVersion: 23.2.0
description: Scale down Kubernetes deployments after work hours
keywords:
- k8s pods scheduler
Expand Down
2 changes: 1 addition & 1 deletion stable/kube-downscaler/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# kube-downscaler

![Version: 0.7.1](https://img.shields.io/badge/Version-0.7.1-informational?style=flat-square) ![AppVersion: 22.9.0](https://img.shields.io/badge/AppVersion-22.9.0-informational?style=flat-square)
![Version: 0.7.2](https://img.shields.io/badge/Version-0.7.2-informational?style=flat-square) ![AppVersion: 23.2.0](https://img.shields.io/badge/AppVersion-23.2.0-informational?style=flat-square)

Scale down Kubernetes deployments after work hours

Expand Down
3 changes: 3 additions & 0 deletions stable/kube-downscaler/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,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
1 change: 1 addition & 0 deletions stable/kube-downscaler/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ events:
# namespace:
## Deployment will query all namespaces if left empty:
# active_in:
# inactive_in:
## How frequently kube-downscaler should query applications uptime, unit is in seconds.

## Default is 60 seconds
Expand Down

0 comments on commit 9b09cae

Please sign in to comment.