guacamole: NFS subPath — Synology exports /volume1/kubernetes root only
First pass used nfs.path=/volume1/kubernetes/guacamole/recordings, which triggered "mount.nfs: access denied by server" on rke2-agent1. Synology NFS export is scoped to /volume1/kubernetes; match the working fc-desktop pattern: mount the export root and select the subdirectory via volumeMount.subPath. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -201,6 +201,7 @@ spec:
|
|||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: recordings
|
- name: recordings
|
||||||
mountPath: /var/lib/guacamole/recordings
|
mountPath: /var/lib/guacamole/recordings
|
||||||
|
subPath: guacamole/recordings
|
||||||
- name: kubectl-proxy
|
- name: kubectl-proxy
|
||||||
image: bitnami/kubectl:latest
|
image: bitnami/kubectl:latest
|
||||||
args:
|
args:
|
||||||
@@ -222,7 +223,7 @@ spec:
|
|||||||
- name: recordings
|
- name: recordings
|
||||||
nfs:
|
nfs:
|
||||||
server: 10.0.58.3
|
server: 10.0.58.3
|
||||||
path: /volume1/kubernetes/guacamole/recordings
|
path: /volume1/kubernetes
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
@@ -318,6 +319,7 @@ spec:
|
|||||||
subPath: bluejay-branding-1.0.0.jar
|
subPath: bluejay-branding-1.0.0.jar
|
||||||
- name: recordings
|
- name: recordings
|
||||||
mountPath: /var/lib/guacamole/recordings
|
mountPath: /var/lib/guacamole/recordings
|
||||||
|
subPath: guacamole/recordings
|
||||||
volumes:
|
volumes:
|
||||||
- name: guac-properties
|
- name: guac-properties
|
||||||
configMap:
|
configMap:
|
||||||
@@ -328,7 +330,7 @@ spec:
|
|||||||
- name: recordings
|
- name: recordings
|
||||||
nfs:
|
nfs:
|
||||||
server: 10.0.58.3
|
server: 10.0.58.3
|
||||||
path: /volume1/kubernetes/guacamole/recordings
|
path: /volume1/kubernetes
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
|
|||||||
Reference in New Issue
Block a user