Skip to content

Commit e109bfc

Browse files
authored
Registry creds fix aws region existing secret (#8)
* [registry-creds] Fix read AWS region from existing secret
1 parent f7e735c commit e109bfc

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

charts/registry-creds/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v1
22
appVersion: "1.9"
33
description: A Helm chart for registry creds
44
name: registry-creds
5-
version: 1.1.2
5+
version: 1.1.3
66
home: https://hub.docker.com/r/upmcenterprises/registry-creds
77
sources:
88
- https://github.com/upmc-enterprises/registry-creds

charts/registry-creds/templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ spec:
5757
secretKeyRef:
5858
name: {{ default (include "registry-creds.name" . | printf "%s-ecr") .Values.ecr.existingSecretName }}
5959
key: aws-account
60-
{{- if .Values.ecr.awsRegion }}
60+
{{- if or .Values.ecr.awsRegion .Values.ecr.existingSecretName }}
6161
- name: awsregion
6262
valueFrom:
6363
secretKeyRef:

0 commit comments

Comments
 (0)