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

How to get config activated in an app-in-apps scenario with Chart/values? #54

Open
svenakela opened this issue Aug 30, 2023 · 1 comment
Labels
question Further information is requested

Comments

@svenakela
Copy link

I would like to deploy kured with ArgoCD and we have an app-in-apps setup. Kured is deployed with following Chart.yaml:

apiVersion: v2
name: kured
description: A Helm chart for Kured
type: application
version: 0.0.1
appVersion: 5.2.0

dependencies:
- name: kured
  repository: https://kubereboot.github.io/charts
  version: 5.2.0

This part works fine, ArgoCD picks it up and deploy Kured as expected. I would like to set some configuration points (endTime, startTime etc) and whatever structure I set in the values.yaml file the config is not applied.

We do have other external apps deployed in the same way, like ingress-nginx, where the values.yaml file adds/overrides values for the dependency. It would be great to get an example of a working values.yaml that sets one or two run parameters correctly.

Thanks in advance.

@ckotzbauer
Copy link
Member

I never tested such a structure before, but charts like the kube-prometheus-stack from the prometheus-community are also using dependency-charts and those values are below a key named the same as the dependency-name in chart.yaml.

So instead of

configuration:
  metricsHost: ""

you may write:

kured:
  configuration:
    metricsHost: ""

Did you test this?

@ckotzbauer ckotzbauer added the question Further information is requested label Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants