feat: set traefik's tls secret to what is generated by cert-manager

This commit is contained in:
SeanOMik 2024-01-23 09:21:15 -05:00
parent c1f4347ed2
commit 4b281683d9
Signed by: SeanOMik
GPG Key ID: FEC9E2FC15235964
38 changed files with 11 additions and 38 deletions

View File

@ -87,7 +87,6 @@ spec:
tls: tls:
- hosts: - hosts:
- *host - *host
secretName: wildcard-main-tls
monitoring: monitoring:
enabled: false # temporarily disable monitoring enabled: false # temporarily disable monitoring

View File

@ -85,7 +85,6 @@ spec:
tls: tls:
- hosts: - hosts:
- *console-host - *console-host
secretName: wildcard-main-tls
s3: s3:
enabled: true enabled: true
@ -109,7 +108,6 @@ spec:
- hosts: - hosts:
- *api-host - *api-host
- *api-host-wildcard - *api-host-wildcard
secretName: wildcard-main-tls
podSecurityContext: podSecurityContext:
runAsUser: 10000 runAsUser: 10000

View File

@ -27,7 +27,6 @@ spec:
tls: tls:
- hosts: - hosts:
- *host - *host
secretName: wildcard-main-tls
# securityContext: # securityContext:
# runAsUser: 10000 # runAsUser: 10000

View File

@ -47,7 +47,6 @@ spec:
tls: tls:
- hosts: - hosts:
- *host - *host
secretName: wildcard-main-tls
persistence: persistence:
data: data:

View File

@ -47,7 +47,6 @@ spec:
tls: tls:
- hosts: - hosts:
- *host - *host
secretName: wildcard-main-tls
podSecurityContext: podSecurityContext:
runAsNonRoot: true runAsNonRoot: true

View File

@ -44,7 +44,6 @@ spec:
tls: tls:
- hosts: - hosts:
- *host - *host
secretName: wildcard-main-tls
persistence: persistence:
firefly-uploads: firefly-uploads:

View File

@ -43,7 +43,6 @@ spec:
tls: tls:
- hosts: - hosts:
- *host - *host
secretName: wildcard-main-tls
persistence: persistence:
storage: storage:

View File

@ -56,7 +56,6 @@ spec:
tls: tls:
- hosts: - hosts:
- *host - *host
secretName: wildcard-main-tls
# persistence: # persistence:
# config: # config:

View File

@ -47,7 +47,6 @@ spec:
tls: tls:
- hosts: - hosts:
- *host - *host
secretName: wildcard-main-tls
persistence: persistence:
config: config:

View File

@ -51,7 +51,6 @@ spec:
tls: tls:
- hosts: - hosts:
- *host - *host
secretName: wildcard-main-tls
persistence: persistence:
config: config:

View File

@ -91,7 +91,6 @@ spec:
tls: tls:
- hosts: - hosts:
- *host - *host
secretName: wildcard-main-tls
persistence: persistence:
config: config:

View File

@ -96,7 +96,6 @@ spec:
tls: tls:
- hosts: - hosts:
- *host - *host
secretName: wildcard-main-tls
persistence: persistence:
storage: storage:

View File

@ -91,7 +91,6 @@ spec:
tls: tls:
- hosts: - hosts:
- *host - *host
secretName: wildcard-main-tls
persistence: persistence:
config: config:

View File

@ -92,7 +92,6 @@ spec:
tls: tls:
- hosts: - hosts:
- *host - *host
secretName: wildcard-main-tls
persistence: persistence:
config: config:

View File

@ -92,7 +92,6 @@ spec:
tls: tls:
- hosts: - hosts:
- *host - *host
secretName: wildcard-main-tls
persistence: persistence:
config: config:

View File

@ -92,7 +92,6 @@ spec:
tls: tls:
- hosts: - hosts:
- *host - *host
secretName: wildcard-main-tls
persistence: persistence:
config: config:

View File

@ -47,7 +47,6 @@ spec:
tls: tls:
- hosts: - hosts:
- *host - *host
secretName: wildcard-main-tls
persistence: persistence:
config: config:
enabled: true enabled: true

View File

@ -67,7 +67,6 @@ spec:
tls: tls:
- hosts: - hosts:
- *host - *host
secretName: wildcard-main-tls
persistence: persistence:
config: config:

View File

@ -54,7 +54,6 @@ spec:
tls: tls:
- hosts: - hosts:
- *host - *host
secretName: wildcard-main-tls
persistence: persistence:
config: config:

