Skip to content

Commit

Permalink
Merge pull request #279 from Jamstah/catalog-source-affinity
Browse files Browse the repository at this point in the history
joelanford authored May 4, 2023
2 parents 047ab0b + 45ebd8b commit ce75af3
Showing 4 changed files with 471 additions and 1 deletion.
461 changes: 461 additions & 0 deletions crds/operators.coreos.com_catalogsources.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion crds/zz_defs.go

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions pkg/operators/v1alpha1/catalogsource_types.go
Original file line number Diff line number Diff line change
@@ -114,6 +114,10 @@ type GrpcPodConfig struct {
// +optional
Tolerations []corev1.Toleration `json:"tolerations,omitempty"`

// Affinity is the catalog source's pod's affinity.
// +optional
Affinity *corev1.Affinity `json:"affinity,omitempty"`

// If specified, indicates the pod's priority.
// If not specified, the pod priority will be default or zero if there is no
// default.
5 changes: 5 additions & 0 deletions pkg/operators/v1alpha1/zz_generated.deepcopy.go

0 comments on commit ce75af3

Please sign in to comment.