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-repository.yaml
- ./helm-release.yaml - ./helm-release.yaml
- ./letsencrypt-prod.yaml - ./letsencrypt-prod.yaml
- ./letsencrypt-stage.yaml
#- ./dashboard-ingress.yaml #- ./dashboard-ingress.yaml

View File

@ -10,11 +10,15 @@ spec:
privateKeySecretRef: privateKeySecretRef:
name: letsencrypt-production name: letsencrypt-production
solvers: solvers:
- http01: # - http01:
ingress: # ingress:
class: traefik # class: traefik
# - dns01: - dns01:
# cloudflare: cloudflare:
# apiTokenSecretRef: email: "${SECRET_MY_EMAIL}"
# name: cloudflare-api-token-secret apiTokenSecretRef:
# key: api-token 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 name: traefik-charts
namespace: flux-system namespace: flux-system
interval: 1m interval: 1m
# valuesFiles:
# - ./traefik-values.yaml
values: values:
additionalArguments: additionalArguments:
- --api.insecure - --api.insecure
logs: logs:
@ -71,7 +68,7 @@ spec:
protocol: TCP protocol: TCP
tls: tls:
enabled: true enabled: true
certResolver: cloudflare #certResolver: cloudflare
metrics: metrics:
port: 9100 port: 9100
expose: true expose: true