Fix deprecated API group for StatefulSet

This commit is contained in:
Jan Wozniak 2020-02-28 15:08:25 +01:00
parent 45e57bfda6
commit 4dc9f66be3
2 changed files with 5 additions and 2 deletions

View File

@ -16,12 +16,15 @@ spec:
--- ---
kind: StatefulSet kind: StatefulSet
apiVersion: apps/v1beta1 apiVersion: apps/v1
metadata: metadata:
name: csi-attacher-nfsplugin name: csi-attacher-nfsplugin
spec: spec:
serviceName: "csi-attacher" serviceName: "csi-attacher"
replicas: 1 replicas: 1
selector:
matchLabels:
app: csi-attacher-nfsplugin
template: template:
metadata: metadata:
labels: labels:

View File

@ -1,7 +1,7 @@
# This YAML file contains driver-registrar & csi driver nodeplugin API objects # This YAML file contains driver-registrar & csi driver nodeplugin API objects
# that are necessary to run CSI nodeplugin for nfs # that are necessary to run CSI nodeplugin for nfs
kind: DaemonSet kind: DaemonSet
apiVersion: apps/v1beta2 apiVersion: apps/v1
metadata: metadata:
name: csi-nodeplugin-nfsplugin name: csi-nodeplugin-nfsplugin
spec: spec: