This repository was archived by the owner on Mar 5, 2024. It is now read-only.
Adding ARN prefix for assumeRoleArn automatically #459
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
We ran into some issues when using
--role-base-arn-autodetect
and not providing full ARN via--assume-role-arn
in kiam v4.0 .As you can see in the server logs, the ARN is autocompleted for the requested role by the pod (z2h2q-Route53Manager-Role) but it's not autocompleted for the role that the server has to assume (z2h2q-IAMManager-Role).
This is our server parameters that we use for release 3.X and if we put the full ARN it works perfectly:
The PR tries to fix adding the ARN prefix when not giving the full string.
Additionally it removes two fields from
credentialsCache
which are not used anymore and a small error when logging an error.