fixup! fixup! fixup! Fix preapply hook behavior
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
This commit is contained in:
		
							parent
							
								
									3a5d9efb20
								
							
						
					
					
						commit
						2ff0969e3b
					
				|  | @ -269,85 +269,6 @@ releases: | ||||||
| 			}, | 			}, | ||||||
| 			// as we check for log output, set concurrency to 1 to avoid non-deterministic test result
 | 			// as we check for log output, set concurrency to 1 to avoid non-deterministic test result
 | ||||||
| 			concurrency: 1, | 			concurrency: 1, | ||||||
| 			log: `processing file "helmfile.yaml" in directory "." |  | ||||||
| changing working directory to "/path/to" |  | ||||||
| first-pass rendering starting for "helmfile.yaml.part.0": inherited=&{default map[] map[]}, overrode=<nil> |  | ||||||
| first-pass uses: &{default map[] map[]} |  | ||||||
| first-pass rendering output of "helmfile.yaml.part.0": |  | ||||||
|  0:  |  | ||||||
|  1:  |  | ||||||
|  2:  |  | ||||||
|  3: releases: |  | ||||||
|  4: - name: kubernetes-external-secrets |  | ||||||
|  5:   chart: incubator/raw |  | ||||||
|  6:   namespace: kube-system |  | ||||||
|  7:  |  | ||||||
|  8: - name: external-secrets |  | ||||||
|  9:   chart: incubator/raw |  | ||||||
| 10:   namespace: default |  | ||||||
| 11:   labels: |  | ||||||
| 12:     app: test |  | ||||||
| 13:   needs: |  | ||||||
| 14:   - kube-system/kubernetes-external-secrets |  | ||||||
| 15:  |  | ||||||
| 16: - name: my-release |  | ||||||
| 17:   chart: incubator/raw |  | ||||||
| 18:   namespace: default |  | ||||||
| 19:   labels: |  | ||||||
| 20:     app: test |  | ||||||
| 21:   needs: |  | ||||||
| 22:   - default/external-secrets |  | ||||||
| 23:  |  | ||||||
| 
 |  | ||||||
| first-pass produced: &{default map[] map[]} |  | ||||||
| first-pass rendering result of "helmfile.yaml.part.0": {default map[] map[]} |  | ||||||
| vals: |  | ||||||
| map[] |  | ||||||
| defaultVals:[] |  | ||||||
| second-pass rendering result of "helmfile.yaml.part.0": |  | ||||||
|  0:  |  | ||||||
|  1:  |  | ||||||
|  2:  |  | ||||||
|  3: releases: |  | ||||||
|  4: - name: kubernetes-external-secrets |  | ||||||
|  5:   chart: incubator/raw |  | ||||||
|  6:   namespace: kube-system |  | ||||||
|  7:  |  | ||||||
|  8: - name: external-secrets |  | ||||||
|  9:   chart: incubator/raw |  | ||||||
| 10:   namespace: default |  | ||||||
| 11:   labels: |  | ||||||
| 12:     app: test |  | ||||||
| 13:   needs: |  | ||||||
| 14:   - kube-system/kubernetes-external-secrets |  | ||||||
| 15:  |  | ||||||
| 16: - name: my-release |  | ||||||
| 17:   chart: incubator/raw |  | ||||||
| 18:   namespace: default |  | ||||||
| 19:   labels: |  | ||||||
| 20:     app: test |  | ||||||
| 21:   needs: |  | ||||||
| 22:   - default/external-secrets |  | ||||||
| 23:  |  | ||||||
| 
 |  | ||||||
| merged environment: &{default map[] map[]} |  | ||||||
| 2 release(s) matching app=test found in helmfile.yaml |  | ||||||
| 
 |  | ||||||
| Affected releases are: |  | ||||||
|   external-secrets (incubator/raw) UPDATED |  | ||||||
| 
 |  | ||||||
| processing 1 groups of releases in this order: |  | ||||||
| GROUP RELEASES |  | ||||||
| 1     default/default/external-secrets |  | ||||||
| 
 |  | ||||||
| processing releases in group 1/1: default/default/external-secrets |  | ||||||
| 
 |  | ||||||
| UPDATED RELEASES: |  | ||||||
| NAME               CHART           VERSION |  | ||||||
| external-secrets   incubator/raw     3.1.0 |  | ||||||
| 
 |  | ||||||
| changing working directory back to "/path/to" |  | ||||||
| `, |  | ||||||
| 		}) | 		}) | ||||||
| 	}) | 	}) | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -0,0 +1,85 @@ | ||||||
|  | processing file "helmfile.yaml" in directory "." | ||||||
|  | changing working directory to "/path/to" | ||||||
|  | first-pass rendering starting for "helmfile.yaml.part.0": inherited=&{default map[] map[]}, overrode=<nil> | ||||||
|  | first-pass uses: &{default map[] map[]} | ||||||
|  | first-pass rendering output of "helmfile.yaml.part.0": | ||||||
|  |  0:  | ||||||
|  |  1:  | ||||||
|  |  2:  | ||||||
|  |  3: releases: | ||||||
|  |  4: - name: kubernetes-external-secrets | ||||||
|  |  5:   chart: incubator/raw | ||||||
|  |  6:   namespace: kube-system | ||||||
|  |  7:  | ||||||
|  |  8: - name: external-secrets | ||||||
|  |  9:   chart: incubator/raw | ||||||
|  | 10:   namespace: default | ||||||
|  | 11:   labels: | ||||||
|  | 12:     app: test | ||||||
|  | 13:   needs: | ||||||
|  | 14:   - kube-system/kubernetes-external-secrets | ||||||
|  | 15:  | ||||||
|  | 16: - name: my-release | ||||||
|  | 17:   chart: incubator/raw | ||||||
|  | 18:   namespace: default | ||||||
|  | 19:   labels: | ||||||
|  | 20:     app: test | ||||||
|  | 21:   needs: | ||||||
|  | 22:   - default/external-secrets | ||||||
|  | 23:  | ||||||
|  | 
 | ||||||
