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

[saasherder] demo helm capabilities #4719

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

maorfr
Copy link
Contributor

@maorfr maorfr commented Oct 9, 2024

this PR shows a way to incorporate cluster information into the templating process. in this example, replacing the API versions helm Capability.

@@ -982,6 +983,7 @@ def _process_template(self, spec: TargetSpec) -> tuple[list[Any], Promotion | No
ref=ref,
namespace=spec.target.namespace.name,
values=consolidated_parameters,
api_versions=spec.oc.api_resources or [],
Copy link
Contributor

Choose a reason for hiding this comment

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

need to do convert api_resources (dict[str, list[OCCliApiResource]]) to deduplicated list[str]

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