Using the Shared-Secrets chart
The shared-secrets
sub-chart is responsible for provisioning a variety of secrets
used across the installation, unless otherwise manually specified. This includes:
- Initial root password
- Self-signed TLS certificates for all public services: GitLab, MinIO, and Registry
- Registry authentication certificates
- MinIO, Registry, GitLab Shell, and Gitaly secrets
- Redis and PostgreSQL passwords
- SSH host keys
Installation command line options
The table below contains all the possible charts configurations that can be supplied
to the helm install
command using the --set
flag:
Parameter | Default | Description |
---|---|---|
enabled
| true
| See Below |
env
| production
| Rails environment |
image.pullPolicy
| Always
| Gitaly image pull policy |
image.pullSecrets
| Secrets for the image repository | |
image.repository
| registry.gitlab.com/gitlab-org/build/cng/kubectl
| Gitaly image repository |
image.tag
| 1f8690f03f7aeef27e727396927ab3cc96ac89e7
| Gitaly image tag |
rbac.create
| true
| Create RBAC roles and bindings |
resources
| resource requests, limits | |
securitContext.fsGroup
| 65534
| User ID to mount filesystems as |
securitContext.runAsUser
| 65534
| User ID to run the container as |
selfsign.caSubject
| GitLab Helm Chart
| selfsign CA Subject |
selfsign.image
| registry.gitlab.com/gitlab-org/build/cnf/cfssl-self-sign
| selfsign image repository |
selfsign.keyAlgorithm
| rsa
| selfsign cert key algorithm |
selfsign.keySize
| 4096
| selfsign cert key size |
selfsign.tag
| selfsign image tag | |
tolerations
| []
| Toleration labels for pod assignment |
Chart configuration examples
tolerations
tolerations
allow you schedule pods on tainted worker nodes
Below is an example use of tolerations
:
tolerations:
- key: "node_label"
operator: "Equal"
value: "true"
effect: "NoSchedule"
- key: "node_label"
operator: "Equal"
value: "true"
effect: "NoExecute"
Disable functionality
Some users may wish to explicitly disable the functionality provided by this sub-chart.
To do this, we have provided the enabled
flag as a boolean, defaulting to true
.
To disable the chart, pass --set shared-secrets.enabled=false
, or pass the following
in a YAML via the -f
flag to helm
:
shared-secrets:
enabled: false
Note: If you disable this sub-chart, you must manually create all secrets,
and provide all necessary secret content. See installation/secrets
for further details.
Help and feedback
If there's something you don't like about this feature
To propose functionality that GitLab does not yet offer
To further help GitLab in shaping new features
If you didn't find what you were looking for
If you want help with something very specific to your use case, and can use some community support
POST ON GITLAB FORUM
If you have problems setting up or using this feature (depending on your GitLab subscription)
REQUEST SUPPORT
To view all GitLab tiers and features or to upgrade
If you want to try all features available in GitLab.com
If you want to try all features available in GitLab self-managed
If you spot an error or a need for improvement and would like to fix it yourself in a merge request
EDIT THIS PAGE
If you would like to suggest an improvement to this doc