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

[installer] Ensure stable ordering of rendered K8s objects #11879

Merged
merged 1 commit into from
Aug 5, 2022

Conversation

corneliusludmann
Copy link
Contributor

@corneliusludmann corneliusludmann commented Aug 4, 2022

Description

This PR ensures that the ordering of the rendered K8s objects is stable. That allows comparing renderings with different configs.

How to test

Render with 2 different configs (e.g. with external registry and with internal registry). Without this change, the ordering is not stable and it is impossible to compare the changes. After this change, the ordering is stable and you can see with a diff what has changed in the rendering.

#11880 has an example where you can compare the golden files with and without an external registry.

Release Notes

NONE

Werft options:

  • /werft with-preview

@corneliusludmann corneliusludmann requested review from a team August 5, 2022 07:48
@github-actions github-actions bot added team: IDE team: webapp Issue belongs to the WebApp team team: workspace Issue belongs to the Workspace team labels Aug 5, 2022
@roboquat roboquat merged commit 94f014e into main Aug 5, 2022
@roboquat roboquat deleted the clu/render-stable-order branch August 5, 2022 08:22
@roboquat roboquat added deployed: webapp Meta team change is running in production deployed: IDE IDE change is running in production deployed: workspace Workspace team change is running in production labels Aug 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployed: IDE IDE change is running in production deployed: webapp Meta team change is running in production deployed: workspace Workspace team change is running in production release-note-none size/XXL team: delivery Issue belongs to the self-hosted team team: IDE team: webapp Issue belongs to the WebApp team team: workspace Issue belongs to the Workspace team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants