Skip to content

Commit

Permalink
Merge pull request #1545 from pyratm/registryctl-envfrom-s3-secret
Browse files Browse the repository at this point in the history
Add registryctl env secretRef for S3 existingSecret
  • Loading branch information
ywk253100 authored Aug 24, 2023
2 parents 7969bb1 + 6fa51ad commit a8915e7
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 a8915e7

Please sign in to comment.