|  | first-pass produced: &{default map[] map[]} | ||||||
|  | first-pass rendering result of "helmfile.yaml.part.0": {default map[] map[]} | ||||||
|  | vals: | ||||||
|  | map[] | ||||||
|  | defaultVals:[] | ||||||
|  | second-pass rendering result of "helmfile.yaml.part.0": | ||||||
|  |  0:  | ||||||
|  |  1:  | ||||||
|  |  2:  | ||||||
|  |  3: releases: | ||||||
|  |  4: - name: kubernetes-external-secrets | ||||||
|  |  5:   chart: incubator/raw | ||||||
|  |  6:   namespace: kube-system | ||||||
|  |  7:  | ||||||
|  |  8: - name: external-secrets | ||||||
|  |  9:   chart: incubator/raw | ||||||
|  | 10:   namespace: default | ||||||
|  | 11:   labels: | ||||||
|  | 12:     app: test | ||||||
|  | 13:   needs: | ||||||
|  | 14:   - kube-system/kubernetes-external-secrets | ||||||
|  | 15:  | ||||||
|  | 16: - name: my-release | ||||||
|  | 17:   chart: incubator/raw | ||||||
|  | 18:   namespace: default | ||||||
|  | 19:   labels: | ||||||
|  | 20:     app: test | ||||||
|  | 21:   needs: | ||||||
|  | 22:   - default/external-secrets | ||||||
|  | 23:  | ||||||
|  | 
 | ||||||
|  | merged environment: &{default map[] map[]} | ||||||
|  | 2 release(s) matching app=test found in helmfile.yaml | ||||||
|  | 
 | ||||||
|  | Affected releases are: | ||||||
|  |   external-secrets (incubator/raw) UPDATED | ||||||
|  | 
 | ||||||
|  | invoking preapply hooks for 2 groups of releases in this order: | ||||||
|  | GROUP RELEASES | ||||||
|  | 1     default/default/my-release | ||||||
|  | 2     default/default/external-secrets | ||||||
|  | 
 | ||||||
|  | invoking preapply hooks for releases in group 1/2: default/default/my-release | ||||||
|  | invoking preapply hooks for releases in group 2/2: default/default/external-secrets | ||||||
|  | processing 1 groups of releases in this order: | ||||||
|  | GROUP RELEASES | ||||||
|  | 1     default/default/external-secrets | ||||||
|  | 
 | ||||||
|  | processing releases in group 1/1: default/default/external-secrets | ||||||
|  | 
 | ||||||
|  | UPDATED RELEASES: | ||||||
|  | NAME               CHART           VERSION | ||||||
|  | external-secrets   incubator/raw     3.1.0 | ||||||
|  | 
 | ||||||
|  | changing working directory back to "/path/to" | ||||||
		Loading…
	
		Reference in New Issue