Skip to content

Commit

Permalink
HumioBootstrapToken onetime pod should use affinity rules
Browse files Browse the repository at this point in the history
  • Loading branch information
SaaldjorMike committed Nov 18, 2024
1 parent 44e971e commit 011c8af
Show file tree
Hide file tree
Showing 6 changed files with 1,801 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api/v1alpha1/humiobootstraptoken_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ type HumioBootstrapTokenSpec struct {
// ImagePullSecrets defines the imagepullsecrets for the bootstrap image onetime pod. These secrets are not created by the operator. This will default to the imagePullSecrets
// that are used by either the HumioCluster resource or the first NodePool resource if ManagedClusterName is set on the HumioBootstrapTokenSpec
ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets,omitempty"`
// Affinity defines the affinity for the bootstrap onetime pod. This will default to the affinity of the first
// non-empty node pool if ManagedClusterName is set on the HumioBootstrapTokenSpec
Affinity *corev1.Affinity `json:"affinity,omitempty"`
// Resources is the kubernetes resource limits for the bootstrap onetime pod
Resources *corev1.ResourceRequirements `json:"resources,omitempty"`
// TokenSecret is the secret reference that contains the token to use for this HumioBootstrapToken. This is used if one wants to use an existing
Expand Down
5 changes: 5 additions & 0 deletions api/v1alpha1/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 011c8af

Please sign in to comment.