Skip to content
This repository was archived by the owner on Oct 14, 2020. It is now read-only.

Commit 0cd42c5

Browse files
committed
Fix image printercolumn for ScanType CRD
1 parent 0ca30a4 commit 0cd42c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

operator/apis/execution/v1/scantype_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ type ScanTypeStatus struct {
5151
}
5252

5353
// +kubebuilder:object:root=true
54-
// +kubebuilder:printcolumn:name="Image",type=string,JSONPath=`.spec.template.spec.containers[0].image`,description="Scanner Container Image"
54+
// +kubebuilder:printcolumn:name="Image",type=string,JSONPath=`.spec.jobTemplate.spec.template.spec.containers[0].image`,description="Scanner Container Image"
5555

5656
// ScanType is the Schema for the scantypes API
5757
type ScanType struct {

0 commit comments

Comments
 (0)