diff --git a/helm-chart/kube-hpa-scale-to-zero/Chart.yaml b/helm-chart/kube-hpa-scale-to-zero/Chart.yaml index 2560209..5517a1d 100644 --- a/helm-chart/kube-hpa-scale-to-zero/Chart.yaml +++ b/helm-chart/kube-hpa-scale-to-zero/Chart.yaml @@ -2,5 +2,6 @@ apiVersion: v2 name: kube-hpa-scale-to-zero description: See https://github.com/machine424/kube-hpa-scale-to-zero type: application +# Please Do not change this, it'll be done during the release. version: 0.4.0 appVersion: "0.4.0" diff --git a/helm-chart/kube-hpa-scale-to-zero/templates/rbac.yaml b/helm-chart/kube-hpa-scale-to-zero/templates/rbac.yaml index f6a7bfa..71f5ba5 100644 --- a/helm-chart/kube-hpa-scale-to-zero/templates/rbac.yaml +++ b/helm-chart/kube-hpa-scale-to-zero/templates/rbac.yaml @@ -32,6 +32,7 @@ metadata: subjects: - kind: ServiceAccount name: {{ include "kube-hpa-scale-to-zero.serviceAccountName" . }} + namespace: {{ .Release.Namespace }} roleRef: apiGroup: rbac.authorization.k8s.io kind: Role