diff --git a/packages/apps/harbor/templates/harbor.yaml b/packages/apps/harbor/templates/harbor.yaml index bf780967..434d121b 100644 --- a/packages/apps/harbor/templates/harbor.yaml +++ b/packages/apps/harbor/templates/harbor.yaml @@ -27,6 +27,8 @@ apiVersion: v1 kind: Secret metadata: name: {{ .Release.Name }}-credentials + labels: + apps.cozystack.io/user-secret: "true" stringData: admin-password: {{ $adminPassword | quote }} redis-password: {{ $redisPassword | quote }} diff --git a/packages/system/harbor-rd/cozyrds/harbor.yaml b/packages/system/harbor-rd/cozyrds/harbor.yaml index 5682c053..e957a49e 100644 --- a/packages/system/harbor-rd/cozyrds/harbor.yaml +++ b/packages/system/harbor-rd/cozyrds/harbor.yaml @@ -33,6 +33,8 @@ spec: include: - resourceNames: - "{{ .name }}-credentials" + - matchLabels: + apps.cozystack.io/user-secret: "true" services: exclude: [] include: