kustomize plus helm yuckiness
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
This commit is contained in:
parent
cc446488ab
commit
6f8b8dff73
|
@ -0,0 +1,13 @@
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: not-important
|
||||||
|
spec:
|
||||||
|
template:
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: cert-manager-webhook-dnsimple
|
||||||
|
args:
|
||||||
|
- --tls-cert-file=/tls/tls.crt
|
||||||
|
- --tls-private-key-file=/tls/tls.key
|
||||||
|
- --listen-port 8443
|
|
@ -0,0 +1,29 @@
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
|
||||||
|
helmCharts:
|
||||||
|
- name : cert-manager-webhook-dnsimple
|
||||||
|
includeCRDS: false
|
||||||
|
valuesInline:
|
||||||
|
image:
|
||||||
|
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:
|
||||||
|
kind: Deployment
|
||||||
|
name: dnsimple-cert-manager-webhook-dnsimple
|
||||||
|
path:
|
||||||
|
args.yaml
|
||||||
|
- target:
|
||||||
|
kind: Deployment
|
||||||
|
name: dnsimple-cert-manager-webhook-dnsimple
|
||||||
|
path:
|
||||||
|
port.yaml
|
|
@ -0,0 +1,15 @@
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: not-important
|
||||||
|
spec:
|
||||||
|
template:
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: cert-manager-webhook-dnsimple
|
||||||
|
ports:
|
||||||
|
- port: 443
|
||||||
|
$patch: delete
|
||||||
|
- name: https
|
||||||
|
containerPort: 8443
|
||||||
|
protocol: TCP
|
Loading…
Reference in New Issue