Skip to content

Commit

Permalink
feat(runner-config): 🔥 add validation
Browse files Browse the repository at this point in the history
Co-authored-by: Aksel Skaar Leirvaag <[email protected]>
  • Loading branch information
2 people authored and Yannick Roffin committed Sep 17, 2024
1 parent 9953580 commit 3f2a192
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/v1alpha2/reference_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,10 @@ type RunnerPodSpec struct {
// +optional
Image string `json:"image,omitempty"`

// Runner pod ImagePullPolicy to use other than default
// Runner pod ImagePullPolicy to use. Default is IfNotPresent.
// +optional
// +kubebuilder:validation:Enum=Always;IfNotPresent;Never
ImagePullPolicy string `json:"imagePullPolicy,omitempty"`

// List of sources to populate environment variables in the container.
// The keys defined within a source must be a C_IDENTIFIER. All invalid keys
// will be reported as an event when the container is starting. When a key exists in multiple
Expand Down

0 comments on commit 3f2a192

Please sign in to comment.