From 22e3004b0a81769f5f75cdf5d6f57207c7643662 Mon Sep 17 00:00:00 2001 From: Brad Stein Date: Wed, 14 Jan 2026 21:29:40 -0300 Subject: [PATCH] harbor: preserve required volume mounts --- services/harbor/helmrelease.yaml | 39 +++++++++++++++++++++++++++----- 1 file changed, 33 insertions(+), 6 deletions(-) diff --git a/services/harbor/helmrelease.yaml b/services/harbor/helmrelease.yaml index a3d041d..9c74f7c 100644 --- a/services/harbor/helmrelease.yaml +++ b/services/harbor/helmrelease.yaml @@ -369,15 +369,19 @@ spec: - configMapRef: name: harbor-core volumeMounts: + - $patch: replace - name: harbor-vault-entrypoint mountPath: /entrypoint.sh subPath: vault-entrypoint.sh - - name: secret-key - $patch: delete - - name: token-service-private-key - $patch: delete - name: core-writable mountPath: /etc/core + - name: config + mountPath: /etc/core/app.conf + subPath: app.conf + - name: ca-download + mountPath: /etc/core/ca + - name: psc + mountPath: /etc/core/token volumes: - name: harbor-vault-entrypoint configMap: @@ -415,9 +419,15 @@ spec: - configMapRef: name: harbor-jobservice-env volumeMounts: + - $patch: replace - name: harbor-vault-entrypoint mountPath: /entrypoint.sh subPath: vault-entrypoint.sh + - name: jobservice-config + mountPath: /etc/jobservice/config.yml + subPath: config.yml + - name: job-logs + mountPath: /var/log/jobs volumes: - name: harbor-vault-entrypoint configMap: @@ -449,13 +459,17 @@ spec: envFrom: - $patch: replace volumeMounts: + - $patch: replace - name: harbor-vault-entrypoint mountPath: /entrypoint.sh subPath: vault-entrypoint.sh - - name: registry-htpasswd - $patch: delete - name: registry-writable mountPath: /etc/registry + - name: registry-config + mountPath: /etc/registry/config.yml + subPath: config.yml + - name: registry-data + mountPath: /storage - name: registryctl command: - /entrypoint.sh @@ -470,9 +484,18 @@ spec: - configMapRef: name: harbor-registryctl volumeMounts: + - $patch: replace - name: harbor-vault-entrypoint mountPath: /entrypoint.sh subPath: vault-entrypoint.sh + - name: registry-config + mountPath: /etc/registry/config.yml + subPath: config.yml + - name: registry-config + mountPath: /etc/registryctl/config.yml + subPath: ctl-config.yml + - name: registry-data + mountPath: /storage volumes: - name: harbor-vault-entrypoint configMap: @@ -541,9 +564,13 @@ spec: - configMapRef: name: harbor-core volumeMounts: + - $patch: replace - name: harbor-vault-entrypoint mountPath: /entrypoint.sh subPath: vault-entrypoint.sh + - name: config + mountPath: /etc/core/app.conf + subPath: app.conf volumes: - name: harbor-vault-entrypoint configMap: