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: Add support for DynamicValues struct #723

Merged
merged 10 commits into from
Jan 25, 2024
Merged

Conversation

Techassi
Copy link
Member

@Techassi Techassi commented Jan 22, 2024

This adds support to directly work with an abstracted view of a Helm Value file by having an in-memory representation to ease the deployment using dynamic values. This is inspired by DynamicObject.

The implementation makes the assumption, that all our operators use a common set of key/values in their values.yaml files. Currently, we don't use Rust as a source of truth for these definitions. Instead, the values files are maintained manually. I'm experimenting with this in my private time.

Reviewers should also make suggestions, if we should add or remove certain keys.

Tasks

Preview Give feedback
  1. Techassi
  2. Techassi
  3. Techassi

@Techassi Techassi self-assigned this Jan 22, 2024
@Techassi Techassi marked this pull request as ready for review January 24, 2024 09:49
Copy link
Member

@NickLarsenNZ NickLarsenNZ left a comment

Choose a reason for hiding this comment

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

LGTM, I like the test fixtures (and how they get pulled in via rstest.

@Techassi Techassi added this pull request to the merge queue Jan 25, 2024
Merged via the queue into main with commit 5477a2b Jan 25, 2024
17 checks passed
@Techassi Techassi deleted the feat/helm-values-yaml branch January 25, 2024 11:25
@Techassi Techassi changed the title feat: Add support for Helm Values file feat: Add support for DynamicValues struct Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants