Hi Darshan,
I changed my values.yaml like this.
collabora:
aliasgroups:
- host: http://webapp:8000
- host: https://test.casereditions.local
extra_params: --o:ssl.enable=false --o:ssl.termination=true --o:num_prespawn_children=4
server_name: test.casereditions.local
existingSecret:
enabled: false
secretName: ""
usernameKey: "username"
passwordKey: "password"
password: adminadmin
username: admin
env: []
extraVolumes:
- name: wopi-fonts
hostPath:
path: /run/desktop/mnt/host/c/k8s-volumes/wopi-fonts
type: Directory
extraVolumeMounts:
- name: wopi-fonts
mountPath: /opt/cool/systemplate/tmpfonts
autoscaling:
minReplicas: 1
resources: {}
replicaCount: 1
dynamicConfig:
ingress:
hosts:
- host: test.casereditions.local
paths:
- path: /
pathType: ImplementationSpecific
tls:
hosts:
- test.casereditions.local
secretName: test-casereditions
podLabels:
networking/data.egress: "true"
networking/internet.egress: "true"
networking/internet.ingress: "true"
networking/service.egress: "true"
networking/service.gress: "true"
networking/webapp.egress: "true"
networking/webapp.ingress: "true"
Helm is deploying this without a problem. But I don’t see the volume in the pod.
I am using the latest collabora-online Helm chart.
The path on the host is showing the folder with the extra fonts.
/ # ls -l /run/desktop/mnt/host/c/k8s-volumes/wopi-fonts
total 20132
-rwxrwxrwx 1 root root 2259616 Sep 4 23:11 GothicA1-Black.ttf
-rwxrwxrwx 1 root root 2285888 Sep 4 23:11 GothicA1-Bold.ttf
-rwxrwxrwx 1 root root 2279996 Sep 4 23:11 GothicA1-ExtraBold.ttf
-rwxrwxrwx 1 root root 2297240 Sep 4 23:11 GothicA1-ExtraLight.ttf
-rwxrwxrwx 1 root root 2296968 Sep 4 23:11 GothicA1-Light.ttf
-rwxrwxrwx 1 root root 2287684 Sep 4 23:11 GothicA1-Medium.ttf
-rwxrwxrwx 1 root root 2294192 Sep 4 23:11 GothicA1-Regular.ttf
-rwxrwxrwx 1 root root 2287416 Sep 4 23:11 GothicA1-SemiBold.ttf
-rwxrwxrwx 1 root root 2307184 Sep 4 23:11 GothicA1-Thin.ttf
/ #
But in the pod there is nothing under systemplate.
cool@wopi-client-collabora-online-666d54d55f-9dvv6:/$ ls -l /opt/cool/systemplate/
total 36
drwxr-xr-x 2 root root 4096 Oct 11 15:05 dev
drwxr-xr-x 5 root root 4096 Oct 11 15:05 etc
drwxr-xr-x 3 root root 4096 Oct 11 15:05 lib
drwxr-xr-x 2 root root 4096 Oct 11 15:05 lib64
drwxr-xr-x 2 root root 4096 Oct 11 15:05 lo
drwxr-xr-x 2 root root 4096 Oct 11 15:05 opt
drwxr-xr-x 3 root root 4096 Oct 11 15:05 tmp
drwxr-xr-x 4 root root 4096 Oct 11 15:05 usr
drwxr-xr-x 3 root root 4096 Oct 11 15:05 var
cool@wopi-client-collabora-online-666d54d55f-9dvv6:/$
Can you see what I am doing wrong?