From d05b92cc92c3e31a2ce355d557fdfcfe6d14980d Mon Sep 17 00:00:00 2001 From: rasmus Date: Sun, 28 Dec 2025 23:40:48 +0200 Subject: [PATCH] harbor-operator: converge secrets --- harbor-operator/README.md | 8 -------- harbor-operator/application-extras.yml | 4 ++-- harbor-operator/values.yaml | 2 +- 3 files changed, 3 insertions(+), 11 deletions(-) diff --git a/harbor-operator/README.md b/harbor-operator/README.md index 73c768f..f11e00c 100644 --- a/harbor-operator/README.md +++ b/harbor-operator/README.md @@ -1,11 +1,3 @@ -Deploy with: - -``` -kubectl create namespace harbor-operator -kubectl -n harbor-operator create secret generic harbor-minio-credentials --from-literal REGISTRY_STORAGE_S3_ACCESSKEY=...--from-literal=REGISTRY_STORAGE_S3_SECRETKEY=... -kubectl -n harbor-operator create secret generic harbor-postgres-password --from-literal password=... - -``` # Deployment With ArgoCD. Render it locally: diff --git a/harbor-operator/application-extras.yml b/harbor-operator/application-extras.yml index 99c3fa7..f906749 100644 --- a/harbor-operator/application-extras.yml +++ b/harbor-operator/application-extras.yml @@ -95,7 +95,7 @@ spec: valueFrom: secretKeyRef: name: postgres-appuser-password - key: POSTGRES_APPUSER_PASSWORD + key: password # required by harbor - name: EXPORTER_PASSWORD valueFrom: secretKeyRef: @@ -138,7 +138,7 @@ metadata: spec: size: 32 mapping: - - key: POSTGRES_APPUSER_PASSWORD + - key: password value: "%(plaintext)s" --- apiVersion: codemowers.cloud/v1beta1 diff --git a/harbor-operator/values.yaml b/harbor-operator/values.yaml index e9914ba..0f63d99 100644 --- a/harbor-operator/values.yaml +++ b/harbor-operator/values.yaml @@ -130,7 +130,7 @@ database: port: "5432" username: "kspace_harbor" coreDatabase: "harbor-operator" - existingSecret: "harbor-postgres-password" + existingSecret: "postgres-appuser-password" sslmode: "disable" redis: