File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -19,11 +19,13 @@ metadata:
19
19
name : {{ include "psc-autoscaler.fullname" . }}
20
20
webhooks :
21
21
- name : pods.perfectscale.io
22
+ {{- if and (.Values.settings.excludedNamespaces) (ne (.Values.settings.excludedNamespaces | toString) "[]") }}
22
23
namespaceSelector :
23
24
matchExpressions :
24
25
- key : kubernetes.io/metadata.name
25
26
operator : NotIn
26
27
values : {{ (.Values.settings).excludedNamespaces }}
28
+ {{- end }}
27
29
rules :
28
30
- apiGroups : [ "" ]
29
31
apiVersions : [ "v1" ]
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.5 "
5
+ tag : " v1.0.6 "
6
6
settings :
7
7
port : 8443
8
8
env : " prod"
You can’t perform that action at this time.
0 commit comments