-
Notifications
You must be signed in to change notification settings - Fork 13
Closed
Description
if values-shared.yaml exists, it ha to be set on first position, because values-{'*stage}.yaml have to override those values.
if (script.fileExists("${script.env.WORKSPACE}/${sourcePath}/values-shared.yaml")) { |
Quickfix:
Use
valueFiles.add(0, "${script.env.WORKSPACE}/${sourcePath}/values-shared.yaml")
instead
valueFiles.add("${script.env.WORKSPACE}/${sourcePath}/values-shared.yaml")
How to test:
create values-tst1.yaml
create values-shared.yaml
both should reference to same property and value from tst1 should win.
Metadata
Metadata
Assignees
Labels
No labels