Skip to content

Commit

Permalink
Add ExtraContainers to WorkPool resource
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchnielsen committed Oct 7, 2024
1 parent 9cbb209 commit ade9ba6
Show file tree
Hide file tree
Showing 5 changed files with 1,370 additions and 4 deletions.
3 changes: 3 additions & 0 deletions api/v1/prefectworkpool_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ type PrefectWorkPoolSpec struct {
// Resources defines the CPU and memory resources for each worker in the Work Pool
Resources corev1.ResourceRequirements `json:"resources,omitempty"`

// ExtraContainers defines additional containers to add to the Prefect Server Deployment
ExtraContainers []corev1.Container `json:"extraContainers,omitempty"`

// A list of environment variables to set on the Prefect Worker
Settings []corev1.EnvVar `json:"settings,omitempty"`

Expand Down
7 changes: 7 additions & 0 deletions api/v1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ade9ba6

Please sign in to comment.