Skip to content

Commit

Permalink
fix: make conditions in the status as optional
Browse files Browse the repository at this point in the history
  • Loading branch information
waveywaves committed Jun 17, 2023
1 parent a2d5701 commit cd555ff
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion api/v1alpha1/uffizzicluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ type UffizziClusterSpec struct {

// UffizziClusterStatus defines the observed state of UffizziCluster
type UffizziClusterStatus struct {
Conditions []metav1.Condition `json:"conditions"`
Conditions []metav1.Condition `json:"conditions,omitempty"`
HelmReleaseRef *string `json:"helmReleaseRef,omitempty"`
KubeConfig VClusterKubeConfig `json:"kubeConfig,omitempty"`
Host *string `json:"host,omitempty"`
Expand Down
2 changes: 0 additions & 2 deletions config/crd/bases/uffizzi.com_uffizziclusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,6 @@ spec:
- name
type: object
type: object
required:
- conditions
type: object
type: object
served: true
Expand Down

0 comments on commit cd555ff

Please sign in to comment.