Skip to content

Commit

Permalink
Merge pull request #1625 from MinerYang/fix_registry_externalredis_se…
Browse files Browse the repository at this point in the history
…cret_main

fix external redis existing password for registry container
  • Loading branch information
ywk253100 authored Oct 25, 2023
2 parents 39befea + 5af27f1 commit 96428e0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions templates/registry/registry-dpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,13 @@ spec:
- name: INTERNAL_TLS_TRUST_CA_PATH
value: /etc/harbor/ssl/registry/ca.crt
{{- end }}
{{- if .Values.redis.external.existingSecret }}
- name: REGISTRY_REDIS_PASSWORD
valueFrom:
secretKeyRef:
name: {{ .Values.redis.external.existingSecret }}
key: REDIS_PASSWORD
{{- end }}
{{- if .Values.persistence.imageChartStorage.azure.existingSecret }}
- name: REGISTRY_STORAGE_AZURE_ACCOUNTKEY
valueFrom:
Expand Down

0 comments on commit 96428e0

Please sign in to comment.