Code Monkey home page Code Monkey logo

Comments (6)

jk464 avatar jk464 commented on June 24, 2024 1

Fixing the jsonPath and running on v0.4.4 and all, but one, checks work:

❯ helm unittest -f 'tests/unit/image_pull_test.yaml' .

### Chart [ stackstorm-ha ] .

 FAIL  Image Pull	tests/unit/image_pull_test.yaml
	- Deployments and Jobs use default pullPolicy and pullSecret

		- asserts[0] `notExists` fail
			Template:	stackstorm-ha/templates/deployments.yaml
			DocumentIndex:	0
			Path:	spec.template.spec.imagePullSecrets expected to NOT exists
			DocumentIndex:	1
			Path:	spec.template.spec.imagePullSecrets expected to NOT exists
			DocumentIndex:	2
			Path:	spec.template.spec.imagePullSecrets expected to NOT exists
			DocumentIndex:	3
			Path:	spec.template.spec.imagePullSecrets expected to NOT exists
			DocumentIndex:	4
			Path:	spec.template.spec.imagePullSecrets expected to NOT exists
			DocumentIndex:	5
			Path:	spec.template.spec.imagePullSecrets expected to NOT exists
			DocumentIndex:	6
			Path:	spec.template.spec.imagePullSecrets expected to NOT exists
			DocumentIndex:	7
			Path:	spec.template.spec.imagePullSecrets expected to NOT exists
			DocumentIndex:	8
			Path:	spec.template.spec.imagePullSecrets expected to NOT exists
			DocumentIndex:	9
			Path:	spec.template.spec.imagePullSecrets expected to NOT exists
			DocumentIndex:	10
			Path:	spec.template.spec.imagePullSecrets expected to NOT exists
			DocumentIndex:	11
			Path:	spec.template.spec.imagePullSecrets expected to NOT exists
			DocumentIndex:	12
			Path:	spec.template.spec.imagePullSecrets expected to NOT exists
			Template:	stackstorm-ha/templates/jobs.yaml
			DocumentIndex:	0
			Path:	spec.template.spec.imagePullSecrets expected to NOT exists
			DocumentIndex:	1
			Path:	spec.template.spec.imagePullSecrets expected to NOT exists
			DocumentIndex:	2
			Path:	spec.template.spec.imagePullSecrets expected to NOT exists
			DocumentIndex:	3
			Path:	spec.template.spec.imagePullSecrets expected to NOT exists
			DocumentIndex:	4
			Path:	spec.template.spec.imagePullSecrets expected to NOT exists


Charts:      1 failed, 0 passed, 1 total
Test Suites: 1 failed, 0 passed, 1 total
Tests:       1 failed, 4 passed, 5 total
Snapshot:    0 passed, 0 total
Time:        16.824467292s

Error: plugin "unittest" exited with error

Seems the logic isNull was changed, such that if the path exists but has an empty value, i.e.

    spec:
      imagePullSecrets:
      initContainers:
...

This is no longer null (as the function isNull was refactored and renamed notExists - instead you should use isNullOrEmpty - which expects that path to exist but be empty or "null" - which seems to be a confusing double meaning use of null here!

Either way, having this:

    spec:
      imagePullSecrets:
      {{- if .Values.image.pullSecret }}
      - name: {{ .Values.image.pullSecret }}
      {{- end }}

Seems silly as you end up with ugly unset keys hanging around, so changing all instances of that too:

    spec:
      {{- if .Values.image.pullSecret }}
      imagePullSecrets:
      - name: {{ .Values.image.pullSecret }}
      {{- end }}

Is cleaner looking, and also means the test once again passes ;)

from stackstorm-k8s.

jk464 avatar jk464 commented on June 24, 2024 1

Replacing instances of:

  • isNotNull with exists
  • isNull with notExists
  • isEmpty with isNullOrEmpty
  • isNotEmpty with isNotNullOrEmpty

Isn't required, but doing so as it seems the old functions are "deprecated" as of https://github.com/helm-unittest/helm-unittest/blob/main/CHANGELOG.md#032--2023-04-17, and the new names better describe their function anyway, and with that all tests pass on v0.4.4

❯ helm unittest -f 'tests/unit/*.yaml' .

### Chart [ stackstorm-ha ] .

 PASS  Custom Annotations	tests/unit/custom_annotations_test.yaml
 PASS  DNS	tests/unit/dns_test.yaml
 PASS  Environment Vars	tests/unit/env_test.yaml
 PASS  Extra Volumes	tests/unit/extra_volumes_test.yaml
 PASS  Image Entrypoint	tests/unit/image_entrypoint_test.yaml
 PASS  Image Pull	tests/unit/image_pull_test.yaml
 PASS  Image	tests/unit/image_test.yaml
 PASS  Ingress	tests/unit/ingress_test.yaml
 PASS  Labels	tests/unit/labels_test.yaml
 PASS  Overrides check	tests/unit/overrides_test.yaml
 PASS  Packs Volumes	tests/unit/packs_volumes_test.yaml
 PASS  Placement (NodeSelector Tolerations and Affinity)	tests/unit/placement_test.yaml
 PASS  postStart scripts	tests/unit/post_start_script_test.yaml
 PASS  Resources	tests/unit/resources_test.yaml
 PASS  Secret files	tests/unit/secrets_test.yaml
 PASS  Custom SecurityContext	tests/unit/security_context_test.yaml
 PASS  ServiceAccount	tests/unit/service_account_test.yaml
 PASS  Services	tests/unit/services_test.yaml
 PASS  Config files	tests/unit/st2_conf_files_test.yaml
 PASS  Sensors	tests/unit/st2sensors_test.yaml

