Skip to content

Commit b205456

Browse files
arkodgXunzhuo
andauthored
fix: make envoyPatchPolicy status field optional (#1674)
Signed-off-by: Arko Dasgupta <[email protected]> Co-authored-by: Xunzhuo <[email protected]>
1 parent dce300a commit b205456

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

api/v1alpha1/envoypatchpolicy_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ type EnvoyPatchPolicy struct {
2828
Spec EnvoyPatchPolicySpec `json:"spec"`
2929

3030
// Status defines the current status of EnvoyPatchPolicy.
31-
Status EnvoyPatchPolicyStatus `json:"status"`
31+
Status EnvoyPatchPolicyStatus `json:"status,omitempty"`
3232
}
3333

3434
// EnvoyPatchPolicySpec defines the desired state of EnvoyPatchPolicy.

charts/gateway-helm/crds/generated/gateway.envoyproxy.io_envoypatchpolicies.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,6 @@ spec:
218218
type: object
219219
required:
220220
- spec
221-
- status
222221
type: object
223222
served: true
224223
storage: true

0 commit comments

Comments
 (0)