parent
							
								
									6ce6b94b35
								
							
						
					
					
						commit
						d6e6035a62
					
				|  | @ -415,7 +415,7 @@ my-release 	4       	Fri Nov  1 08:40:07 2019	DEPLOYED	raw-3.1.0	3.1.0      	def | |||
| 			}, | ||||
| 			error: ``, | ||||
| 			files: map[string]string{ | ||||
| 				"/path/to/helmfile.yaml": ` | ||||
| 				"/path/to/helmfile.yaml.gotmpl": ` | ||||
| {{ $mark := "a" }} | ||||
| 
 | ||||
| releases: | ||||
|  | @ -464,7 +464,7 @@ my-release 	4       	Fri Nov  1 08:40:07 2019	DEPLOYED	raw-3.1.0	3.1.0      	def | |||
| 	t.Run("bad --selector", func(t *testing.T) { | ||||
| 		check(t, testcase{ | ||||
| 			files: map[string]string{ | ||||
| 				"/path/to/helmfile.yaml": ` | ||||
| 				"/path/to/helmfile.yaml.gotmpl": ` | ||||
| {{ $mark := "a" }} | ||||
| 
 | ||||
| releases: | ||||
|  |  | |||
|  | @ -146,7 +146,7 @@ func TestApply_2(t *testing.T) { | |||
| 				skipNeeds: true, | ||||
| 			}, | ||||
| 			files: map[string]string{ | ||||
| 				"/path/to/helmfile.yaml": ` | ||||
| 				"/path/to/helmfile.yaml.gotmpl": ` | ||||
| {{ $mark := "a" }} | ||||
| 
 | ||||
| releases: | ||||
|  | @ -199,7 +199,7 @@ my-release 	4       	Fri Nov  1 08:40:07 2019	DEPLOYED	raw-3.1.0	3.1.0      	def | |||
| 				skipNeeds: true, | ||||
| 			}, | ||||
| 			files: map[string]string{ | ||||
| 				"/path/to/helmfile.yaml": ` | ||||
| 				"/path/to/helmfile.yaml.gotmpl": ` | ||||
| {{ $mark := "a" }} | ||||
| 
 | ||||
| releases: | ||||
|  | @ -250,7 +250,7 @@ releases: | |||
| 			}, | ||||
| 			error: ``, | ||||
| 			files: map[string]string{ | ||||
| 				"/path/to/helmfile.yaml": ` | ||||
| 				"/path/to/helmfile.yaml.gotmpl": ` | ||||
| {{ $mark := "a" }} | ||||
| 
 | ||||
| releases: | ||||
|  | @ -306,7 +306,7 @@ my-release 	4       	Fri Nov  1 08:40:07 2019	DEPLOYED	raw-3.1.0	3.1.0      	def | |||
| 			}, | ||||
| 			error: ``, | ||||
| 			files: map[string]string{ | ||||
| 				"/path/to/helmfile.yaml": ` | ||||
| 				"/path/to/helmfile.yaml.gotmpl": ` | ||||
| {{ $mark := "a" }} | ||||
| 
 | ||||
| releases: | ||||
|  | @ -359,7 +359,7 @@ my-release 	4       	Fri Nov  1 08:40:07 2019	DEPLOYED	raw-3.1.0	3.1.0      	def | |||
| 			}, | ||||
| 			error: ``, | ||||
| 			files: map[string]string{ | ||||
| 				"/path/to/helmfile.yaml": ` | ||||
| 				"/path/to/helmfile.yaml.gotmpl": ` | ||||
| {{ $mark := "a" }} | ||||
| 
 | ||||
| releases: | ||||
|  | @ -415,7 +415,7 @@ my-release 	4       	Fri Nov  1 08:40:07 2019	DEPLOYED	raw-3.1.0	3.1.0      	def | |||
| 			}, | ||||
| 			error: ``, | ||||
| 			files: map[string]string{ | ||||
| 				"/path/to/helmfile.yaml": ` | ||||
| 				"/path/to/helmfile.yaml.gotmpl": ` | ||||
| {{ $mark := "a" }} | ||||
| 
 | ||||
| releases: | ||||
|  |  | |||
|  | @ -142,7 +142,7 @@ func TestSync(t *testing.T) { | |||
| 				skipNeeds: true, | ||||
| 			}, | ||||
| 			files: map[string]string{ | ||||
| 				"/path/to/helmfile.yaml": ` | ||||
| 				"/path/to/helmfile.yaml.gotmpl": ` | ||||
| {{ $mark := "a" }} | ||||
| 
 | ||||
| releases: | ||||
|  | @ -191,7 +191,7 @@ my-release 	4       	Fri Nov  1 08:40:07 2019	DEPLOYED	raw-3.1.0	3.1.0      	def | |||
| 				skipNeeds: true, | ||||
| 			}, | ||||
| 			files: map[string]string{ | ||||
| 				"/path/to/helmfile.yaml": ` | ||||
| 				"/path/to/helmfile.yaml.gotmpl": ` | ||||
| {{ $mark := "a" }} | ||||
| 
 | ||||
| releases: | ||||
|  | @ -249,7 +249,7 @@ my-release 	4       	Fri Nov  1 08:40:07 2019	DEPLOYED	raw-3.1.0	3.1.0      	def | |||
| 			}, | ||||
| 			error: ``, | ||||
| 			files: map[string]string{ | ||||
| 				"/path/to/helmfile.yaml": ` | ||||
| 				"/path/to/helmfile.yaml.gotmpl": ` | ||||
| {{ $mark := "a" }} | ||||
| 
 | ||||
| releases: | ||||
|  | @ -300,7 +300,7 @@ my-release 	4       	Fri Nov  1 08:40:07 2019	DEPLOYED	raw-3.1.0	3.1.0      	def | |||
| 			}, | ||||
| 			error: ``, | ||||
| 			files: map[string]string{ | ||||
| 				"/path/to/helmfile.yaml": ` | ||||
| 				"/path/to/helmfile.yaml.gotmpl": ` | ||||
| {{ $mark := "a" }} | ||||
| 
 | ||||
| releases: | ||||
|  | @ -348,7 +348,7 @@ serviceA 	4       	Fri Nov  1 08:40:07 2019	DEPLOYED	chart-3.1.0	3.1.0      	def | |||
| 			}, | ||||
| 			error: ``, | ||||
| 			files: map[string]string{ | ||||
| 				"/path/to/helmfile.yaml": ` | ||||
| 				"/path/to/helmfile.yaml.gotmpl": ` | ||||
| {{ $mark := "a" }} | ||||
| 
 | ||||
| releases: | ||||
|  | @ -401,7 +401,7 @@ my-release 	4       	Fri Nov  1 08:40:07 2019	DEPLOYED	raw-3.1.0	3.1.0      	def | |||
| 			}, | ||||
| 			error: ``, | ||||
| 			files: map[string]string{ | ||||
| 				"/path/to/helmfile.yaml": ` | ||||
| 				"/path/to/helmfile.yaml.gotmpl": ` | ||||
| {{ $mark := "a" }} | ||||
| 
 | ||||
| releases: | ||||
|  | @ -447,7 +447,7 @@ my-release 	4       	Fri Nov  1 08:40:07 2019	DEPLOYED	raw-3.1.0	3.1.0      	def | |||
| 	t.Run("bad --selector", func(t *testing.T) { | ||||
| 		check(t, testcase{ | ||||
| 			files: map[string]string{ | ||||
| 				"/path/to/helmfile.yaml": ` | ||||
| 				"/path/to/helmfile.yaml.gotmpl": ` | ||||
| {{ $mark := "a" }} | ||||
| 
 | ||||
| releases: | ||||
|  |  | |||
|  | @ -3421,7 +3421,7 @@ bar 	4       	Fri Nov  1 08:40:07 2019	DEPLOYED	mychart2-3.1.0	3.1.0      	defau | |||
| 				skipNeeds: true, | ||||
| 			}, | ||||
| 			files: map[string]string{ | ||||
| 				"/path/to/helmfile.yaml": ` | ||||
| 				"/path/to/helmfile.yaml.gotmpl": ` | ||||
| {{ $mark := "a" }} | ||||
| 
 | ||||
| releases: | ||||
|  | @ -3476,7 +3476,7 @@ my-release 	4       	Fri Nov  1 08:40:07 2019	DEPLOYED	raw-3.1.0	3.1.0      	def | |||
| 			}, | ||||
| 			error: `in ./helmfile.yaml: release "default/default/external-secrets" depends on "default/kube-system/kubernetes-external-secrets" which does not match the selectors. Please add a selector like "--selector name=kubernetes-external-secrets", or indicate whether to skip (--skip-needs) or include (--include-needs) these dependencies`, | ||||
| 			files: map[string]string{ | ||||
| 				"/path/to/helmfile.yaml": ` | ||||
| 				"/path/to/helmfile.yaml.gotmpl": ` | ||||
| {{ $mark := "a" }} | ||||
| 
 | ||||
| releases: | ||||
|  | @ -3515,7 +3515,7 @@ releases: | |||
| 			name: "upgrades with bad selector", | ||||
| 			loc:  location(), | ||||
| 			files: map[string]string{ | ||||
| 				"/path/to/helmfile.yaml": ` | ||||
| 				"/path/to/helmfile.yaml.gotmpl": ` | ||||
| {{ $mark := "a" }} | ||||
| 
 | ||||
| releases: | ||||
|  |  | |||
|  | @ -636,7 +636,7 @@ bar 	4       	Fri Nov  1 08:40:07 2019	DEPLOYED	mychart2-3.1.0	3.1.0      	defau | |||
| 			loc:   location(), | ||||
| 			flags: flags{skipNeeds: true}, | ||||
| 			files: map[string]string{ | ||||
| 				"/path/to/helmfile.yaml": ` | ||||
| 				"/path/to/helmfile.yaml.gotmpl": ` | ||||
| {{ $mark := "a" }} | ||||
| 
 | ||||
| releases: | ||||
|  | @ -677,7 +677,7 @@ releases: | |||
| 			loc:   location(), | ||||
| 			flags: flags{skipNeeds: false}, | ||||
| 			files: map[string]string{ | ||||
| 				"/path/to/helmfile.yaml": ` | ||||
| 				"/path/to/helmfile.yaml.gotmpl": ` | ||||
| {{ $mark := "a" }} | ||||
| 
 | ||||
| releases: | ||||
|  | @ -785,7 +785,7 @@ changing working directory back to "/path/to" | |||
| 			name: "upgrades with bad selector", | ||||
| 			loc:  location(), | ||||
| 			files: map[string]string{ | ||||
| 				"/path/to/helmfile.yaml": ` | ||||
| 				"/path/to/helmfile.yaml.gotmpl": ` | ||||
| {{ $mark := "a" }} | ||||
| 
 | ||||
| releases: | ||||
|  |  | |||
|  | @ -931,7 +931,7 @@ bar 	4       	Fri Nov  1 08:40:07 2019	DEPLOYED	mychart2-3.1.0	3.1.0      	defau | |||
| 			loc:   location(), | ||||
| 			flags: flags{skipNeeds: true}, | ||||
| 			files: map[string]string{ | ||||
| 				"/path/to/helmfile.yaml": ` | ||||
| 				"/path/to/helmfile.yaml.gotmpl": ` | ||||
| {{ $mark := "a" }} | ||||
| 
 | ||||
| releases: | ||||
|  | @ -972,7 +972,7 @@ releases: | |||
| 			loc:   location(), | ||||
| 			flags: flags{skipNeeds: false}, | ||||
| 			files: map[string]string{ | ||||
| 				"/path/to/helmfile.yaml": ` | ||||
| 				"/path/to/helmfile.yaml.gotmpl": ` | ||||
| {{ $mark := "a" }} | ||||
| 
 | ||||
| releases: | ||||
|  | @ -1080,7 +1080,7 @@ changing working directory back to "/path/to" | |||
| 			name: "upgrades with bad selector", | ||||
| 			loc:  location(), | ||||
| 			files: map[string]string{ | ||||
| 				"/path/to/helmfile.yaml": ` | ||||
| 				"/path/to/helmfile.yaml.gotmpl": ` | ||||
| {{ $mark := "a" }} | ||||
| 
 | ||||
| releases: | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue