Skip to content
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

Pause between pod identity installation and creation of the AzureIdentity #12

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

mikemcallister-lnrisk
Copy link

Background:
During a fresh install of pod identity if an AzureIdentity is created via helm immediately after installation of the pod identity chart sometimes the creation of the identity fails complaining that K8s doesn't know about the type "aadpodidentity.k8s.io/v1 AzureIdentity". This is because the CRDs from pod identity are not immediately applied, even though helm reports that pod identity has been successfully installed.

Fix:
Wait 30 seconds to add the AzureIdentity after pod identity has been installed. We only need to wait if CRDs are installed and the caller is requesting to add individual identities.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant