API optional fields
This commit is contained in:
parent
605e1d2f30
commit
c8c53954d7
@ -79,6 +79,7 @@ type TargetContainer struct {
|
|||||||
Paths []string `json:"paths,omitempty"`
|
Paths []string `json:"paths,omitempty"`
|
||||||
// +optional
|
// +optional
|
||||||
Steps []Step `json:"steps,omitempty"`
|
Steps []Step `json:"steps,omitempty"`
|
||||||
|
// +optional
|
||||||
// +kubebuilder:default:=/formol-shared
|
// +kubebuilder:default:=/formol-shared
|
||||||
SharePath string `json:"sharePath"`
|
SharePath string `json:"sharePath"`
|
||||||
// +optional
|
// +optional
|
||||||
@ -90,6 +91,7 @@ type Target struct {
|
|||||||
TargetKind `json:"targetKind"`
|
TargetKind `json:"targetKind"`
|
||||||
TargetName string `json:"targetName"`
|
TargetName string `json:"targetName"`
|
||||||
Containers []TargetContainer `json:"containers"`
|
Containers []TargetContainer `json:"containers"`
|
||||||
|
// +optional
|
||||||
// +kubebuilder:default:=2
|
// +kubebuilder:default:=2
|
||||||
Retry int `json:"retry"`
|
Retry int `json:"retry"`
|
||||||
// +optional
|
// +optional
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user