Skip to content

Commit

Permalink
chore: lets only create the jenkins controller secret when the jenkin…
Browse files Browse the repository at this point in the history
…s engine is enabled like the other jenkins specific k8s resources
  • Loading branch information
rawlingsj authored and jenkins-x-bot committed Nov 5, 2020
1 parent c2f9c5f commit 860dc3b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions charts/lighthouse/templates/jenkins-controller-secret.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.engines.jenkins }}
apiVersion: v1
kind: Secret
metadata:
Expand All @@ -10,3 +11,4 @@ metadata:
type: Opaque
data:
token: {{ default "" .Values.jenkinscontroller.jenkinsToken | b64enc | quote }}
{{- end }}

0 comments on commit 860dc3b

Please sign in to comment.