@@ -129,27 +129,31 @@ 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" ,
151
155
testPlatform : platformsMap [string (configv1 .AzurePlatformType )],
152
- expectedResourceCount : 9 ,
156
+ expectedResourceCount : 11 ,
153
157
expectedResourcesKindName : []string {
154
158
"Deployment/azure-cloud-controller-manager" ,
155
159
"DaemonSet/azure-cloud-node-manager" ,
@@ -159,12 +163,14 @@ func TestGetResources(t *testing.T) {
159
163
"ClusterRoleBinding/cloud-controller-manager:azure-cloud-controller-manager" ,
160
164
"ValidatingAdmissionPolicy/openshift-cloud-controller-manager-cloud-provider-azure-node-admission" ,
161
165
"ValidatingAdmissionPolicyBinding/openshift-cloud-controller-manager-cloud-provider-azure-node-admission" ,
166
+ "ValidatingAdmissionPolicyBinding/azure-load-balancer-tcp-idle-timeout-validation-annotation-binding" ,
167
+ "ValidatingAdmissionPolicy/azure-load-balancer-tcp-idle-timeout-annotation-validation-policy" ,
162
168
"PodDisruptionBudget/azure-cloud-controller-manager" ,
163
169
},
164
170
}, {
165
171
name : "Azure resources returned as expected with single node cluster" ,
166
172
testPlatform : platformsMap [string (configv1 .AzurePlatformType )],
167
- expectedResourceCount : 8 ,
173
+ expectedResourceCount : 10 ,
168
174
singleReplica : true ,
169
175
expectedResourcesKindName : []string {
170
176
"Deployment/azure-cloud-controller-manager" ,
@@ -175,6 +181,8 @@ func TestGetResources(t *testing.T) {
175
181
"ClusterRoleBinding/cloud-controller-manager:azure-cloud-controller-manager" ,
176
182
"ValidatingAdmissionPolicy/openshift-cloud-controller-manager-cloud-provider-azure-node-admission" ,
177
183
"ValidatingAdmissionPolicyBinding/openshift-cloud-controller-manager-cloud-provider-azure-node-admission" ,
184
+ "ValidatingAdmissionPolicyBinding/azure-load-balancer-tcp-idle-timeout-validation-annotation-binding" ,
185
+ "ValidatingAdmissionPolicy/azure-load-balancer-tcp-idle-timeout-annotation-validation-policy" ,
178
186
},
179
187
}, {
180
188
name : "Azure Stack resources returned as expected" ,
0 commit comments