You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feature: Kagenti installation chart should support vanilla Kubernetes cluster #248
@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
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.
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.
Activity
d0w commentedon Oct 1, 2025
Hey I'm new to this project and would like to contribute to this issue! Please let me know if I could be assigned
pdettori commentedon Oct 2, 2025
Hi @d0w welcome to the project! Please go ahead, I think there are some interesting challenges to solve here.
pdettori commentedon Oct 6, 2025
@d0w please note we did some refactoring of the charts in #268 - I suggest to start looking into
kagenti-depschart. On vanilla Kubernetes some of the dependencies are installed with helm charts instead of operators. Those charts can be deployed as sub-charts (dependencies) inkagenti-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 theconditionin helm chart dependencies can only be one boolean and not a boolean expression, I suggest exploring the use of thecomponent.<component-name>.enabledflag 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-filed0w commentedon Oct 7, 2025
Hi @pdettori. Thanks for the heads up. I was looking at using the _helpers.tpl file to define a
kagenti.isOpenShiftvalue 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.
pdettori commentedon Oct 7, 2025
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
conditionfield 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.d0w commentedon Oct 7, 2025
I see. I'm still relatively new to developing helm charts so I missed that fact. Thanks for the help!
test: shadow C — pin extensions to post-rossoctl#242/pre-rossoctl#248 …