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
apiVersion: apps/v1beta1
apiVersion: apps/v1
metadata:
name: csi-attacher-nfsplugin
spec:
serviceName: "csi-attacher"
replicas: 1
selector:
matchLabels:
app: csi-attacher-nfsplugin
template:
metadata:
labels:

View File

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