feat(harbor): configure encryption key

This commit is contained in:
Peter 2025-03-24 15:05:36 +01:00
parent 74bb6e7928
commit 2a6a02163f
Signed by: prskr
GPG key ID: F56BED6903BC5E37
4 changed files with 26 additions and 2 deletions

Binary file not shown.

View file

@ -1,9 +1,10 @@
externalURL: https://registry.icb4dc0.de externalURL: https://registry.icb4dc0.de
existingSecretSecretKey: harbor-encryption
database: database:
type: external type: external
external: external:
host: app-cluster-pooler-rw.postgres.svc host: app-cluster-rw.postgres.svc
username: harbor-twpkvp username: harbor-twpkvp
coreDatabase: harbor coreDatabase: harbor
existingSecret: db-credentials-harbor existingSecret: db-credentials-harbor

View file

@ -29,6 +29,7 @@ images:
resources: resources:
- resources/ns.yaml - resources/ns.yaml
- config/secret.s3.yaml - config/secret.s3.yaml
- config/secret.encryption.yaml
- resources/db/db.yaml - resources/db/db.yaml
- resources/db/user.yaml - resources/db/user.yaml
- resources/dragonfly/db.yaml - resources/dragonfly/db.yaml

View file

@ -30,5 +30,27 @@ spec:
- registry.icb4dc0.de - registry.icb4dc0.de
rules: rules:
- backendRefs: - backendRefs:
- name: harbor - kind: Service
name: harbor-core
port: 80 port: 80
matches:
- path:
type: PathPrefix
value: "/api/"
- path:
type: PathPrefix
value: "/service/"
- path:
type: PathPrefix
value: "/v2/"
- path:
type: PathPrefix
value: "/c/"
- backendRefs:
- kind: Service
name: harbor-portal
port: 80
matches:
- path:
type: PathPrefix
value: "/"