Skip to content

Commit

Permalink
remove completly lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
titigmr committed May 2, 2023
1 parent d60e9d1 commit 6a8208f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions infra/kube/basegun/templates/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ metadata:
data:
{{- toYaml . | nindent 2 }}
{{- end -}}
#{{ else }}
#{{- if not (lookup "v1" "Secret" .Release.Namespace .Values.backend.secret.secretName ) -}}
#{{- fail (printf "Secret %s must be created before" .Values.backend.secret.secretName) -}}
#{{- end -}}
{{- end -}}


0 comments on commit 6a8208f

Please sign in to comment.