Skip to content

Overridden values from an Application CRD values block are not visualized under Parameters #6086

Open
@Fresa

Description

@Fresa

Checklist:

  • [ x] I've searched in the docs and FAQ for my answer: https://bit.ly/argocd-faq.
  • [ x] I've included steps to reproduce the bug.
  • [ x] I've pasted the output of argocd version.

Describe the bug

Values from an Application CRD values block that overrides values from value files are not visualized under the App Details -> Parameters -> Parameters section.

To Reproduce

Application CRD:

project: default
source:
  repoURL: 'https://github.com/some-repo.git'
  path: helm/charts/bootstrap
  targetRevision: master
  helm:
    valueFiles:
      - values.yaml
      - values.dev.yaml
    values: |
      test:
        foo: "hello-from-values-block"
destination:
  server: 'https://kubernetes.default.svc'
  namespace: default
syncPolicy:
  automated: {}

values.yaml:

test:
  foo: "hello"

values.dev.yaml:

test:
  foo: "hello-dev"

helm/charts/bootstrap/templates/foo.yaml:

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: foo
  namespace: bar
  labels:
    test: {{ .Values.test.foo }}
spec:
  project: default
  source:
    chart: bar
    repoURL: https://foo.bar.io
    targetRevision: 1.2.3
  destination:
    namespace: foo
    server: https://kubernetes.default.svc

Expected behavior

Parameters 'test.foo' should read 'hello-from-values-block' not 'hello-dev'

Screenshots
Bootstrap app: App Details -> Parameters:
image

foo app: App Details -> Summary:
image

Version

v1.8.7+eb3d1fb

Logs

N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions