Skip to content

Improvements in the documentation

  • Fix deprecated and non-working links to Helm hub, from https://hub.helm.sh/charts/stable/postgresql to https://hub.helm.sh/charts/bitnami/postgresql
  • Fix warning: warning, now it is going to appear like a note block but with "warning" in bold, instead of the previous one Screen_Shot_2020-04-30_at_14.32.53
  • Installing the chart with helm upgrade --install gitlab gitlab/gitlab the dependencies are already bundled in the charts/ folder, not needed to add the stable (nor others) repo. Installing the chart from local (using . instead of gitlab/gitlab), the dependencies are downloaded by running helm dependency update, again it is not needed to add any repository. Tested using Helm 2 and Helm 3.
$ helm repo list
Error: no repositories to show
$ helm dependency update
Saving 6 charts
Downloading cert-manager from repo https://charts.jetstack.io/
Downloading prometheus from repo https://kubernetes-charts.storage.googleapis.com/
Downloading postgresql from repo https://charts.bitnami.com/bitnami
Downloading gitlab-runner from repo https://charts.gitlab.io/
Downloading grafana from repo https://kubernetes-charts.storage.googleapis.com/
Downloading redis from repo https://charts.bitnami.com/bitnami
Deleting outdated charts
  • The postgresql image used in the chart is not a root container, so we can remove this item from the warning:
## Instllation & configuration of stable/prostgresql
## See requirements.yaml for current version
postgresql:
  image:
    tag: 10.9.0

Checking this tag, we can see the container is non-root (USER 1001 in the Dockerfile):

$ docker ps
CONTAINER ID        IMAGE                       COMMAND                  CREATED             STATUS              PORTS                    NAMES
faaabc53d5b0        bitnami/postgresql:10.9.0   "/entrypoint.sh /run…"   2 minutes ago       Up 2 minutes        0.0.0.0:5432->5432/tcp   bitnami-docker-postgresql_postgresql_1

$ dcexec faaabc53d5b0
I have no name!@faaabc53d5b0:/$ whoami
whoami: cannot find name for user ID 1001
Edited by 🤖 GitLab Bot 🤖

Merge request reports