-
Notifications
You must be signed in to change notification settings - Fork 72
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
CLOUDP-212065: fix: add 2.0.0 major version of AKO #2459
Conversation
ecfe6e1
to
90c8768
Compare
@mongodb/docs-cloud-team please be aware of the changes mentioned in the PR title. Please let me know if you have further questions, thank you! |
481b06d
to
674f017
Compare
20a4e19
to
92e52c2
Compare
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.
There is one issue with the type check. LGTM in general, if the CI is green.
akov2common "github.com/mongodb/mongodb-atlas-kubernetes/v2/pkg/api/v1/common" | ||
akov2provider "github.com/mongodb/mongodb-atlas-kubernetes/v2/pkg/api/v1/provider" | ||
akov2status "github.com/mongodb/mongodb-atlas-kubernetes/v2/pkg/api/v1/status" | ||
akov2toptr "github.com/mongodb/mongodb-atlas-kubernetes/v2/pkg/util/toptr" |
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.
👀
ResourceAtlasDataFederation, | ||
}, | ||
"1.9.0": { | ||
"2.0.0": { |
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.
[q] we are dropping support for v1 then? I'm ok just confirming
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.
yes 👍
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.
to be more precise: we are not dropping support for v1, just newer versions of Atlas CLI won't be able to generate v1.x manifests.
6cab1a4
to
070e846
Compare
74ccf55
to
6cd015b
Compare
@gssbzn i hopefully addressed all your concerns, thanks for the feedback, PTAL. Having said that I prefixed this PR as WIP (work in progress). We unfortunately found another bug yesterday in AKO v2.0 which we are fixing. The implied changes here most likely will be:
So my suggestion is to merge this not sooner than we release AKO 2.0.1. |
ok, I learned that we always pull the latest image, so this is good for final review. |
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.
Changes LGTM you can decide when is best to merge this once the operator fixes are out but I'm not blocking the PR
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.
Great work! 👍
before we merge, I'd like to implement one last optimization. Currently, we always generate empty secret templates. That's not really necessary unless a concrete alert integration is configured in Atlas. We can consider the integration type name to see if we actually need to create a secret template. |
0d6ebdc
ff94b50
to
c9512dc
Compare
c9512dc
to
5a4b0bf
Compare
Co-authored-by: Gustavo Bazan <[email protected]>
Co-authored-by: Gustavo Bazan <[email protected]>
5a4b0bf
to
690293d
Compare
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.
Looks good 👍
690293d
to
ffa13b6
Compare
Proposed changes
Starting from the changes present in this PR, rendering AKO v1.x resources is not supported any more. Starting from here, rendering AKO v2.x resources is possible only.
Jira ticket: CLOUDP-210683
Checklist
make fmt
and formatted my codeFurther comments