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

Add template function "required" for addons #1737

Merged
merged 1 commit into from
Jan 14, 2022
Merged

Add template function "required" for addons #1737

merged 1 commit into from
Jan 14, 2022

Conversation

dakraus
Copy link
Contributor

@dakraus dakraus commented Jan 14, 2022

What this PR does / why we need it:
Previously the template function "required" was only available for OS
template scripts, but not for addon manifest templates, which caused the
rendering of the built-in addon "backups-restic" to fail. Therefore the
"required" template function was moved into package "addons" and made
available to the addons manifest templates.

Does this PR introduce a user-facing change?:

Make template function "required" available to addon manifest templates

Previously the template function "required" was only available for OS
template scripts, but not for addon manifest templates, which caused the
rendering of the built-in addon "backups-restic" to fail. Therefore the
"required" template function was moved into package "addons" and made
available to the addons manifest templates.

Signed-off-by: Daniel Kraus <daniel.kraus@kubermatic.com>
@dakraus dakraus requested a review from kron4eg January 14, 2022 15:20
@kubermatic-bot kubermatic-bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. dco-signoff: yes Denotes that all commits in the pull request have the valid DCO signoff message. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jan 14, 2022
@kubermatic-bot kubermatic-bot added the lgtm Indicates that a PR is ready to be merged. label Jan 14, 2022
@kubermatic-bot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 17022a0dd0dffcfbb8efe663fcae0be7761603bc

@kron4eg
Copy link
Member

kron4eg commented Jan 14, 2022

/approve

@kubermatic-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dakraus, kron4eg

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubermatic-bot kubermatic-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 14, 2022
@kubermatic-bot kubermatic-bot merged commit 8586c64 into kubermatic:master Jan 14, 2022
@kubermatic-bot kubermatic-bot added this to the KubeOne 1.4 milestone Jan 14, 2022
@dakraus dakraus deleted the fix-addon-template-function branch January 14, 2022 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Denotes that all commits in the pull request have the valid DCO signoff message. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants