parent
							
								
									c8b04ade32
								
							
						
					
					
						commit
						26ec463543
					
				| 
						 | 
					@ -813,7 +813,7 @@ helmfiles:
 | 
				
			||||||
  values:
 | 
					  values:
 | 
				
			||||||
  - env.values.yaml
 | 
					  - env.values.yaml
 | 
				
			||||||
`,
 | 
					`,
 | 
				
			||||||
		"/path/to/helmfile.d/a1.yaml": `
 | 
							"/path/to/helmfile.d/a1.yaml.gotmpl": `
 | 
				
			||||||
environments:
 | 
					environments:
 | 
				
			||||||
  default:
 | 
					  default:
 | 
				
			||||||
    values:
 | 
					    values:
 | 
				
			||||||
| 
						 | 
					@ -824,7 +824,7 @@ releases:
 | 
				
			||||||
  chart: stable/zipkin
 | 
					  chart: stable/zipkin
 | 
				
			||||||
  namespace: {{ .Environment.Values.ns }}
 | 
					  namespace: {{ .Environment.Values.ns }}
 | 
				
			||||||
`,
 | 
					`,
 | 
				
			||||||
		"/path/to/helmfile.d/b.yaml": `
 | 
							"/path/to/helmfile.d/b.yaml.gotmpl": `
 | 
				
			||||||
environments:
 | 
					environments:
 | 
				
			||||||
  default:
 | 
					  default:
 | 
				
			||||||
    values:
 | 
					    values:
 | 
				
			||||||
| 
						 | 
					@ -834,7 +834,7 @@ releases:
 | 
				
			||||||
  chart: stable/grafana
 | 
					  chart: stable/grafana
 | 
				
			||||||
  namespace: {{ .Environment.Values.ns }}
 | 
					  namespace: {{ .Environment.Values.ns }}
 | 
				
			||||||
`,
 | 
					`,
 | 
				
			||||||
		"/path/to/helmfile.d/c.yaml": `
 | 
							"/path/to/helmfile.d/c.yaml.gotmpl": `
 | 
				
			||||||
environments:
 | 
					environments:
 | 
				
			||||||
  default:
 | 
					  default:
 | 
				
			||||||
    values:
 | 
					    values:
 | 
				
			||||||
| 
						 | 
					@ -1080,7 +1080,7 @@ func TestVisitDesiredStatesWithReleasesFiltered_StateValueOverrides(t *testing.T
 | 
				
			||||||
		testcase := testcases[i]
 | 
							testcase := testcases[i]
 | 
				
			||||||
		t.Run(fmt.Sprintf("case %d", i), func(t *testing.T) {
 | 
							t.Run(fmt.Sprintf("case %d", i), func(t *testing.T) {
 | 
				
			||||||
			files := map[string]string{
 | 
								files := map[string]string{
 | 
				
			||||||
				"/path/to/helmfile.yaml": fmt.Sprintf(`
 | 
									"/path/to/helmfile.yaml.gotmpl": fmt.Sprintf(`
 | 
				
			||||||
# The top-level "values" are "base" values has inherited to state values with the lowest priority.
 | 
					# The top-level "values" are "base" values has inherited to state values with the lowest priority.
 | 
				
			||||||
# The lowest priority results in environment-specific values to override values defined in the base.
 | 
					# The lowest priority results in environment-specific values to override values defined in the base.
 | 
				
			||||||
values:
 | 
					values:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue