Skip to content
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

feat!: support generic adoption variables #140

Merged
merged 36 commits into from
Nov 12, 2024
Merged

feat!: support generic adoption variables #140

merged 36 commits into from
Nov 12, 2024

Conversation

maxsxu
Copy link
Member

@maxsxu maxsxu commented Sep 19, 2024

Motivation

For adopt old existing clusters into new IaC.

Modifications

Upgrade provider version:

  • terraform required_version to >= 1.3.2
  • aws provider to >= 5.75
  • kubernetes provider to >= 2.32

Upgrade module version:

  • eks module to 20.29.0

Added new variables:

  • cluster_encryption_config
  • bootstrap_self_managed_addons
  • cluster_iam
  • cluster_networking
  • node_groups

Updated outputs:

  • eks_cluster_id renamed to eks_cluster_name

Verifying this change

It has been verified in test environment.

Documentation

  • doc

Copy link
Contributor

@maxsxu:Thanks for your contribution. For this PR, do we need to update docs?
(The PR template contains info about doc, which helps others know more about the changes. Can you provide doc-related info in this and future PR descriptions? Thanks)

@github-actions github-actions bot added the doc-info-missing This pr needs to mark a document option in description label Sep 19, 2024
@maxsxu maxsxu marked this pull request as ready for review September 20, 2024 02:41
@maxsxu maxsxu requested a review from a team as a code owner September 20, 2024 02:41
Copy link
Contributor

@maxsxu:Thanks for providing doc info!

@github-actions github-actions bot added doc This pr contains a document and removed doc-info-missing This pr needs to mark a document option in description labels Sep 20, 2024
dpappa
dpappa previously approved these changes Sep 20, 2024
main.tf Outdated Show resolved Hide resolved
maxsxu and others added 7 commits October 15, 2024 23:54
<!--
  ~ Copyright 2023 StreamNative, Inc.
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~     http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
-->

<!--
### Contribution Checklist

- Fill out the template below to describe the changes contributed by the
pull request. That will give reviewers the context they need to do the
review.
  
- Each pull request should address only one issue, not mix up code from
multiple issues.
  
  - Each commit in the pull request has a meaningful commit message

- Once all items of the checklist are addressed, remove the above text
and this checklist, leaving only the filled out template below.

**(The sections below can be removed for hotfixes of typos)**
-->



### Motivation


Allow downstream module can obtain route tables info

### Modifications

- Expose route tables info
- Add type tag on route tables resources

### Verifying this change

- [x] Make sure that the change passes the CI checks.

*(Please pick either of the following options)*

This change is a trivial rework / code cleanup without any test
coverage.

*(or)*

This change is already covered by existing tests, such as *(please
describe tests)*.

*(or)*

This change added tests and can be verified as follows:

*(example:)*
- *Added integration tests for end-to-end deployment with large payloads
(10MB)*
  - *Extended integration test for recovery after broker failure*

### Documentation

Check the box below.

Need to update docs? 

- [ ] `doc-required` 
  
  (If you need help on updating docs, create a doc issue)
  
- [x] `no-need-doc` 
  
  (Please explain why)
  
- [ ] `doc` 
  
  (If this PR contains doc changes)
🤖 I have created a release *beep* *boop*
---


##
[3.2.0](v3.1.0...v3.2.0)
(2024-09-10)


### Features

* Expose route tables info
([#138](#138))
([13d1412](13d1412))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@maxsxu maxsxu changed the title feat: support generic adoption variables feat!: support generic adoption variables Oct 28, 2024
maxsxu added a commit that referenced this pull request Nov 3, 2024
<!--
  ~ Copyright 2023 StreamNative, Inc.
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~     http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
-->

<!--
### Contribution Checklist

- Fill out the template below to describe the changes contributed by the
pull request. That will give reviewers the context they need to do the
review.
  
- Each pull request should address only one issue, not mix up code from
multiple issues.
  
  - Each commit in the pull request has a meaningful commit message

- Once all items of the checklist are addressed, remove the above text
and this checklist, leaving only the filled out template below.

**(The sections below can be removed for hotfixes of typos)**
-->

### Motivation

It's for support forward compatibility of PR #140, so old existing
module caller won't broken.

This PR will be v3.3.0, and the PR #140 will be v4.0.0

### Modifications

- Add the new variables which added by PR #140

### Verifying this change

- [x] Make sure that the change passes the CI checks.

*(Please pick either of the following options)*

This change is a trivial rework / code cleanup without any test
coverage.

*(or)*

This change is already covered by existing tests, such as *(please
describe tests)*.

*(or)*

This change added tests and can be verified as follows:

*(example:)*
- *Added integration tests for end-to-end deployment with large payloads
(10MB)*
  - *Extended integration test for recovery after broker failure*

### Documentation

- [x] `doc`
@maxsxu maxsxu merged commit 5008783 into master Nov 12, 2024
3 checks passed
@maxsxu maxsxu deleted the max/adoption branch November 12, 2024 02:39
maxsxu pushed a commit that referenced this pull request Nov 12, 2024
🤖 I have created a release *beep* *boop*
---


##
[4.0.0](v3.3.0...v4.0.0)
(2024-11-12)


### ⚠ BREAKING CHANGES

* support generic adoption variables
([#140](#140))

### Features

* support generic adoption variables
([#140](#140))
([5008783](5008783))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc This pr contains a document
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants