update docs to use opconfig

This commit is contained in:
Felix Kunde 2019-10-29 11:31:56 +01:00
parent 15eb7c22c4
commit 9e54b70227
3 changed files with 6 additions and 3 deletions

View File

@ -103,7 +103,8 @@ to function under access control restrictions. To deploy the operator with this
RBAC policy use: RBAC policy use:
```bash ```bash
kubectl create -f manifests/configmap.yaml kubectl create -f manifests/operatorconfiguration.crd.yaml
kubectl create -f manifests/postgresql-operator-default-configuration.yaml
kubectl create -f manifests/operator-service-account-rbac.yaml kubectl create -f manifests/operator-service-account-rbac.yaml
kubectl create -f manifests/postgres-operator.yaml kubectl create -f manifests/postgres-operator.yaml
kubectl create -f manifests/minimal-postgres-manifest.yaml kubectl create -f manifests/minimal-postgres-manifest.yaml

View File

@ -80,7 +80,8 @@ manifest but replace the version and tag. Don't forget to also apply
configuration and RBAC manifests first, e.g.: configuration and RBAC manifests first, e.g.:
```bash ```bash
kubectl create -f manifests/configmap.yaml kubectl create -f manifests/operatorconfiguration.crd.yaml
kubectl create -f manifests/postgresql-operator-default-configuration.yaml
kubectl create -f manifests/operator-service-account-rbac.yaml kubectl create -f manifests/operator-service-account-rbac.yaml
sed -e "s/\(image\:.*\:\).*$/\1$TAG/" manifests/postgres-operator.yaml | kubectl create -f - sed -e "s/\(image\:.*\:\).*$/\1$TAG/" manifests/postgres-operator.yaml | kubectl create -f -

View File

@ -49,7 +49,8 @@ git clone https://github.com/zalando/postgres-operator.git
cd postgres-operator cd postgres-operator
# apply the manifests in the following order # apply the manifests in the following order
kubectl create -f manifests/configmap.yaml # configuration kubectl create -f manifests/operatorconfiguration.crd.yaml # registers the CRD
kubectl create -f manifests/postgresql-operator-default-configuration.yaml # configuration
kubectl create -f manifests/operator-service-account-rbac.yaml # identity and permissions kubectl create -f manifests/operator-service-account-rbac.yaml # identity and permissions
kubectl create -f manifests/postgres-operator.yaml # deployment kubectl create -f manifests/postgres-operator.yaml # deployment
``` ```