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 <52233080+akselleirv@users.noreply.github.com>
  • Loading branch information
yroffin and akselleirv authored Sep 17, 2024
1 parent 31b3f3c commit e510ca1
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 e510ca1

Please sign in to comment.