Fix wrong label selector in NTH manifest

This commit is contained in:
DingGGu 2022-04-09 17:16:55 +09:00
parent 24965f43b2
commit 844931af53
No known key found for this signature in database
GPG Key ID: D5DA1D6BE86A6BD3
3 changed files with 7 additions and 5 deletions

View File

@ -47,7 +47,7 @@ spec:
version: 9.99.0
- id: k8s-1.11
manifest: node-termination-handler.aws/k8s-1.11.yaml
manifestHash: a6e9da6b83dd1d28906e8eb35da56f1fd05b79a0ad96ceeacb85ce1f92782e95
manifestHash: cf741c78a61335c7f8129bb8ecdf11e8936309e59f15885a8117c8c893eb2d9a
name: node-termination-handler.aws
prune:
kinds:
@ -73,6 +73,8 @@ spec:
- group: policy
kind: PodDisruptionBudget
labelSelector: addon.kops.k8s.io/name=node-termination-handler.aws,app.kubernetes.io/managed-by=kops
namespaces:
- kube-system
- group: rbac.authorization.k8s.io
kind: ClusterRole
labelSelector: addon.kops.k8s.io/name=node-termination-handler.aws,app.kubernetes.io/managed-by=kops

View File

@ -232,8 +232,8 @@ spec:
topologySpreadConstraints:
- labelSelector:
matchLabels:
io.cilium/app: operator
name: cilium-operator
app.kubernetes.io/instance: aws-node-termination-handler
app.kubernetes.io/name: aws-node-termination-handler
maxSkew: 1
topologyKey: topology.kubernetes.io/zone
whenUnsatisfiable: ScheduleAnyway

View File

@ -221,8 +221,8 @@ spec:
whenUnsatisfiable: ScheduleAnyway
labelSelector:
matchLabels:
io.cilium/app: operator
name: cilium-operator
app.kubernetes.io/name: aws-node-termination-handler
app.kubernetes.io/instance: aws-node-termination-handler
- maxSkew: 1
topologyKey: "kubernetes.io/hostname"
whenUnsatisfiable: DoNotSchedule