Skip to content

Commit 5072091

Browse files
committed
Remove the default tag value from the CRD
Signed-off-by: Stefan Prodan <[email protected]>
1 parent ada42ee commit 5072091

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

api/v1beta2/ocirepository_types.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ type OCIRepositoryRef struct {
102102
SemVer string `json:"semver,omitempty"`
103103

104104
// Tag is the image tag to pull, defaults to latest.
105-
// +kubebuilder:default:=latest
106105
// +optional
107106
Tag string `json:"tag,omitempty"`
108107
}

config/crd/bases/source.toolkit.fluxcd.io_ocirepositories.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ spec:
8888
latest within the range, takes precedence over Tag.
8989
type: string
9090
tag:
91-
default: latest
9291
description: Tag is the image tag to pull, defaults to latest.
9392
type: string
9493
type: object

0 commit comments

Comments
 (0)