I'm looking to merge two values files in helm.
secrets.yaml:
oracle_db:
serviceMonitor:
endpoints:
- module: oracledb
port: http
scheme: http
url: "http://user:password@ip:port/xxx"
I have another values.yaml file which has multiple endpoints. I want to merge both the values files. I'm tried using append function to do that: {{$endpoints := (append .Values.serviceMonitor.endpoints .Values.oracle_db.serviceMonitor.endpoints) }}
When I do a dry-run, I see its picking up both the values but won't merge. Any one come across this?