Add helm chart
This commit is contained in:
parent
83a5b0d35f
commit
f15efe40f6
@ -1,25 +1,15 @@
|
|||||||
apiVersion: cert-manager.io/v1
|
---
|
||||||
kind: ClusterIssuer
|
apiVersion: cert-manager.io/v1alpha2
|
||||||
|
kind: Certificate
|
||||||
metadata:
|
metadata:
|
||||||
name: letsencrypt-issuer
|
name: clank
|
||||||
|
namespace: kube-system
|
||||||
spec:
|
spec:
|
||||||
acme:
|
commonName: kjuulh.app
|
||||||
# You must replace this email address with your own.
|
secretName: clank-cert
|
||||||
# Let's Encrypt will use this to contact you about expiring
|
dnsNames:
|
||||||
# certificates, and issues related to your account.
|
- kjuulh.app
|
||||||
email: contact@kjuulh.io
|
- *.kjuulh.app
|
||||||
server: https://acme-staging-v02.api.letsencrypt.org/directory
|
issuerRef:
|
||||||
privateKeySecretRef:
|
name: letsencrypt-issuer
|
||||||
# Secret resource that will be used to store the account's private key.
|
kind: ClusterIssuer
|
||||||
name: letsencrypt-issuer-secret
|
|
||||||
# Add a single challenge solver, HTTP01 using nginx
|
|
||||||
solvers:
|
|
||||||
- dns01:
|
|
||||||
cloudflare:
|
|
||||||
apiTokenSecretRef:
|
|
||||||
name: cloudflare-api-token-secret
|
|
||||||
key: api-token
|
|
||||||
selector:
|
|
||||||
dnsNames:
|
|
||||||
- 'kjuulh.app'
|
|
||||||
- '*.kjuulh.app'
|
|
||||||
|
25
clank/platform/cert-manager/cluster-issuer.yaml
Normal file
25
clank/platform/cert-manager/cluster-issuer.yaml
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
apiVersion: cert-manager.io/v1
|
||||||
|
kind: ClusterIssuer
|
||||||
|
metadata:
|
||||||
|
name: letsencrypt-issuer
|
||||||
|
spec:
|
||||||
|
acme:
|
||||||
|
# You must replace this email address with your own.
|
||||||
|
# Let's Encrypt will use this to contact you about expiring
|
||||||
|
# certificates, and issues related to your account.
|
||||||
|
email: contact@kjuulh.io
|
||||||
|
server: https://acme-staging-v02.api.letsencrypt.org/directory
|
||||||
|
privateKeySecretRef:
|
||||||
|
# Secret resource that will be used to store the account's private key.
|
||||||
|
name: letsencrypt-issuer-secret
|
||||||
|
# Add a single challenge solver, HTTP01 using nginx
|
||||||
|
solvers:
|
||||||
|
- dns01:
|
||||||
|
cloudflare:
|
||||||
|
apiTokenSecretRef:
|
||||||
|
name: cloudflare-api-token-secret
|
||||||
|
key: api-token
|
||||||
|
selector:
|
||||||
|
dnsNames:
|
||||||
|
- 'kjuulh.app'
|
||||||
|
- '*.kjuulh.app'
|
@ -14,3 +14,5 @@ spec:
|
|||||||
services: # Service to redirect requests to
|
services: # Service to redirect requests to
|
||||||
- name: api@internal # Special service created by Traefik pod
|
- name: api@internal # Special service created by Traefik pod
|
||||||
kind: TraefikService
|
kind: TraefikService
|
||||||
|
tls:
|
||||||
|
secretName: clank-cert
|
||||||
|
Loading…
Reference in New Issue
Block a user