Skip to content

Commit

Permalink
feat: configure extra containers for Deployment
Browse files Browse the repository at this point in the history
Adds a new field to the PrefectServer spec where you can pass a list of
extra containers to the Prefect Server Deployment.

Related to https://linear.app/prefect/document/auth-design-doc-7b1ae89e5382
  • Loading branch information
mitchnielsen committed Oct 7, 2024
1 parent 4fc68e8 commit 9cbb209
Show file tree
Hide file tree
Showing 5 changed files with 1,386 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api/v1/prefectserver_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ type PrefectServerSpec struct {
// Resources defines the CPU and memory resources for each replica of the Prefect Server
Resources corev1.ResourceRequirements `json:"resources,omitempty"`

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

// Ephemeral defines whether the server will be deployed with an ephemeral storage backend
Ephemeral *EphemeralConfiguration `json:"ephemeral,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 9cbb209

Please sign in to comment.