View File

@ -43,7 +43,6 @@ spec:
tls: tls:
- hosts: - hosts:
- *host - *host
secretName: wildcard-main-tls
persistence: persistence:
config: config:

View File

@ -45,7 +45,6 @@ spec:
tls: tls:
- hosts: - hosts:
- *host - *host
secretName: wildcard-main-tls
persistence: persistence:
config: config:

View File

@ -47,7 +47,6 @@ spec:
tls: tls:
- hosts: - hosts:
- *host - *host
secretName: wildcard-main-tls
persistence: persistence:
config: config:

View File

@ -49,7 +49,6 @@ spec:
tls: tls:
- hosts: - hosts:
- *host - *host
secretName: wildcard-main-tls
persistence: persistence:
config: config:

View File

@ -40,7 +40,6 @@ spec:
tls: tls:
- hosts: - hosts:
- *host - *host
secretName: wildcard-main-tls
persistence: persistence:
config: config:
enabled: true enabled: true

View File

@ -46,7 +46,6 @@ spec:
tls: tls:
- hosts: - hosts:
- *host - *host
secretName: wildcard-main-tls
persistence: persistence:
config: config:

View File

@ -45,7 +45,6 @@ spec:
tls: tls:
- hosts: - hosts:
- *host - *host
secretName: wildcard-main-tls
persistence: persistence:
config: config:

View File

@ -57,7 +57,6 @@ spec:
tls: tls:
- hosts: - hosts:
- *host - *host
secretName: wildcard-main-tls
persistence: persistence:
config: config:

View File

@ -47,7 +47,6 @@ spec:
tls: tls:
- hosts: - hosts:
- *host - *host
secretName: wildcard-main-tls
persistence: persistence:
config: config:

View File

@ -26,7 +26,6 @@ spec:
tls: tls:
- hosts: - hosts:
- *grafana-host - *grafana-host
secretName: wildcard-main-tls
grafana.ini: grafana.ini:
server: server:

View File

@ -31,7 +31,6 @@ spec:
tls: tls:
- hosts: - hosts:
- *alertmanager-host - *alertmanager-host
secretName: wildcard-main-tls
alertmanagerSpec: alertmanagerSpec:
alertmanagerConfiguration: alertmanagerConfiguration:
@ -57,7 +56,6 @@ spec:
tls: tls:
- hosts: - hosts:
- *prometheus-host - *prometheus-host
secretName: wildcard-main-tls
prometheusSpec: prometheusSpec:
enableAdminAPI: false enableAdminAPI: false

View File

@ -46,7 +46,6 @@ spec:
tls: tls:
- hosts: - hosts:
- *host - *host
secretName: wildcard-main-tls
persistence: persistence:
config: config:

View File

@ -60,7 +60,6 @@ spec:
tls: tls:
- hosts: - hosts:
- *host - *host
secretName: wildcard-main-tls
resources: resources:
requests: requests:

View File

@ -57,7 +57,6 @@ spec:
tls: tls:
- hosts: - hosts:
- *host - *host
secretName: wildcard-main-tls
resources: resources:
requests: requests:

View File

@ -43,7 +43,6 @@ spec:
tls: tls:
- hosts: - hosts:
- *host - *host
secretName: wildcard-main-tls
persistence: persistence:
data: data:

View File

@ -8,7 +8,7 @@ spec:
secretTemplate: secretTemplate:
annotations: annotations:
replicator.v1.mittwald.de/replicate-to: "traefik,download,media,tools,management,authentik,database,monitoring" replicator.v1.mittwald.de/replicate-to: "traefik"
duration: 2160h # 90d duration: 2160h # 90d
renewBefore: 360h # 15d renewBefore: 360h # 15d

View File

@ -0,0 +1,9 @@
apiVersion: traefik.io/v1alpha1
kind: TLSStore
metadata:
name: default
namespace: traefik
spec:
defaultCertificate:
secretName: wildcard-main-tls

View File

@ -79,7 +79,6 @@ spec:
tlsStore: tlsStore:
default: default:
defaultCertificate: defaultCertificate:
secretName: wildcard-main-tls
metrics: metrics:
prometheus: prometheus:

View File

@ -4,4 +4,5 @@ resources:
- ./namespace.yaml - ./namespace.yaml
- ./helm-repository.yaml - ./helm-repository.yaml
- ./helm-release.yaml - ./helm-release.yaml
- ./default-tls-store.yaml
- ./dashboard-ingress.yaml - ./dashboard-ingress.yaml