Skip to content

Commit

Permalink
[DM-34317] Gate creating secret on having somewhere to publish
Browse files Browse the repository at this point in the history
  • Loading branch information
cbanek committed Apr 7, 2022
1 parent 8caf698 commit 2263919
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/sherlock/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ appVersion: 0.1.5
description: A Helm chart for Kubernetes
name: sherlock
type: application
version: 0.1.9
version: 0.1.10
maintainers:
- name: cbanek
2 changes: 2 additions & 0 deletions charts/sherlock/templates/vault-secret.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.publish_url }}
apiVersion: ricoberger.de/v1alpha1
kind: VaultSecret
metadata:
Expand All @@ -7,3 +8,4 @@ metadata:
spec:
path: {{ required "vaultSecretsPath must be set" .Values.vaultSecretsPath | quote }}
type: Opaque
{{- end }}

0 comments on commit 2263919

Please sign in to comment.