From d3c8eda1af5575baf08fd4891e582a89f0f54ef8 Mon Sep 17 00:00:00 2001 From: Fani Dimou <10467869+FaniD@users.noreply.github.com> Date: Tue, 21 Jun 2022 15:14:01 +0300 Subject: [PATCH] Allow custom repo for kubectl container on unistall.yaml (#84) * Allow custom repo for kubectl container on unistall.yaml * Bump chart version --- helm/designate-certmanager-webhook/Chart.yaml | 2 +- helm/designate-certmanager-webhook/templates/uninstall.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/helm/designate-certmanager-webhook/Chart.yaml b/helm/designate-certmanager-webhook/Chart.yaml index 28f43763..5b1f4ff2 100644 --- a/helm/designate-certmanager-webhook/Chart.yaml +++ b/helm/designate-certmanager-webhook/Chart.yaml @@ -2,4 +2,4 @@ apiVersion: v1 appVersion: "0.2.18" description: ACME webhook Implementation for OpenStack Designate name: designate-certmanager-webhook -version: "0.3.0" +version: "0.3.1" diff --git a/helm/designate-certmanager-webhook/templates/uninstall.yaml b/helm/designate-certmanager-webhook/templates/uninstall.yaml index 0466e708..bc8cb55a 100644 --- a/helm/designate-certmanager-webhook/templates/uninstall.yaml +++ b/helm/designate-certmanager-webhook/templates/uninstall.yaml @@ -18,7 +18,7 @@ spec: serviceAccountName: {{ include "designate-certmanager-webhook.fullname" . }} containers: - name: remove-apiservice - image: bitnami/kubectl:latest + image: "{{ .Values.image.kubectl.repository }}:{{ .Values.image.kubectl.tag }}" imagePullPolicy: {{ .Values.image.pullPolicy }} command: - kubectl