From 7d57983cc700f83bfc4c95ce7f18e7282caf3fd1 Mon Sep 17 00:00:00 2001 From: turuncuofke Date: Wed, 26 Feb 2025 14:59:37 +0300 Subject: [PATCH] Add extraInitContainers feature --- charts/wiremock/Chart.yaml | 2 +- charts/wiremock/templates/deployment.yaml | 3 +++ charts/wiremock/values.yaml | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/charts/wiremock/Chart.yaml b/charts/wiremock/Chart.yaml index b960a11..a1b9052 100644 --- a/charts/wiremock/Chart.yaml +++ b/charts/wiremock/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.4.0 +version: 1.5.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/wiremock/templates/deployment.yaml b/charts/wiremock/templates/deployment.yaml index 43423a9..284de1a 100644 --- a/charts/wiremock/templates/deployment.yaml +++ b/charts/wiremock/templates/deployment.yaml @@ -84,6 +84,9 @@ spec: name: responses-volume - mountPath: /home/wiremock/storage/__files name: responses-data + {{- with .Values.extraInitContainers }} + {{- toYaml . | nindent 8 }} + {{- end }} {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} diff --git a/charts/wiremock/values.yaml b/charts/wiremock/values.yaml index 1a2b42b..6a3aa8b 100644 --- a/charts/wiremock/values.yaml +++ b/charts/wiremock/values.yaml @@ -38,6 +38,8 @@ initContainer: tag: 5 pullPolicy: Always +extraInitContainers: [] + imagePullSecrets: [] nameOverride: "" fullnameOverride: ""