Skip to content

Commit

Permalink
Merge pull request #677 from fluxcd/deprecate-v1beta1
Browse files Browse the repository at this point in the history
Deprecate v1beta1 API
  • Loading branch information
darkowlzz authored May 6, 2024
2 parents 8743ead + 785b5f7 commit ec6d687
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions api/v1beta1/imageupdateautomation_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ func SetImageUpdateAutomationReadiness(auto *ImageUpdateAutomation, status metav

//+kubebuilder:object:root=true
//+kubebuilder:subresource:status
//+kubebuilder:deprecatedversion:warning="v1beta1 ImageUpdateAutomation is deprecated, upgrade to v1beta2"
//+kubebuilder:printcolumn:name="Last run",type=string,JSONPath=`.status.lastAutomationRunTime`

// ImageUpdateAutomation is the Schema for the imageupdateautomations API
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ spec:
- jsonPath: .status.lastAutomationRunTime
name: Last run
type: string
deprecated: true
deprecationWarning: v1beta1 ImageUpdateAutomation is deprecated, upgrade to v1beta2
name: v1beta1
schema:
openAPIV3Schema:
Expand Down

0 comments on commit ec6d687

Please sign in to comment.