Skip to content

Commit 3421ee1

Browse files
ooeyunasiyu
authored andcommitted
fix helm name for dev deploy (#760)
Co-authored-by: siyu <[email protected]>
1 parent 9ab7ab2 commit 3421ee1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.gitlab-ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ 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-$HELM_NAME helm --namespace $KUBE_NAMESPACE --set replicaCount=$REPLICA_COUNT
112+
- helm upgrade --install $HELM_NAME helm --namespace $KUBE_NAMESPACE --set replicaCount=$REPLICA_COUNT
113113

114114
deploy_dev_cn:
115115
<<: *DEPLOY
@@ -136,6 +136,7 @@ deploy_prod_cn:
136136
extends: .cn
137137
variables:
138138
DOCKER_TAG: $CI_COMMIT_SHA
139+
KUBE_NAMESPACE: default
139140
REPLICA_COUNT: 3
140141
HELM_NAME: flat-server-production
141142
<<: *PROD
@@ -145,6 +146,7 @@ deploy_prod_sg:
145146
extends: .sg
146147
variables:
147148
DOCKER_TAG: $CI_COMMIT_SHA
149+
KUBE_NAMESPACE: default
148150
REPLICA_COUNT: 3
149151
HELM_NAME: flat-server-production
150152
<<: *PROD

0 commit comments

Comments
 (0)