You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Follow the quick start tutorial in the istio documentation here, the ingress gateway won't come up because of permissions problems.
Maybe this is just a user error sort of thing and I need to fix the security context or something that needs to be fixed in the spire agent, but there's a work around here:
I followed the spire/istio quick start here and I'm seeing a lot of selinux denials on the node:
[ 9787.965707] audit: type=1400 audit(1710880774.925:558): avc: denied { search } for pid=33158 comm="sh" name="spire-agent-socket-dir" dev="nvme1n1p1" ino=288654 scontext=system_u:system_r:container_t:s0:c244,c337 tcontext=system_u:object_r:data_t:s0:c839,c970 tclass=dir permissive=0
Image I'm using:
bottlerocket-aws-k8s-1.26-x86_64-v1.19.2-29cc92cc
What I expected to happen:
I should be able to mount the csi driver socket as a volume.
What actually happened:
I get permission denied errors.
How to reproduce the problem:
https://istio.io/latest/docs/ops/integrations/spire/
Follow the quick start tutorial in the istio documentation here, the ingress gateway won't come up because of permissions problems.
Maybe this is just a user error sort of thing and I need to fix the security context or something that needs to be fixed in the spire agent, but there's a work around here:
spiffe/spiffe-csi#54 (comment)
that supposedly fixes the issue in OpenShift but doesn't resolve it for bottlerocket. (i get permission denied when trying to relabel the file)
The text was updated successfully, but these errors were encountered: