A new version of gitlab (13.1.1) is available
current diff:
--- current-deployment.yaml
+++ future-deployment.yaml
@@ -65,7 +65,6 @@
chart: nginx-ingress-0.30.0-1
release: gitlab-prod
heritage: Tiller
-
component: "controller"
spec:
selector:
@@ -87,7 +86,6 @@
chart: nginx-ingress-0.30.0-1
release: gitlab-prod
heritage: Tiller
-
component: "default-backend"
spec:
selector:
@@ -279,7 +277,6 @@
chart: freedesktop-0.1.0
release: gitlab-prod
heritage: Tiller
-
component: "controller"
data:
"22": "default/gitlab-prod-gitlab:22"
@@ -345,7 +342,6 @@
chart: certmanager-issuer-0.1.0
release: gitlab-prod
heritage: Tiller
-
data:
create-issuer: |
#!/bin/bash
@@ -373,7 +369,6 @@
chart: certmanager-issuer-0.1.0
release: gitlab-prod
heritage: Tiller
-
spec:
acme:
# The ACME server URL
@@ -402,10 +397,9 @@
namespace: default
labels:
app: gitlab-exporter
- chart: gitlab-exporter-4.0.5
+ chart: gitlab-exporter-4.1.1
release: gitlab-prod
heritage: Tiller
-
data:
gitlab-exporter.yml.erb: |
server:
@@ -482,10 +476,9 @@
labels:
gitlab_grafana_datasource: "true"
app: gitlab-grafana
- chart: gitlab-grafana-4.0.5
+ chart: gitlab-grafana-4.1.1
release: gitlab-prod
heritage: Tiller
-
data:
gitlab.yaml: |
apiVersion: 1
@@ -510,10 +503,9 @@
namespace: default
labels:
app: gitlab-grafana
- chart: gitlab-grafana-4.0.5
+ chart: gitlab-grafana-4.1.1
release: gitlab-prod
heritage: Tiller
-
data:
import-secret.sh: |-
#!/bin/sh
@@ -608,7 +600,6 @@
chart: nginx-ingress-0.30.0-1
release: gitlab-prod
heritage: Tiller
-
component: "controller"
data:
enable-vts-status: "true"
@@ -952,7 +943,6 @@
chart: nginx-ingress-0.30.0-1
release: gitlab-prod
heritage: Tiller
-
component: "controller"
data:
Referrer-Policy: strict-origin-when-cross-origin
@@ -1298,7 +1288,6 @@
chart: shared-secrets-0.1.0
release: gitlab-prod
heritage: Tiller
-
annotations:
"helm.sh/hook": pre-install,pre-upgrade
"helm.sh/hook-weight": "-3"
@@ -1332,7 +1321,7 @@
kubectl --namespace=$namespace label \
--overwrite \
- secret $secret_name app=shared-secrets chart=shared-secrets-0.1.0 release=gitlab-prod heritage=Tiller
+ secret $secret_name app=shared-secrets chart=shared-secrets-0.1.0 release=gitlab-prod heritage=Tiller
}
# Args: secretname, args
@@ -1445,13 +1434,12 @@
namespace: default
labels:
app: gitlab
- chart: gitlab-4.0.5
+ chart: gitlab-4.1.1
release: gitlab-prod
heritage: Tiller
-
data:
- gitlabVersion: "13.0.6"
- gitlabChartVersion: "4.0.5"
+ gitlabVersion: "13.1.1"
+ gitlabChartVersion: "4.1.1"
---
# Source: helm-gitlab-omnibus/charts/gitlab/templates/initdb-configmap.yaml
@@ -1462,13 +1450,17 @@
namespace: default
labels:
app: gitlab
- chart: gitlab-4.0.5
+ chart: gitlab-4.1.1
release: gitlab-prod
heritage: Tiller
-
data:
+ init_revision.sh: |
+ if [[ ! -f "$POSTGRESQL_VOLUME_DIR/.gitlab_1_scripts_initialized" ]] ; then
+ rm -f "$POSTGRESQL_VOLUME_DIR/.user_scripts_initialized"
+ touch "$POSTGRESQL_VOLUME_DIR/.gitlab_1_scripts_initialized"
+ fi
enable_extensions.sh: |
- PGPASS=$(cat ${POSTGRES_POSTGRES_PASSWORD_FILE}) psql -d gitlab_production -U postgres -c 'CREATE EXTENSION pg_trgm;'
+ PGPASSWORD=$(cat ${POSTGRES_POSTGRES_PASSWORD_FILE}) psql -d gitlab_production -U postgres -c 'CREATE EXTENSION IF NOT EXISTS pg_trgm; CREATE EXTENSION IF NOT EXISTS btree_gist;'
# Leave this here - This line denotes end of block to the parser.
---
# Source: helm-gitlab-omnibus/charts/gitlab-omnibus/templates/fast-storage/storage.yaml
@@ -1627,7 +1619,6 @@
chart: certmanager-issuer-0.1.0
release: gitlab-prod
heritage: Tiller
-
annotations:
namespace: default
---
@@ -1714,7 +1705,6 @@
chart: nginx-ingress-0.30.0-1
release: gitlab-prod
heritage: Tiller
-
---
# Source: helm-gitlab-omnibus/charts/gitlab/charts/prometheus/templates/node-exporter-serviceaccount.yaml
apiVersion: v1
@@ -1753,7 +1743,6 @@
chart: shared-secrets-0.1.0
release: gitlab-prod
heritage: Tiller
-
annotations:
"helm.sh/hook": pre-install,pre-upgrade
"helm.sh/hook-weight": "-5"
@@ -9901,7 +9890,6 @@
chart: nginx-ingress-0.30.0-1
release: gitlab-prod
heritage: Tiller
-
rules:
- apiGroups:
- ""
@@ -10005,7 +9993,6 @@
chart: nginx-ingress-0.30.0-1
release: gitlab-prod
heritage: Tiller
-
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
@@ -10075,10 +10062,9 @@
namespace: default
labels:
app: gitlab-exporter
- chart: gitlab-exporter-4.0.5
+ chart: gitlab-exporter-4.1.1
release: gitlab-prod
heritage: Tiller
-
annotations:
spec:
@@ -10132,7 +10118,6 @@
chart: nginx-ingress-0.30.0-1
release: gitlab-prod
heritage: Tiller
-
component: "controller"
spec:
@@ -10159,7 +10144,6 @@
chart: nginx-ingress-0.30.0-1
release: gitlab-prod
heritage: Tiller
-
spec:
loadBalancerIP: "35.227.58.183"
@@ -10196,7 +10180,6 @@
chart: nginx-ingress-0.30.0-1
release: gitlab-prod
heritage: Tiller
-
component: "controller"
spec:
@@ -10223,7 +10206,6 @@
chart: nginx-ingress-0.30.0-1
release: gitlab-prod
heritage: Tiller
-
component: "default-backend"
spec:
@@ -10520,7 +10502,7 @@
requests:
memory: "50Gi"
cpu: "12"
- image: gitlab/gitlab-ce:13.0.6-ce.0
+ image: gitlab/gitlab-ce:13.1.1-ce.0
imagePullPolicy: IfNotPresent
command: ["/bin/bash", "-c",
"sed -i \"s/environment ({'GITLAB_ROOT_PASSWORD' => initial_root_password }) if initial_root_password/environment ({'GITLAB_ROOT_PASSWORD' => initial_root_password, 'GITLAB_SHARED_RUNNERS_REGISTRATION_TOKEN' => node['gitlab']['gitlab-rails']['initial_shared_runners_registration_token'] })/g\" /opt/gitlab/embedded/cookbooks/gitlab/recipes/database_migrations.rb && exec /assets/wrapper"]
@@ -10976,9 +10958,10 @@
namespace: default
labels:
app: gitlab-exporter
- chart: gitlab-exporter-4.0.5
+ chart: gitlab-exporter-4.1.1
release: gitlab-prod
heritage: Tiller
+ annotations:
spec:
replicas: 1
@@ -10992,7 +10975,7 @@
app: gitlab-exporter
release: gitlab-prod
annotations:
- checksum/config: 0af67401aaaadfe88208865480bc18e181a1c72b00d0dfa8bcb1a4f087f8258b
+ checksum/config: cc1b199a699adb542183cfefd51e97b341c577b6926e7cd17d56fa1b956e3bf0
prometheus.io/path: /metrics
prometheus.io/port: "9168"
prometheus.io/scrape: "true"
@@ -11017,6 +11000,8 @@
- name: certificates
image: "registry.gitlab.com/gitlab-org/build/cng/alpine-certificates:20171114-r3"
+ env:
+
volumeMounts:
- name: etc-ssl-certs
mountPath: /etc/ssl/certs
@@ -11028,6 +11013,8 @@
- name: configure
command: ['sh', '/config/configure']
image: "busybox:latest"
+ env:
+
volumeMounts:
@@ -11048,13 +11035,14 @@
containers:
- name: gitlab-exporter
- image: "registry.gitlab.com/gitlab-org/build/cng/gitlab-exporter:7.0.3"
+ image: "registry.gitlab.com/gitlab-org/build/cng/gitlab-exporter:7.0.6"
env:
- name: CONFIG_TEMPLATE_DIRECTORY
value: '/var/opt/gitlab-exporter/templates'
- name: CONFIG_DIRECTORY
value: '/etc/gitlab-exporter'
+
ports:
- containerPort: 9168
name: gitlab-exporter
@@ -11295,8 +11283,9 @@
chart: nginx-ingress-0.30.0-1
release: gitlab-prod
heritage: Tiller
-
component: "controller"
+ annotations:
+
spec:
replicas: 3
revisionHistoryLimit: 10
@@ -11418,8 +11407,9 @@
chart: nginx-ingress-0.30.0-1
release: gitlab-prod
heritage: Tiller
-
component: "default-backend"
+ annotations:
+
spec:
replicas: 2
revisionHistoryLimit: 10
@@ -11586,6 +11576,9 @@
release: "gitlab-prod"
heritage: "Tiller"
role: master
+ annotations:
+ postgresql.gitlab/init-revision: "1"
+
spec:
securityContext:
fsGroup: 1001
@@ -11659,6 +11652,10 @@
- name: data
mountPath: /bitnami/postgresql
subPath:
+ - mountPath: /docker-entrypoint-preinitdb.d/init_revision.sh
+ name: custom-init-scripts
+ subPath: init_revision.sh
+
- name: metrics
image: docker.io/bitnami/postgres-exporter:0.8.0-debian-10-r99
imagePullPolicy: "IfNotPresent"
@@ -11887,7 +11884,6 @@
chart: certmanager-issuer-0.1.0
release: gitlab-prod
heritage: Tiller
-
spec:
activeDeadlineSeconds: 300
template:
@@ -11924,14 +11920,13 @@
apiVersion: batch/v1
kind: Job
metadata:
- name: gitlab-prod-shared-secrets.0-q5g
+ name: gitlab-prod-shared-secrets.0-g6y
namespace: default
labels:
app: shared-secrets
chart: shared-secrets-0.1.0
release: gitlab-prod
heritage: Tiller
-
annotations:
"helm.sh/hook": pre-install,pre-upgrade
"helm.sh/hook-delete-policy": hook-succeeded,before-hook-creation
@@ -12452,7 +12447,6 @@
chart: freedesktop-0.1.0
release: gitlab-prod
heritage: Tiller
-
annotations:
kubernetes.io/ingress.class: "nginx"
kubernetes.io/ingress.provider: nginx
@@ -12554,10 +12548,9 @@
namespace: default
labels:
app: gitlab-grafana
- chart: gitlab-grafana-4.0.5
+ chart: gitlab-grafana-4.1.1
release: gitlab-prod
heritage: Tiller
-
annotations:
kubernetes.io/ingress.class: "nginx"
kubernetes.io/ingress.provider: nginx
@@ -12619,6 +12612,9 @@
---
+# Source: helm-gitlab-omnibus/charts/gitlab/charts/gitlab/charts/geo-logcursor/templates/serviceaccount.yaml
+
+---
# Source: helm-gitlab-omnibus/charts/gitlab/charts/gitlab/charts/gitaly/templates/configmap.yml
@@ -12634,10 +12630,16 @@
---
+# Source: helm-gitlab-omnibus/charts/gitlab/charts/gitlab/charts/gitaly/templates/serviceaccount.yaml
+
+---
# Source: helm-gitlab-omnibus/charts/gitlab/charts/gitlab/charts/gitaly/templates/statefulset.yml
---
+# Source: helm-gitlab-omnibus/charts/gitlab/charts/gitlab/charts/gitlab-exporter/templates/serviceaccount.yaml
+
+---
# Source: helm-gitlab-omnibus/charts/gitlab/charts/gitlab/charts/gitlab-shell/templates/configmap-sshd.yml
@@ -12663,6 +12665,9 @@
---
+# Source: helm-gitlab-omnibus/charts/gitlab/charts/gitlab/charts/gitlab-shell/templates/serviceaccount.yaml
+
+---
# Source: helm-gitlab-omnibus/charts/gitlab/charts/gitlab/charts/mailroom/templates/configmap.yaml
@@ -12677,6 +12682,9 @@
# Source: helm-gitlab-omnibus/charts/gitlab/charts/gitlab/charts/mailroom/templates/networkpolicy.yaml
---
+# Source: helm-gitlab-omnibus/charts/gitlab/charts/gitlab/charts/mailroom/templates/serviceaccount.yaml
+
+---
# Source: helm-gitlab-omnibus/charts/gitlab/charts/gitlab/charts/migrations/templates/configmap.yaml
@@ -12722,6 +12730,9 @@
# Source: helm-gitlab-omnibus/charts/gitlab/charts/gitlab/charts/sidekiq/templates/pdb.yaml
---
+# Source: helm-gitlab-omnibus/charts/gitlab/charts/gitlab/charts/sidekiq/templates/serviceaccount.yaml
+
+---
# Source: helm-gitlab-omnibus/charts/gitlab/charts/gitlab/charts/task-runner/templates/backup-job.yaml
@@ -12738,6 +12749,9 @@
---
+# Source: helm-gitlab-omnibus/charts/gitlab/charts/gitlab/charts/task-runner/templates/serviceaccount.yaml
+
+---
# Source: helm-gitlab-omnibus/charts/gitlab/charts/gitlab/charts/webservice/templates/configmap.yml
@@ -12761,6 +12775,9 @@
---
# Source: helm-gitlab-omnibus/charts/gitlab/charts/gitlab/charts/webservice/templates/service.yaml
+
+---
+# Source: helm-gitlab-omnibus/charts/gitlab/charts/gitlab/charts/webservice/templates/serviceaccount.yaml
---
# Source: helm-gitlab-omnibus/charts/gitlab/charts/gitlab/charts/webservice/templates/tests/test-runner.yaml
Edited by Daniel Stone