add environment
This commit is contained in:
35
environment/cloudflare-issuer/kustomization.yaml
Normal file
35
environment/cloudflare-issuer/kustomization.yaml
Normal file
@@ -0,0 +1,35 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- cluster-issuer.yaml
|
||||
|
||||
# Configuration: Edit the domain and email values below
|
||||
replacements:
|
||||
- source:
|
||||
kind: ConfigMap
|
||||
name: cloudflare-config
|
||||
fieldPath: data.domain
|
||||
targets:
|
||||
- select:
|
||||
kind: ClusterIssuer
|
||||
name: cloudflare-dns
|
||||
fieldPaths:
|
||||
- spec.acme.solvers[0].selector.dnsZones[0]
|
||||
- source:
|
||||
kind: ConfigMap
|
||||
name: cloudflare-config
|
||||
fieldPath: data.email
|
||||
targets:
|
||||
- select:
|
||||
kind: ClusterIssuer
|
||||
name: cloudflare-dns
|
||||
fieldPaths:
|
||||
- spec.acme.email
|
||||
|
||||
configMapGenerator:
|
||||
- name: cloudflare-config
|
||||
literals:
|
||||
# Change these values to match your domain and email
|
||||
- domain=example.com
|
||||
- email=admin@example.com
|
||||
|
||||
Reference in New Issue
Block a user