Skip to content

Commit

Permalink
Merge pull request #895 from humio/mike/nodecount_default
Browse files Browse the repository at this point in the history
Add info on default value nodeCount
  • Loading branch information
SaaldjorMike authored Dec 19, 2024
2 parents 7b9f212 + b28161f commit d225d9c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions api/v1alpha1/humiocluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ type HumioNodeSpec struct {
Image string `json:"image,omitempty"`

// NodeCount is the desired number of humio cluster nodes
//+kubebuilder:default=0
NodeCount int `json:"nodeCount,omitempty"`

// DataVolumePersistentVolumeClaimSpecTemplate is the PersistentVolumeClaimSpec that will be used with for the humio data volume. This conflicts with DataVolumeSource.
Expand Down
2 changes: 2 additions & 0 deletions charts/humio-operator/crds/core.humio.com_humioclusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5714,6 +5714,7 @@ spec:
x-kubernetes-map-type: atomic
type: object
nodeCount:
default: 0
description: NodeCount is the desired number of humio cluster nodes
type: integer
nodePoolFeatures:
Expand Down Expand Up @@ -11211,6 +11212,7 @@ spec:
in the humio pod.
type: string
nodeCount:
default: 0
description: NodeCount is the desired number of humio cluster
nodes
type: integer
Expand Down
2 changes: 2 additions & 0 deletions config/crd/bases/core.humio.com_humioclusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5714,6 +5714,7 @@ spec:
x-kubernetes-map-type: atomic
type: object
nodeCount:
default: 0
description: NodeCount is the desired number of humio cluster nodes
type: integer
nodePoolFeatures:
Expand Down Expand Up @@ -11211,6 +11212,7 @@ spec:
in the humio pod.
type: string
nodeCount:
default: 0
description: NodeCount is the desired number of humio cluster
nodes
type: integer
Expand Down
4 changes: 4 additions & 0 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -4267,6 +4267,8 @@ the Humio pods.<br/>
<td>integer</td>
<td>
NodeCount is the desired number of humio cluster nodes<br/>
<br/>
<i>Default</i>: 0<br/>
</td>
<td>false</td>
</tr><tr>
Expand Down Expand Up @@ -16237,6 +16239,8 @@ the Humio pods.<br/>
<td>integer</td>
<td>
NodeCount is the desired number of humio cluster nodes<br/>
<br/>
<i>Default</i>: 0<br/>
</td>
<td>false</td>
</tr><tr>
Expand Down

0 comments on commit d225d9c

Please sign in to comment.