Skip to content

Commit

Permalink
raise error when no required values
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanMelnyk113 committed Sep 5, 2023
1 parent 7aca689 commit 7f5a726
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions charts/egressd/templates/exporter/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ spec:
name: {{ .Values.castai.apiKeySecretRef }}
key: API_KEY
{{- end }}
{{- else }}
{{- fail "apiKey or apiKeySecretRef must be provided" }}
{{- end }}
ports:
- name: http-server
Expand Down

0 comments on commit 7f5a726

Please sign in to comment.