chore: Adopt kubernetes recommand label

This commit is contained in:
mowangdk
2023-06-08 20:56:54 +08:00
parent 2c1f4b9b38
commit f83e81a856
3 changed files with 10 additions and 10 deletions

View File

@@ -15,7 +15,7 @@ spec:
replicas: 2
selector:
matchLabels:
app: snapshot-controller
app.kubernetes.io/name: snapshot-controller
# the snapshot controller won't be marked as ready if the v1 CRDs are unavailable
# in #504 the snapshot-controller will exit after around 7.5 seconds if it
# can't find the v1 CRDs so this value should be greater than that
@@ -28,7 +28,7 @@ spec:
template:
metadata:
labels:
app: snapshot-controller
app.kubernetes.io/name: snapshot-controller
spec:
serviceAccountName: snapshot-controller
containers: