Advertisement
dean360

gitlab helm install

Dec 9th, 2023 (edited)
814
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2.  
  3. # Upgrade and install GitLab Helm chart
  4. helm upgrade gitlab gitlab/gitlab \
  5.   --set certmanager.install=false \
  6.   --set global.ingress.configureCertmanager=false \
  7.   --set global.ingress.tls.secretName=gitlab-cert \
  8.   --set certmanager-issuer.email=support@stackblaze.cloud \
  9.   --set gitlab-runner.runners.privileged=true \
  10.   --set gitlab-runner.runners.image=docker:20.10.16 \
  11.   --set global.hosts.domain=stackblaze.cloud \
  12.   --set global.edition=ce \
  13.   --set global.ingress.enabled=true \
  14.   --set global.ingress.provider=traefik \
  15.   --set global.ingress.class=traefik \
  16.   --set global.ingress.annotations."traefik\.ingress\.kubernetes\.io/router\.tls"=true \
  17.   --set global.ingress.annotations."traefik\.ingress\.kubernetes\.io/router\.entrypoints"=websecure \
  18.   --set nginx-ingress.enabled=false \
  19.   --set traefik.install=false \
  20.   --namespace gitlab
  21.  
  22. # Create the TLS secret for GitLab
  23. kubectl create secret tls gitlab-cert \
  24.   --cert=fullchain.pem \
  25.   --key=privkey.pem \
  26.   -n gitlab
  27.  
  28. echo "GitLab has been configured, and the TLS secret has been created."
  29.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement