Add traefik config

main
trivernis 1 year ago
parent e2b58d9f67
commit c1fef69972
Signed by: Trivernis
GPG Key ID: 7E6D18B61C8D2F4B

@ -1,10 +1,17 @@
--- ---
apiVersion: kustomize.config.k8s.io/v1beta1 apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
namespace: kube-system
metadata:
name: traefik
resources:
- traefik/traefik-config.yaml
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: plantwiki namespace: plantwiki
metadata: metadata:
name: plantwiki name: plantwiki
namespace: plantwiki
resources: resources:
- plantwiki/deploy.yaml - plantwiki/deploy.yaml
--- ---
@ -13,7 +20,6 @@ kind: Kustomization
namespace: searxng namespace: searxng
metadata: metadata:
name: searxng name: searxng
namespace: searxng
resources: resources:
- searxng/namespace.yaml - searxng/namespace.yaml
- searxng/config.yaml - searxng/config.yaml

@ -0,0 +1,20 @@
apiVersion: helm.cattle.io/v1
kind: HelmChartConfig
metadata:
name: traefik
namespace: kube-system
spec:
valuesContent: |-
additionalArguments:
- "--entryPoints.web.proxyProtocol.trustedIPs=10.0.0.254"
- "--entryPoints.web.forwardedHeaders.trustedIPs=10.0.0.254"
ports:
web:
exposedPort: 8000
websecure:
exposedPort: 8443
ssh:
port: 8022
expose: true
exposedPort: 8022
protocoL: TCP
Loading…
Cancel
Save