-
Notifications
You must be signed in to change notification settings - Fork 275
fix: tmp path mount permission error on charts #720
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: tmp path mount permission error on charts #720
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: andyzhangx The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Pull Request Test Coverage Report for Build 10060391750Details
💛 - Coveralls |
Hi, Since this issue was delivered (since v4.8.0 of the chart), I had to apply a Kustomize patch to restore the tmp-dir volume, which was removed and caused the following error:
Here is the patch Kustomize i applied to work around the issue: apiVersion: apps/v1
kind: Deployment
metadata:
name: csi-nfs-controller
namespace: kube-system
spec:
template:
spec:
containers:
- name: nfs
volumeMounts:
- mountPath: /tmp
name: tmp-dir
volumes:
- emptyDir: {}
name: tmp-dir Thanks to this patch, I was finally able to upgrade the chart from version 4.7.0 to 4.11.0. For context, I am running this within a MicroK8s cluster on three Raspberry Pi 5 nodes. Could you confirm if the removal of tmp-dir was intentional? If so, what would be the recommended way to handle this situation? |
@rhessus yes, removal of tmp-dir is intentional, default workingMountDir is
|
What type of PR is this?
/kind bug
What this PR does / why we need it:
fix: tmp path mount permission error
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?: