fix: print column
Signed-off-by: Ivan Josipovic <9521987+IvanJosipovic@users.noreply.github.com>
This commit is contained in:
parent
0f3c081b1c
commit
e947a38bee
|
@ -151,7 +151,7 @@ func (in ImageRepository) GetTimeout() time.Duration {
|
||||||
// +kubebuilder:object:root=true
|
// +kubebuilder:object:root=true
|
||||||
// +kubebuilder:subresource:status
|
// +kubebuilder:subresource:status
|
||||||
// +kubebuilder:printcolumn:name="Last scan",type=string,JSONPath=`.status.lastScanResult.scanTime`
|
// +kubebuilder:printcolumn:name="Last scan",type=string,JSONPath=`.status.lastScanResult.scanTime`
|
||||||
// +kubebuilder:printcolumn:name="Tags",type=string,JSONPath=`.status.lastScanResult.tagCount`
|
// +kubebuilder:printcolumn:name="Tags",type=integer,JSONPath=`.status.lastScanResult.tagCount`
|
||||||
|
|
||||||
// ImageRepository is the Schema for the imagerepositories API
|
// ImageRepository is the Schema for the imagerepositories API
|
||||||
type ImageRepository struct {
|
type ImageRepository struct {
|
||||||
|
|
Loading…
Reference in New Issue