diff --git a/services/harbor/helmrelease.yaml b/services/harbor/helmrelease.yaml index 33fb71a..d1026e1 100644 --- a/services/harbor/helmrelease.yaml +++ b/services/harbor/helmrelease.yaml @@ -249,7 +249,7 @@ spec: - name: REGISTRY_NOTIFICATIONS_ENDPOINTS_0_NAME value: harbor-core - name: REGISTRY_NOTIFICATIONS_ENDPOINTS_0_URL - value: http://harbor-core/service/notifications + value: http://harbor-registry:8080/service/notifications - name: REGISTRY_NOTIFICATIONS_ENDPOINTS_0_TIMEOUT value: 5s - name: REGISTRY_NOTIFICATIONS_ENDPOINTS_0_THRESHOLD @@ -274,6 +274,10 @@ spec: export REGISTRY_HTTP_SECRET="{{ .Data.data.REGISTRY_HTTP_SECRET }}" export REGISTRY_REDIS_PASSWORD="{{ .Data.data.REGISTRY_REDIS_PASSWORD }}" {{ end }} + {{ with secret "kv/data/atlas/harbor/harbor-jobservice" }} + export JOBSERVICE_SECRET="{{ .Data.data.JOBSERVICE_SECRET }}" + export REGISTRY_NOTIFICATIONS_ENDPOINTS_0_HEADERS_Authorization="Harbor-Secret ${JOBSERVICE_SECRET}" + {{ end }} vault.hashicorp.com/agent-inject-secret-harbor-registryctl-env.sh: "kv/data/atlas/harbor/harbor-registry" vault.hashicorp.com/agent-inject-template-harbor-registryctl-env.sh: | {{ with secret "kv/data/atlas/harbor/harbor-core" }} @@ -478,7 +482,7 @@ spec: - name: REGISTRY_NOTIFICATIONS_ENDPOINTS_0_NAME value: harbor-core - name: REGISTRY_NOTIFICATIONS_ENDPOINTS_0_URL - value: http://harbor-core/service/notifications + value: http://harbor-registry:8080/service/notifications - name: REGISTRY_NOTIFICATIONS_ENDPOINTS_0_TIMEOUT value: 5s - name: REGISTRY_NOTIFICATIONS_ENDPOINTS_0_THRESHOLD