Charts:      1 passed, 1 total
Test Suites: 20 passed, 20 total
Tests:       98 passed, 98 total
Snapshot:    0 passed, 0 total
Time:        5m28.909784541s

❯ helm plugin list
NAME    	VERSION	DESCRIPTION
unittest	0.4.4  	Unit test for helm chart in YAML with ease to keep your chart functional and robust.

Furthermore, removing the tests impacted by the bug in v0.5.0 and trying, all those tests also pass!

❯ rm tests/unit/overrides_test.yaml
❯ helm unittest -f 'tests/unit/*.yaml' .

### Chart [ stackstorm-ha ] .

 PASS  Custom Annotations	tests/unit/custom_annotations_test.yaml
 PASS  DNS	tests/unit/dns_test.yaml
 PASS  Environment Vars	tests/unit/env_test.yaml
 PASS  Extra Volumes	tests/unit/extra_volumes_test.yaml
 PASS  Image Entrypoint	tests/unit/image_entrypoint_test.yaml
 PASS  Image Pull	tests/unit/image_pull_test.yaml
 PASS  Image	tests/unit/image_test.yaml
 PASS  Ingress	tests/unit/ingress_test.yaml
 PASS  Labels	tests/unit/labels_test.yaml
 PASS  Packs Volumes	tests/unit/packs_volumes_test.yaml
 PASS  Placement (NodeSelector Tolerations and Affinity)	tests/unit/placement_test.yaml
 PASS  postStart scripts	tests/unit/post_start_script_test.yaml
 PASS  Resources	tests/unit/resources_test.yaml
 PASS  Secret files	tests/unit/secrets_test.yaml
 PASS  Custom SecurityContext	tests/unit/security_context_test.yaml
 PASS  ServiceAccount	tests/unit/service_account_test.yaml
 PASS  Services	tests/unit/services_test.yaml
 PASS  Config files	tests/unit/st2_conf_files_test.yaml
 PASS  Sensors	tests/unit/st2sensors_test.yaml

Charts:      1 passed, 1 total
Test Suites: 19 passed, 19 total
Tests:       96 passed, 96 total
Snapshot:    0 passed, 0 total
Time:        4m56.164148042s

❯ helm plugin list
NAME    	VERSION	DESCRIPTION
unittest	0.5.0  	Unit test for helm chart in YAML with ease to keep your chart functional and robust.

So i'll get a PR open now w/ the changes to support v0.4.4 and once the bug is patched in v0.5.0 we should be able to just bump straight to v0.5.x @cognifloyd

from stackstorm-k8s.

jk464 avatar jk464 commented on June 24, 2024

I installed the latest verison and gave it a test:

❯ helm plugin list
NAME    	VERSION	DESCRIPTION
unittest	0.5.0  	Unit test for helm chart in YAML with ease to keep your chart functional and robust.

It bailed immediately on overrides_test

❯ helm unittest -f 'tests/unit/*.yaml' .
 FAIL  	tests/unit/overrides_test.yaml
	- Execution Error:
		no asserts found


### Error:  no asserts found


Charts:      1 failed, 1 errored, 0 passed, 1 total
Test Suites: 1 failed, 1 errored, 0 passed, 1 total
Tests:       0 passed, 0 total
Snapshot:    0 passed, 0 total
Time:        15.337417ms

Deleting that one test, it will actual run the rest, but gets a bunch of errors:

❯ helm unittest -f 'tests/unit/*.yaml' .
 FAIL  	tests/unit/overrides_test.yaml
	- Execution Error:
		no asserts found


### Error:  no asserts found


Charts:      1 failed, 1 errored, 0 passed, 1 total
Test Suites: 1 failed, 1 errored, 0 passed, 1 total
Tests:       0 passed, 0 total
Snapshot:    0 passed, 0 total
Time:        15.337417ms

Error: plugin "unittest" exited with error
❯               no asserts found
❯ rm tests/unit/overrides_test.yaml
❯ helm unittest -f 'tests/unit/*.yaml' .

