Skip to content

Commit

Permalink
allow setting ct api url at install time
Browse files Browse the repository at this point in the history
  • Loading branch information
wr0ngway committed Jul 14, 2021
1 parent d194ac6 commit 8561036
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions helm/kubetruth/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ spec:
name: {{ include "kubetruth.fullname" . }}
args:
- app
{{- if .Values.appSettings.apiUrl }}
- --api-url
- "{{ .Values.appSettings.apiUrl }}"
{{- end }}
{{- if .Values.appSettings.pollingInterval }}
- --polling-interval
- "{{ .Values.appSettings.pollingInterval }}"
Expand Down
1 change: 1 addition & 0 deletions helm/kubetruth/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ affinity: {}

appSettings:
apiKey:
apiUrl:
pollingInterval:
debug: false

Expand Down

0 comments on commit 8561036

Please sign in to comment.