-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Additional configuration options in helm chart (#1275)
* feat(helm): add flag to restrict canary checker to single namespace * chore: sanitise default resource requests * feat: ensure leadership is true if multiple replicas are deployed * feat: add ability to configure check disable in chart * fix: config file location * feat: allow configuration of data retention times via chart * feat: allow configuration of upstream connection via chart * fix: rework upstream secret injection * chore: rework disableChecks
- Loading branch information
1 parent
b43b840
commit f9b0ae0
Showing
4 changed files
with
70 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: {{ include "canary-checker.name" . }} | ||
labels: | ||
{{- include "canary-checker.labels" . | nindent 4 }} | ||
data: | ||
canary-checker.properties: | | ||
{{- range $k, $v := .Values.disableChecks }} | ||
check.disabled.{{ $k }}={{ $v }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{{- if .Values.upstream.enabled }} | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: {{ include "canary-checker.name" . }} | ||
data: | ||
UPSTREAM_USERNAME: {{ .Values.upstream.username | b64enc }} | ||
UPSTREAM_PASSWORD: {{ .Values.upstream.password | b64enc }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters