File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,10 @@ apiVersion: admissionregistration.k8s.io/v1
23
23
kind : MutatingWebhookConfiguration
24
24
metadata :
25
25
name : {{ include "psc-autoscaler.fullname" . }}
26
+ {{- with .Values.admission.annotations }}
27
+ annotations :
28
+ {{- toYaml . | nindent 4 }}
29
+ {{- end }}
26
30
webhooks :
27
31
- name : pods.perfectscale.io
28
32
{{- if and (.Values.settings.excludedNamespaces) (ne (.Values.settings.excludedNamespaces | toString) "[]") }}
@@ -58,6 +62,10 @@ apiVersion: admissionregistration.k8s.io/v1
58
62
kind : ValidatingWebhookConfiguration
59
63
metadata :
60
64
name : {{ include "psc-autoscaler.fullname" . }}
65
+ {{- with .Values.admission.annotations }}
66
+ annotations :
67
+ {{- toYaml . | nindent 4 }}
68
+ {{- end }}
61
69
webhooks :
62
70
- name : configs.perfectscale.io
63
71
rules :
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ replicaCount: 3
2
2
image :
3
3
repository : public.ecr.aws/perfectscale-io/psc-autoscaler
4
4
pullPolicy : Always
5
- tag : " v1.0.13 "
5
+ tag : " v1.0.14 "
6
6
settings :
7
7
port : 8443
8
8
env : " prod"
@@ -104,6 +104,11 @@ admission:
104
104
# caCert: ""
105
105
# tlsCert: ""
106
106
# tlsKey: ""
107
+ # Annotations to add to the admission webhook
108
+ annotations : {}
109
+ # Admission Enforcer on AKS excludes kube-system and AKS internal namespaces from being processed by the webhook.
110
+ # To disable this behavior, provide the following annotation:
111
+ # admissions.enforcer/disabled: "true"
107
112
integrationTests :
108
113
enabled : true
109
114
image :
You can’t perform that action at this time.
0 commit comments