Karpenter IAM policy version 1.0.2 is not backwards compatible with 0.37.3 #6983
Labels
documentation
Improvements or additions to documentation
triage/needs-owner
Indicates that the issue needs an owner to address it
Description
Observed Behavior:
When policy is updated to version 1.0.2 and karpenter at version 0.37.3, karpenter starts failing with errors:
#6847 (comment)
In order to enable smooth upgrade path, the policy needs to be compatible, otherwise you run into chicken/egg problems. You upgrade karpenter to 1.0.2 but it doesn't work the old policy and karpenter 0.37.x doesn't work with the new polciy
This is mentioned here at step 8 https://karpenter.sh/v1.0/upgrading/v1-migration/#upgrade-procedure
but it's not a good solution because webhooks that supposed to convert the resources on 1.0.x straight up don't work
#6982
We should keep the policy backwards compatible.
Expected Behavior:
Policy to be backwards compatible for a time to allow users to migrate.
Reproduction Steps (Please include YAML):
Upgrade the policy to 1.0.2 version while karpenter is on 0.37.3 version
Versions:
kubectl version
): 1.29+ eksThe text was updated successfully, but these errors were encountered: