feat(argo-cd): Make redis secret initialization optional (#2713)
* Make redis secret initialization optional Signed-off-by: michaelvl <mvl.gh@network42.dk> * Remove artifacthub.io/changes from previous change Signed-off-by: michaelvl <mvl.gh@network42.dk> --------- Signed-off-by: michaelvl <mvl.gh@network42.dk>
This commit is contained in:
parent
e6776415a4
commit
728b6e7326
7 changed files with 9 additions and 6 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{{- if not .Values.externalRedis.host }}
|
||||
{{- if and .Values.redisSecretInit.enabled (not .Values.externalRedis.host) }}
|
||||
apiVersion: batch/v1
|
||||
kind: Job
|
||||
metadata:
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{{- if not .Values.externalRedis.host }}
|
||||
{{- if and .Values.redisSecretInit.enabled (not .Values.externalRedis.host) }}
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: Role
|
||||
metadata:
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{{- if not .Values.externalRedis.host }}
|
||||
{{- if and .Values.redisSecretInit.enabled (not .Values.externalRedis.host) }}
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: RoleBinding
|
||||
metadata:
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{{- if not .Values.externalRedis.host }}
|
||||
{{- if and .Values.redisSecretInit.enabled (not .Values.externalRedis.host) }}
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
automountServiceAccountToken: {{ .Values.redisSecretInit.serviceAccount.automountServiceAccountToken }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue