Skip to content

Commit

Permalink
Merge pull request GoogleCloudPlatform#2613 from jingyih/update_contr…
Browse files Browse the repository at this point in the history
…ollerbuilder_types_template

tool: remove unnecessary optional annotation in template
  • Loading branch information
google-oss-prow[bot] authored Sep 5, 2024
2 parents 2335426 + 23daaeb commit 8cc82c9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions dev/tools/controllerbuilder/template/apis/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,12 @@ type {{ .Kind }}Status struct {
Conditions []v1alpha1.Condition ` + "`" + `json:"conditions,omitempty"` + "`" + `
// ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource.
// +optional
ObservedGeneration *int64 ` + "`" + `json:"observedGeneration,omitempty"` + "`" + `
// A unique specifier for the {{ .Kind }} resource in GCP.
// +optional
ExternalRef *string ` + "`" + `json:"externalRef,omitempty"` + "`" + `
// ObservedState is the state of the resource as most recently observed in GCP.
// +optional
ObservedState *{{ .Kind }}ObservedState ` + "`" + `json:"observedState,omitempty"` + "`" + `
}
Expand Down

0 comments on commit 8cc82c9

Please sign in to comment.