Skip to content

Add CLI flag --default-options for template options.#563

Merged
bobh66 merged 2 commits intocrossplane-contrib:mainfrom
bobh66:default_error
Mar 27, 2026
Merged

Add CLI flag --default-options for template options.#563
bobh66 merged 2 commits intocrossplane-contrib:mainfrom
bobh66:default_error

Conversation

@bobh66
Copy link
Copy Markdown
Collaborator

@bobh66 bobh66 commented Mar 27, 2026

Description of your changes

Added a CLI option --default-options to allow the function to run with an alternate set of default template options,
for example "missingkey=error" to force missing key errors to be reported immediately.

Fixes #562

I have:

Signed-off-by: Bob Haddleton <bob.haddleton@nokia.com>
Signed-off-by: Bob Haddleton <bob.haddleton@nokia.com>
Copy link
Copy Markdown
Member

@adamwg adamwg left a comment

Choose a reason for hiding this comment

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

lgtm

@bobh66 bobh66 merged commit ee0dd5d into crossplane-contrib:main Mar 27, 2026
6 checks passed
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.

Add a defaultOptions CLI argument/env variable

2 participants