diff --git a/helm/minio/Chart.yaml b/helm/minio/Chart.yaml index a740b3f7a..0ea76f38b 100644 --- a/helm/minio/Chart.yaml +++ b/helm/minio/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 description: Multi-Cloud Object Storage name: minio -version: 3.1.5 +version: 3.1.6 appVersion: RELEASE.2021-09-18T18-09-59Z keywords: - minio diff --git a/helm/minio/templates/configmap.yaml b/helm/minio/templates/configmap.yaml index 48e1c1807..3e0a85554 100644 --- a/helm/minio/templates/configmap.yaml +++ b/helm/minio/templates/configmap.yaml @@ -2,6 +2,7 @@ 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 f2858a95a..3d83b1d85 100644 --- a/helm/minio/templates/console-ingress.yaml +++ b/helm/minio/templates/console-ingress.yaml @@ -6,6 +6,7 @@ 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 8beba955d..f4b1294e5 100644 --- a/helm/minio/templates/console-service.yaml +++ b/helm/minio/templates/console-service.yaml @@ -6,6 +6,7 @@ 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 07617aaa6..ca897ee8c 100644 --- a/helm/minio/templates/deployment.yaml +++ b/helm/minio/templates/deployment.yaml @@ -8,6 +8,7 @@ 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/gateway-deployment.yaml b/helm/minio/templates/gateway-deployment.yaml index b55118f31..753b087d2 100644 --- a/helm/minio/templates/gateway-deployment.yaml +++ b/helm/minio/templates/gateway-deployment.yaml @@ -8,6 +8,7 @@ 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 2d9bbda05..33226aaf2 100644 --- a/helm/minio/templates/ingress.yaml +++ b/helm/minio/templates/ingress.yaml @@ -6,6 +6,7 @@ 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 de57f485f..8e79f2359 100644 --- a/helm/minio/templates/networkpolicy.yaml +++ b/helm/minio/templates/networkpolicy.yaml @@ -3,6 +3,7 @@ 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 1de813b8b..8037eb743 100644 --- a/helm/minio/templates/poddisruptionbudget.yaml +++ b/helm/minio/templates/poddisruptionbudget.yaml @@ -3,6 +3,7 @@ apiVersion: policy/v1beta1 kind: PodDisruptionBudget metadata: name: minio + namespace: {{ .Release.Namespace | quote }} labels: app: {{ template "minio.name" . }} spec: diff --git a/helm/minio/templates/post-install-create-bucket-job.yaml b/helm/minio/templates/post-install-create-bucket-job.yaml index 88ac2d10a..434b31dd5 100644 --- a/helm/minio/templates/post-install-create-bucket-job.yaml +++ b/helm/minio/templates/post-install-create-bucket-job.yaml @@ -3,6 +3,7 @@ apiVersion: batch/v1 kind: Job metadata: name: {{ template "minio.fullname" . }}-make-bucket-job + namespace: {{ .Release.Namespace | quote }} labels: app: {{ template "minio.name" . }}-make-bucket-job chart: {{ template "minio.chart" . }} diff --git a/helm/minio/templates/post-install-create-user-job.yaml b/helm/minio/templates/post-install-create-user-job.yaml index b94cde959..980fab722 100644 --- a/helm/minio/templates/post-install-create-user-job.yaml +++ b/helm/minio/templates/post-install-create-user-job.yaml @@ -3,6 +3,7 @@ apiVersion: batch/v1 kind: Job metadata: name: {{ template "minio.fullname" . }}-make-user-job + namespace: {{ .Release.Namespace | quote }} labels: app: {{ template "minio.name" . }}-make-user-job chart: {{ template "minio.chart" . }} diff --git a/helm/minio/templates/pvc.yaml b/helm/minio/templates/pvc.yaml index 99f5ca694..84568e76f 100644 --- a/helm/minio/templates/pvc.yaml +++ b/helm/minio/templates/pvc.yaml @@ -4,6 +4,7 @@ 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 178258b05..bc494a91c 100644 --- a/helm/minio/templates/secrets.yaml +++ b/helm/minio/templates/secrets.yaml @@ -3,6 +3,7 @@ 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 42e6dff30..64aa990bd 100644 --- a/helm/minio/templates/service.yaml +++ b/helm/minio/templates/service.yaml @@ -6,6 +6,7 @@ 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/servicemonitor.yaml b/helm/minio/templates/servicemonitor.yaml index 7fc11fc12..cdf71b048 100644 --- a/helm/minio/templates/servicemonitor.yaml +++ b/helm/minio/templates/servicemonitor.yaml @@ -5,6 +5,8 @@ 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" . }} diff --git a/helm/minio/templates/statefulset.yaml b/helm/minio/templates/statefulset.yaml index babf82e0e..787a66d92 100644 --- a/helm/minio/templates/statefulset.yaml +++ b/helm/minio/templates/statefulset.yaml @@ -17,6 +17,7 @@ apiVersion: v1 kind: Service metadata: name: {{ template "minio.fullname" . }}-svc + namespace: {{ .Release.Namespace | quote }} labels: app: {{ template "minio.name" . }} chart: {{ template "minio.chart" . }}