Fixes Operator Creation Order

This commit is contained in:
2024-02-14 01:48:40 -03:00
parent 1023e0c4a7
commit fa53743f76

View File

@@ -33,7 +33,8 @@ function configure_cert_manager() {
--namespace cert-manager \ --namespace cert-manager \
--create-namespace \ --create-namespace \
--version v1.14.2 \ --version v1.14.2 \
--set installCRDs=true --set installCRDs=true \
--timeout=600s
} }
function configure_postgres() { function configure_postgres() {
@@ -120,14 +121,14 @@ function main() {
fi fi
configure_cert_manager
kubectl apply -f ./deployment/portfolio-namespace.yaml kubectl apply -f ./deployment/portfolio-namespace.yaml
configure_postgres configure_postgres
application_deploy application_deploy
configure_cert_manager
if [[ $1 == "--local" || $1 == "-l" ]]; then if [[ $1 == "--local" || $1 == "-l" ]]; then
kubectl apply -f \ kubectl apply -f \