diff --git a/library/common-test/tests/container_in_deployment/command-arg_test.yaml b/library/common-test/tests/container_in_deployment/command-arg_test.yaml index 7b75d0ab..1b20a3e5 100644 --- a/library/common-test/tests/container_in_deployment/command-arg_test.yaml +++ b/library/common-test/tests/container_in_deployment/command-arg_test.yaml @@ -6,7 +6,7 @@ tests: documentIndex: &deploymentDoc 0 asserts: - hasDocuments: - count: 2 + count: 3 - isKind: of: Deployment diff --git a/library/common-test/tests/container_in_deployment/env_from.yaml b/library/common-test/tests/container_in_deployment/env_from.yaml index 3ad11a67..0fcf9d0e 100644 --- a/library/common-test/tests/container_in_deployment/env_from.yaml +++ b/library/common-test/tests/container_in_deployment/env_from.yaml @@ -6,7 +6,7 @@ tests: documentIndex: &deploymentDoc 0 asserts: - hasDocuments: - count: 2 + count: 3 - isKind: of: Deployment diff --git a/library/common-test/tests/container_in_deployment/env_list.yaml b/library/common-test/tests/container_in_deployment/env_list.yaml index 97aaad99..ed3db02d 100644 --- a/library/common-test/tests/container_in_deployment/env_list.yaml +++ b/library/common-test/tests/container_in_deployment/env_list.yaml @@ -6,7 +6,7 @@ tests: documentIndex: &deploymentDoc 0 asserts: - hasDocuments: - count: 2 + count: 3 - isKind: of: Deployment diff --git a/library/common-test/tests/container_in_deployment/env_test.yaml b/library/common-test/tests/container_in_deployment/env_test.yaml index 39e93350..587b88ef 100644 --- a/library/common-test/tests/container_in_deployment/env_test.yaml +++ b/library/common-test/tests/container_in_deployment/env_test.yaml @@ -6,7 +6,7 @@ tests: documentIndex: &deploymentDoc 0 asserts: - hasDocuments: - count: 2 + count: 3 - isKind: of: Deployment diff --git a/library/common-test/tests/container_in_deployment/fixedEnv_test.yaml b/library/common-test/tests/container_in_deployment/fixedEnv_test.yaml index 73ea4d9b..53752b33 100644 --- a/library/common-test/tests/container_in_deployment/fixedEnv_test.yaml +++ b/library/common-test/tests/container_in_deployment/fixedEnv_test.yaml @@ -6,7 +6,7 @@ tests: documentIndex: &deploymentDoc 0 asserts: - hasDocuments: - count: 2 + count: 3 - isKind: of: Deployment diff --git a/library/common-test/tests/container_in_deployment/image_test.yaml b/library/common-test/tests/container_in_deployment/image_test.yaml index b2421b9e..1d6e691a 100644 --- a/library/common-test/tests/container_in_deployment/image_test.yaml +++ b/library/common-test/tests/container_in_deployment/image_test.yaml @@ -7,7 +7,7 @@ tests: documentIndex: &deploymentDoc 0 asserts: - hasDocuments: - count: 2 + count: 3 - isKind: of: Deployment diff --git a/library/common-test/tests/container_in_deployment/lifecycle_test.yaml b/library/common-test/tests/container_in_deployment/lifecycle_test.yaml index 34823bac..56aef6d4 100644 --- a/library/common-test/tests/container_in_deployment/lifecycle_test.yaml +++ b/library/common-test/tests/container_in_deployment/lifecycle_test.yaml @@ -7,7 +7,7 @@ tests: documentIndex: &deploymentDoc 0 asserts: - hasDocuments: - count: 2 + count: 3 - isKind: of: Deployment diff --git a/library/common-test/tests/container_in_deployment/port_test.yaml b/library/common-test/tests/container_in_deployment/port_test.yaml index c6337986..7deb7376 100644 --- a/library/common-test/tests/container_in_deployment/port_test.yaml +++ b/library/common-test/tests/container_in_deployment/port_test.yaml @@ -6,7 +6,7 @@ tests: documentIndex: &deploymentDoc 0 asserts: - hasDocuments: - count: 2 + count: 3 - isKind: of: Deployment diff --git a/library/common-test/tests/container_in_deployment/probe_test.yaml b/library/common-test/tests/container_in_deployment/probe_test.yaml index edcb2d4f..3e3653a9 100644 --- a/library/common-test/tests/container_in_deployment/probe_test.yaml +++ b/library/common-test/tests/container_in_deployment/probe_test.yaml @@ -6,7 +6,7 @@ tests: documentIndex: &deploymentDoc 0 asserts: - hasDocuments: - count: 2 + count: 3 - isKind: of: Deployment - isSubset: diff --git a/library/common-test/tests/container_in_deployment/resources_test.yaml b/library/common-test/tests/container_in_deployment/resources_test.yaml index e20d9700..9c7dd6b2 100644 --- a/library/common-test/tests/container_in_deployment/resources_test.yaml +++ b/library/common-test/tests/container_in_deployment/resources_test.yaml @@ -6,7 +6,7 @@ tests: documentIndex: &deploymentDoc 0 asserts: - hasDocuments: - count: 2 + count: 3 - isKind: of: Deployment - equal: diff --git a/library/common-test/tests/container_in_deployment/securityContext_test.yaml b/library/common-test/tests/container_in_deployment/securityContext_test.yaml index 119ef93e..81bbfff9 100644 --- a/library/common-test/tests/container_in_deployment/securityContext_test.yaml +++ b/library/common-test/tests/container_in_deployment/securityContext_test.yaml @@ -6,7 +6,7 @@ tests: documentIndex: &deploymentDoc 0 asserts: - hasDocuments: - count: 2 + count: 3 - isKind: of: Deployment diff --git a/library/common-test/tests/container_in_deployment/various_options_test.yaml b/library/common-test/tests/container_in_deployment/various_options_test.yaml index 0641e39c..12c9d698 100644 --- a/library/common-test/tests/container_in_deployment/various_options_test.yaml +++ b/library/common-test/tests/container_in_deployment/various_options_test.yaml @@ -7,7 +7,7 @@ tests: documentIndex: &deploymentDoc 0 asserts: - hasDocuments: - count: 2 + count: 3 - isKind: of: Deployment diff --git a/library/common-test/tests/container_in_deployment/volumeMounts_test.yaml b/library/common-test/tests/container_in_deployment/volumeMounts_test.yaml index 65a40cca..a8700be0 100644 --- a/library/common-test/tests/container_in_deployment/volumeMounts_test.yaml +++ b/library/common-test/tests/container_in_deployment/volumeMounts_test.yaml @@ -6,7 +6,7 @@ tests: documentIndex: &deploymentDoc 0 asserts: - hasDocuments: - count: 2 + count: 3 - isKind: of: Deployment - isNull: diff --git a/library/common-test/tests/deployment/annotation_test.yaml b/library/common-test/tests/deployment/annotation_test.yaml index 677a3cc4..48bb393c 100644 --- a/library/common-test/tests/deployment/annotation_test.yaml +++ b/library/common-test/tests/deployment/annotation_test.yaml @@ -6,7 +6,7 @@ tests: documentIndex: &deploymentDoc 0 asserts: - hasDocuments: - count: 2 + count: 3 - isKind: of: Deployment - isNotEmpty: diff --git a/library/common-test/tests/deployment/controller_test.yaml b/library/common-test/tests/deployment/controller_test.yaml index 37d0e90e..e3f05714 100644 --- a/library/common-test/tests/deployment/controller_test.yaml +++ b/library/common-test/tests/deployment/controller_test.yaml @@ -6,7 +6,7 @@ tests: documentIndex: &deploymentDoc 0 asserts: - hasDocuments: - count: 2 + count: 3 - isKind: of: Deployment - equal: @@ -31,7 +31,7 @@ tests: enabled: false asserts: - hasDocuments: - count: 1 + count: 2 - it: should pass with controller strategy changed and rollingUpdate strategies set documentIndex: *deploymentDoc diff --git a/library/common-test/tests/deployment/default_test.yaml b/library/common-test/tests/deployment/default_test.yaml index 7de57482..17cb627b 100644 --- a/library/common-test/tests/deployment/default_test.yaml +++ b/library/common-test/tests/deployment/default_test.yaml @@ -6,7 +6,7 @@ tests: documentIndex: &deploymentDoc 0 asserts: - hasDocuments: - count: 2 + count: 3 - isKind: of: Deployment - isAPIVersion: diff --git a/library/common-test/tests/deployment/dns-network_test.yaml b/library/common-test/tests/deployment/dns-network_test.yaml index 518b578c..bcb76335 100644 --- a/library/common-test/tests/deployment/dns-network_test.yaml +++ b/library/common-test/tests/deployment/dns-network_test.yaml @@ -7,7 +7,7 @@ tests: documentIndex: &deploymentDoc 0 asserts: - hasDocuments: - count: 2 + count: 3 - isKind: of: Deployment diff --git a/library/common-test/tests/deployment/label_test.yaml b/library/common-test/tests/deployment/label_test.yaml index cebe3ee0..979eac28 100644 --- a/library/common-test/tests/deployment/label_test.yaml +++ b/library/common-test/tests/deployment/label_test.yaml @@ -8,7 +8,7 @@ tests: documentIndex: &deploymentDoc 0 asserts: - hasDocuments: - count: 2 + count: 3 - isKind: of: Deployment - equal: diff --git a/library/common-test/tests/deployment/names_test.yaml b/library/common-test/tests/deployment/names_test.yaml index 6f86e700..8c220ae6 100644 --- a/library/common-test/tests/deployment/names_test.yaml +++ b/library/common-test/tests/deployment/names_test.yaml @@ -6,7 +6,7 @@ tests: documentIndex: &deploymentDoc 0 asserts: - hasDocuments: - count: 2 + count: 3 - isKind: of: Deployment - equal: diff --git a/library/common-test/tests/deployment/podSecurityContext_test.yaml b/library/common-test/tests/deployment/podSecurityContext_test.yaml index 97723749..597a9dd8 100644 --- a/library/common-test/tests/deployment/podSecurityContext_test.yaml +++ b/library/common-test/tests/deployment/podSecurityContext_test.yaml @@ -6,7 +6,7 @@ tests: documentIndex: &deploymentDoc 0 asserts: - hasDocuments: - count: 2 + count: 3 - isKind: of: Deployment - equal: diff --git a/library/common-test/tests/deployment/serviceAccountName_test.yaml b/library/common-test/tests/deployment/serviceAccountName_test.yaml index 8d57d3c8..e201e487 100644 --- a/library/common-test/tests/deployment/serviceAccountName_test.yaml +++ b/library/common-test/tests/deployment/serviceAccountName_test.yaml @@ -7,7 +7,7 @@ tests: documentIndex: &deploymentDoc 0 asserts: - hasDocuments: - count: 2 + count: 3 - isKind: of: Deployment diff --git a/library/common-test/tests/deployment/various_options_test.yaml b/library/common-test/tests/deployment/various_options_test.yaml index d097d07f..35625948 100644 --- a/library/common-test/tests/deployment/various_options_test.yaml +++ b/library/common-test/tests/deployment/various_options_test.yaml @@ -7,7 +7,7 @@ tests: documentIndex: &deploymentDoc 0 asserts: - hasDocuments: - count: 2 + count: 3 - isKind: of: Deployment diff --git a/library/common-test/tests/deployment/volume_configMap_test.yaml b/library/common-test/tests/deployment/volume_configMap_test.yaml index 7d342244..fa52d42a 100644 --- a/library/common-test/tests/deployment/volume_configMap_test.yaml +++ b/library/common-test/tests/deployment/volume_configMap_test.yaml @@ -6,7 +6,7 @@ tests: documentIndex: &deploymentDoc 0 asserts: - hasDocuments: - count: 2 + count: 3 - isKind: of: Deployment - isNull: diff --git a/library/common-test/tests/deployment/volume_custom_test.yaml b/library/common-test/tests/deployment/volume_custom_test.yaml index 510ef604..70c7ad86 100644 --- a/library/common-test/tests/deployment/volume_custom_test.yaml +++ b/library/common-test/tests/deployment/volume_custom_test.yaml @@ -6,7 +6,7 @@ tests: documentIndex: &deploymentDoc 0 asserts: - hasDocuments: - count: 2 + count: 3 - isKind: of: Deployment - isNull: diff --git a/library/common-test/tests/deployment/volume_emptyDir_test.yaml b/library/common-test/tests/deployment/volume_emptyDir_test.yaml index d6121c5e..1ac34b86 100644 --- a/library/common-test/tests/deployment/volume_emptyDir_test.yaml +++ b/library/common-test/tests/deployment/volume_emptyDir_test.yaml @@ -6,7 +6,7 @@ tests: documentIndex: &deploymentDoc 0 asserts: - hasDocuments: - count: 2 + count: 3 - isKind: of: Deployment - isNull: diff --git a/library/common-test/tests/deployment/volume_hostPath_test.yaml b/library/common-test/tests/deployment/volume_hostPath_test.yaml index 47a36ac1..ca2ae9ac 100644 --- a/library/common-test/tests/deployment/volume_hostPath_test.yaml +++ b/library/common-test/tests/deployment/volume_hostPath_test.yaml @@ -6,7 +6,7 @@ tests: documentIndex: &deploymentDoc 0 asserts: - hasDocuments: - count: 2 + count: 3 - isKind: of: Deployment - isNull: diff --git a/library/common-test/tests/deployment/volume_nfs_test.yaml b/library/common-test/tests/deployment/volume_nfs_test.yaml index 5e27b898..edb2abd9 100644 --- a/library/common-test/tests/deployment/volume_nfs_test.yaml +++ b/library/common-test/tests/deployment/volume_nfs_test.yaml @@ -6,7 +6,7 @@ tests: documentIndex: &deploymentDoc 0 asserts: - hasDocuments: - count: 2 + count: 3 - isKind: of: Deployment - isNull: diff --git a/library/common-test/tests/deployment/volume_pvc_test.yaml b/library/common-test/tests/deployment/volume_pvc_test.yaml index 372d818f..f2d6f6a4 100644 --- a/library/common-test/tests/deployment/volume_pvc_test.yaml +++ b/library/common-test/tests/deployment/volume_pvc_test.yaml @@ -6,7 +6,7 @@ tests: documentIndex: &deploymentDoc 0 asserts: - hasDocuments: - count: 2 + count: 3 - isKind: of: Deployment - isNull: diff --git a/library/common-test/tests/deployment/volume_secret_test.yaml b/library/common-test/tests/deployment/volume_secret_test.yaml index bef62f36..f4d96ec4 100644 --- a/library/common-test/tests/deployment/volume_secret_test.yaml +++ b/library/common-test/tests/deployment/volume_secret_test.yaml @@ -6,7 +6,7 @@ tests: documentIndex: &deploymentDoc 0 asserts: - hasDocuments: - count: 2 + count: 3 - isKind: of: Deployment - isNull: diff --git a/library/common-test/tests/deployment/volume_test.yaml b/library/common-test/tests/deployment/volume_test.yaml index 0d47fb3a..34c3316b 100644 --- a/library/common-test/tests/deployment/volume_test.yaml +++ b/library/common-test/tests/deployment/volume_test.yaml @@ -6,7 +6,7 @@ tests: documentIndex: &deploymentDoc 0 asserts: - hasDocuments: - count: 2 + count: 3 - isKind: of: Deployment - isNull: diff --git a/library/common-test/tests/externalInterfaces/externalInterfaces_test.yaml b/library/common-test/tests/externalInterfaces/externalInterfaces_test.yaml index 7715d021..f08694a4 100644 --- a/library/common-test/tests/externalInterfaces/externalInterfaces_test.yaml +++ b/library/common-test/tests/externalInterfaces/externalInterfaces_test.yaml @@ -8,7 +8,7 @@ tests: documentIndex: &deploymentDoc 0 asserts: - hasDocuments: - count: 2 + count: 3 - isKind: of: Deployment @@ -117,7 +117,7 @@ tests: - '{"cniVersion": "0.3.1", "name": "ix-RELEASE-NAME-0", "type": "macvlan", "master": "ens3s0", "ipam": {"type": "dhcp"}}' asserts: - hasDocuments: - count: 3 + count: 4 - isKind: of: NetworkAttachmentDefinition - isAPIVersion: @@ -145,7 +145,7 @@ tests: - ix-RELEASE-NAME-0 asserts: - hasDocuments: - count: 3 + count: 4 - isKind: of: Deployment - isSubset: @@ -171,7 +171,7 @@ tests: - ix-RELEASE-NAME-0 asserts: - hasDocuments: - count: 4 + count: 5 - isKind: of: NetworkAttachmentDefinition - isAPIVersion: @@ -198,7 +198,7 @@ tests: - '{"cniVersion": "0.3.1", "name": "ix-RELEASE-NAME-1", "type": "macvlan", "master": "ens5s0", "ipam": {"type": "dhcp"}}' asserts: - hasDocuments: - count: 4 + count: 5 - isKind: of: NetworkAttachmentDefinition - isAPIVersion: @@ -228,7 +228,7 @@ tests: - ix-RELEASE-NAME-1 asserts: - hasDocuments: - count: 4 + count: 5 - isKind: of: Deployment - isSubset: @@ -255,7 +255,7 @@ tests: - '{"cniVersion": "0.3.1", "name": "ix-RELEASE-NAME-0", "type": "macvlan", "master": "ens3s0", "ipam": {"type": "dhcp"}}' asserts: - hasDocuments: - count: 3 + count: 4 - isKind: of: NetworkAttachmentDefinition - isAPIVersion: @@ -285,7 +285,7 @@ tests: - '{"cniVersion": "0.3.1", "name": "ix-RELEASE-NAME-0", "type": "macvlan", "master": "ens3s0", "ipam": {"type": "dhcp"}}' asserts: - hasDocuments: - count: 3 + count: 4 - isKind: of: NetworkAttachmentDefinition - isAPIVersion: @@ -313,7 +313,7 @@ tests: - '{"cniVersion": "0.3.1", "name": "ix-RELEASE-NAME-0", "type": "macvlan", "master": "ens3s0", "ipam": {"type": "dhcp"}}' asserts: - hasDocuments: - count: 3 + count: 4 - isKind: of: NetworkAttachmentDefinition - isAPIVersion: @@ -351,7 +351,7 @@ tests: - '{"cniVersion": "0.3.1", "name": "ix-RELEASE-NAME-0", "type": "macvlan", "master": "ens3s0", "ipam": {"type": "dhcp"}}' asserts: - hasDocuments: - count: 3 + count: 4 - isKind: of: NetworkAttachmentDefinition - isAPIVersion: diff --git a/library/common-test/tests/pvc/pvc_test.yaml b/library/common-test/tests/pvc/pvc_test.yaml index 5407a4fb..d068f7ec 100644 --- a/library/common-test/tests/pvc/pvc_test.yaml +++ b/library/common-test/tests/pvc/pvc_test.yaml @@ -8,7 +8,7 @@ tests: documentIndex: &deploymentDoc 0 asserts: - hasDocuments: - count: 2 + count: 3 - isKind: of: Deployment diff --git a/library/common-test/tests/rbac/rbac_test.yaml b/library/common-test/tests/rbac/rbac_test.yaml index e460c4b2..a20210e2 100644 --- a/library/common-test/tests/rbac/rbac_test.yaml +++ b/library/common-test/tests/rbac/rbac_test.yaml @@ -11,7 +11,7 @@ tests: documentIndex: &deploymentDoc 0 asserts: - hasDocuments: - count: 2 + count: 3 - isKind: of: Deployment diff --git a/library/common-test/tests/service/service_test.yaml b/library/common-test/tests/service/service_test.yaml index ef8ad887..19df8949 100644 --- a/library/common-test/tests/service/service_test.yaml +++ b/library/common-test/tests/service/service_test.yaml @@ -8,7 +8,7 @@ tests: documentIndex: &deploymentDoc 0 asserts: - hasDocuments: - count: 2 + count: 3 - isKind: of: Deployment diff --git a/library/common-test/tests/service/service_test_ClusterIP.yaml b/library/common-test/tests/service/service_test_ClusterIP.yaml index e0bb9442..1994f833 100644 --- a/library/common-test/tests/service/service_test_ClusterIP.yaml +++ b/library/common-test/tests/service/service_test_ClusterIP.yaml @@ -9,7 +9,7 @@ tests: documentIndex: &deploymentDoc 0 asserts: - hasDocuments: - count: 2 + count: 3 - isKind: of: Deployment diff --git a/library/common-test/tests/service/service_test_ExternalIP.yaml b/library/common-test/tests/service/service_test_ExternalIP.yaml index 11f3740e..27d71203 100644 --- a/library/common-test/tests/service/service_test_ExternalIP.yaml +++ b/library/common-test/tests/service/service_test_ExternalIP.yaml @@ -8,7 +8,7 @@ tests: documentIndex: &deploymentDoc 0 asserts: - hasDocuments: - count: 2 + count: 3 - isKind: of: Deployment diff --git a/library/common-test/tests/service/service_test_ExternalName.yaml b/library/common-test/tests/service/service_test_ExternalName.yaml index abdf8b15..24581015 100644 --- a/library/common-test/tests/service/service_test_ExternalName.yaml +++ b/library/common-test/tests/service/service_test_ExternalName.yaml @@ -8,7 +8,7 @@ tests: documentIndex: &deploymentDoc 0 asserts: - hasDocuments: - count: 2 + count: 3 - isKind: of: Deployment diff --git a/library/common-test/tests/service/service_test_LoadBalancer.yaml b/library/common-test/tests/service/service_test_LoadBalancer.yaml index 4d13e041..326a6c11 100644 --- a/library/common-test/tests/service/service_test_LoadBalancer.yaml +++ b/library/common-test/tests/service/service_test_LoadBalancer.yaml @@ -8,7 +8,7 @@ tests: documentIndex: &deploymentDoc 0 asserts: - hasDocuments: - count: 2 + count: 3 - isKind: of: Deployment diff --git a/library/common-test/tests/service/service_test_NodePort.yaml b/library/common-test/tests/service/service_test_NodePort.yaml index de60f3ab..1616ab0e 100644 --- a/library/common-test/tests/service/service_test_NodePort.yaml +++ b/library/common-test/tests/service/service_test_NodePort.yaml @@ -8,7 +8,7 @@ tests: documentIndex: &deploymentDoc 0 asserts: - hasDocuments: - count: 2 + count: 3 - isKind: of: Deployment diff --git a/library/common-test/tests/service/service_test_hostNet.yaml b/library/common-test/tests/service/service_test_hostNet.yaml index 5b9f9f24..489ff857 100644 --- a/library/common-test/tests/service/service_test_hostNet.yaml +++ b/library/common-test/tests/service/service_test_hostNet.yaml @@ -9,7 +9,7 @@ tests: documentIndex: &deploymentDoc 0 asserts: - hasDocuments: - count: 2 + count: 3 - isKind: of: Deployment diff --git a/library/common-test/tests/serviceAccount/serviceAccount_test.yaml b/library/common-test/tests/serviceAccount/serviceAccount_test.yaml index bedcdc83..7a363a53 100644 --- a/library/common-test/tests/serviceAccount/serviceAccount_test.yaml +++ b/library/common-test/tests/serviceAccount/serviceAccount_test.yaml @@ -9,7 +9,7 @@ tests: documentIndex: &deploymentDoc 0 asserts: - hasDocuments: - count: 2 + count: 3 - isKind: of: Deployment diff --git a/library/common-test/tests/utils/utils_primary_port_test.yaml b/library/common-test/tests/utils/utils_primary_port_test.yaml index 6e5ea1e7..11a6fb9e 100644 --- a/library/common-test/tests/utils/utils_primary_port_test.yaml +++ b/library/common-test/tests/utils/utils_primary_port_test.yaml @@ -7,7 +7,7 @@ tests: documentIndex: &deploymentDoc 0 asserts: - hasDocuments: - count: 2 + count: 3 - isKind: of: Deployment - equal: diff --git a/library/common-test/tests/utils/utils_primary_rbac_test.yaml b/library/common-test/tests/utils/utils_primary_rbac_test.yaml index 9a95e418..3ed0215e 100644 --- a/library/common-test/tests/utils/utils_primary_rbac_test.yaml +++ b/library/common-test/tests/utils/utils_primary_rbac_test.yaml @@ -6,7 +6,7 @@ tests: - it: should pass with default values asserts: - hasDocuments: - count: 2 + count: 3 - it: should fail with more than 1 primary rbac set: @@ -45,7 +45,7 @@ tests: subjects: *subjects asserts: - hasDocuments: - count: 4 + count: 5 - isKind: of: Role - equal: @@ -63,7 +63,7 @@ tests: subjects: *subjects asserts: - hasDocuments: - count: 4 + count: 5 - isKind: of: RoleBinding - equal: @@ -82,7 +82,7 @@ tests: subjects: *subjects asserts: - hasDocuments: - count: 4 + count: 5 - isKind: of: ClusterRole - equal: @@ -101,7 +101,7 @@ tests: subjects: *subjects asserts: - hasDocuments: - count: 4 + count: 5 - isKind: of: ClusterRoleBinding - equal: @@ -124,7 +124,7 @@ tests: subjects: *subjects asserts: - hasDocuments: - count: 6 + count: 7 - isKind: of: Role - equal: @@ -147,7 +147,7 @@ tests: subjects: *subjects asserts: - hasDocuments: - count: 6 + count: 7 - isKind: of: Role - equal: @@ -170,7 +170,7 @@ tests: subjects: *subjects asserts: - hasDocuments: - count: 6 + count: 7 - isKind: of: RoleBinding - equal: @@ -193,7 +193,7 @@ tests: subjects: *subjects asserts: - hasDocuments: - count: 6 + count: 7 - isKind: of: RoleBinding - equal: @@ -217,7 +217,7 @@ tests: subjects: *subjects asserts: - hasDocuments: - count: 6 + count: 7 - isKind: of: ClusterRole - equal: @@ -241,7 +241,7 @@ tests: subjects: *subjects asserts: - hasDocuments: - count: 6 + count: 7 - isKind: of: ClusterRole - equal: @@ -265,7 +265,7 @@ tests: subjects: *subjects asserts: - hasDocuments: - count: 6 + count: 7 - isKind: of: ClusterRoleBinding - equal: @@ -289,7 +289,7 @@ tests: subjects: *subjects asserts: - hasDocuments: - count: 6 + count: 7 - isKind: of: ClusterRoleBinding - equal: @@ -312,7 +312,7 @@ tests: subjects: *subjects asserts: - hasDocuments: - count: 6 + count: 7 - isKind: of: Role - equal: @@ -335,7 +335,7 @@ tests: subjects: *subjects asserts: - hasDocuments: - count: 6 + count: 7 - isKind: of: Role - equal: @@ -358,7 +358,7 @@ tests: subjects: *subjects asserts: - hasDocuments: - count: 6 + count: 7 - isKind: of: RoleBinding - equal: @@ -381,7 +381,7 @@ tests: subjects: *subjects asserts: - hasDocuments: - count: 6 + count: 7 - isKind: of: RoleBinding - equal: @@ -405,7 +405,7 @@ tests: subjects: *subjects asserts: - hasDocuments: - count: 6 + count: 7 - isKind: of: ClusterRole - equal: @@ -429,7 +429,7 @@ tests: subjects: *subjects asserts: - hasDocuments: - count: 6 + count: 7 - isKind: of: ClusterRole - equal: @@ -453,7 +453,7 @@ tests: subjects: *subjects asserts: - hasDocuments: - count: 6 + count: 7 - isKind: of: ClusterRoleBinding - equal: @@ -477,7 +477,7 @@ tests: subjects: *subjects asserts: - hasDocuments: - count: 6 + count: 7 - isKind: of: ClusterRoleBinding - equal: diff --git a/library/common-test/tests/utils/utils_primary_serviceAccount_test.yaml b/library/common-test/tests/utils/utils_primary_serviceAccount_test.yaml index f40b5e6f..0a653960 100644 --- a/library/common-test/tests/utils/utils_primary_serviceAccount_test.yaml +++ b/library/common-test/tests/utils/utils_primary_serviceAccount_test.yaml @@ -6,7 +6,7 @@ tests: - it: should pass with default values asserts: - hasDocuments: - count: 2 + count: 3 - it: should fail with more than 1 primary serviceAccounts set: @@ -30,7 +30,7 @@ tests: primary: false asserts: - hasDocuments: - count: 3 + count: 4 - isKind: of: ServiceAccount - equal: @@ -49,7 +49,7 @@ tests: primary: false asserts: - hasDocuments: - count: 4 + count: 5 - isKind: of: ServiceAccount - equal: @@ -68,7 +68,7 @@ tests: primary: false asserts: - hasDocuments: - count: 4 + count: 5 - isKind: of: ServiceAccount - equal: @@ -87,7 +87,7 @@ tests: primary: true asserts: - hasDocuments: - count: 4 + count: 5 - isKind: of: ServiceAccount - equal: @@ -106,7 +106,7 @@ tests: primary: true asserts: - hasDocuments: - count: 4 + count: 5 - isKind: of: ServiceAccount - equal: diff --git a/library/common-test/tests/utils/utils_primary_service_test.yaml b/library/common-test/tests/utils/utils_primary_service_test.yaml index c4d5cb2d..e126310e 100644 --- a/library/common-test/tests/utils/utils_primary_service_test.yaml +++ b/library/common-test/tests/utils/utils_primary_service_test.yaml @@ -7,7 +7,7 @@ tests: documentIndex: &deploymentDoc 0 asserts: - hasDocuments: - count: 2 + count: 3 - isKind: of: Deployment - equal: diff --git a/library/common/1.0.0/templates/spawner/_portal.tpl b/library/common/1.0.0/templates/spawner/_portal.tpl index 63f85d36..ef396355 100644 --- a/library/common/1.0.0/templates/spawner/_portal.tpl +++ b/library/common/1.0.0/templates/spawner/_portal.tpl @@ -2,6 +2,7 @@ {{- if .Values.portal -}} {{- if .Values.portal.enabled -}} {{- include "ix.v1.common.class.portal" (dict "root" $) -}} + {{/* TODO: Unittests */}} {{- end -}} {{- end -}} {{- end -}}