diff --git a/charts/cluster-autoscaler/Chart.yaml b/charts/cluster-autoscaler/Chart.yaml index cd50c2f8c928..acf5456d6d4f 100644 --- a/charts/cluster-autoscaler/Chart.yaml +++ b/charts/cluster-autoscaler/Chart.yaml @@ -17,4 +17,4 @@ name: cluster-autoscaler sources: - https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler type: application -version: 9.17.2 +version: 9.18.0 diff --git a/charts/cluster-autoscaler/templates/deployment.yaml b/charts/cluster-autoscaler/templates/deployment.yaml index f21b4f39b6a0..e8edc7f826c9 100644 --- a/charts/cluster-autoscaler/templates/deployment.yaml +++ b/charts/cluster-autoscaler/templates/deployment.yaml @@ -8,6 +8,7 @@ metadata: labels: {{ include "cluster-autoscaler.labels" . | indent 4 }} name: {{ template "cluster-autoscaler.fullname" . }} + namespace: {{ .Release.Namespace }} spec: replicas: {{ .Values.replicaCount }} selector: diff --git a/charts/cluster-autoscaler/templates/pdb.yaml b/charts/cluster-autoscaler/templates/pdb.yaml index da5bd5644d99..19a7d01c1e06 100644 --- a/charts/cluster-autoscaler/templates/pdb.yaml +++ b/charts/cluster-autoscaler/templates/pdb.yaml @@ -5,6 +5,7 @@ metadata: labels: {{ include "cluster-autoscaler.labels" . | indent 4 }} name: {{ template "cluster-autoscaler.fullname" . }} + namespace: {{ .Release.Namespace }} spec: selector: matchLabels: diff --git a/charts/cluster-autoscaler/templates/priority-expander-configmap.yaml b/charts/cluster-autoscaler/templates/priority-expander-configmap.yaml index 8c381006184c..1e5b895572d1 100644 --- a/charts/cluster-autoscaler/templates/priority-expander-configmap.yaml +++ b/charts/cluster-autoscaler/templates/priority-expander-configmap.yaml @@ -4,6 +4,7 @@ apiVersion: v1 kind: ConfigMap metadata: name: cluster-autoscaler-priority-expander + namespace: {{ .Release.Namespace }} labels: {{ include "cluster-autoscaler.labels" . | indent 4 }} {{- if .Values.priorityConfigMapAnnotations }} diff --git a/charts/cluster-autoscaler/templates/role.yaml b/charts/cluster-autoscaler/templates/role.yaml index bfb5aee70f3b..b22fb58be8a4 100644 --- a/charts/cluster-autoscaler/templates/role.yaml +++ b/charts/cluster-autoscaler/templates/role.yaml @@ -5,6 +5,7 @@ metadata: labels: {{ include "cluster-autoscaler.labels" . | indent 4 }} name: {{ template "cluster-autoscaler.fullname" . }} + namespace: {{ .Release.Namespace }} rules: - apiGroups: - "" diff --git a/charts/cluster-autoscaler/templates/rolebinding.yaml b/charts/cluster-autoscaler/templates/rolebinding.yaml index 938bc03a3c2c..ba5f037558c6 100644 --- a/charts/cluster-autoscaler/templates/rolebinding.yaml +++ b/charts/cluster-autoscaler/templates/rolebinding.yaml @@ -5,6 +5,7 @@ metadata: labels: {{ include "cluster-autoscaler.labels" . | indent 4 }} name: {{ template "cluster-autoscaler.fullname" . }} + namespace: {{ .Release.Namespace }} roleRef: apiGroup: rbac.authorization.k8s.io kind: Role diff --git a/charts/cluster-autoscaler/templates/secret.yaml b/charts/cluster-autoscaler/templates/secret.yaml index 3f0ef09e2be9..9c58d0feb1a6 100644 --- a/charts/cluster-autoscaler/templates/secret.yaml +++ b/charts/cluster-autoscaler/templates/secret.yaml @@ -3,6 +3,7 @@ apiVersion: v1 kind: Secret metadata: name: {{ template "cluster-autoscaler.fullname" . }} + namespace: {{ .Release.Namespace }} data: {{- if eq .Values.cloudProvider "azure" }} ClientID: "{{ .Values.azureClientID | b64enc }}" diff --git a/charts/cluster-autoscaler/templates/service.yaml b/charts/cluster-autoscaler/templates/service.yaml index dd8903d9e055..d630512d4ed2 100644 --- a/charts/cluster-autoscaler/templates/service.yaml +++ b/charts/cluster-autoscaler/templates/service.yaml @@ -11,6 +11,7 @@ metadata: {{ toYaml .Values.service.labels | indent 4 }} {{- end }} name: {{ template "cluster-autoscaler.fullname" . }} + namespace: {{ .Release.Namespace }} spec: {{- if .Values.service.clusterIP }} clusterIP: "{{ .Values.service.clusterIP }}" diff --git a/charts/cluster-autoscaler/templates/serviceaccount.yaml b/charts/cluster-autoscaler/templates/serviceaccount.yaml index 919869b227b7..29c2580c2e34 100644 --- a/charts/cluster-autoscaler/templates/serviceaccount.yaml +++ b/charts/cluster-autoscaler/templates/serviceaccount.yaml @@ -5,6 +5,7 @@ metadata: labels: {{ include "cluster-autoscaler.labels" . | indent 4 }} name: {{ template "cluster-autoscaler.serviceAccountName" . }} + namespace: {{ .Release.Namespace }} {{- if .Values.rbac.serviceAccount.annotations }} annotations: {{ toYaml .Values.rbac.serviceAccount.annotations | nindent 4 }} {{- end }}