Repository navigation
fix(configmap): expose gitops.applicationHealthCheckEnabled and other operator keys #53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
9291a5b
acb0e64
7e4c6ce
3ac1ba7
ea7fdec
f789b05
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -21,8 +21,31 @@ data: | |
| gitops.customArgoYaml: | | ||
| {{ .Values.main.gitops.customArgoYaml | indent 4 }} | ||
| {{- end }} | ||
| {{- if .Values.main.gitops.applicationHealthCheckEnabled }} | ||
| {{- $ahce := .Values.main.gitops.applicationHealthCheckEnabled | toString | lower }} | ||
| {{- if and (ne $ahce "true") (ne $ahce "false") }} | ||
| {{- fail "applicationHealthCheckEnabled must be \"true\" or \"false\"" }} | ||
| {{- end }} | ||
| gitops.applicationHealthCheckEnabled: {{ $ahce | quote }} | ||
| {{- end }} | ||
| {{- if .Values.main.gitops.customHealthChecks }} | ||
| {{- $v := .Values.main.gitops.customHealthChecks }} | ||
| gitops.customHealthChecks: | | ||
| {{ if kindIs "string" $v }}{{ $v | indent 4 }}{{ else }}{{ toYaml $v | indent 4 }}{{ end }} | ||
| {{- end }} | ||
| {{- if .Values.main.gitops.sourceNamespace }} | ||
| gitops.sourceNamespace: {{ .Values.main.gitops.sourceNamespace | quote }} | ||
| {{- end }} | ||
| {{- if .Values.main.gitops.installApprovalPlan }} | ||
| {{- $iap := .Values.main.gitops.installApprovalPlan | toString }} | ||
| {{- if and (ne $iap "Automatic") (ne $iap "Manual") }} | ||
| {{- fail "installApprovalPlan must be \"Automatic\" or \"Manual\"" }} | ||
| {{- end }} | ||
| gitops.installApprovalPlan: {{ $iap | quote }} | ||
| {{- end }} | ||
| {{- if .Values.main.gitops.csv }} | ||
| gitops.csv: {{ .Values.main.gitops.csv | quote }} | ||
| {{- end }} | ||
|
|
||
| # gitops.sourceNamespace: GitOpsDefaultCatalogSourceNamespace | ||
| # gitops.installApprovalPlan: GitOpsDefaultApprovalPlan | ||
| # gitops.ManualSync: GitOpsDefaultManualSync | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [P3] Stale placeholder comments. |
||
| # gitops.name: GitOpsDefaultPackageName | ||
Uh oh!
There was an error while loading. Please reload this page.