Skip to content

Conversation

@rmvangun
Copy link
Contributor

Adds approach for configuring variables that use Flux's postBuild variable substitution functionality. This feature can be used by creating simple key/value values.yaml in contexts/<context>/kustomize/values.yaml for global variables or contexts/<context>/kustomize/<component>/values.yaml for component specific variables.

Inclusion of these values.yaml files has also been added to the templating system.

This feature is intended to be used in only limited cases. The majority of configuration needs can be handled through the component pattern and patching. However, certain cases, especially for widespread variables such as ${public_domain}, this functionality is essential.

Adds approach for configuring variables that use Flux's `postBuild` variable substitution functionality. This feature can be used by creating simple key/value `values.yaml` in `contexts/<context>/kustomize/values.yaml` for global variables or `contexts/<context>/kustomize/<component>/values.yaml` for component specific variables.

Inclusion of these `values.yaml` files has also been added to the templating system.

This feature is intended to be used in only limited cases. The majority of configuration needs can be handled through the component pattern and patching. However, certain cases, especially for widespread variables such as `${public_domain}`, this functionality is essential.
@rmvangun rmvangun merged commit 16a86ac into main Jul 31, 2025
12 checks passed
@rmvangun rmvangun deleted the feature/kustomize-variable-injection branch July 31, 2025 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants