Skip to content

Commit

Permalink
spec/status experiments
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasOetzel committed Apr 26, 2024
1 parent b733133 commit b410d8c
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
4 changes: 2 additions & 2 deletions api/v1alpha1/account_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ type Account struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`

Spec AccountSpec `json:"spec,omitempty"`
Status AccountStatus `json:"status,omitempty"`
Spec *AccountSpec `json:"spec,omitempty"`
Status *AccountStatus `json:"status,omitempty"`
}

//+kubebuilder:object:root=true
Expand Down
12 changes: 10 additions & 2 deletions api/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.22.0
require (
github.com/onsi/ginkgo/v2 v2.14.0
github.com/onsi/gomega v1.30.0
github.com/openmfp/golang-commons v0.21.1-0.20240426065625-dc65fc689a4f
github.com/openmfp/golang-commons v0.21.1-0.20240426080029-df31069123f4
github.com/rs/zerolog v1.32.0
github.com/spf13/cobra v1.7.0
github.com/stretchr/testify v1.9.0
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ github.com/openmfp/golang-commons v0.21.0 h1:WOyV4jxNZj301XarzTncuYvAcgOorUD/MUx
github.com/openmfp/golang-commons v0.21.0/go.mod h1:AE1DH+O57gAIKOKD6waJPAxXRo47nbDQp4V08mJ+Ux8=
github.com/openmfp/golang-commons v0.21.1-0.20240426065625-dc65fc689a4f h1:25HhHm8s49Wsea5DKiVeC5mWQsTn/R9AHf9x7pMBJ+M=
github.com/openmfp/golang-commons v0.21.1-0.20240426065625-dc65fc689a4f/go.mod h1:AE1DH+O57gAIKOKD6waJPAxXRo47nbDQp4V08mJ+Ux8=
github.com/openmfp/golang-commons v0.21.1-0.20240426080029-df31069123f4 h1:7lCPHrvlC3mzQJlgDCmBbK+aiLvz8uiv4rHajoNWU+I=
github.com/openmfp/golang-commons v0.21.1-0.20240426080029-df31069123f4/go.mod h1:AE1DH+O57gAIKOKD6waJPAxXRo47nbDQp4V08mJ+Ux8=
github.com/pingcap/errors v0.11.4 h1:lFuQV/oaUMGcD2tqt+01ROSmJs75VG1ToEOkZIZ4nE4=
github.com/pingcap/errors v0.11.4/go.mod h1:Oi8TUi2kEtXXLMJk9l1cGmz20kV3TaQ0usTwv5KuLY8=
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
Expand Down

0 comments on commit b410d8c

Please sign in to comment.