Skip to content
Discussion options

You must be logged in to vote

You should create different names for config maps in the base and overlay directories.
Then, create a patch in the overlay kustomize.yaml

- op: add
  path: /spec/valuesFrom/-
  value:
    kind: ConfigMap
    name: myapp-values-overlay

It will add a second config map with values to your helmRelease in the overlay directory.
As always, you can't merge lists.

P.S.: I found the disadvantage that you can`t see values diff using the command flux diff anymore.
But despite this, with configMapGenerator you can compare values between helm chats in a more convenient way ( no additional indents anymore )

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by everythings-gonna-be-alright
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant