This is an automated email from the ASF dual-hosted git repository.

kichan pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/trafficserver-ingress-controller.git


The following commit(s) were added to refs/heads/master by this push:
     new b9a8707  Add support for existing image pull secret (#81)
b9a8707 is described below

commit b9a870703277ac5f3fba43d12b2e99dfef83c110
Author: Kit Chan <[email protected]>
AuthorDate: Mon Feb 22 00:37:35 2021 -0800

    Add support for existing image pull secret (#81)
---
 charts/ats-ingress/templates/deployment.yaml |   3 +++
 charts/ats-ingress/values.yaml               |   1 +
 docs/ats-ingress-0.1.0.tgz                   | Bin 5043 -> 5067 bytes
 docs/index.yaml                              |   6 +++---
 4 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/charts/ats-ingress/templates/deployment.yaml 
b/charts/ats-ingress/templates/deployment.yaml
index 49e5d28..b249ad8 100644
--- a/charts/ats-ingress/templates/deployment.yaml
+++ b/charts/ats-ingress/templates/deployment.yaml
@@ -69,6 +69,9 @@ spec:
 {{- if .Values.controller.imageCredentials.registry }}
       imagePullSecrets:
       - name: {{ include "ats-ingress.fullname" . }}
+{{- else if .Values.controller.existingImagePullSecret }}
+      imagePullSecrets:
+      - name: {{ .Values.controller.existingImagePullSecret }}
 {{- end }}
 {{- if .Values.controller.priorityClassName }}
       priorityClassName: {{ .Values.controller.priorityClassName }}
diff --git a/charts/ats-ingress/values.yaml b/charts/ats-ingress/values.yaml
index 2bc6f05..4f68208 100644
--- a/charts/ats-ingress/values.yaml
+++ b/charts/ats-ingress/values.yaml
@@ -49,6 +49,7 @@ controller:
     registry: null
     username: null
     password: null
+  existingImagePullSecret: null
 
   ## optionally override entrypoint
   command: ""
diff --git a/docs/ats-ingress-0.1.0.tgz b/docs/ats-ingress-0.1.0.tgz
index 3fab1dc..b67f801 100644
Binary files a/docs/ats-ingress-0.1.0.tgz and b/docs/ats-ingress-0.1.0.tgz 
differ
diff --git a/docs/index.yaml b/docs/index.yaml
index 17c6be6..e7e6e89 100644
--- a/docs/index.yaml
+++ b/docs/index.yaml
@@ -3,12 +3,12 @@ entries:
   ats-ingress:
   - apiVersion: v2
     appVersion: 0.1.0
-    created: "2021-01-13T14:23:25.637399-08:00"
+    created: "2021-02-22T00:30:57.076845-08:00"
     description: A Helm chart for Kubernetes
-    digest: 033ca1a26955f1cb444a93d6bbc7b4a4b38720061cc5efa1c7a454d3af92cdad
+    digest: 5148234faabb9217c46b7d51f555eea30b322211c11eb678363523bac6c694e8
     name: ats-ingress
     type: application
     urls:
     - 
https://apache.github.io/trafficserver-ingress-controller/ats-ingress-0.1.0.tgz
     version: 0.1.0
-generated: "2021-01-13T14:23:25.636548-08:00"
+generated: "2021-02-22T00:30:57.075963-08:00"

Reply via email to