Skip to content

Commit ec6d687

Browse files
authored
Merge pull request #677 from fluxcd/deprecate-v1beta1
Deprecate v1beta1 API
2 parents 8743ead + 785b5f7 commit ec6d687

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

api/v1beta1/imageupdateautomation_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ func SetImageUpdateAutomationReadiness(auto *ImageUpdateAutomation, status metav
135135

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

140141
// ImageUpdateAutomation is the Schema for the imageupdateautomations API

config/crd/bases/image.toolkit.fluxcd.io_imageupdateautomations.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ spec:
1818
- jsonPath: .status.lastAutomationRunTime
1919
name: Last run
2020
type: string
21+
deprecated: true
22+
deprecationWarning: v1beta1 ImageUpdateAutomation is deprecated, upgrade to v1beta2
2123
name: v1beta1
2224
schema:
2325
openAPIV3Schema:

0 commit comments

Comments
 (0)