Skip to content
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

add failurePolicy of admission controller in helm chart #208

Merged
merged 1 commit into from
Oct 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions helm/operator/templates/hwameistorcluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ spec:
tag: {{ template "hwameistor.admissionImageTag" . }}
resources:
{{- toYaml .Values.admission.resources | nindent 8 }}
failurePolicy: {{ $.Values.admission.failurePolicy }}
evictor:
disable: {{ $.Values.evictor.disable }}
replicas: {{ $.Values.evictor.replicas }}
Expand Down
5 changes: 4 additions & 1 deletion helm/operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,10 @@ admission:
replicas: 1
imageRepository: hwameistor/admission
tag: v0.12.3

# failurePolicy defines how unrecognized errors from the admission endpoint
# are handled - allowed values are Ignore or Fail. Defaults to Fail.
failurePolicy: "Ignore"

evictor:
disable: false
replicas: 1
Expand Down