Rename RBAC file
This commit is contained in:
parent
08919fed57
commit
83a26fb78b
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue