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

Optimize Kustomize post renderer and tests #206

Merged
merged 2 commits into from
Feb 4, 2021
Merged

Conversation

hiddeco
Copy link
Member

@hiddeco hiddeco commented Feb 4, 2021

  • Use constants for APIVersion and Kind in Kustomization config
  • Remove redundant JSON marshal of strategic merge patches
  • Factor out Kustomization build wrapper and add notes about settings
  • Add tests for Kustomize post renderer

* Use constants for APIVersion and Kind in Kustomization config
* Remove redundant JSON marshal of strategic merge patches
* Factor out Kustomization build wrapper and add notes about settings

Signed-off-by: Hidde Beydals <hello@hidde.co>
@hiddeco hiddeco requested a review from stefanprodan February 4, 2021 08:24
Copy link
Member

@stefanprodan stefanprodan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice refactoring 🥇

Signed-off-by: Hidde Beydals <hello@hidde.co>
@hiddeco hiddeco force-pushed the post-renderer-tests branch from 456d4c2 to dcf0d93 Compare February 4, 2021 08:35
@hiddeco hiddeco merged commit 5e70c85 into main Feb 4, 2021
@hiddeco hiddeco deleted the post-renderer-tests branch February 4, 2021 08:50
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.

2 participants