### Chart [ stackstorm-ha ] .

 PASS  Custom Annotations	tests/unit/custom_annotations_test.yaml
 PASS  DNS	tests/unit/dns_test.yaml
 PASS  Environment Vars	tests/unit/env_test.yaml
 PASS  Extra Volumes	tests/unit/extra_volumes_test.yaml
 PASS  Image Entrypoint	tests/unit/image_entrypoint_test.yaml
 FAIL  Image Pull	tests/unit/image_pull_test.yaml
	- Deployments and Jobs use default pullPolicy and pullSecret

		- asserts[0] `isNull` fail
			Template:	stackstorm-ha/templates/deployments.yaml
			DocumentIndex:	0
			Path:	spec.template.spec.imagePullSecrets expected to NOT exists
			DocumentIndex:	1
			Path:	spec.template.spec.imagePullSecrets expected to NOT exists
			DocumentIndex:	2
			Path:	spec.template.spec.imagePullSecrets expected to NOT exists
			DocumentIndex:	3
			Path:	spec.template.spec.imagePullSecrets expected to NOT exists
			DocumentIndex:	4
			Path:	spec.template.spec.imagePullSecrets expected to NOT exists
			DocumentIndex:	5
			Path:	spec.template.spec.imagePullSecrets expected to NOT exists
			DocumentIndex:	6
			Path:	spec.template.spec.imagePullSecrets expected to NOT exists
			DocumentIndex:	7
			Path:	spec.template.spec.imagePullSecrets expected to NOT exists
			DocumentIndex:	8
			Path:	spec.template.spec.imagePullSecrets expected to NOT exists
			DocumentIndex:	9
			Path:	spec.template.spec.imagePullSecrets expected to NOT exists
			DocumentIndex:	10
			Path:	spec.template.spec.imagePullSecrets expected to NOT exists
			DocumentIndex:	11
			Path:	spec.template.spec.imagePullSecrets expected to NOT exists
			DocumentIndex:	12
			Path:	spec.template.spec.imagePullSecrets expected to NOT exists
			Template:	stackstorm-ha/templates/jobs.yaml
			DocumentIndex:	0
			Path:	spec.template.spec.imagePullSecrets expected to NOT exists
			DocumentIndex:	1
			Path:	spec.template.spec.imagePullSecrets expected to NOT exists
			DocumentIndex:	2
			Path:	spec.template.spec.imagePullSecrets expected to NOT exists
			DocumentIndex:	3
			Path:	spec.template.spec.imagePullSecrets expected to NOT exists
			DocumentIndex:	4
			Path:	spec.template.spec.imagePullSecrets expected to NOT exists

 PASS  Image	tests/unit/image_test.yaml
 PASS  Ingress	tests/unit/ingress_test.yaml
 FAIL  Labels	tests/unit/labels_test.yaml
	- Deployments+Pods have requried labels

		- asserts[1] `isNotNull` fail
			Template:	stackstorm-ha/templates/deployments.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	1
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	2
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	3
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	4
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	5
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	6
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	7
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	8
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	9
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	10
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	11
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	12
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	13
			Error:
				child name missing at position 16, following ".labels."

		- asserts[2] `isNotNull` fail
			Template:	stackstorm-ha/templates/deployments.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 26, following ".matchLabels."
			DocumentIndex:	1
			Error:
				child name missing at position 26, following ".matchLabels."
			DocumentIndex:	2
			Error:
				child name missing at position 26, following ".matchLabels."
			DocumentIndex:	3
			Error:
				child name missing at position 26, following ".matchLabels."
			DocumentIndex:	4
			Error:
				child name missing at position 26, following ".matchLabels."
			DocumentIndex:	5
			Error:
				child name missing at position 26, following ".matchLabels."
			DocumentIndex:	6
			Error:
				child name missing at position 26, following ".matchLabels."
			DocumentIndex:	7
			Error:
				child name missing at position 26, following ".matchLabels."
			DocumentIndex:	8
			Error:
				child name missing at position 26, following ".matchLabels."
			DocumentIndex:	9
			Error:
				child name missing at position 26, following ".matchLabels."
			DocumentIndex:	10
			Error:
				child name missing at position 26, following ".matchLabels."
			DocumentIndex:	11
			Error:
				child name missing at position 26, following ".matchLabels."
			DocumentIndex:	12
			Error:
				child name missing at position 26, following ".matchLabels."
			DocumentIndex:	13
			Error:
				child name missing at position 26, following ".matchLabels."

		- asserts[3] `isNotNull` fail
			Template:	stackstorm-ha/templates/deployments.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	1
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	2
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	3
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	4
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	5
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	6
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	7
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	8
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	9
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	10
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	11
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	12
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	13
			Error:
				child name missing at position 30, following ".labels."

		- asserts[4] `equal` fail
			Template:	stackstorm-ha/templates/deployments.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	1
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	2
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	3
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	4
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	5
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	6
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	7
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	8
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	9
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	10
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	11
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	12
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	13
			Error:
				child name missing at position 16, following ".labels."

		- asserts[5] `equal` fail
			Template:	stackstorm-ha/templates/deployments.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 26, following ".matchLabels."
			DocumentIndex:	1
			Error:
				child name missing at position 26, following ".matchLabels."
			DocumentIndex:	2
			Error:
				child name missing at position 26, following ".matchLabels."
			DocumentIndex:	3
			Error:
				child name missing at position 26, following ".matchLabels."
			DocumentIndex:	4
			Error:
				child name missing at position 26, following ".matchLabels."
			DocumentIndex:	5
			Error:
				child name missing at position 26, following ".matchLabels."
			DocumentIndex:	6
			Error:
				child name missing at position 26, following ".matchLabels."
			DocumentIndex:	7
			Error:
				child name missing at position 26, following ".matchLabels."
			DocumentIndex:	8
			Error:
				child name missing at position 26, following ".matchLabels."
			DocumentIndex:	9
			Error:
				child name missing at position 26, following ".matchLabels."
			DocumentIndex:	10
			Error:
				child name missing at position 26, following ".matchLabels."
			DocumentIndex:	11
			Error:
				child name missing at position 26, following ".matchLabels."
			DocumentIndex:	12
			Error:
				child name missing at position 26, following ".matchLabels."
			DocumentIndex:	13
			Error:
				child name missing at position 26, following ".matchLabels."

		- asserts[6] `equal` fail
			Template:	stackstorm-ha/templates/deployments.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	1
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	2
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	3
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	4
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	5
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	6
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	7
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	8
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	9
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	10
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	11
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	12
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	13
			Error:
				child name missing at position 30, following ".labels."

		- asserts[7] `matchRegex` fail
			Template:	stackstorm-ha/templates/deployments.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	1
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	2
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	3
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	4
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	5
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	6
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	7
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	8
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	9
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	10
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	11
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	12
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	13
			Error:
				child name missing at position 16, following ".labels."

		- asserts[8] `matchRegex` fail
			Template:	stackstorm-ha/templates/deployments.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	1
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	2
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	3
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	4
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	5
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	6
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	7
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	8
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	9
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	10
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	11
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	12
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	13
			Error:
				child name missing at position 30, following ".labels."

		- asserts[9] `equal` fail
			Template:	stackstorm-ha/templates/deployments.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	1
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	2
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	3
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	4
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	5
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	6
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	7
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	8
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	9
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	10
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	11
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	12
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	13
			Error:
				child name missing at position 16, following ".labels."

		- asserts[10] `equal` fail
			Template:	stackstorm-ha/templates/deployments.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	1
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	2
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	3
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	4
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	5
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	6
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	7
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	8
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	9
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	10
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	11
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	12
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	13
			Error:
				child name missing at position 30, following ".labels."

		- asserts[11] `equal` fail
			Template:	stackstorm-ha/templates/deployments.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	1
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	2
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	3
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	4
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	5
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	6
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	7
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	8
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	9
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	10
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	11
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	12
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	13
			Error:
				child name missing at position 16, following ".labels."

		- asserts[12] `equal` fail
			Template:	stackstorm-ha/templates/deployments.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	1
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	2
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	3
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	4
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	5
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	6
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	7
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	8
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	9
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	10
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	11
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	12
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	13
			Error:
				child name missing at position 30, following ".labels."

		- asserts[13] `equal` fail
			Template:	stackstorm-ha/templates/deployments.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	1
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	2
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	3
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	4
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	5
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	6
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	7
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	8
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	9
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	10
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	11
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	12
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	13
			Error:
				child name missing at position 16, following ".labels."

		- asserts[14] `equal` fail
			Template:	stackstorm-ha/templates/deployments.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	1
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	2
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	3
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	4
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	5
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	6
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	7
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	8
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	9
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	10
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	11
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	12
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	13
			Error:
				child name missing at position 30, following ".labels."

		- asserts[15] `equal` fail
			Template:	stackstorm-ha/templates/deployments.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	1
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	2
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	3
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	4
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	5
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	6
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	7
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	8
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	9
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	10
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	11
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	12
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	13
			Error:
				child name missing at position 16, following ".labels."

		- asserts[16] `equal` fail
			Template:	stackstorm-ha/templates/deployments.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	1
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	2
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	3
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	4
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	5
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	6
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	7
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	8
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	9
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	10
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	11
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	12
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	13
			Error:
				child name missing at position 30, following ".labels."

	- Jobs+Pods have requried labels

		- asserts[1] `isNotNull` fail
			Template:	stackstorm-ha/templates/jobs.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	1
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	2
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	3
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	4
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	5
			Error:
				child name missing at position 16, following ".labels."

		- asserts[2] `isNotNull` fail
			Template:	stackstorm-ha/templates/jobs.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	1
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	2
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	3
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	4
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	5
			Error:
				child name missing at position 30, following ".labels."

		- asserts[3] `equal` fail
			Template:	stackstorm-ha/templates/jobs.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	1
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	2
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	3
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	4
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	5
			Error:
				child name missing at position 16, following ".labels."

		- asserts[4] `equal` fail
			Template:	stackstorm-ha/templates/jobs.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	1
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	2
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	3
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	4
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	5
			Error:
				child name missing at position 30, following ".labels."

		- asserts[5] `matchRegex` fail
			Template:	stackstorm-ha/templates/jobs.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	1
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	2
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	3
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	4
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	5
			Error:
				child name missing at position 16, following ".labels."

		- asserts[6] `matchRegex` fail
			Template:	stackstorm-ha/templates/jobs.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	1
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	2
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	3
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	4
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	5
			Error:
				child name missing at position 30, following ".labels."

		- asserts[7] `equal` fail
			Template:	stackstorm-ha/templates/jobs.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	1
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	2
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	3
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	4
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	5
			Error:
				child name missing at position 16, following ".labels."

		- asserts[8] `equal` fail
			Template:	stackstorm-ha/templates/jobs.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	1
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	2
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	3
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	4
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	5
			Error:
				child name missing at position 30, following ".labels."

		- asserts[9] `equal` fail
			Template:	stackstorm-ha/templates/jobs.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	1
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	2
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	3
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	4
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	5
			Error:
				child name missing at position 16, following ".labels."

		- asserts[10] `equal` fail
			Template:	stackstorm-ha/templates/jobs.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	1
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	2
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	3
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	4
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	5
			Error:
				child name missing at position 30, following ".labels."

		- asserts[11] `equal` fail
			Template:	stackstorm-ha/templates/jobs.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	1
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	2
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	3
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	4
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	5
			Error:
				child name missing at position 16, following ".labels."

		- asserts[12] `equal` fail
			Template:	stackstorm-ha/templates/jobs.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	1
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	2
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	3
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	4
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	5
			Error:
				child name missing at position 30, following ".labels."

		- asserts[13] `equal` fail
			Template:	stackstorm-ha/templates/jobs.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	1
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	2
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	3
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	4
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	5
			Error:
				child name missing at position 16, following ".labels."

		- asserts[14] `equal` fail
			Template:	stackstorm-ha/templates/jobs.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	1
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	2
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	3
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	4
			Error:
				child name missing at position 30, following ".labels."
			DocumentIndex:	5
			Error:
				child name missing at position 30, following ".labels."

	- Services have required labels

		- asserts[1] `isNotNull` fail
			Template:	stackstorm-ha/templates/services.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	1
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	2
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	3
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	4
			Error:
				child name missing at position 16, following ".labels."

		- asserts[2] `equal` fail
			Template:	stackstorm-ha/templates/services.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	1
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	2
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	3
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	4
			Error:
				child name missing at position 16, following ".labels."

		- asserts[3] `matchRegex` fail
			Template:	stackstorm-ha/templates/services.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	1
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	2
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	3
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	4
			Error:
				child name missing at position 16, following ".labels."

		- asserts[4] `equal` fail
			Template:	stackstorm-ha/templates/services.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	1
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	2
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	3
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	4
			Error:
				child name missing at position 16, following ".labels."

		- asserts[5] `equal` fail
			Template:	stackstorm-ha/templates/services.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	1
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	2
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	3
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	4
			Error:
				child name missing at position 16, following ".labels."

		- asserts[6] `equal` fail
			Template:	stackstorm-ha/templates/services.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	1
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	2
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	3
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	4
			Error:
				child name missing at position 16, following ".labels."

		- asserts[7] `equal` fail
			Template:	stackstorm-ha/templates/services.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	1
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	2
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	3
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	4
			Error:
				child name missing at position 16, following ".labels."

	- ServiceAccount has required labels

		- asserts[1] `equal` fail
			Template:	stackstorm-ha/templates/service-account.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."

		- asserts[2] `equal` fail
			Template:	stackstorm-ha/templates/service-account.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."

		- asserts[3] `equal` fail
			Template:	stackstorm-ha/templates/service-account.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."

		- asserts[4] `equal` fail
			Template:	stackstorm-ha/templates/service-account.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."

		- asserts[5] `equal` fail
			Template:	stackstorm-ha/templates/service-account.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."

		- asserts[6] `equal` fail
			Template:	stackstorm-ha/templates/service-account.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."

		- asserts[7] `equal` fail
			Template:	stackstorm-ha/templates/service-account.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."

	- st2web Ingress has required labels

		- asserts[1] `equal` fail
			Template:	stackstorm-ha/templates/ingress.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."

		- asserts[2] `equal` fail
			Template:	stackstorm-ha/templates/ingress.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."

		- asserts[3] `equal` fail
			Template:	stackstorm-ha/templates/ingress.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."

		- asserts[4] `equal` fail
			Template:	stackstorm-ha/templates/ingress.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."

		- asserts[5] `equal` fail
			Template:	stackstorm-ha/templates/ingress.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."

		- asserts[6] `equal` fail
			Template:	stackstorm-ha/templates/ingress.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."

		- asserts[7] `equal` fail
			Template:	stackstorm-ha/templates/ingress.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."

	- ConfigMaps and Secrets have required labels

		- asserts[1] `equal` fail
			Template:	stackstorm-ha/templates/configmaps_packs.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/configmaps_st2-conf.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/configmaps_st2-urls.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/secrets_datastore_crypto_key.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/secrets_rabbitmq.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/secrets_ssh.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/secrets_st2apikeys.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/secrets_st2auth.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/secrets_st2kv.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."

		- asserts[2] `equal` fail
			Template:	stackstorm-ha/templates/configmaps_packs.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/configmaps_st2-conf.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/configmaps_st2-urls.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/secrets_datastore_crypto_key.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/secrets_rabbitmq.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/secrets_ssh.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/secrets_st2apikeys.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/secrets_st2auth.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/secrets_st2kv.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."

		- asserts[3] `equal` fail
			Template:	stackstorm-ha/templates/configmaps_packs.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/configmaps_st2-conf.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/configmaps_st2-urls.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/secrets_datastore_crypto_key.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/secrets_rabbitmq.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/secrets_ssh.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/secrets_st2apikeys.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/secrets_st2auth.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/secrets_st2kv.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."

		- asserts[4] `equal` fail
			Template:	stackstorm-ha/templates/configmaps_packs.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/configmaps_st2-conf.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/configmaps_st2-urls.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/secrets_datastore_crypto_key.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/secrets_rabbitmq.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/secrets_ssh.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/secrets_st2apikeys.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/secrets_st2auth.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/secrets_st2kv.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."

		- asserts[5] `equal` fail
			Template:	stackstorm-ha/templates/configmaps_packs.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/configmaps_st2-conf.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/configmaps_st2-urls.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/secrets_datastore_crypto_key.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/secrets_rabbitmq.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/secrets_ssh.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/secrets_st2apikeys.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/secrets_st2auth.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/secrets_st2kv.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."

		- asserts[6] `equal` fail
			Template:	stackstorm-ha/templates/configmaps_packs.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/configmaps_st2-conf.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/configmaps_st2-urls.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/secrets_datastore_crypto_key.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/secrets_rabbitmq.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/secrets_ssh.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/secrets_st2apikeys.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/secrets_st2auth.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/secrets_st2kv.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."

		- asserts[7] `equal` fail
			Template:	stackstorm-ha/templates/configmaps_packs.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/configmaps_st2-conf.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/configmaps_st2-urls.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/secrets_datastore_crypto_key.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/secrets_rabbitmq.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/secrets_ssh.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/secrets_st2apikeys.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/secrets_st2auth.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			Template:	stackstorm-ha/templates/secrets_st2kv.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."

	- RBAC ConfigMaps have required labels

		- asserts[1] `equal` fail
			Template:	stackstorm-ha/templates/configmaps_rbac.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	1
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	2
			Error:
				child name missing at position 16, following ".labels."

		- asserts[2] `equal` fail
			Template:	stackstorm-ha/templates/configmaps_rbac.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	1
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	2
			Error:
				child name missing at position 16, following ".labels."

		- asserts[3] `equal` fail
			Template:	stackstorm-ha/templates/configmaps_rbac.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	1
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	2
			Error:
				child name missing at position 16, following ".labels."

		- asserts[4] `equal` fail
			Template:	stackstorm-ha/templates/configmaps_rbac.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	1
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	2
			Error:
				child name missing at position 16, following ".labels."

		- asserts[5] `equal` fail
			Template:	stackstorm-ha/templates/configmaps_rbac.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	1
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	2
			Error:
				child name missing at position 16, following ".labels."

		- asserts[6] `equal` fail
			Template:	stackstorm-ha/templates/configmaps_rbac.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	1
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	2
			Error:
				child name missing at position 16, following ".labels."

		- asserts[7] `equal` fail
			Template:	stackstorm-ha/templates/configmaps_rbac.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	1
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	2
			Error:
				child name missing at position 16, following ".labels."

	- st2chatops Secret has required labels

		- asserts[1] `equal` fail
			Template:	stackstorm-ha/templates/secrets_st2chatops.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."

		- asserts[2] `equal` fail
			Template:	stackstorm-ha/templates/secrets_st2chatops.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."

		- asserts[3] `equal` fail
			Template:	stackstorm-ha/templates/secrets_st2chatops.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."

		- asserts[4] `equal` fail
			Template:	stackstorm-ha/templates/secrets_st2chatops.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."

		- asserts[5] `equal` fail
			Template:	stackstorm-ha/templates/secrets_st2chatops.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."

		- asserts[6] `equal` fail
			Template:	stackstorm-ha/templates/secrets_st2chatops.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."

		- asserts[7] `equal` fail
			Template:	stackstorm-ha/templates/secrets_st2chatops.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."

	- st2web ConfigMap has required labels

		- asserts[1] `equal` fail
			Template:	stackstorm-ha/templates/configmaps_st2web.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."

		- asserts[2] `equal` fail
			Template:	stackstorm-ha/templates/configmaps_st2web.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."

		- asserts[3] `equal` fail
			Template:	stackstorm-ha/templates/configmaps_st2web.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."

		- asserts[4] `equal` fail
			Template:	stackstorm-ha/templates/configmaps_st2web.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."

		- asserts[5] `equal` fail
			Template:	stackstorm-ha/templates/configmaps_st2web.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."

		- asserts[6] `equal` fail
			Template:	stackstorm-ha/templates/configmaps_st2web.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."

		- asserts[7] `equal` fail
			Template:	stackstorm-ha/templates/configmaps_st2web.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."

	- post-start-script ConfigMaps have required labels

		- asserts[1] `equal` fail
			Template:	stackstorm-ha/templates/configmaps_post-start-script.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	1
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	2
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	3
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	4
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	5
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	6
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	7
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	8
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	9
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	10
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	11
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	12
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	13
			Error:
				child name missing at position 16, following ".labels."

		- asserts[2] `equal` fail
			Template:	stackstorm-ha/templates/configmaps_post-start-script.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	1
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	2
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	3
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	4
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	5
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	6
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	7
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	8
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	9
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	10
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	11
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	12
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	13
			Error:
				child name missing at position 16, following ".labels."

		- asserts[3] `equal` fail
			Template:	stackstorm-ha/templates/configmaps_post-start-script.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	1
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	2
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	3
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	4
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	5
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	6
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	7
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	8
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	9
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	10
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	11
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	12
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	13
			Error:
				child name missing at position 16, following ".labels."

		- asserts[4] `equal` fail
			Template:	stackstorm-ha/templates/configmaps_post-start-script.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	1
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	2
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	3
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	4
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	5
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	6
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	7
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	8
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	9
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	10
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	11
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	12
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	13
			Error:
				child name missing at position 16, following ".labels."

		- asserts[5] `equal` fail
			Template:	stackstorm-ha/templates/configmaps_post-start-script.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	1
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	2
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	3
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	4
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	5
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	6
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	7
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	8
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	9
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	10
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	11
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	12
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	13
			Error:
				child name missing at position 16, following ".labels."

		- asserts[6] `equal` fail
			Template:	stackstorm-ha/templates/configmaps_post-start-script.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	1
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	2
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	3
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	4
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	5
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	6
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	7
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	8
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	9
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	10
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	11
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	12
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	13
			Error:
				child name missing at position 16, following ".labels."

		- asserts[7] `equal` fail
			Template:	stackstorm-ha/templates/configmaps_post-start-script.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	1
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	2
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	3
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	4
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	5
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	6
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	7
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	8
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	9
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	10
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	11
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	12
			Error:
				child name missing at position 16, following ".labels."
			DocumentIndex:	13
			Error:
				child name missing at position 16, following ".labels."

 PASS  Packs Volumes	tests/unit/packs_volumes_test.yaml
 PASS  Placement (NodeSelector Tolerations and Affinity)	tests/unit/placement_test.yaml
 FAIL  postStart scripts	tests/unit/post_start_script_test.yaml
	- post-start script for st2actionrunner and st2client

		- asserts[3] `isNotEmpty` fail
			Template:	stackstorm-ha/templates/configmaps_post-start-script.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 5, following "data."
			DocumentIndex:	1
			Error:
				child name missing at position 5, following "data."

		- asserts[4] `equal` fail
			Template:	stackstorm-ha/templates/configmaps_post-start-script.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 5, following "data."
			DocumentIndex:	1
			Error:
				child name missing at position 5, following "data."

	- custom post-start script

		- asserts[3] `isNotEmpty` fail
			Template:	stackstorm-ha/templates/configmaps_post-start-script.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 5, following "data."
			DocumentIndex:	1
			Error:
				child name missing at position 5, following "data."
			DocumentIndex:	2
			Error:
				child name missing at position 5, following "data."
			DocumentIndex:	3
			Error:
				child name missing at position 5, following "data."
			DocumentIndex:	4
			Error:
				child name missing at position 5, following "data."
			DocumentIndex:	5
			Error:
				child name missing at position 5, following "data."
			DocumentIndex:	6
			Error:
				child name missing at position 5, following "data."
			DocumentIndex:	7
			Error:
				child name missing at position 5, following "data."
			DocumentIndex:	8
			Error:
				child name missing at position 5, following "data."
			DocumentIndex:	9
			Error:
				child name missing at position 5, following "data."
			DocumentIndex:	10
			Error:
				child name missing at position 5, following "data."
			DocumentIndex:	11
			Error:
				child name missing at position 5, following "data."
			DocumentIndex:	12
			Error:
				child name missing at position 5, following "data."
			DocumentIndex:	13
			Error:
				child name missing at position 5, following "data."

		- asserts[4] `matchRegex` fail
			Template:	stackstorm-ha/templates/configmaps_post-start-script.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 5, following "data."
			DocumentIndex:	1
			Error:
				child name missing at position 5, following "data."
			DocumentIndex:	2
			Error:
				child name missing at position 5, following "data."
			DocumentIndex:	3
			Error:
				child name missing at position 5, following "data."
			DocumentIndex:	4
			Error:
				child name missing at position 5, following "data."
			DocumentIndex:	5
			Error:
				child name missing at position 5, following "data."
			DocumentIndex:	6
			Error:
				child name missing at position 5, following "data."
			DocumentIndex:	7
			Error:
				child name missing at position 5, following "data."
			DocumentIndex:	8
			Error:
				child name missing at position 5, following "data."
			DocumentIndex:	9
			Error:
				child name missing at position 5, following "data."
			DocumentIndex:	10
			Error:
				child name missing at position 5, following "data."
			DocumentIndex:	11
			Error:
				child name missing at position 5, following "data."
			DocumentIndex:	12
			Error:
				child name missing at position 5, following "data."
			DocumentIndex:	13
			Error:
				child name missing at position 5, following "data."

	- Deployments st2actionrunner and st2client have lifecycle.postStartScipt by default

		- asserts[1] `isNull` fail
			Template:	stackstorm-ha/templates/deployments.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 35, following ".annotations."
			DocumentIndex:	1
			Error:
				child name missing at position 35, following ".annotations."
			DocumentIndex:	2
			Error:
				child name missing at position 35, following ".annotations."
			DocumentIndex:	3
			Error:
				child name missing at position 35, following ".annotations."
			DocumentIndex:	4
			Error:
				child name missing at position 35, following ".annotations."
			DocumentIndex:	5
			Error:
				child name missing at position 35, following ".annotations."
			DocumentIndex:	6
			Error:
				child name missing at position 35, following ".annotations."
			DocumentIndex:	7
			Error:
				child name missing at position 35, following ".annotations."
			DocumentIndex:	8
			Error:
				child name missing at position 35, following ".annotations."
			DocumentIndex:	9
			Error:
				child name missing at position 35, following ".annotations."
			DocumentIndex:	10
			Error:
				child name missing at position 35, following ".annotations."
			DocumentIndex:	11
			Error:
				child name missing at position 35, following ".annotations."
			DocumentIndex:	12
			Error:
				child name missing at position 35, following ".annotations."
			DocumentIndex:	13
			Error:
				child name missing at position 35, following ".annotations."

	- Deployments accept custom lifecycle.postStartScipt

		- asserts[1] `isNotEmpty` fail
			Template:	stackstorm-ha/templates/deployments.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 35, following ".annotations."
			DocumentIndex:	1
			Error:
				child name missing at position 35, following ".annotations."
			DocumentIndex:	2
			Error:
				child name missing at position 35, following ".annotations."
			DocumentIndex:	3
			Error:
				child name missing at position 35, following ".annotations."
			DocumentIndex:	4
			Error:
				child name missing at position 35, following ".annotations."
			DocumentIndex:	5
			Error:
				child name missing at position 35, following ".annotations."
			DocumentIndex:	6
			Error:
				child name missing at position 35, following ".annotations."
			DocumentIndex:	7
			Error:
				child name missing at position 35, following ".annotations."
			DocumentIndex:	8
			Error:
				child name missing at position 35, following ".annotations."
			DocumentIndex:	9
			Error:
				child name missing at position 35, following ".annotations."
			DocumentIndex:	10
			Error:
				child name missing at position 35, following ".annotations."
			DocumentIndex:	11
			Error:
				child name missing at position 35, following ".annotations."
			DocumentIndex:	12
			Error:
				child name missing at position 35, following ".annotations."
			DocumentIndex:	13
			Error:
				child name missing at position 35, following ".annotations."

 PASS  Resources	tests/unit/resources_test.yaml
 PASS  Secret files	tests/unit/secrets_test.yaml
 PASS  Custom SecurityContext	tests/unit/security_context_test.yaml
 PASS  ServiceAccount	tests/unit/service_account_test.yaml
 PASS  Services	tests/unit/services_test.yaml
 PASS  Config files	tests/unit/st2_conf_files_test.yaml
 FAIL  Sensors	tests/unit/st2sensors_test.yaml
	- stackstorm/sensor-mode = all-sensors-in-one-pod

		- asserts[3] `equal` fail
			Template:	stackstorm-ha/templates/deployments.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."

		- asserts[4] `equal` fail
			Template:	stackstorm-ha/templates/deployments.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 30, following ".labels."

		- asserts[5] `equal` fail
			Template:	stackstorm-ha/templates/deployments.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 26, following ".matchLabels."

	- stackstorm/sensor-mode = one-sensor-per-pod

		- asserts[7] `equal` fail
			Template:	stackstorm-ha/templates/deployments.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."

		- asserts[8] `equal` fail
			Template:	stackstorm-ha/templates/deployments.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."

		- asserts[9] `equal` fail
			Template:	stackstorm-ha/templates/deployments.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."

		- asserts[10] `equal` fail
			Template:	stackstorm-ha/templates/deployments.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 30, following ".labels."

		- asserts[11] `equal` fail
			Template:	stackstorm-ha/templates/deployments.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 30, following ".labels."

		- asserts[12] `equal` fail
			Template:	stackstorm-ha/templates/deployments.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 30, following ".labels."

		- asserts[13] `equal` fail
			Template:	stackstorm-ha/templates/deployments.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 26, following ".matchLabels."

		- asserts[14] `equal` fail
			Template:	stackstorm-ha/templates/deployments.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 26, following ".matchLabels."

		- asserts[15] `equal` fail
			Template:	stackstorm-ha/templates/deployments.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 26, following ".matchLabels."

	- stackstorm/sensor-mode = multiple-sensors-per-pod

		- asserts[7] `equal` fail
			Template:	stackstorm-ha/templates/deployments.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."

		- asserts[8] `equal` fail
			Template:	stackstorm-ha/templates/deployments.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."

		- asserts[9] `equal` fail
			Template:	stackstorm-ha/templates/deployments.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 16, following ".labels."

		- asserts[10] `equal` fail
			Template:	stackstorm-ha/templates/deployments.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 30, following ".labels."

		- asserts[11] `equal` fail
			Template:	stackstorm-ha/templates/deployments.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 30, following ".labels."

		- asserts[12] `equal` fail
			Template:	stackstorm-ha/templates/deployments.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 30, following ".labels."

		- asserts[13] `equal` fail
			Template:	stackstorm-ha/templates/deployments.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 26, following ".matchLabels."

		- asserts[14] `equal` fail
			Template:	stackstorm-ha/templates/deployments.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 26, following ".matchLabels."

		- asserts[15] `equal` fail
			Template:	stackstorm-ha/templates/deployments.yaml
			DocumentIndex:	0
			Error:
				child name missing at position 26, following ".matchLabels."


Charts:      1 failed, 0 passed, 1 total
Test Suites: 4 failed, 15 passed, 19 total
Tests:       18 failed, 78 passed, 96 total
Snapshot:    0 passed, 0 total
Time:        5m34.118803375s

from stackstorm-k8s.

jk464 avatar jk464 commented on June 24, 2024

Ok first issue is 0.3.0 added jsonPath (https://github.com/helm-unittest/helm-unittest/blob/main/CHANGELOG.md#030--2023-01-30) which requires updating our path references to jq style ones:

@@ -57,55 +57,55 @@ tests:
       # So, we use isNotNull instead.
       # see: https://github.com/quintush/helm-unittest/issues/122
       - isNotNull:
-          path: metadata.labels.[app.kubernetes.io/name]
+          path: metadata.labels["app.kubernetes.io/name"]
       - isNotNull:

from stackstorm-k8s.

jk464 avatar jk464 commented on June 24, 2024

There also seems to be a bug in v0.5.0 thats causing the the no asserts issue - helm-unittest/helm-unittest#329 - so I guess I'll just target 0.4.4 for now...

from stackstorm-k8s.

jk464 avatar jk464 commented on June 24, 2024

@cognifloyd See #417 which should resolve this :)

from stackstorm-k8s.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.