Fixes Operator Creation Order
This commit is contained in:
@@ -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 \
|
||||||
|
|||||||
Reference in New Issue
Block a user