Traefik /data volume permission fix
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Danny Bessems 2023-01-24 10:41:22 +01:00
parent 2b81d4caa0
commit 17cf7925d6

View File

@ -23,6 +23,13 @@ platform:
ingressRoute: ingressRoute:
dashboard: dashboard:
enabled: false enabled: false
initContainers:
- name: volume-permissions
image: busybox:1
command: ["sh", "-c", "touch /data/acme.json && chmod -Rv 600 /data/* && chown 65532:65532 /data/acme.json"]
volumeMounts:
- name: data
mountPath: /data
persistence: persistence:
enabled: true enabled: true
ports: ports:
@ -209,6 +216,8 @@ dependencies:
- kubernetes.core - kubernetes.core
container_images: container_images:
# This should match the image tag referenced at `platform.packaged_components[.name==traefik].config`
- busybox:1
- ghcr.io/kube-vip/kube-vip:v0.5.8 - ghcr.io/kube-vip/kube-vip:v0.5.8
# The following list is generated by running the following commands: # The following list is generated by running the following commands:
# $ clusterctl init -i vsphere:<version> [...] # $ clusterctl init -i vsphere:<version> [...]