File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -109,14 +109,15 @@ docker_build_prod:
109109 helm install stakater-reloader stakater/reloader --set reloader.watchGlobally=false --namespace $KUBE_NAMESPACE
110110 fi
111111
112- - helm upgrade --install flat-server-$CI_ENVIRONMENT_SLUG helm --namespace $KUBE_NAMESPACE --set replicaCount=$REPLICA_COUNT
112+ - helm upgrade --install flat-server-$HELM_NAME helm --namespace $KUBE_NAMESPACE --set replicaCount=$REPLICA_COUNT
113113
114114deploy_dev_cn :
115115 << : *DEPLOY
116116 variables :
117117 DOCKER_TAG : dev-$CI_COMMIT_SHA
118118 KUBE_NAMESPACE : default
119119 REPLICA_COUNT : 2
120+ HELM_NAME : flat-server-development
120121 extends : .cn
121122 << : *DEV
122123
@@ -127,6 +128,7 @@ deploy_dev_sg:
127128 DOCKER_TAG : dev-$CI_COMMIT_SHA
128129 KUBE_NAMESPACE : sg
129130 REPLICA_COUNT : 2
131+ HELM_NAME : flat-server-sg-development
130132 << : *DEV
131133
132134deploy_prod_cn :
@@ -135,6 +137,7 @@ deploy_prod_cn:
135137 variables :
136138 DOCKER_TAG : $CI_COMMIT_SHA
137139 REPLICA_COUNT : 3
140+ HELM_NAME : flat-server-production
138141 << : *PROD
139142
140143deploy_prod_sg :
@@ -143,4 +146,5 @@ deploy_prod_sg:
143146 variables :
144147 DOCKER_TAG : $CI_COMMIT_SHA
145148 REPLICA_COUNT : 3
149+ HELM_NAME : flat-server-production
146150 << : *PROD
You can’t perform that action at this time.
0 commit comments