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
Ran through the quickstart with k8s setup. Using the initial values provided (kept example.org trust domain and everything). No changes or updates made to the repo after cloning. When it came time to apply client-deployment.yaml it had problems receiving it's SVID which drove me bonkers because everything was copypasta. This is the error I received when the client workload came online from the pod logs: rpc error: code = PermissionDenied desc = no identity issued
Eventually, I checked the spire-server-0 logs just to see what the problem could be and came across the client deployment selectors and failure (to make things easier to view I put each selector type on a new line):
This shows one of the selectors to be k8s:ns:default but it should be k8s:ns:spire instead. After creating a new entry with that change, the client was able to get an SVID:
Ran through the quickstart with k8s setup. Using the initial values provided (kept example.org trust domain and everything). No changes or updates made to the repo after cloning. When it came time to apply client-deployment.yaml it had problems receiving it's SVID which drove me bonkers because everything was copypasta. This is the error I received when the client workload came online from the pod logs:
rpc error: code = PermissionDenied desc = no identity issued
Eventually, I checked the spire-server-0 logs just to see what the problem could be and came across the client deployment selectors and failure (to make things easier to view I put each selector type on a new line):
From the above log output the two selectors of importance to the quickstart are
type:\"k8s\" value:\"sa:default\"
andtype:\"k8s\" value:\"ns:spire\"
.Here is the entry command provided by the quickstart:
This shows one of the selectors to be k8s:ns:default but it should be k8s:ns:spire instead. After creating a new entry with that change, the client was able to get an SVID:
Now we can see the container get it's SVID:
Suggestion to edit the provided entry create command in the quickstart k8s portion to include the correct selector k8s:ns:spire.
The text was updated successfully, but these errors were encountered: