From 562f162769f52ed37c20aae3f8504c90bb2c5c90 Mon Sep 17 00:00:00 2001 From: Martyn Ranyard Date: Sun, 29 Oct 2023 21:19:52 +0100 Subject: [PATCH] Fixups because now helm knows nothing about the cluster Signed-off-by: Martyn Ranyard --- .../kustomization.yaml | 43 +++++++++++++------ 1 file changed, 29 insertions(+), 14 deletions(-) diff --git a/apps-kustomized/cert-manager-webhook-dnsimple/kustomization.yaml b/apps-kustomized/cert-manager-webhook-dnsimple/kustomization.yaml index 95447db..ca886fe 100644 --- a/apps-kustomized/cert-manager-webhook-dnsimple/kustomization.yaml +++ b/apps-kustomized/cert-manager-webhook-dnsimple/kustomization.yaml @@ -2,28 +2,43 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization helmCharts: -- name : cert-manager-webhook-dnsimple - includeCRDS: false +- name: cert-manager-webhook-dnsimple + releaseName: dnsimple + repo: https://charts.neoskop.dev valuesInline: + dnsimple: + existingTokenSecret: true + tokenSecretName: dnsimple-token image: + pullPolicy: Always repository: ghcr.io/martyn-meister/cert-manager-webhook-dnsimple/cert-manager-webhook-dnsimple-dee33fe2c989dd30c75a642b7755648d tag: latest - pullPolicy: Always - dnsimple: - tokenSecretName: dnsimple-token - existingTokenSecret: true - releaseName: dnsimple version: 0.1.2 - repo: https://charts.neoskop.dev patches: -- target: +- path: args.yaml + target: kind: Deployment name: dnsimple-cert-manager-webhook-dnsimple - path: - args.yaml -- target: +- path: port.yaml + target: kind: Deployment name: dnsimple-cert-manager-webhook-dnsimple - path: - port.yaml +- patch: |- + - op: replace + path: /apiVersion + value: apiregistration.k8s.io/v1 + target: + group: apiregistration.k8s.io + kind: APIService + name: .* + version: v1beta1 +- patch: |- + - op: replace + path: /apiVersion + value: cert-manager.io/v1 + target: + group: cert-manager.io + kind: Certificate|Issuer + name: .* + version: v1alpha2