Skip to content

Commit

Permalink
chore(api): add kubebuilder:default annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
pmalek committed May 3, 2024
1 parent 3ecbfed commit 38d5336
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions staging/src/k8s.io/api/core/v1/generated.proto

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

3 changes: 3 additions & 0 deletions staging/src/k8s.io/api/core/v1/types.go
Expand Up @@ -6563,6 +6563,9 @@ type LocalObjectReference struct {
// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
// +optional
// +default=""
// +kubebuilder:default=""
// TODO: Drop `kubebuilder:default` when controller-gen doesn't need it
// https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`
}

Expand Down

0 comments on commit 38d5336

Please sign in to comment.