Closed sravanith closed 1 week ago
This issue is currently awaiting triage.
If Ingress contributors determines this is a relevant issue, they will accept it by applying the triage/accepted
label and provide further guidance.
The triage/accepted
label can be added by org members by writing /triage accepted
in a comment.
There is no info on what has been customized
If you custom built the controller image, then it can not be supported by project as we don't know anything about it
The error is clearly indicating root-cause so there is no action item on the project. You have to study and fix the permissions and configuration yourself. Or you have to make sure that the issue description of this issue has all the answers to the questions asked in a new bug report template
/close
@longwuyuan: Closing this issue.
What happened:
We are using customized ingress-nginx v1.10.1. We want ingress-controller to run with any user passed at run time from runAsUser of securityContext. Instead of 101 when i tried passing 401 to runAsUser pod failedto come up with permission issue as below " unexpected error storing fake SSL Cert: could not create PEM certificate file /etc/ingress-controller/ssl/default-fake-certificate.pem: open /etc/ingress-controller/ssl/default-fake-certificate.pem: permission denied"
What you expected to happen: ingress-controller should be able to run with any UID passed from runasUser.
NGINX Ingress controller version NGINX Ingress controller Release: 1.10.1 Build: git-be46124cc Repository: https://github.com/kubernetes/ingress-nginx.git nginx version: nginx/1.21.6
Kubernetes version Client Version: v1.31.2 Kustomize Version: v5.4.2 Server Version: v1.29.1