Unicorn Chart
To run this chart I am current using this custom values file:
nginx:
service:
loadBalancerIP: <enter the IP>
ingress:
enabled: true
hosts:
- name: <enter registry hostname>
serviceName: registry
servicePort: registry
- name: <enter gitlab hostname>
serviceName: unicorn
servicePort: workhorse
annotations:
kubernetes.io/ingress.class: nginx
ingress.kubernetes.io/proxy-body-size: 1024M
# Registry sub-chart
registry:
enabled: true
registry:
replicas: 1
# https://docs.docker.com/registry/deploying/#storage-customization
storage:
filesystem:
rootdirectory: '/var/lib/registry'
cache:
blobdescriptor: 'inmemory'
delete:
enabled: true
authEndpoint: 'http://<enter gitlab hostname>'
tokenIssuer: omnibus-gitlab-issuer
certBundle:
secretName: 'gitlab-registry-certbundle'
bundleName: 'registry-auth.crt'
# GitLab sub-chart
gitlab:
unicorn:
enabled: true
gitlab_host: <enter gitlab hostname>
redis:
# host: '0.0.0.0'
password:
secret: gitlab-redis
key: redis-password
psql:
# host: '0.0.0.0'
serviceName: 'omnibus'
password: <enter postgres password>
# omnibus sub-chart (development only)
omnibus:
enabled: true
initial_root_password: "minikube"
unicorn:
enabled: false
workhorse:
enabled: false
redis:
enabled: true
host: "0.0.0.0"
password:
secret: gitlab-redis
key: redis-password
psql:
enabled: true
host: "0.0.0.0"
password: <enter a postgres password>
sql_user_password: <output of `echo -n '${password}${username}' | md5sum -`>
registry:
host: <enter registry hostname>
port: 80
secret: omnibus-registry
certificate: registry-auth.key
And the registry and redis secrets need to have been created ahead of time.
Edited by DJ Mountney