Fixups because now helm knows nothing about the cluster

Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
This commit is contained in:
Martyn 2023-10-29 21:19:52 +01:00
parent 6f8b8dff73
commit 562f162769
1 changed files with 29 additions and 14 deletions

View File

@ -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