diff --git a/Charts/traefik/values.yaml b/Charts/traefik/values.yaml index 5d986f7..d3de14e 100644 --- a/Charts/traefik/values.yaml +++ b/Charts/traefik/values.yaml @@ -40,6 +40,25 @@ traefik: envFrom: - secretRef: name: cloudflared-secrets + - image: roxedus/playground:cloudflare + name: auto-cloudflare + resources: + limits: + cpu: "800m" + memory: "100Mi" + requests: + cpu: "300m" + memory: "40Mi" + envFrom: + - secretRef: + name: auto-cloudflared-secrets + env: + - name: TRAEFIK_SERVICE_ENDPOINT + value: http://localhost:8080 + - name: TRAEFIK_API_ENDPOINT + value: http://localhost:9000 + - name: TRAEFIK_ENTRYPOINT + value: web # volumeMounts: # - name: dsdsocket # mountPath: /socket @@ -299,7 +318,7 @@ traefik: # liveness probes, but you can adjust its config to your liking traefik: port: 9000 - expose: true + expose: false # The exposed port for this service exposedPort: 9000 # The port protocol (TCP/UDP) @@ -307,8 +326,8 @@ traefik: web: port: 8000 # hostPort: 8000 - expose: true - #exposedPort: 80 + expose: false + exposedPort: 80 # The port protocol (TCP/UDP) protocol: TCP # Use nodeport if set. This is useful if you have configured Traefik in a diff --git a/Deployments/auto-cloudflare/auto-cloudflare.yaml b/Deployments/auto-cloudflare/auto-cloudflare.yaml deleted file mode 100644 index eefd170..0000000 --- a/Deployments/auto-cloudflare/auto-cloudflare.yaml +++ /dev/null @@ -1,35 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: auto-cloudflare -spec: - replicas: 1 - revisionHistoryLimit: 3 - selector: - matchLabels: - app: auto-cloudflare - template: - metadata: - labels: - app: auto-cloudflare - spec: - containers: - - image: roxedus/playground:cloudflare - name: auto-cloudflare - resources: - limits: - cpu: "800m" - memory: "100Mi" - requests: - cpu: "300m" - memory: "40Mi" - envFrom: - - secretRef: - name: auto-cloudflared-secrets - env: - - name: TRAEFIK_SERVICE_ENDPOINT - value: http://traefik:8080 - - name: TRAEFIK_API_ENDPOINT - value: http://traefik:9000 - - name: TRAEFIK_ENTRYPOINT - value: web