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 kind: Kustomization
helmCharts: helmCharts:
- name : cert-manager-webhook-dnsimple - name: cert-manager-webhook-dnsimple
includeCRDS: false releaseName: dnsimple
repo: https://charts.neoskop.dev
valuesInline: valuesInline:
dnsimple:
existingTokenSecret: true
tokenSecretName: dnsimple-token
image: image:
pullPolicy: Always
repository: ghcr.io/martyn-meister/cert-manager-webhook-dnsimple/cert-manager-webhook-dnsimple-dee33fe2c989dd30c75a642b7755648d repository: ghcr.io/martyn-meister/cert-manager-webhook-dnsimple/cert-manager-webhook-dnsimple-dee33fe2c989dd30c75a642b7755648d
tag: latest tag: latest
pullPolicy: Always
dnsimple:
tokenSecretName: dnsimple-token
existingTokenSecret: true
releaseName: dnsimple
version: 0.1.2 version: 0.1.2
repo: https://charts.neoskop.dev
patches: patches:
- target: - path: args.yaml
target:
kind: Deployment kind: Deployment
name: dnsimple-cert-manager-webhook-dnsimple name: dnsimple-cert-manager-webhook-dnsimple
path: - path: port.yaml
args.yaml target:
- target:
kind: Deployment kind: Deployment
name: dnsimple-cert-manager-webhook-dnsimple name: dnsimple-cert-manager-webhook-dnsimple
path: - patch: |-
port.yaml - 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