Folders restructure
This commit is contained in:
8
scripts/client/setup_all.sh
Executable file
8
scripts/client/setup_all.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
./setup_pgsql_operator.sh
|
||||
./setup_pgsql_operator_ui.sh
|
||||
|
||||
cd $(git rev-parse --show-toplevel)/manifests
|
||||
|
||||
kubectl apply -f traefik-config.yaml
|
||||
6
scripts/client/setup_pgsql_minimal.sh
Executable file
6
scripts/client/setup_pgsql_minimal.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
cd $(git rev-parse --show-toplevel)/manifests/postgres-operator
|
||||
|
||||
kubectl apply -f manifests/minimal-postgres-manifest.yaml
|
||||
|
||||
9
scripts/client/setup_pgsql_operator.sh
Executable file
9
scripts/client/setup_pgsql_operator.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/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
|
||||
6
scripts/client/setup_pgsql_operator_ui.sh
Executable file
6
scripts/client/setup_pgsql_operator_ui.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
cd $(git rev-parse --show-toplevel)/manifests/postgres-operator
|
||||
|
||||
kubectl apply -f ui/manifests/
|
||||
|
||||
2
scripts/client/start_pg_ui.sh
Executable file
2
scripts/client/start_pg_ui.sh
Executable file
@@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
kubectl port-forward svc/postgres-operator-ui 8081:80
|
||||
Reference in New Issue
Block a user