Skip to content

feature: Kagenti installation chart should support vanilla Kubernetes cluster #248

Closed

Description

@pdettori

Feature Description

Currently the chart is mainly focused on deploying on OpenShift, we need to support also vanilla K8s.

Proposed Solution

Work on templates for the various dependencies to ensure we can use the chart to install on K8s.

Want to contribute?

  • I would like to work on this issue.

Additional Context

No response

Activity

  1. added theissue type on Oct 1, 2025
  2. added
    help wanted
    nice to have
    on Oct 1, 2025
  3. d0w commented on Oct 1, 2025

    @d0w
    Contributor

    Hey I'm new to this project and would like to contribute to this issue! Please let me know if I could be assigned

  4. pdettori commented on Oct 2, 2025

    @pdettori
    MemberAuthor

    Hi @d0w welcome to the project! Please go ahead, I think there are some interesting challenges to solve here.

  5. pdettori commented on Oct 6, 2025

    @pdettori
    MemberAuthor

    @d0w please note we did some refactoring of the charts in #268 - I suggest to start looking into kagenti-deps chart. On vanilla Kubernetes some of the dependencies are installed with helm charts instead of operators. Those charts can be deployed as sub-charts (dependencies) in kagenti-deps - but need to be enabled / disabled by two conditions - if the component is enabled and if it is a Kubernetes (non-OpenShift) cluster. Since the condition in helm chart dependencies can only be one boolean and not a boolean expression, I suggest exploring the use of the component.<component-name>.enabled flag for the condition and the use of tags - which should allow to tags to group all dependencies charts and enable/disable based on a condition such as "isKubernetes=true" - see about tags in https://helm.sh/docs/topics/charts/#the-chartyaml-file

  6. d0w commented on Oct 7, 2025

    @d0w
    Contributor

    Hi @pdettori. Thanks for the heads up. I was looking at using the _helpers.tpl file to define a kagenti.isOpenShift value and then use that in the template files like so

    {{- if and .Values.components.certManager.enabled (include "kagenti.isOpenShift" .) }}

    Using tags seems more reasonable though and I'll look into using that instead.

  7. pdettori commented on Oct 7, 2025

    @pdettori
    MemberAuthor

    hi @d0w the problem I described is mainly with helm dependency charts - they are installed before helm evaluates logical expressions, so expressions normally used in templates like the one above would not work in the condition field of the dependency chart, thus I proposed to still use the simple condition to evaluate if enabled or disabled and the tags to filter on using kubernetes rather than OpenShift.

  8. d0w commented on Oct 7, 2025

    @d0w
    Contributor

    I see. I'm still relatively new to developing helm charts so I missed that fact. Thanks for the help!

  9. moved this from Backlog to In review / Needs Testing in Rossoctl Issue Prioritizationon Jan 12, 2026
  10. moved this from In review / Needs Testing to Done in Rossoctl Issue Prioritizationon Jan 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

help wantednice to have

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions