From 2f7a5ec9cced036ae4d3747a9b2af766fe5aacc9 Mon Sep 17 00:00:00 2001 From: NikolaiKuziaevQubership Date: Tue, 28 Jan 2025 18:44:12 +0400 Subject: [PATCH] helm refactoring --- charts/qubership-log-generator/templates/deployment.yaml | 4 ++++ charts/qubership-log-generator/values.yaml | 1 + 2 files changed, 5 insertions(+) diff --git a/charts/qubership-log-generator/templates/deployment.yaml b/charts/qubership-log-generator/templates/deployment.yaml index b2e7e54..791b626 100644 --- a/charts/qubership-log-generator/templates/deployment.yaml +++ b/charts/qubership-log-generator/templates/deployment.yaml @@ -67,6 +67,10 @@ spec: - mountPath: /opt/app/qubership-log-generator/etc name: config readOnly: true + {{- with .Values.imagePullSecrets }} + imagePullSecrets: + {{- toYaml . | nindent 8 }} + {{- end }} volumes: - name: config configMap: diff --git a/charts/qubership-log-generator/values.yaml b/charts/qubership-log-generator/values.yaml index 5f904c3..639f1c6 100644 --- a/charts/qubership-log-generator/values.yaml +++ b/charts/qubership-log-generator/values.yaml @@ -13,6 +13,7 @@ # limitations under the License. image: ghcr.io/netcracker/qubership-log-generator:main +imagePullSecrets: [] replicas: 1