diff --git a/scripts/client/setup_all.sh b/scripts/client/setup_all.sh index c8b07b5..073875d 100755 --- a/scripts/client/setup_all.sh +++ b/scripts/client/setup_all.sh @@ -1,7 +1,6 @@ #!/bin/bash -./setup_pgsql_operator.sh -./setup_pgsql_operator_ui.sh +./setup_cnpg.sh cd $(git rev-parse --show-toplevel)/manifests diff --git a/scripts/client/setup_cnpg.sh b/scripts/client/setup_cnpg.sh new file mode 100755 index 0000000..c9635f3 --- /dev/null +++ b/scripts/client/setup_cnpg.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +kubectl apply --server-side -f \ + https://raw.githubusercontent.com/cloudnative-pg/cloudnative-pg/release-1.22/releases/cnpg-1.22.1.yaml diff --git a/scripts/client/setup_pgsql_minimal.sh b/scripts/client/setup_pgsql_minimal.sh deleted file mode 100755 index 51269f4..0000000 --- a/scripts/client/setup_pgsql_minimal.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash - -cd $(git rev-parse --show-toplevel)/manifests/postgres-operator - -kubectl apply -f manifests/minimal-postgres-manifest.yaml - diff --git a/scripts/client/setup_pgsql_operator.sh b/scripts/client/setup_pgsql_operator.sh deleted file mode 100755 index 310b12a..0000000 --- a/scripts/client/setup_pgsql_operator.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/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 diff --git a/scripts/client/setup_pgsql_operator_ui.sh b/scripts/client/setup_pgsql_operator_ui.sh deleted file mode 100755 index b945ae5..0000000 --- a/scripts/client/setup_pgsql_operator_ui.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash - -cd $(git rev-parse --show-toplevel)/manifests/postgres-operator - -kubectl apply -f ui/manifests/ - diff --git a/scripts/client/start_pg_ui.sh b/scripts/client/start_pg_ui.sh deleted file mode 100755 index 5a4ef3f..0000000 --- a/scripts/client/start_pg_ui.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/bash -kubectl port-forward svc/postgres-operator-ui 8081:80