Try to get working

This commit is contained in:
SeanOMik 2023-04-10 19:57:41 -04:00
parent f0d61e461d
commit 65d82ab2fd
Signed by: SeanOMik
GPG Key ID: 568F326C7EB33ACB
4 changed files with 38 additions and 12 deletions

View File

@ -6,4 +6,5 @@ resources:
- ./helm-repository.yaml
- ./helm-release.yaml
- ./letsencrypt-prod.yaml
- ./letsencrypt-stage.yaml
#- ./dashboard-ingress.yaml

View File

@ -10,11 +10,15 @@ spec:
privateKeySecretRef:
name: letsencrypt-production
solvers:
- http01:
ingress:
class: traefik
# - dns01:
# cloudflare:
# apiTokenSecretRef:
# name: cloudflare-api-token-secret
# key: api-token
# - http01:
# ingress:
# class: traefik
- dns01:
cloudflare:
email: "${SECRET_MY_EMAIL}"
apiTokenSecretRef:
name: cloudflare-api-token-secret
key: api-token
selector:
dnsZones:
- "***REMOVED***"

View File

@ -0,0 +1,24 @@
---
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: letsencrypt-staging
spec:
acme:
server: https://acme-staging-v02.api.letsencrypt.org/directory
email: "${SECRET_LETSENCRYPT_EMAIL}"
privateKeySecretRef:
name: letsencrypt-staging
solvers:
# - http01:
# ingress:
# class: traefik
- dns01:
cloudflare:
email: "${SECRET_MY_EMAIL}"
apiTokenSecretRef:
name: cloudflare-api-token-secret
key: api-token
selector:
dnsZones:
- "***REMOVED***"

View File

@ -14,11 +14,8 @@ spec:
name: traefik-charts
namespace: flux-system
interval: 1m
# valuesFiles:
# - ./traefik-values.yaml
values:
additionalArguments:
- --api.insecure
logs:
@ -71,7 +68,7 @@ spec:
protocol: TCP
tls:
enabled: true
certResolver: cloudflare
#certResolver: cloudflare
metrics:
port: 9100
expose: true