Skip to content

Commit

Permalink
Merge pull request lsst-sqre#2952 from lsst-sqre/u/afausti/add-vautl-…
Browse files Browse the repository at this point in the history
…secret-conditional

Add conditional to create VaultSecret resource
  • Loading branch information
afausti authored Feb 15, 2024
2 parents 0f994a8 + e2842b0 commit 7d3095e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions applications/sasquatch/templates/vault-secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ metadata:
spec:
path: "{{ .Values.global.vaultSecretsPath }}/pull-secret"
type: kubernetes.io/dockerconfigjson
{{- if (index .Values "strimzi-kafka" "connect" "enabled") }}
---
apiVersion: ricoberger.de/v1alpha1
kind: VaultSecret
Expand All @@ -28,3 +29,4 @@ spec:
templates:
.dockerconfigjson: >-
{% index .Secrets "connect-push-secret" %}
{{- end }}

0 comments on commit 7d3095e

Please sign in to comment.