Updated certificates
This commit is contained in:
1 parent
9220f9a038
commit
a8e8a21f73
3 files changed
+16
-32
No files matched your search
@@ -35,45 +35,20 @@ spec:
|
||||
apiTokenSecretRef:
|
||||
name: {{ .Values.cloudflare.tokenSecretName }}
|
||||
key: {{ .Values.cloudflare.tokenSecretKey }}
|
||||
{{ range $prefix := .Values.cloudflare.certificateRootDomains }}
|
||||
---
|
||||
apiVersion: cert-manager.io/v1
|
||||
kind: Certificate
|
||||
metadata:
|
||||
name: cloudflare-wildcard.{{ .Values.global.domain }}
|
||||
name: cloudflare-wildcard{{$prefix}}.{{ $.Values.global.domain }}
|
||||
spec:
|
||||
secretName: cloudflare-wildcard.{{ .Values.global.domain }}
|
||||
secretName: cloudflare-wildcard{{$prefix}}.{{ $.Values.global.domain }}
|
||||
issuerRef:
|
||||
name: cloudflare
|
||||
kind: Issuer
|
||||
commonName: '*.{{ .Values.global.domain }}'
|
||||
commonName: '*{{$prefix}}.{{ $.Values.global.domain }}'
|
||||
dnsNames:
|
||||
- "*.{{ .Values.global.domain }}"
|
||||
---
|
||||
apiVersion: cert-manager.io/v1
|
||||
kind: Certificate
|
||||
metadata:
|
||||
name: cloudflare-wildcard.core.{{ .Values.global.domain }}
|
||||
spec:
|
||||
secretName: cloudflare-wildcard.core.{{ .Values.global.domain }}
|
||||
issuerRef:
|
||||
name: cloudflare
|
||||
kind: Issuer
|
||||
commonName: '*.core.{{ .Values.global.domain }}'
|
||||
dnsNames:
|
||||
- "*.core.{{ .Values.global.domain }}"
|
||||
---
|
||||
apiVersion: cert-manager.io/v1
|
||||
kind: Certificate
|
||||
metadata:
|
||||
name: cloudflare-wildcard.vh.{{ .Values.global.domain }}
|
||||
spec:
|
||||
secretName: cloudflare-wildcard.vh.{{ .Values.global.domain }}
|
||||
issuerRef:
|
||||
name: cloudflare
|
||||
kind: Issuer
|
||||
commonName: '*.vh.{{ .Values.global.domain }}'
|
||||
dnsNames:
|
||||
- "*.vh.{{ .Values.global.domain }}"
|
||||
|
||||
- "*{{$prefix}}.{{ $.Values.global.domain }}"
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
@@ -1,3 +1,6 @@
|
||||
global:
|
||||
tls:
|
||||
enabled: true
|
||||
reverseProxy:
|
||||
castle:
|
||||
ip: "192.168.0.23"
|
||||
@@ -17,4 +20,5 @@ reverseProxy:
|
||||
overrides:
|
||||
icon: https://basement.home.sosnovsky.ca/static/icons/favicon.ico
|
||||
|
||||
|
||||
cloudflare:
|
||||
enabled: true
|
||||
@@ -18,3 +18,8 @@ cloudflare:
|
||||
enabled: false
|
||||
tokenSecretName: ~
|
||||
tokenSecretKey: ~
|
||||
certificateRootDomains:
|
||||
- ""
|
||||
- ".core"
|
||||
- ".vh"
|
||||
- ".wa"
|
||||
Reference in new issue
Block a user