Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions deploy/crds/enterprise.splunk.com_clustermasters_crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ spec:
spec:
description: ClusterMasterSpec defines the desired state of ClusterMaster
properties:
Mock:
description: Mock to differentiate between UTs and actual reconcile
type: boolean
affinity:
description: Kubernetes Affinity rules that control how pods are assigned
to particular nodes.
Expand Down
3 changes: 3 additions & 0 deletions deploy/crds/enterprise.splunk.com_indexerclusters_crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ spec:
description: IndexerClusterSpec defines the desired state of a Splunk Enterprise
indexer cluster
properties:
Mock:
description: Mock to differentiate between UTs and actual reconcile
type: boolean
affinity:
description: Kubernetes Affinity rules that control how pods are assigned
to particular nodes.
Expand Down
3 changes: 3 additions & 0 deletions deploy/crds/enterprise.splunk.com_licensemasters_crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ spec:
description: LicenseMasterSpec defines the desired state of a Splunk Enterprise
license master.
properties:
Mock:
description: Mock to differentiate between UTs and actual reconcile
type: boolean
affinity:
description: Kubernetes Affinity rules that control how pods are assigned
to particular nodes.
Expand Down
3 changes: 3 additions & 0 deletions deploy/crds/enterprise.splunk.com_searchheadclusters_crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ spec:
description: SearchHeadClusterSpec defines the desired state of a Splunk
Enterprise search head cluster
properties:
Mock:
description: Mock to differentiate between UTs and actual reconcile
type: boolean
affinity:
description: Kubernetes Affinity rules that control how pods are assigned
to particular nodes.
Expand Down
3 changes: 3 additions & 0 deletions deploy/crds/enterprise.splunk.com_standalones_crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ spec:
description: StandaloneSpec defines the desired state of a Splunk Enterprise
standalone instances.
properties:
Mock:
description: Mock to differentiate between UTs and actual reconcile
type: boolean
affinity:
description: Kubernetes Affinity rules that control how pods are assigned
to particular nodes.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ spec:
spec:
description: ClusterMasterSpec defines the desired state of ClusterMaster
properties:
Mock:
description: Mock to differentiate between UTs and actual reconcile
type: boolean
affinity:
description: Kubernetes Affinity rules that control how pods are assigned
to particular nodes.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ spec:
description: IndexerClusterSpec defines the desired state of a Splunk Enterprise
indexer cluster
properties:
Mock:
description: Mock to differentiate between UTs and actual reconcile
type: boolean
affinity:
description: Kubernetes Affinity rules that control how pods are assigned
to particular nodes.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ spec:
description: LicenseMasterSpec defines the desired state of a Splunk Enterprise
license master.
properties:
Mock:
description: Mock to differentiate between UTs and actual reconcile
type: boolean
affinity:
description: Kubernetes Affinity rules that control how pods are assigned
to particular nodes.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ spec:
description: SearchHeadClusterSpec defines the desired state of a Splunk
Enterprise search head cluster
properties:
Mock:
description: Mock to differentiate between UTs and actual reconcile
type: boolean
affinity:
description: Kubernetes Affinity rules that control how pods are assigned
to particular nodes.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ spec:
description: StandaloneSpec defines the desired state of a Splunk Enterprise
standalone instances.
properties:
Mock:
description: Mock to differentiate between UTs and actual reconcile
type: boolean
affinity:
description: Kubernetes Affinity rules that control how pods are assigned
to particular nodes.
Expand Down
3 changes: 3 additions & 0 deletions pkg/apis/enterprise/v1alpha3/common_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ type CommonSplunkSpec struct {

// ClusterMasterRef refers to a Splunk Enterprise indexer cluster managed by the operator within Kubernetes
ClusterMasterRef corev1.ObjectReference `json:"clusterMasterRef"`

// Mock to differentiate between UTs and actual reconcile
Mock bool `json:"Mock"`
}

// SmartStoreSpec defines Splunk indexes and remote storage volume configuration
Expand Down
Loading