diff --git a/helm/minio/templates/configmap.yaml b/helm/minio/templates/configmap.yaml index 54d56772c..347062e5c 100644 --- a/helm/minio/templates/configmap.yaml +++ b/helm/minio/templates/configmap.yaml @@ -2,7 +2,6 @@ apiVersion: v1 kind: ConfigMap metadata: name: {{ template "minio.fullname" . }} - namespace: {{ .Release.Namespace | quote }} labels: app: {{ template "minio.name" . }} chart: {{ template "minio.chart" . }} diff --git a/helm/minio/templates/console-ingress.yaml b/helm/minio/templates/console-ingress.yaml index 2ce9a93bf..48952d953 100644 --- a/helm/minio/templates/console-ingress.yaml +++ b/helm/minio/templates/console-ingress.yaml @@ -6,7 +6,6 @@ apiVersion: {{ template "minio.consoleIngress.apiVersion" . }} kind: Ingress metadata: name: {{ $fullName }} - namespace: {{ .Release.Namespace | quote }} labels: app: {{ template "minio.name" . }} chart: {{ template "minio.chart" . }} diff --git a/helm/minio/templates/console-service.yaml b/helm/minio/templates/console-service.yaml index 46da35974..78e07832c 100644 --- a/helm/minio/templates/console-service.yaml +++ b/helm/minio/templates/console-service.yaml @@ -6,7 +6,6 @@ apiVersion: v1 kind: Service metadata: name: {{ template "minio.fullname" . }}-console - namespace: {{ .Release.Namespace | quote }} labels: app: {{ template "minio.name" . }} chart: {{ template "minio.chart" . }} diff --git a/helm/minio/templates/deployment.yaml b/helm/minio/templates/deployment.yaml index ad92c892b..235ad8b07 100644 --- a/helm/minio/templates/deployment.yaml +++ b/helm/minio/templates/deployment.yaml @@ -8,7 +8,6 @@ apiVersion: {{ template "minio.deployment.apiVersion" . }} kind: Deployment metadata: name: {{ template "minio.fullname" . }} - namespace: {{ .Release.Namespace | quote }} labels: app: {{ template "minio.name" . }} chart: {{ template "minio.chart" . }} diff --git a/helm/minio/templates/ingress.yaml b/helm/minio/templates/ingress.yaml index 8d9a837dc..62d9a8c83 100644 --- a/helm/minio/templates/ingress.yaml +++ b/helm/minio/templates/ingress.yaml @@ -6,7 +6,6 @@ apiVersion: {{ template "minio.ingress.apiVersion" . }} kind: Ingress metadata: name: {{ $fullName }} - namespace: {{ .Release.Namespace | quote }} labels: app: {{ template "minio.name" . }} chart: {{ template "minio.chart" . }} diff --git a/helm/minio/templates/networkpolicy.yaml b/helm/minio/templates/networkpolicy.yaml index ac219b937..7ebc2aa73 100644 --- a/helm/minio/templates/networkpolicy.yaml +++ b/helm/minio/templates/networkpolicy.yaml @@ -3,7 +3,6 @@ kind: NetworkPolicy apiVersion: {{ template "minio.networkPolicy.apiVersion" . }} metadata: name: {{ template "minio.fullname" . }} - namespace: {{ .Release.Namespace | quote }} labels: app: {{ template "minio.name" . }} chart: {{ template "minio.chart" . }} diff --git a/helm/minio/templates/poddisruptionbudget.yaml b/helm/minio/templates/poddisruptionbudget.yaml index 41c649aa2..a5f90a080 100644 --- a/helm/minio/templates/poddisruptionbudget.yaml +++ b/helm/minio/templates/poddisruptionbudget.yaml @@ -7,7 +7,6 @@ apiVersion: policy/v1 kind: PodDisruptionBudget metadata: name: minio - namespace: {{ .Release.Namespace | quote }} labels: app: {{ template "minio.name" . }} spec: diff --git a/helm/minio/templates/post-job.yaml b/helm/minio/templates/post-job.yaml index 11728c3ff..1adf00d97 100644 --- a/helm/minio/templates/post-job.yaml +++ b/helm/minio/templates/post-job.yaml @@ -3,7 +3,6 @@ apiVersion: batch/v1 kind: Job metadata: name: {{ template "minio.fullname" . }}-post-job - namespace: {{ .Release.Namespace | quote }} labels: app: {{ template "minio.name" . }}-post-job chart: {{ template "minio.chart" . }} diff --git a/helm/minio/templates/pvc.yaml b/helm/minio/templates/pvc.yaml index 369aade41..5df1132a5 100644 --- a/helm/minio/templates/pvc.yaml +++ b/helm/minio/templates/pvc.yaml @@ -4,7 +4,6 @@ apiVersion: v1 kind: PersistentVolumeClaim metadata: name: {{ template "minio.fullname" . }} - namespace: {{ .Release.Namespace | quote }} labels: app: {{ template "minio.name" . }} chart: {{ template "minio.chart" . }} diff --git a/helm/minio/templates/secrets.yaml b/helm/minio/templates/secrets.yaml index da2ecab4a..476c3da51 100644 --- a/helm/minio/templates/secrets.yaml +++ b/helm/minio/templates/secrets.yaml @@ -3,7 +3,6 @@ apiVersion: v1 kind: Secret metadata: name: {{ template "minio.secretName" . }} - namespace: {{ .Release.Namespace | quote }} labels: app: {{ template "minio.name" . }} chart: {{ template "minio.chart" . }} diff --git a/helm/minio/templates/service.yaml b/helm/minio/templates/service.yaml index 741528df4..fd326a73e 100644 --- a/helm/minio/templates/service.yaml +++ b/helm/minio/templates/service.yaml @@ -6,7 +6,6 @@ apiVersion: v1 kind: Service metadata: name: {{ template "minio.fullname" . }} - namespace: {{ .Release.Namespace | quote }} labels: app: {{ template "minio.name" . }} chart: {{ template "minio.chart" . }} diff --git a/helm/minio/templates/serviceaccount.yaml b/helm/minio/templates/serviceaccount.yaml index 6a4bd94b3..1a5f77b49 100644 --- a/helm/minio/templates/serviceaccount.yaml +++ b/helm/minio/templates/serviceaccount.yaml @@ -3,5 +3,4 @@ apiVersion: v1 kind: ServiceAccount metadata: name: {{ .Values.serviceAccount.name | quote }} - namespace: {{ .Release.Namespace | quote }} {{- end -}} diff --git a/helm/minio/templates/servicemonitor.yaml b/helm/minio/templates/servicemonitor.yaml index 955273b52..80b907277 100644 --- a/helm/minio/templates/servicemonitor.yaml +++ b/helm/minio/templates/servicemonitor.yaml @@ -5,8 +5,6 @@ metadata: name: {{ template "minio.fullname" . }} {{- if .Values.metrics.serviceMonitor.namespace }} namespace: {{ .Values.metrics.serviceMonitor.namespace }} - {{ else }} - namespace: {{ .Release.Namespace | quote }} {{- end }} labels: app: {{ template "minio.name" . }} @@ -67,8 +65,6 @@ metadata: name: {{ template "minio.fullname" . }}-cluster {{- if .Values.metrics.serviceMonitor.namespace }} namespace: {{ .Values.metrics.serviceMonitor.namespace }} - {{ else }} - namespace: {{ .Release.Namespace | quote }} {{- end }} labels: app: {{ template "minio.name" . }} diff --git a/helm/minio/templates/statefulset.yaml b/helm/minio/templates/statefulset.yaml index ba7c3021a..e07e1654a 100644 --- a/helm/minio/templates/statefulset.yaml +++ b/helm/minio/templates/statefulset.yaml @@ -18,7 +18,6 @@ apiVersion: v1 kind: Service metadata: name: {{ template "minio.fullname" . }}-svc - namespace: {{ .Release.Namespace | quote }} labels: app: {{ template "minio.name" . }} chart: {{ template "minio.chart" . }} @@ -40,7 +39,6 @@ apiVersion: {{ template "minio.statefulset.apiVersion" . }} kind: StatefulSet metadata: name: {{ template "minio.fullname" . }} - namespace: {{ .Release.Namespace | quote }} labels: app: {{ template "minio.name" . }} chart: {{ template "minio.chart" . }}