Skip to content

Commit c8d6c0c

Browse files
committed
fix(fw): crds for status and tests
1 parent 5effb78 commit c8d6c0c

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

api/v1alpha1/metalstackfirewalldeployment_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ type MetalStackFirewallDeployment struct {
7070
metav1.ObjectMeta `json:"metadata,omitempty"`
7171

7272
Spec MetalStackFirewallDeploymentSpec `json:"spec,omitzero"`
73-
Status MetalStackFirewallDeploymentStatus `json:"status,omitzero"`
73+
Status MetalStackFirewallDeploymentStatus `json:"status,omitempty"`
7474
}
7575

7676
// +kubebuilder:object:root=true

config/crd/bases/infrastructure.cluster.x-k8s.io_metalstackfirewalldeployments.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,6 @@ spec:
156156
type: object
157157
required:
158158
- spec
159-
- status
160159
type: object
161160
served: true
162161
storage: true

test/e2e/frmwrk/shared_cluster.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ type E2ECluster struct {
6161
type E2EClusterRefs struct {
6262
Namespace *corev1.Namespace
6363
NodeNetwork *metalmodels.V1NetworkResponse
64-
Firewall *metalmodels.V1FirewallResponse
6564
ControlPlaneIP *metalmodels.V1IPResponse
6665

6766
Workload framework.ClusterProxy
@@ -214,7 +213,6 @@ func (e2e *E2ECluster) GenerateAndApplyClusterTemplate(ctx context.Context) {
214213

215214
Expect(e2e.Refs.Namespace).NotTo(BeNil(), "namespace not created yet")
216215
Expect(e2e.Refs.NodeNetwork).NotTo(BeNil(), "node network not created yet")
217-
Expect(e2e.Refs.Firewall).NotTo(BeNil(), "firewall not created yet")
218216

219217
workloadTempl := clusterctl.ConfigCluster(ctx, clusterctl.ConfigClusterInput{
220218
Namespace: e2e.NamespaceName,

0 commit comments

Comments
 (0)