Skip to content

Commit

Permalink
Remove namespaces from Operator Helm chart (#1646)
Browse files Browse the repository at this point in the history
Co-authored-by: Harshavardhana <harsha@minio.io>
  • Loading branch information
dnskr and harshavardhana committed Jun 27, 2023
1 parent 5113e3e commit ebf2568
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 10 deletions.
1 change: 0 additions & 1 deletion helm/operator/templates/console-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: "console"
namespace: {{ .Release.Namespace }}
labels:
{{- include "minio-operator.labels" . | nindent 4 }}
spec:
Expand Down
1 change: 0 additions & 1 deletion helm/operator/templates/console-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ include "minio-operator.console-fullname" . }}
namespace: {{ .Release.Namespace }}
{{- with .Values.console.ingress.labels }}
labels: {{ toYaml . | nindent 4 }}
{{- end }}
Expand Down
1 change: 0 additions & 1 deletion helm/operator/templates/console-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ apiVersion: v1
kind: Service
metadata:
name: "console"
namespace: {{ .Release.Namespace }}
labels:
{{- include "minio-operator.labels" . | nindent 4 }}
spec:
Expand Down
3 changes: 0 additions & 3 deletions helm/operator/templates/console-ui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: console-sa
namespace: {{ .Release.Namespace }}
---
apiVersion: v1
kind: Secret
metadata:
name: console-sa-secret
namespace: {{ .Release.Namespace }}
annotations:
kubernetes.io/service-account.name: console-sa
type: kubernetes.io/service-account-token
Expand Down Expand Up @@ -271,4 +269,3 @@ data:
kind: ConfigMap
metadata:
name: console-env
namespace: {{ .Release.Namespace }}
1 change: 0 additions & 1 deletion helm/operator/templates/operator-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: "minio-operator"
namespace: {{ .Release.Namespace }}
labels:
{{- include "minio-operator.labels" . | nindent 4 }}
spec:
Expand Down
2 changes: 0 additions & 2 deletions helm/operator/templates/operator-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ apiVersion: v1
kind: Service
metadata:
name: "operator"
namespace: {{ .Release.Namespace }}
labels:
{{- include "minio-operator.labels" . | nindent 4 }}
spec:
Expand All @@ -18,7 +17,6 @@ apiVersion: v1
kind: Service
metadata:
name: "sts"
namespace: {{ .Release.Namespace }}
labels:
{{- include "minio-operator.labels" . | nindent 4 }}
spec:
Expand Down
1 change: 0 additions & 1 deletion helm/operator/templates/serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: minio-operator
namespace: {{ .Release.Namespace }}
labels:
{{ include "minio-operator.labels" . | nindent 4 }}

0 comments on commit ebf2568

Please sign in to comment.