How can I mount additional volumes in Lenses?
To mount a volume in Lenses you need to add a volume and a volume mount definitions in Lenses deployment.
For example, if the Persistent Volume Claim to mount was called lenses-plugins then you could add this snippet in the values.yaml file:
lenses-plugins
values.yaml
additionalVolumes: - name: lenses-plugins persistentVolumeClaim: claimName: lenses-plugins additionalVolumeMounts: - name: lenses-plugins mountPath: "/data/plugins"
apiVersion: v1 kind: PersistentVolumeClaim metadata: name: lenses-plugins spec: accessModes: - ReadWriteOnce resources: requests: storage: 1Gi
On this page