feat: move cert-manager to common, add it to thin cluster
This commit is contained in:
parent
f279ee7bb6
commit
8e646d7b78
|
@ -10,9 +10,6 @@ spec:
|
||||||
privateKeySecretRef:
|
privateKeySecretRef:
|
||||||
name: letsencrypt-production
|
name: letsencrypt-production
|
||||||
solvers:
|
solvers:
|
||||||
# - http01:
|
|
||||||
# ingress:
|
|
||||||
# class: traefik
|
|
||||||
- dns01:
|
- dns01:
|
||||||
cloudflare:
|
cloudflare:
|
||||||
email: "${SECRET_MY_EMAIL}"
|
email: "${SECRET_MY_EMAIL}"
|
|
@ -10,9 +10,6 @@ spec:
|
||||||
privateKeySecretRef:
|
privateKeySecretRef:
|
||||||
name: letsencrypt-staging
|
name: letsencrypt-staging
|
||||||
solvers:
|
solvers:
|
||||||
# - http01:
|
|
||||||
# ingress:
|
|
||||||
# class: traefik
|
|
||||||
- dns01:
|
- dns01:
|
||||||
cloudflare:
|
cloudflare:
|
||||||
email: "${SECRET_MY_EMAIL}"
|
email: "${SECRET_MY_EMAIL}"
|
|
@ -2,14 +2,10 @@ apiVersion: cert-manager.io/v1
|
||||||
kind: Certificate
|
kind: Certificate
|
||||||
metadata:
|
metadata:
|
||||||
name: wildcard-main-cert
|
name: wildcard-main-cert
|
||||||
namespace: traefik #cert-manager
|
namespace: traefik
|
||||||
spec:
|
spec:
|
||||||
secretName: wildcard-main-tls
|
secretName: wildcard-main-tls
|
||||||
|
|
||||||
# secretTemplate:
|
|
||||||
# annotations:
|
|
||||||
# replicator.v1.mittwald.de/replicate-to: "traefik"
|
|
||||||
|
|
||||||
duration: 2160h # 90d
|
duration: 2160h # 90d
|
||||||
renewBefore: 360h # 15d
|
renewBefore: 360h # 15d
|
||||||
|
|
||||||
|
@ -19,7 +15,4 @@ spec:
|
||||||
|
|
||||||
dnsNames:
|
dnsNames:
|
||||||
- "${SECRET_NEW_DOMAIN}"
|
- "${SECRET_NEW_DOMAIN}"
|
||||||
- "*.${SECRET_NEW_DOMAIN}"
|
- "*.${SECRET_NEW_DOMAIN}"
|
||||||
# - "*.k3s.${SECRET_NEW_DOMAIN}"
|
|
||||||
# - "*.database.${SECRET_NEW_DOMAIN}"
|
|
||||||
# - "*.s3.${SECRET_NEW_DOMAIN}"
|
|
|
@ -3,7 +3,7 @@ kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- ./kube-system
|
- ./kube-system
|
||||||
- ./helm-repositories.yaml
|
- ./helm-repositories.yaml
|
||||||
- ./cert-manager
|
- ../../common/apps/cert-manager
|
||||||
- ../../common/apps/metallb
|
- ../../common/apps/metallb
|
||||||
- ../../common/apps/traefik/ks.yaml
|
- ../../common/apps/traefik/ks.yaml
|
||||||
# storage
|
# storage
|
||||||
|
|
|
@ -2,14 +2,11 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- ./helm-repositories.yaml
|
- ./helm-repositories.yaml
|
||||||
#- ../../common/apps/metallb
|
|
||||||
- ./main-ip-pool.yaml
|
- ./main-ip-pool.yaml
|
||||||
|
- ../../common/apps/cert-manager
|
||||||
- ../../common/apps/traefik/ks.yaml
|
- ../../common/apps/traefik/ks.yaml
|
||||||
# storage
|
# storage
|
||||||
#- ./longhorn
|
|
||||||
#- ../../common/apps/openebs
|
#- ../../common/apps/openebs
|
||||||
|
|
||||||
#- ./kube-replicator
|
|
||||||
|
|
||||||
- ../../common/apps/nfd/ks.yaml
|
- ../../common/apps/nfd/ks.yaml
|
||||||
- ../../common/apps/intel-gpu/ks.yaml
|
- ../../common/apps/intel-gpu/ks.yaml
|
Loading…
Reference in New Issue