Skip to content

Commit

Permalink
Add registryctl env secretRef for S3 existingSecret
Browse files Browse the repository at this point in the history
If s3.existingSecret has been set, ensure the there is an envFrom secretRef for the registryctl container

Signed-off-by: Ian <[email protected]>
  • Loading branch information
pyratm authored and Ian committed Jul 17, 2023
1 parent 596f26c commit 6fa51ad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions templates/registry/registry-dpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,10 @@ spec:
name: "{{ template "harbor.registry" . }}"
- secretRef:
name: "{{ template "harbor.registryCtl" . }}"
{{- if .Values.persistence.imageChartStorage.s3.existingSecret }}
- secretRef:
name: {{ .Values.persistence.imageChartStorage.s3.existingSecret }}
{{- end }}
env:
- name: CORE_SECRET
valueFrom:
Expand Down

0 comments on commit 6fa51ad

Please sign in to comment.