mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-14 11:57:48 +00:00
fixed typo in admission controller chart template (#7440)
* fix: typo in admission controller chart template Signed-off-by: Fabian-Daniel Sabau <fabian-daniel.sabau@1und1.de> * generate manifests Signed-off-by: Fabian-Daniel Sabau <fabian-daniel.sabau@1und1.de> --------- Signed-off-by: Fabian-Daniel Sabau <fabian-daniel.sabau@1und1.de> Co-authored-by: Fabian-Daniel Sabau <fabian-daniel.sabau@1und1.de> Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
This commit is contained in:
parent
c4e7c5f854
commit
9f76a65eb1
2 changed files with 13 additions and 1 deletions
|
@ -55,7 +55,7 @@ spec:
|
|||
{{- with .Values.admissionController.dnsPolicy }}
|
||||
dnsPolicy: {{ . }}
|
||||
{{- end }}
|
||||
{{- if or .Values.admissionController.antiAffinity.enable .Values.admissionController.podAffinity .Values.admissionController.nodeAffinity }}
|
||||
{{- if or .Values.admissionController.antiAffinity.enabled .Values.admissionController.podAffinity .Values.admissionController.nodeAffinity }}
|
||||
affinity:
|
||||
{{- if .Values.admissionController.antiAffinity.enabled }}
|
||||
{{- with .Values.admissionController.podAntiAffinity }}
|
||||
|
|
|
@ -37229,6 +37229,18 @@ spec:
|
|||
app.kubernetes.io/version: latest
|
||||
spec:
|
||||
dnsPolicy: ClusterFirst
|
||||
affinity:
|
||||
podAntiAffinity:
|
||||
preferredDuringSchedulingIgnoredDuringExecution:
|
||||
- podAffinityTerm:
|
||||
labelSelector:
|
||||
matchExpressions:
|
||||
- key: app.kubernetes.io/component
|
||||
operator: In
|
||||
values:
|
||||
- admission-controller
|
||||
topologyKey: kubernetes.io/hostname
|
||||
weight: 1
|
||||
serviceAccountName: kyverno-admission-controller
|
||||
initContainers:
|
||||
- name: kyverno-pre
|
||||
|
|
Loading…
Reference in a new issue