Skip to content

Commit cdd604f

Browse files
committed
feat: handle git token and hmac secrets when argocd enabled
1 parent abef2c6 commit cdd604f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

charts/jxgh/lighthouse/values.yaml.gotmpl

+7-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ git:
1212

1313
service:
1414
name: hook
15-
15+
1616
replicaCount: 2
1717

1818
{{- if eq .Values.jxRequirements.cluster.provider "gke" }}
@@ -62,6 +62,12 @@ vault:
6262
hmacTokenEnabled: false
6363
{{- end }}
6464

65+
{{- if and (hasKey .Values.jxRequirements.cluster "argocd") (.Values.jxRequirements.cluster.argocd.enabled) }}
66+
# avoid creating new secrets. bypasses 'jx secret' steps in Makefile
67+
hmacSecretName: lighthouse-hmac-token
68+
oauthSecretName: lighthouse-oauth-token
69+
{{- end }}
70+
6571
{{- if hasKey .Values.jxRequirements.cluster "clusterName" }}
6672
clusterName: "{{ .Values.jxRequirements.cluster.clusterName }}"
6773
{{- end }}

0 commit comments

Comments
 (0)