-
Notifications
You must be signed in to change notification settings - Fork 207
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
Upbound CrossPlane addon upgrade #1029
Conversation
/do-e2e-tests |
@shapirov103 Please review and merge this. Lets get this to release. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work, appreciate the bias for action!
please check a few comments/questions i left
import {createNamespace, supportsALL} from '../../utils'; | ||
import { Policy, PolicyDocument} from 'aws-cdk-lib/aws-iam'; | ||
import * as cdk from 'aws-cdk-lib'; | ||
import {HelmAddOn, HelmAddOnProps, HelmAddOnUserProps} from "../helm-addon"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please run make lint
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
/* | ||
* EKS MasterRole. `mastersRole` of blueprints should be passed to this parameter. | ||
*/ | ||
eksMasterRole?: any; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why does it need this master role? I assume it needs role of the clusters that crossplane will manage, not the management cluster which runs crossplane.
Another question - why is type any
as opposed to let's say IRole
or string for arn?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree and im using String
which can be used on the role name.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can it be cross-account for real use cases? E.g. in a multi-account architecture, how do you see that role passed? We could make it IRole and allow customers either to create a role or look up role (supporting cross account).
If it is string, then no validation is applied upfront. They can pass anything, and until the attempt something later through crossplane they will see no failure.
Another option is for the string to be role arn (I can settle for this). The most generic option is role: IRole | string
.
@shapirov103 All comments are fixed, please check and run e2e. |
@shapirov103 Please check te changes, currently doing local test with CXP. Will share details when im done testing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one more comment
/do-e2e-tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
end to end tests failed. A maintainer can provide more details.
/do-e2e-tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
end to end tests failed. A maintainer can provide more details.
/do-e2e-tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
end to end tests failed. A maintainer can provide more details.
/do-e2e-tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
end to end tests passed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Issue #, if available:
Description of changes:
Upbound CrossPlane addon upgrade
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.