feat: add namecheap-webhook for dns01 certificate provisioning
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
bases:
|
||||
- ../envs/environments.yaml.gotmpl
|
||||
|
||||
repositories:
|
||||
- name: namecheap-webhook
|
||||
url: git+https://github.com/kelvie/cert-manager-webhook-namecheap@deploy?ref=master
|
||||
|
||||
commonLabels:
|
||||
tier: system
|
||||
|
||||
releases:
|
||||
- name: namecheap-webhook
|
||||
namespace: cert-manager
|
||||
chart: namecheap-webhook/cert-manager-webhook-namecheap
|
||||
condition: namecheap.enabled
|
||||
values:
|
||||
- ../values/namecheap-webhook/values/namecheap-webhook.yaml.gotmpl
|
||||
- ../values/namecheap-webhook/values/namecheap-webhook-{{ .Environment.Name }}.yaml.gotmpl
|
||||
postRenderer: ../bin/kustomizer
|
||||
postRendererArgs:
|
||||
- ../values/namecheap-webhook/kustomize/{{ .Environment.Name }}
|
||||
missingFileHandler: Info
|
||||
- name: manifests
|
||||
namespace: cert-manager
|
||||
chart: manifests
|
||||
condition: namecheap.enabled
|
||||
missingFileHandler: Info
|
||||
values:
|
||||
- ../values/env.yaml
|
||||
- ../values/env-{{ requiredEnv "ARGOCD_ENV_CLUSTER_NAME" }}.yaml
|
||||
- ../values/namecheap-webhook/env.yaml.gotmpl
|
||||
- ../values/namecheap-webhook/env-{{ requiredEnv "ARGOCD_ENV_CLUSTER_NAME" }}.yaml.gotmpl
|
||||
hooks:
|
||||
- events: [ prepare, cleanup ]
|
||||
showlogs: true
|
||||
command: ../bin/helmify
|
||||
args:
|
||||
- '{{`{{ if eq .Event.Name "prepare" }}build{{ else }}clean{{ end }}`}}'
|
||||
- '{{`{{ .Release.Chart }}`}}'
|
||||
- '{{`{{ .Environment.Name }}`}}'
|
||||
- ../values/namecheap-webhook/manifests
|
||||
- manifests
|
||||
Reference in New Issue
Block a user