diff --git a/charts/milvus/templates/attu-deployment.yaml b/charts/milvus/templates/attu-deployment.yaml index 5e11abb..c8b06ea 100644 --- a/charts/milvus/templates/attu-deployment.yaml +++ b/charts/milvus/templates/attu-deployment.yaml @@ -3,6 +3,7 @@ apiVersion: apps/v1 kind: Deployment metadata: name: {{ template "milvus.attu.fullname" . }} + namespace: {{ .Release.Namespace }} labels: {{ include "milvus.labels" . | indent 4 }} component: "attu" diff --git a/charts/milvus/templates/attu-ingress.yaml b/charts/milvus/templates/attu-ingress.yaml index 637481e..a331aaa 100644 --- a/charts/milvus/templates/attu-ingress.yaml +++ b/charts/milvus/templates/attu-ingress.yaml @@ -7,6 +7,7 @@ apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: {{ template "milvus.attu.fullname" . }} + namespace: {{ .Release.Namespace }} labels: {{ include "milvus.labels" . | indent 4 }} {{- if .Values.attu.ingress.labels }} @@ -56,6 +57,7 @@ apiVersion: extensions/v1beta1 kind: Ingress metadata: name: {{ template "milvus.attu.fullname" . }} + namespace: {{ .Release.Namespace }} labels: {{ include "milvus.labels" . | indent 4 }} {{- if .Values.attu.ingress.labels }} diff --git a/charts/milvus/templates/attu-svc.yaml b/charts/milvus/templates/attu-svc.yaml index edff6f6..cb85ccb 100644 --- a/charts/milvus/templates/attu-svc.yaml +++ b/charts/milvus/templates/attu-svc.yaml @@ -3,6 +3,7 @@ apiVersion: v1 kind: Service metadata: name: {{ template "milvus.attu.fullname" . }} + namespace: {{ .Release.Namespace }} labels: {{ include "milvus.labels" . | indent 4 }} {{- if .Values.attu.service.labels }} diff --git a/charts/milvus/templates/configmap.yaml b/charts/milvus/templates/configmap.yaml index 6e71f0e..4b7c4bf 100644 --- a/charts/milvus/templates/configmap.yaml +++ b/charts/milvus/templates/configmap.yaml @@ -4,6 +4,7 @@ apiVersion: v1 kind: ConfigMap metadata: name: {{ template "milvus.fullname" . }} + namespace: {{ .Release.Namespace }} data: default.yaml: |+ {{- include "milvus.config" . | nindent 4 }} diff --git a/charts/milvus/templates/datacoord-deployment.yaml b/charts/milvus/templates/datacoord-deployment.yaml index b8ae6c9..ac876dc 100644 --- a/charts/milvus/templates/datacoord-deployment.yaml +++ b/charts/milvus/templates/datacoord-deployment.yaml @@ -3,6 +3,7 @@ apiVersion: apps/v1 kind: Deployment metadata: name: {{ template "milvus.datacoord.fullname" . }} + namespace: {{ .Release.Namespace }} labels: {{ include "milvus.labels" . | indent 4 }} component: "datacoord" diff --git a/charts/milvus/templates/datacoord-svc.yaml b/charts/milvus/templates/datacoord-svc.yaml index c30e2ba..c2b4703 100644 --- a/charts/milvus/templates/datacoord-svc.yaml +++ b/charts/milvus/templates/datacoord-svc.yaml @@ -3,6 +3,7 @@ apiVersion: v1 kind: Service metadata: name: {{ template "milvus.datacoord.fullname" . }} + namespace: {{ .Release.Namespace }} labels: {{ include "milvus.labels" . | indent 4 }} {{- if .Values.dataCoordinator.service.labels }} diff --git a/charts/milvus/templates/datanode-deployment.yaml b/charts/milvus/templates/datanode-deployment.yaml index a49516c..bc0ae10 100644 --- a/charts/milvus/templates/datanode-deployment.yaml +++ b/charts/milvus/templates/datanode-deployment.yaml @@ -3,6 +3,7 @@ apiVersion: apps/v1 kind: Deployment metadata: name: {{ template "milvus.datanode.fullname" . }} + namespace: {{ .Release.Namespace }} labels: {{ include "milvus.labels" . | indent 4 }} component: "datanode" diff --git a/charts/milvus/templates/datanode-svc.yaml b/charts/milvus/templates/datanode-svc.yaml index 4891938..5cd5e3f 100644 --- a/charts/milvus/templates/datanode-svc.yaml +++ b/charts/milvus/templates/datanode-svc.yaml @@ -4,6 +4,7 @@ apiVersion: v1 kind: Service metadata: name: {{ template "milvus.datanode.fullname" . }} + namespace: {{ .Release.Namespace }} labels: {{ include "milvus.labels" . | indent 4 }} component: "datanode" diff --git a/charts/milvus/templates/indexcoord-deployment.yaml b/charts/milvus/templates/indexcoord-deployment.yaml index 1b4c7be..d73adc1 100644 --- a/charts/milvus/templates/indexcoord-deployment.yaml +++ b/charts/milvus/templates/indexcoord-deployment.yaml @@ -3,6 +3,7 @@ apiVersion: apps/v1 kind: Deployment metadata: name: {{ template "milvus.indexcoord.fullname" . }} + namespace: {{ .Release.Namespace }} labels: {{ include "milvus.labels" . | indent 4 }} component: "indexcoord" diff --git a/charts/milvus/templates/indexcoord-svc.yaml b/charts/milvus/templates/indexcoord-svc.yaml index a91b02e..cb47b4f 100644 --- a/charts/milvus/templates/indexcoord-svc.yaml +++ b/charts/milvus/templates/indexcoord-svc.yaml @@ -3,6 +3,7 @@ apiVersion: v1 kind: Service metadata: name: {{ template "milvus.indexcoord.fullname" . }} + namespace: {{ .Release.Namespace }} labels: {{ include "milvus.labels" . | indent 4 }} {{- if .Values.indexCoordinator.service.labels }} diff --git a/charts/milvus/templates/indexnode-deployment.yaml b/charts/milvus/templates/indexnode-deployment.yaml index 9a47c8f..7b87cfa 100644 --- a/charts/milvus/templates/indexnode-deployment.yaml +++ b/charts/milvus/templates/indexnode-deployment.yaml @@ -3,6 +3,7 @@ apiVersion: apps/v1 kind: Deployment metadata: name: {{ template "milvus.indexnode.fullname" . }} + namespace: {{ .Release.Namespace }} labels: {{ include "milvus.labels" . | indent 4 }} component: "indexnode" diff --git a/charts/milvus/templates/indexnode-svc.yaml b/charts/milvus/templates/indexnode-svc.yaml index 5110e54..2f4089a 100644 --- a/charts/milvus/templates/indexnode-svc.yaml +++ b/charts/milvus/templates/indexnode-svc.yaml @@ -4,6 +4,7 @@ apiVersion: v1 kind: Service metadata: name: {{ template "milvus.indexnode.fullname" . }} + namespace: {{ .Release.Namespace }} labels: {{ include "milvus.labels" . | indent 4 }} component: "indexnode" diff --git a/charts/milvus/templates/ingress.yaml b/charts/milvus/templates/ingress.yaml index 0c78a00..ca83225 100644 --- a/charts/milvus/templates/ingress.yaml +++ b/charts/milvus/templates/ingress.yaml @@ -7,6 +7,7 @@ apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: {{ template "milvus.fullname" . }} + namespace: {{ .Release.Namespace }} labels: {{ include "milvus.labels" . | indent 4 }} {{- if .Values.ingress.labels }} @@ -54,6 +55,7 @@ apiVersion: extensions/v1beta1 kind: Ingress metadata: name: {{ template "milvus.fullname" . }} + namespace: {{ .Release.Namespace }} labels: {{ include "milvus.labels" . | indent 4 }} {{- if .Values.ingress.labels }} diff --git a/charts/milvus/templates/mixcoord-deployment.yaml b/charts/milvus/templates/mixcoord-deployment.yaml index 02753f8..7ce8d23 100644 --- a/charts/milvus/templates/mixcoord-deployment.yaml +++ b/charts/milvus/templates/mixcoord-deployment.yaml @@ -3,6 +3,7 @@ apiVersion: apps/v1 kind: Deployment metadata: name: {{ template "milvus.mixcoord.fullname" . }} + namespace: {{ .Release.Namespace }} labels: {{ include "milvus.labels" . | indent 4 }} component: "mixcoord" diff --git a/charts/milvus/templates/mixcoord-svc.yaml b/charts/milvus/templates/mixcoord-svc.yaml index 5b0b508..bacf225 100644 --- a/charts/milvus/templates/mixcoord-svc.yaml +++ b/charts/milvus/templates/mixcoord-svc.yaml @@ -3,6 +3,7 @@ apiVersion: v1 kind: Service metadata: name: {{ template "milvus.mixcoord.fullname" . }} + namespace: {{ .Release.Namespace }} labels: {{ include "milvus.labels" . | indent 4 }} {{- if .Values.mixCoordinator.service.labels }} diff --git a/charts/milvus/templates/proxy-deployment.yaml b/charts/milvus/templates/proxy-deployment.yaml index c719763..f604da2 100644 --- a/charts/milvus/templates/proxy-deployment.yaml +++ b/charts/milvus/templates/proxy-deployment.yaml @@ -3,6 +3,7 @@ apiVersion: apps/v1 kind: Deployment metadata: name: {{ template "milvus.proxy.fullname" . }} + namespace: {{ .Release.Namespace }} labels: {{ include "milvus.labels" . | indent 4 }} component: "proxy" diff --git a/charts/milvus/templates/proxy-tls-secret.yaml b/charts/milvus/templates/proxy-tls-secret.yaml index 1e746f7..ddaa546 100644 --- a/charts/milvus/templates/proxy-tls-secret.yaml +++ b/charts/milvus/templates/proxy-tls-secret.yaml @@ -6,6 +6,7 @@ apiVersion: v1 kind: Secret metadata: name: {{ .Values.proxy.tls.secretName }} + namespace: {{ .Release.Namespace }} data: tls.crt: {{ .Values.proxy.tls.crt }} tls.key: {{ .Values.proxy.tls.key }} diff --git a/charts/milvus/templates/pulsar-podmonitor.yaml b/charts/milvus/templates/pulsar-podmonitor.yaml index 6179e2c..99039cd 100644 --- a/charts/milvus/templates/pulsar-podmonitor.yaml +++ b/charts/milvus/templates/pulsar-podmonitor.yaml @@ -5,6 +5,7 @@ apiVersion: monitoring.coreos.com/v1 kind: PodMonitor metadata: name: {{ template "milvus.pulsar.fullname" . }}-broker + namespace: {{ .Release.Namespace }} labels: app: pulsar cluster: {{ template "milvus.pulsar.fullname" .}} @@ -31,6 +32,7 @@ apiVersion: monitoring.coreos.com/v1 kind: PodMonitor metadata: name: {{ template "milvus.pulsar.fullname" . }}-proxy + namespace: {{ .Release.Namespace }} labels: app: pulsar cluster: {{ template "milvus.pulsar.fullname" .}} diff --git a/charts/milvus/templates/pvc.yaml b/charts/milvus/templates/pvc.yaml index b0da8a5..398e768 100644 --- a/charts/milvus/templates/pvc.yaml +++ b/charts/milvus/templates/pvc.yaml @@ -5,6 +5,7 @@ apiVersion: v1 kind: PersistentVolumeClaim metadata: name: {{ printf "%s" (include "milvus.fullname" . | trunc 58)}} + namespace: {{ .Release.Namespace }} {{- with .Values.standalone.persistence.annotations }} annotations: {{ toYaml . | indent 4 }} @@ -36,6 +37,7 @@ apiVersion: v1 kind: PersistentVolumeClaim metadata: name: {{ printf "%s-logs" (include "milvus.fullname" . | trunc 58)}} + namespace: {{ .Release.Namespace }} {{- with .Values.log.persistence.annotations }} annotations: {{ toYaml . | indent 4 }} diff --git a/charts/milvus/templates/querycoord-deployment.yaml b/charts/milvus/templates/querycoord-deployment.yaml index 6fd33a4..3746bfa 100644 --- a/charts/milvus/templates/querycoord-deployment.yaml +++ b/charts/milvus/templates/querycoord-deployment.yaml @@ -3,6 +3,7 @@ apiVersion: apps/v1 kind: Deployment metadata: name: {{ template "milvus.querycoord.fullname" . }} + namespace: {{ .Release.Namespace }} labels: {{ include "milvus.labels" . | indent 4 }} component: "querycoord" diff --git a/charts/milvus/templates/querycoord-svc.yaml b/charts/milvus/templates/querycoord-svc.yaml index 57e8b0a..d69a4d0 100644 --- a/charts/milvus/templates/querycoord-svc.yaml +++ b/charts/milvus/templates/querycoord-svc.yaml @@ -3,6 +3,7 @@ apiVersion: v1 kind: Service metadata: name: {{ template "milvus.querycoord.fullname" . }} + namespace: {{ .Release.Namespace }} labels: {{ include "milvus.labels" . | indent 4 }} {{- if .Values.queryCoordinator.service.labels }} diff --git a/charts/milvus/templates/querynode-deployment.yaml b/charts/milvus/templates/querynode-deployment.yaml index 8cec842..506797a 100644 --- a/charts/milvus/templates/querynode-deployment.yaml +++ b/charts/milvus/templates/querynode-deployment.yaml @@ -3,6 +3,7 @@ apiVersion: apps/v1 kind: Deployment metadata: name: {{ template "milvus.querynode.fullname" . }} + namespace: {{ .Release.Namespace }} labels: {{ include "milvus.labels" . | indent 4 }} component: "querynode" diff --git a/charts/milvus/templates/querynode-svc.yaml b/charts/milvus/templates/querynode-svc.yaml index 888965d..d45a7c7 100644 --- a/charts/milvus/templates/querynode-svc.yaml +++ b/charts/milvus/templates/querynode-svc.yaml @@ -4,6 +4,7 @@ apiVersion: v1 kind: Service metadata: name: {{ template "milvus.querynode.fullname" . }} + namespace: {{ .Release.Namespace }} labels: {{ include "milvus.labels" . | indent 4 }} component: "querynode" diff --git a/charts/milvus/templates/rootcoord-deployment.yaml b/charts/milvus/templates/rootcoord-deployment.yaml index c3f2123..fe5beaf 100644 --- a/charts/milvus/templates/rootcoord-deployment.yaml +++ b/charts/milvus/templates/rootcoord-deployment.yaml @@ -3,6 +3,7 @@ apiVersion: apps/v1 kind: Deployment metadata: name: {{ template "milvus.rootcoord.fullname" . }} + namespace: {{ .Release.Namespace }} labels: {{ include "milvus.labels" . | indent 4 }} component: "rootcoord" diff --git a/charts/milvus/templates/rootcoord-svc.yaml b/charts/milvus/templates/rootcoord-svc.yaml index 31fa2da..a30809e 100644 --- a/charts/milvus/templates/rootcoord-svc.yaml +++ b/charts/milvus/templates/rootcoord-svc.yaml @@ -3,6 +3,7 @@ apiVersion: v1 kind: Service metadata: name: {{ template "milvus.rootcoord.fullname" . }} + namespace: {{ .Release.Namespace }} labels: {{ include "milvus.labels" . | indent 4 }} {{- if .Values.rootCoordinator.service.labels }} diff --git a/charts/milvus/templates/service.yaml b/charts/milvus/templates/service.yaml index b76d123..91f39bc 100644 --- a/charts/milvus/templates/service.yaml +++ b/charts/milvus/templates/service.yaml @@ -3,6 +3,7 @@ apiVersion: v1 kind: Service metadata: name: {{ template "milvus.fullname" . }} + namespace: {{ .Release.Namespace }} labels: {{ include "milvus.labels" . | indent 4 }} {{- if .Values.service.labels }} diff --git a/charts/milvus/templates/serviceaccount.yaml b/charts/milvus/templates/serviceaccount.yaml index 1ed37e1..4b16c75 100644 --- a/charts/milvus/templates/serviceaccount.yaml +++ b/charts/milvus/templates/serviceaccount.yaml @@ -3,6 +3,7 @@ apiVersion: v1 kind: ServiceAccount metadata: name: {{ include "milvus.serviceAccount" . }} + namespace: {{ .Release.Namespace }} {{- if .Values.serviceAccount.annotations }} annotations: {{ toYaml .Values.serviceAccount.annotations | nindent 4 }} diff --git a/charts/milvus/templates/servicemonitor.yaml b/charts/milvus/templates/servicemonitor.yaml index ba8048f..49a51d8 100644 --- a/charts/milvus/templates/servicemonitor.yaml +++ b/charts/milvus/templates/servicemonitor.yaml @@ -5,6 +5,7 @@ apiVersion: monitoring.coreos.com/v1 kind: ServiceMonitor metadata: name: {{ template "milvus.standalone.fullname" . }} + namespace: {{ .Release.Namespace }} labels: {{ include "milvus.labels" . | indent 4 }} {{- if .Values.metrics.serviceMonitor.additionalLabels }} @@ -37,6 +38,7 @@ apiVersion: monitoring.coreos.com/v1 kind: ServiceMonitor metadata: name: {{ template "milvus.fullname" . }} + namespace: {{ .Release.Namespace }} labels: {{ include "milvus.labels" . | indent 4 }} {{- if .Values.metrics.serviceMonitor.additionalLabels }} diff --git a/charts/milvus/templates/standalone-deployment.yaml b/charts/milvus/templates/standalone-deployment.yaml index cbb2f3b..7e0ea5d 100644 --- a/charts/milvus/templates/standalone-deployment.yaml +++ b/charts/milvus/templates/standalone-deployment.yaml @@ -3,6 +3,7 @@ apiVersion: apps/v1 kind: Deployment metadata: name: {{ template "milvus.standalone.fullname" . }} + namespace: {{ .Release.Namespace }} labels: {{ include "milvus.labels" . | indent 4 }} component: "standalone" diff --git a/charts/minio/templates/configmap.yaml b/charts/minio/templates/configmap.yaml index cb11fcd..e06fe4c 100644 --- a/charts/minio/templates/configmap.yaml +++ b/charts/minio/templates/configmap.yaml @@ -2,6 +2,7 @@ apiVersion: v1 kind: ConfigMap metadata: name: {{ template "minio.fullname" . }} + namespace: {{ .Release.Namespace }} labels: app: {{ template "minio.name" . }} chart: {{ template "minio.chart" . }} diff --git a/charts/minio/templates/deployment.yaml b/charts/minio/templates/deployment.yaml index ffa880b..6f93d29 100644 --- a/charts/minio/templates/deployment.yaml +++ b/charts/minio/templates/deployment.yaml @@ -8,6 +8,7 @@ apiVersion: {{ template "minio.deployment.apiVersion" . }} kind: Deployment metadata: name: {{ template "minio.fullname" . }} + namespace: {{ .Release.Namespace }} labels: app: {{ template "minio.name" . }} chart: {{ template "minio.chart" . }} diff --git a/charts/minio/templates/ingress.yaml b/charts/minio/templates/ingress.yaml index 2d9bbda..e3f99e4 100644 --- a/charts/minio/templates/ingress.yaml +++ b/charts/minio/templates/ingress.yaml @@ -6,6 +6,7 @@ apiVersion: {{ template "minio.ingress.apiVersion" . }} kind: Ingress metadata: name: {{ $fullName }} + namespace: {{ .Release.Namespace }} labels: app: {{ template "minio.name" . }} chart: {{ template "minio.chart" . }} diff --git a/charts/minio/templates/networkpolicy.yaml b/charts/minio/templates/networkpolicy.yaml index de57f48..bb56e3c 100644 --- a/charts/minio/templates/networkpolicy.yaml +++ b/charts/minio/templates/networkpolicy.yaml @@ -3,6 +3,7 @@ kind: NetworkPolicy apiVersion: {{ template "minio.networkPolicy.apiVersion" . }} metadata: name: {{ template "minio.fullname" . }} + namespace: {{ .Release.Namespace }} labels: app: {{ template "minio.name" . }} chart: {{ template "minio.chart" . }} diff --git a/charts/minio/templates/poddisruptionbudget.yaml b/charts/minio/templates/poddisruptionbudget.yaml index dce1335..735457f 100644 --- a/charts/minio/templates/poddisruptionbudget.yaml +++ b/charts/minio/templates/poddisruptionbudget.yaml @@ -3,6 +3,7 @@ apiVersion: {{ template "minio.pdb.apiVersion" . }} kind: PodDisruptionBudget metadata: name: minio + namespace: {{ .Release.Namespace }} labels: app: {{ template "minio.name" . }} spec: diff --git a/charts/minio/templates/podmonitor.yaml b/charts/minio/templates/podmonitor.yaml index 0bd969f..16222d9 100644 --- a/charts/minio/templates/podmonitor.yaml +++ b/charts/minio/templates/podmonitor.yaml @@ -7,6 +7,7 @@ apiVersion: monitoring.coreos.com/v1 kind: PodMonitor metadata: name: {{ template "minio.fullname" . }} + namespace: {{ .Release.Namespace }} labels: app: {{ template "minio.name" . }} release: {{ .Release.Name }} diff --git a/charts/minio/templates/post-install-create-bucket-job.yaml b/charts/minio/templates/post-install-create-bucket-job.yaml index 27e30d4..59c4c0f 100644 --- a/charts/minio/templates/post-install-create-bucket-job.yaml +++ b/charts/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 }} labels: app: {{ template "minio.name" . }}-make-bucket-job chart: {{ template "minio.chart" . }} diff --git a/charts/minio/templates/post-install-prometheus-metrics-job.yaml b/charts/minio/templates/post-install-prometheus-metrics-job.yaml index 3091a94..db6af1e 100644 --- a/charts/minio/templates/post-install-prometheus-metrics-job.yaml +++ b/charts/minio/templates/post-install-prometheus-metrics-job.yaml @@ -8,6 +8,7 @@ apiVersion: batch/v1 kind: Job metadata: name: {{ $fullName }}-update-prometheus-secret + namespace: {{ .Release.Namespace }} labels: app: {{ template "minio.name" . }}-update-prometheus-secret chart: {{ template "minio.chart" . }} diff --git a/charts/minio/templates/post-install-prometheus-metrics-role.yaml b/charts/minio/templates/post-install-prometheus-metrics-role.yaml index fe07bf8..286d644 100644 --- a/charts/minio/templates/post-install-prometheus-metrics-role.yaml +++ b/charts/minio/templates/post-install-prometheus-metrics-role.yaml @@ -4,6 +4,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: name: {{ $fullName }}-update-prometheus-secret + namespace: {{ .Release.Namespace }} labels: app: {{ template "minio.name" . }}-update-prometheus-secret chart: {{ template "minio.chart" . }} diff --git a/charts/minio/templates/post-install-prometheus-metrics-rolebinding.yaml b/charts/minio/templates/post-install-prometheus-metrics-rolebinding.yaml index 9daf50d..d560e73 100644 --- a/charts/minio/templates/post-install-prometheus-metrics-rolebinding.yaml +++ b/charts/minio/templates/post-install-prometheus-metrics-rolebinding.yaml @@ -4,6 +4,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: name: {{ $fullName }}-update-prometheus-secret + namespace: {{ .Release.Namespace }} labels: app: {{ template "minio.name" . }}-update-prometheus-secret chart: {{ template "minio.chart" . }} diff --git a/charts/minio/templates/post-install-prometheus-metrics-serviceaccount.yaml b/charts/minio/templates/post-install-prometheus-metrics-serviceaccount.yaml index a704b53..bdf568b 100644 --- a/charts/minio/templates/post-install-prometheus-metrics-serviceaccount.yaml +++ b/charts/minio/templates/post-install-prometheus-metrics-serviceaccount.yaml @@ -4,6 +4,7 @@ apiVersion: v1 kind: ServiceAccount metadata: name: {{ $fullName }}-update-prometheus-secret + namespace: {{ .Release.Namespace }} labels: app: {{ template "minio.name" . }}-update-prometheus-secret chart: {{ template "minio.chart" . }} diff --git a/charts/minio/templates/pvc.yaml b/charts/minio/templates/pvc.yaml index 99f0fd4..4c7c0f5 100644 --- a/charts/minio/templates/pvc.yaml +++ b/charts/minio/templates/pvc.yaml @@ -4,6 +4,7 @@ apiVersion: v1 kind: PersistentVolumeClaim metadata: name: {{ template "minio.fullname" . }} + namespace: {{ .Release.Namespace }} {{- with .Values.persistence.annotations }} annotations: {{- toYaml . | nindent 4 }} diff --git a/charts/minio/templates/secrets.yaml b/charts/minio/templates/secrets.yaml index c254142..4f57284 100644 --- a/charts/minio/templates/secrets.yaml +++ b/charts/minio/templates/secrets.yaml @@ -3,6 +3,7 @@ apiVersion: v1 kind: Secret metadata: name: {{ template "minio.secretName" . }} + namespace: {{ .Release.Namespace }} labels: app: {{ template "minio.name" . }} chart: {{ template "minio.chart" . }} diff --git a/charts/minio/templates/securitycontextconstraints.yaml b/charts/minio/templates/securitycontextconstraints.yaml index 4bac7e3..7669195 100644 --- a/charts/minio/templates/securitycontextconstraints.yaml +++ b/charts/minio/templates/securitycontextconstraints.yaml @@ -3,6 +3,7 @@ apiVersion: security.openshift.io/v1 kind: SecurityContextConstraints metadata: name: {{ template "minio.fullname" . }} + namespace: {{ .Release.Namespace }} labels: app: {{ template "minio.name" . }} chart: {{ template "minio.chart" . }} diff --git a/charts/minio/templates/service.yaml b/charts/minio/templates/service.yaml index ea681e2..1019c1d 100644 --- a/charts/minio/templates/service.yaml +++ b/charts/minio/templates/service.yaml @@ -6,6 +6,7 @@ apiVersion: v1 kind: Service metadata: name: {{ template "minio.fullname" . }} + namespace: {{ .Release.Namespace }} labels: app: {{ template "minio.name" . }} chart: {{ template "minio.chart" . }} diff --git a/charts/minio/templates/statefulset.yaml b/charts/minio/templates/statefulset.yaml index ff16079..52dcfd7 100644 --- a/charts/minio/templates/statefulset.yaml +++ b/charts/minio/templates/statefulset.yaml @@ -17,6 +17,7 @@ apiVersion: v1 kind: Service metadata: name: {{ template "minio.fullname" . }}-svc + namespace: {{ .Release.Namespace }} labels: app: {{ template "minio.name" . }} chart: {{ template "minio.chart" . }} @@ -37,6 +38,7 @@ apiVersion: {{ template "minio.statefulset.apiVersion" . }} kind: StatefulSet metadata: name: {{ template "minio.fullname" . }} + namespace: {{ .Release.Namespace }} labels: app: {{ template "minio.name" . }} chart: {{ template "minio.chart" . }}