Rename RBAC file

This commit is contained in:
Sergey Dudoladov 2018-05-17 12:05:31 +02:00
parent 08919fed57
commit 83a26fb78b
3 changed files with 4 additions and 4 deletions

View File

@ -28,9 +28,9 @@ cd postgres-operator
minikube start
# start the operator; may take a few seconds
kubectl create -f manifests/configmap.yaml # operator config
kubectl create -f manifests/operator-rbac.yaml # operator identity and permissions
kubectl create -f manifests/postgres-operator.yaml # operator deployment
kubectl create -f manifests/configmap.yaml # configuration
kubectl create -f manifests/operator-service-account-rbac.yaml # identity and permissions
kubectl create -f manifests/postgres-operator.yaml # deployment
# submit a Postgres cluster
kubectl create -f manifests/minimal-postgres-manifest.yaml

View File

@ -134,7 +134,7 @@ function start_operator(){
# the order of resource initialization is significant
local file
for file in "configmap.yaml" "operator-rbac.yaml"
for file in "configmap.yaml" "operator-service-account-rbac.yaml"
do
retry "kubectl create -f manifests/\"$file\"" "attempt to create $file resource"
done