Skip to content

Commit 4dc9f66

Browse files
committed
Fix deprecated API group for StatefulSet
1 parent 45e57bf commit 4dc9f66

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

deploy/kubernetes/csi-attacher-nfsplugin.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,15 @@ spec:
1616

1717
---
1818
kind: StatefulSet
19-
apiVersion: apps/v1beta1
19+
apiVersion: apps/v1
2020
metadata:
2121
name: csi-attacher-nfsplugin
2222
spec:
2323
serviceName: "csi-attacher"
2424
replicas: 1
25+
selector:
26+
matchLabels:
27+
app: csi-attacher-nfsplugin
2528
template:
2629
metadata:
2730
labels:

deploy/kubernetes/csi-nodeplugin-nfsplugin.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This YAML file contains driver-registrar & csi driver nodeplugin API objects
22
# that are necessary to run CSI nodeplugin for nfs
33
kind: DaemonSet
4-
apiVersion: apps/v1beta2
4+
apiVersion: apps/v1
55
metadata:
66
name: csi-nodeplugin-nfsplugin
77
spec:

0 commit comments

Comments
 (0)