Files
LiquidCode_Cluster/scripts/client/setup_pgsql_operator.sh
2024-02-05 13:26:50 +03:00

10 lines
417 B
Bash
Executable File

#!/bin/bash
cd $(git rev-parse --show-toplevel)/manifests/postgres-operator
# apply the manifests in the following order
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
kubectl create -f manifests/api-service.yaml # operator API to be used by UI