Skip to content

Commit

Permalink
Validate apiServerURL being set
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuildthecloud committed Aug 28, 2020
1 parent 6e25257 commit 552e3be
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/fleet-agent/templates/validate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@
{{if ne .Release.Name .Values.internal.managedReleaseName }}
{{ fail "This chart must be installed in the namespace fleet-system as the release name fleet-agent" }}
{{end}}

{{if not .apiServerURL }}
{{ fail "apiServerURL is required to be set, and most likely also apiServerCA" }}
{{end}}

0 comments on commit 552e3be

Please sign in to comment.