From c1efe999a659c1de7a7fdbf4cff78e005a069164 Mon Sep 17 00:00:00 2001 From: Roxedus Date: Sun, 5 Jun 2022 00:36:55 +0200 Subject: [PATCH] aw --- Charts/traefik/values.yaml | 21 ++++++++++++++++++++- Deployments/traefik-ingress.yaml | 2 +- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/Charts/traefik/values.yaml b/Charts/traefik/values.yaml index 2a30bd2..cb31fa5 100644 --- a/Charts/traefik/values.yaml +++ b/Charts/traefik/values.yaml @@ -66,6 +66,25 @@ traefik: value: http://localhost:9000 - name: TRAEFIK_ENTRYPOINT value: websecure + - image: roxedus/playground:cloudflare + name: auto-cloudflare-secure + resources: + limits: + cpu: "800m" + memory: "100Mi" + requests: + cpu: "300m" + memory: "40Mi" + envFrom: + - secretRef: + name: auto-cloudflared-secrets + env: + - name: TRAEFIK_SERVICE_ENDPOINT + value: https://localhost:8443 + - name: TRAEFIK_API_ENDPOINT + value: http://localhost:9000 + - name: TRAEFIK_ENTRYPOINT + value: websecure # volumeMounts: # - name: dsdsocket # mountPath: /socket @@ -399,7 +418,7 @@ traefik: # Options for the main traefik service, where the entrypoints traffic comes # from. service: - enabled: false + enabled: true type: NodePort # Additional annotations applied to both TCP and UDP services (e.g. for cloud provider specific config) annotations: {} diff --git a/Deployments/traefik-ingress.yaml b/Deployments/traefik-ingress.yaml index 3f92612..8de7bdd 100644 --- a/Deployments/traefik-ingress.yaml +++ b/Deployments/traefik-ingress.yaml @@ -6,7 +6,7 @@ metadata: namespace: default spec: entryPoints: - - web + - websecure routes: - kind: Rule match: Host(`traefik.roxedus.com`) && ( PathPrefix(`/dashboard`) || PathPrefix(`/api`))