Skip to content

Commit 419972c

Browse files
authored
Merge pull request #326 from Kartik494/updatepvtobetayaml
Update PV to beta yaml file
2 parents 54c784c + 760e507 commit 419972c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

cmd/utils/update-pv-to-beta/deployment/kubernetes/admin-account.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kind: ServiceAccount
33
metadata:
44
name: local-storage-update
55
---
6-
apiVersion: rbac.authorization.k8s.io/v1beta1
6+
apiVersion: rbac.authorization.k8s.io/v1
77
kind: ClusterRoleBinding
88
metadata:
99
name: local-storage:updater

cmd/utils/update-pv-to-beta/deployment/kubernetes/update-pv-to-beta.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,4 @@ spec:
1818
# in-cluster config, then specify the following environment variable:
1919
# - name: KUBECONFIG
2020
# value: /path/to/kubeconfig
21-
# this is just a short-term workaround, need to set restartPolicy to "OnFailure" when kubernetes repo #58972 get merged
22-
restartPolicy: Never
21+
restartPolicy: OnFailure

0 commit comments

Comments
 (0)