38 lines
1009 B
YAML
38 lines
1009 B
YAML
# scp dependencies/traefik-config.yaml root@[ip]:/var/lib/rancher/k3s/server/manifests/traefik-config.yaml
|
|
apiVersion: helm.cattle.io/v1
|
|
kind: HelmChartConfig
|
|
metadata:
|
|
name: traefik
|
|
namespace: kube-system
|
|
spec:
|
|
valuesContent: |-
|
|
deployment:
|
|
- name: volume-permissions
|
|
image: busybox:latest
|
|
command: ["sh", "-c", "touch /data/acme.json; chmod -v 600 /data/acme.json"]
|
|
securityContext:
|
|
runAsNonRoot: true
|
|
runAsGroup: 65532
|
|
runAsUser: 65532
|
|
volumeMounts:
|
|
- name: traefik
|
|
mountPath: /data
|
|
providers:
|
|
kubernetesCRD:
|
|
allowCrossNamespace: true
|
|
persistence:
|
|
enabled: true
|
|
name: traefik
|
|
accessMode: ReadWriteOnce
|
|
size: 128Mi
|
|
storageClass: longhorn
|
|
path: /data
|
|
annotations:
|
|
app: traefik
|
|
certResolvers:
|
|
letsencrypt:
|
|
email: help@nocodelytics.com
|
|
httpChallenge:
|
|
entryPoint: "web"
|
|
storage: /data/acme.json
|