Skip to content

Restarting k8s: webhook not ready in time #686

Closed Answered by aramase
9Rune5 asked this question in Q&A
Discussion options

You must be logged in to vote

@9Rune5

  1. You can configure the webhook failurePolicy to Fail instead of Ignore
  2. Label all the workloads that need to use the workload identity webhook (ref: https://azure.github.io/azure-workload-identity/docs/topics/service-account-labels-and-annotations.html#labels-1).
  3. Add a labelSelector in the mutating webhook configuration to only mutate pods with the "azure.workload.identity/use": "true" label.

Note: we are going to make the above changes default in the upcoming v1.0.0 release (xref: #601)

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
1 reply
@9Rune5
Comment options

Answer selected by 9Rune5
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@mikerains
Comment options

@mikerains
Comment options

@9Rune5
Comment options

@mikerains
Comment options

@mikerains
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants