-
Notifications
You must be signed in to change notification settings - Fork 189
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
Bug: Resource with reconcile-policy: skip doesn't populate ConfigMap #2985
Comments
Just confirming here that I do believe this is a bug. |
Hi, I just like to make sure that also the |
Looks like this issue is present on more resource types. Adding an existing storage account (in Azure) as an ASO resource will not populate either the ConfigMap or Secret as requested in the resource definition:
The resource itself is succesfully populated with information from Azure but no ConfigMap or Secret is created. |
Yes, I hadn't updated the title to reflect that but was aware it will impact every resource that can export ConfigMaps (and I think Secrets as well) with I'll fix up this issue title to more properly reflect the scope of the bug. The good news is, a single fix will fix all of the resources at once. |
Thanks! And yes both ConfigMaps and Secrets are affected and by a quick glance it looks like the code that generate those resources is only called for newly created resources |
Notes (mostly to myself) on fixing this: We need to combine I sorta think it makes sense to:
Obviously we'll need some tests to reproduce this issue too to confirm the fix works. |
Describe the bug
Using ASO V2 I expect an
UserAssignedIdentity
to populate theConfigMap
described in theoperaterSpec
. This works, but when I introduce theserviceoperator.azure.com/reconcile-policy: skip
(because this is an already existing identity) theConfigMap
is not created/populatedTo Reproduce
UserAssignedIdentity
with the following yaml :Expected behavior
The
deploy-identity
configmap should be created and populated just like when the UAI is created as a an ASO managed resource.Screenshots
n/a
Additional context
n/a
The text was updated successfully, but these errors were encountered: