Skip to content
Snippets Groups Projects
Commit 9ff20058 authored by ludo8147's avatar ludo8147
Browse files

create configmap first

parent 87ab643e
No related branches found
No related tags found
No related merge requests found
Pipeline #68959 passed
......@@ -155,7 +155,7 @@ deploy_to_staging:
kubectl wait --for=condition=Available --timeout=300s deployment/cert-manager-webhook -n cert-manager
echo "Validating and applying Kubernetes manifests..."
for file in deployment.yaml service.yaml ingress.yaml redis.yaml redis-configmap.yaml prometheus.yaml network-policy.yaml redis-pv-pvc.yaml cluster-issuer.yaml; do
for file in redis-configmap.yaml deployment.yaml service.yaml ingress.yaml redis.yaml prometheus.yaml network-policy.yaml redis-pv-pvc.yaml cluster-issuer.yaml; do
echo "Applying $file"
envsubst < $file | kubectl apply -f -
done
......@@ -193,7 +193,7 @@ deploy_to_production:
kubectl wait --for=condition=Available --timeout=300s deployment/cert-manager-webhook -n cert-manager
echo "Validating and applying Kubernetes manifests..."
for file in deployment.yaml service.yaml ingress.yaml redis.yaml redis-configmap.yaml prometheus.yaml network-policy.yaml redis-pv-pvc.yaml cluster-issuer.yaml; do
for file in redis-configmap.yaml deployment.yaml service.yaml ingress.yaml redis.yaml prometheus.yaml network-policy.yaml redis-pv-pvc.yaml cluster-issuer.yaml; do
echo "Applying $file"
envsubst < $file | kubectl apply -f -
done
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment