File tree Expand file tree Collapse file tree 3 files changed +11
-4
lines changed
helm/argocd-rbac-operator Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -39,8 +39,13 @@ app.kubernetes.io/instance: {{ .Release.Name }}
3939Create the name of the namespace
4040*/ }}
4141{{- define " argocd-rbac-operator.namespace" -}}
42+ {{- if .Values.namespace.nameOverride }}
43+ {{- .Values.namespace.nameOverride | trimSuffix " -" }}
44+ {{- else }}
4245{{- printf " %s -system" .Chart.Name | trimSuffix " -" }}
4346{{- end }}
47+ {{- end }}
48+
4449
4550{{/*
4651Create the name of the service account
Original file line number Diff line number Diff line change 1- {{- if .Values.createNamespace -}}
1+ {{- if .Values.namespace.create -}}
22apiVersion : v1
33kind : Namespace
44metadata :
Original file line number Diff line number Diff line change 55# This will set the replicaset count more information can be found here: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/
66replicaCount : 1
77
8- createNamespace : true
8+ namespace :
9+ nameOverride : " "
10+ create : true
911
1012argocd :
1113 # The namespace where the ArgoCD instance is running
@@ -44,7 +46,7 @@ containerSecurityContext:
4446 allowPrivilegeEscalation : false
4547 capabilities :
4648 drop :
47- - ALL
49+ - ALL
4850 readOnlyRootFilesystem : true
4951 runAsNonRoot : true
5052 seccompProfile :
@@ -72,4 +74,4 @@ readinessProbe:
7274 initialDelaySeconds : 5
7375 periodSeconds : 10
7476
75- nodeSelector : {}
77+ nodeSelector : {}
You can’t perform that action at this time.
0 commit comments