@@ -129,22 +129,26 @@ func TestGetResources(t *testing.T) {
129
129
}, {
130
130
name : "GCP resources returned as expected" ,
131
131
testPlatform : platformsMap [string (configv1 .GCPPlatformType )],
132
- expectedResourceCount : 4 ,
132
+ expectedResourceCount : 6 ,
133
133
expectedResourcesKindName : []string {
134
134
"Deployment/gcp-cloud-controller-manager" ,
135
135
"PodDisruptionBudget/gcp-cloud-controller-manager" ,
136
136
"ClusterRole/gcp-cloud-controller-manager" ,
137
137
"ClusterRoleBinding/gcp-cloud-controller-manager:cloud-provider" ,
138
+ "ValidatingAdmissionPolicyBinding/network-tier-annotation-binding" ,
139
+ "ValidatingAdmissionPolicy/network-tier-annotation-validation-policy" ,
138
140
},
139
141
}, {
140
142
name : "GCP resources returned as expected with single node cluster" ,
141
143
testPlatform : platformsMap [string (configv1 .GCPPlatformType )],
142
- expectedResourceCount : 3 ,
144
+ expectedResourceCount : 5 ,
143
145
singleReplica : true ,
144
146
expectedResourcesKindName : []string {
145
147
"Deployment/gcp-cloud-controller-manager" ,
146
148
"ClusterRole/gcp-cloud-controller-manager" ,
147
149
"ClusterRoleBinding/gcp-cloud-controller-manager:cloud-provider" ,
150
+ "ValidatingAdmissionPolicyBinding/network-tier-annotation-binding" ,
151
+ "ValidatingAdmissionPolicy/network-tier-annotation-validation-policy" ,
148
152
},
149
153
}, {
150
154
name : "Azure resources returned as expected" ,
0 commit comments