update sts verison and add selector
@@ -13,11 +13,14 @@ spec:
port: 12345
---
kind: StatefulSet
-apiVersion: apps/v1beta1
+apiVersion: apps/v1
metadata:
name: csi-lvm-resizer
namespace: kube-system
spec:
+ selector:
+ matchLabels:
+ app: csi-lvm-resizer
serviceName: "csi-lvm-resizer"
template:
metadata:
