Fix namespace and bump to Deployment apps/v1
(cherry picked from commit 846206d609)
This commit is contained in:
@@ -34,7 +34,7 @@ Kubernetes:
|
||||
# Set the subject of the RBAC objects to the current namespace where the provisioner is being deployed
|
||||
$ NS=$(kubectl config get-contexts|grep -e "^\*" |awk '{print $5}')
|
||||
$ NAMESPACE=${NS:-default}
|
||||
$ sed -i'' "s/namespace:.*/namespace: $NAMESPACE/g" ./deploy/rbac.yaml
|
||||
$ sed -i'' "s/namespace:.*/namespace: $NAMESPACE/g" ./deploy/rbac.yaml ./deploy/deployment.yaml
|
||||
$ kubectl create -f deploy/rbac.yaml
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user