diff --git a/docs/stack_crd.yaml b/docs/stack_crd.yaml index 249c1e42..359f0759 100644 --- a/docs/stack_crd.yaml +++ b/docs/stack_crd.yaml @@ -6389,7 +6389,6 @@ spec: type: object required: - spec - - status type: object version: v1 versions: diff --git a/docs/stackset_crd.yaml b/docs/stackset_crd.yaml index d9ba9e94..90c41a46 100644 --- a/docs/stackset_crd.yaml +++ b/docs/stackset_crd.yaml @@ -7020,7 +7020,6 @@ spec: type: object required: - spec - - status type: object version: v1 versions: diff --git a/pkg/apis/zalando.org/v1/types.go b/pkg/apis/zalando.org/v1/types.go index be8d0423..2776b11d 100644 --- a/pkg/apis/zalando.org/v1/types.go +++ b/pkg/apis/zalando.org/v1/types.go @@ -24,7 +24,8 @@ type StackSet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - Spec StackSetSpec `json:"spec"` + Spec StackSetSpec `json:"spec"` + // +optional Status StackSetStatus `json:"status"` } @@ -234,7 +235,8 @@ type Stack struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - Spec StackSpec `json:"spec"` + Spec StackSpec `json:"spec"` + // +optional Status StackStatus `json:"status"` }