Skip to content

Commit

Permalink
Only use secret for gitlab.cncf.ci
Browse files Browse the repository at this point in the history
  • Loading branch information
denverwilliams committed Jan 27, 2021
1 parent 2bcae65 commit 2e2a0e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ Deploy-Frontend:
- /helm/entrypoint.sh
- export KUBECONFIG=/kubeconfig
- helm repo add cncf http://cncf.gitlab.io/stable
- helm upgrade fnt-"$CI_COMMIT_REF_NAME" cncf/frontend --install --wait --timeout 60m --set tls="$TLS" --set imagePullSecrets="$CI_COMMIT_REF_NAME"secret --set ingress.host="$FRONTEND_INGRESS" --set ingress.port=8080 --set api.url="$BACKEND_INGRESS" --set node.port=8080 --set node.host=0.0.0.0 --set image.repository="$CI_REGISTRY_IMAGE/frontend-$CI_COMMIT_REF_NAME" --set image.tag="$CI_COMMIT_SHA"
- helm upgrade fnt-"$CI_COMMIT_REF_NAME" cncf/frontend --install --wait --timeout 60m --set tls="$TLS" --set imagePullSecrets=productionsecret --set ingress.host="$FRONTEND_INGRESS" --set ingress.port=8080 --set api.url="$BACKEND_INGRESS" --set node.port=8080 --set node.host=0.0.0.0 --set image.repository="$CI_REGISTRY_IMAGE/frontend-$CI_COMMIT_REF_NAME" --set image.tag="$CI_COMMIT_SHA"

0 comments on commit 2e2a0e2

Please sign in to comment.