You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
xfnlib is a library for use in crossplane composition functions built for handling authentication to both cloud providers and the kubernetes API
At present it supports both AWS WebIdentity framework and static credentials, however when using WebIdentity, it does not support role chaining which I understand as being a requirement for cross account IRSA operations.
To the best of my understanding, role chaining works by assuming each role in order, and then passing the desired config back to the client.
If this assumption is correct then this would require a change to this block to follow the chain of roles instead of just accepting the first.
Testing would then require this embedded into the network-discovery composition function by updating the version in go.mod, recompiling and deploying to golem
It would then be possible to configure an additional VPC lookup for the discovery claim as such:
xfnlib
is a library for use in crossplane composition functions built for handling authentication to both cloud providers and the kubernetes APIAt present it supports both AWS WebIdentity framework and static credentials, however when using WebIdentity, it does not support role chaining which I understand as being a requirement for cross account IRSA operations.
To the best of my understanding, role chaining works by assuming each role in order, and then passing the desired config back to the client.
If this assumption is correct then this would require a change to this block to follow the chain of roles instead of just accepting the first.
https://github.com/giantswarm/xfnlib/blob/01a8491e4ce3cff6f89b33c27cc08af600b46d25/pkg/auth/aws/client.go#L272-L282
Testing would then require this embedded into the
network-discovery
composition function by updating the version in go.mod, recompiling and deploying togolem
It would then be possible to configure an additional VPC lookup for the
discovery
claim as such:If all works correctly, you should then see
CLUSTER-vpc
appear in the status of the XRThe text was updated successfully, but these errors were encountered: