Skip to content

Commit 1e27cdb

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

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

charts/jxgh/lighthouse/values.yaml.gotmpl

+9-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,14 @@ vault:
6262
hmacTokenEnabled: false
6363
{{- end }}
6464

65+
{{- if hasKey .Values.jxRequirements "argocd" }}
66+
{{- if .Values.jxRequirements.argocd.enabled }}
67+
# avoid creating new secrets. bypasses 'jx secret' steps in Makefile
68+
hmacSecretName: lighthouse-hmac-token
69+
oauthSecretName: lighthouse-oauth-token
70+
{{- end }}
71+
{{- end }}
72+
6573
{{- if hasKey .Values.jxRequirements.cluster "clusterName" }}
6674
clusterName: "{{ .Values.jxRequirements.cluster.clusterName }}"
6775
{{- end }}

0 commit comments

Comments
 (0)