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

Move Values.metadata to Values.global.metadata #413

Merged
merged 13 commits into from
Nov 29, 2023

Conversation

nprokopic
Copy link
Contributor

@nprokopic nprokopic commented Nov 11, 2023

Towards giantswarm/roadmap#2954

⚠️ This is a Helm values breaking change, so it will require adjusting Helm values for all cluster when doing the upgrade.

What this PR does / why we need it

We have ported all provider-independent Cluster API resources to cluster chart, which was phase 1 of restructuring of cluster- apps, see giantswarm/roadmap#2742 for more details. Now we want to use cluster chart in cluster-aws and remove all provider-independent Cluster API resources from cluster-aws.

In order to do so, first we have to refactor cluster-aws Helm values, so that cluster chart can read provider-independent values it needs. For that, we have to move current top-level properties to be under Values.global.

This pull request moves Values.metadata to Values.global.metadata.

⚠️ This PR is temporarily using modified schema linting from giantswarm/schemalint#120. This will be reverted when new schema linter released.

⚠️ This PR is using modified Compare Helm Rendering GitHub action, where it is passing old Helm values from main branch when generating old Helm templates from main branch. The action is originally (IIUC mistakenly) passing new Helm values from the current branch to the old Helm chart from the main branch.

Checklist

  • Update changelog in CHANGELOG.md.

Trigger e2e tests

/run cluster-test-suites

@nprokopic nprokopic marked this pull request as ready for review November 12, 2023 13:12
@nprokopic nprokopic requested a review from a team as a code owner November 12, 2023 13:12
@nprokopic nprokopic requested a review from a team November 12, 2023 13:40
@nprokopic
Copy link
Contributor Author

/run cluster-test-suites

@tinkerers-ci
Copy link

tinkerers-ci bot commented Nov 12, 2023

cluster-test-suites

Run name pr-cluster-aws-413-cluster-test-suitesgxxbw
Commit SHA 5b67595
Result Failed ❌

📋 View full results in Tekton Dashboard

Rerun trigger:
/run cluster-test-suites

@nprokopic nprokopic force-pushed the move-metadata-to-global branch from 288e8ef to ea2135c Compare November 28, 2023 14:27
@nprokopic nprokopic merged commit d0b00f1 into master Nov 29, 2023
14 of 15 checks passed
@nprokopic nprokopic deleted the move-metadata-to-global branch November 29, 2023 23:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants