Skip to content
Open
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
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ RUN if grep -q 'Ubuntu' /etc/os-release; then \
LABEL name="splunk" \
maintainer="support@splunk.com" \
vendor="splunk" \
version="3.0.0" \
version="3.1.0" \
release="1" \
summary="Simplify the Deployment & Management of Splunk Products on Kubernetes" \
description="The Splunk Operator for Kubernetes (SOK) makes it easy for Splunk Administrators to deploy and operate Enterprise deployments in a Kubernetes infrastructure. Packaged as a container, it uses the operator pattern to manage Splunk-specific custom resources, following best practices to manage all the underlying Kubernetes objects for you."
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ${ENVIRONMENT}:
# To re-generate a bundle for another specific version without changing the standard setup, you can:
# - use the VERSION as arg of the bundle target (e.g make bundle VERSION=0.0.2)
# - use environment variables to overwrite this value (e.g export VERSION=0.0.2)
VERSION ?= 3.0.0
VERSION ?= 3.1.0

# SPLUNK_ENTERPRISE_IMAGE defines the splunk docker tag that is used as default image.
SPLUNK_ENTERPRISE_IMAGE ?= "docker.io/splunk/splunk"
Expand Down
127 changes: 75 additions & 52 deletions bundle/manifests/enterprise.splunk.com_clustermanagers.yaml

Large diffs are not rendered by default.

123 changes: 73 additions & 50 deletions bundle/manifests/enterprise.splunk.com_clustermasters.yaml

Large diffs are not rendered by default.

324 changes: 232 additions & 92 deletions bundle/manifests/enterprise.splunk.com_indexerclusters.yaml

Large diffs are not rendered by default.

4,685 changes: 4,685 additions & 0 deletions bundle/manifests/enterprise.splunk.com_ingestorclusters.yaml

Large diffs are not rendered by default.

127 changes: 75 additions & 52 deletions bundle/manifests/enterprise.splunk.com_licensemanagers.yaml

Large diffs are not rendered by default.

123 changes: 73 additions & 50 deletions bundle/manifests/enterprise.splunk.com_licensemasters.yaml

Large diffs are not rendered by default.

237 changes: 137 additions & 100 deletions bundle/manifests/enterprise.splunk.com_monitoringconsoles.yaml

Large diffs are not rendered by default.

122 changes: 122 additions & 0 deletions bundle/manifests/enterprise.splunk.com_objectstorages.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.18.0
creationTimestamp: null
labels:
name: splunk-operator
name: objectstorages.enterprise.splunk.com
spec:
group: enterprise.splunk.com
names:
kind: ObjectStorage
listKind: ObjectStorageList
plural: objectstorages
shortNames:
- os
singular: objectstorage
scope: Namespaced
versions:
- additionalPrinterColumns:
- description: Status of object storage
jsonPath: .status.phase
name: Phase
type: string
- description: Age of object storage resource
jsonPath: .metadata.creationTimestamp
name: Age
type: date
- description: Auxillary message describing CR status
jsonPath: .status.message
name: Message
type: string
name: v4
schema:
openAPIV3Schema:
description: ObjectStorage is the Schema for the objectstorages API
properties:
apiVersion:
description: |-
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
type: string
kind:
description: |-
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
type: string
metadata:
type: object
spec:
description: ObjectStorageSpec defines the desired state of ObjectStorage
properties:
provider:
description: Provider of queue resources
enum:
- s3
type: string
s3:
description: s3 specific inputs
properties:
endpoint:
description: S3-compatible Service endpoint
pattern: ^https?://[^\s/$.?#].[^\s]*$
type: string
path:
description: S3 bucket path
pattern: ^(?:s3://)?[a-z0-9.-]{3,63}(?:/[^\s]+)?$
type: string
required:
- path
type: object
required:
- provider
- s3
type: object
x-kubernetes-validations:
- message: provider is immutable once created
rule: self.provider == oldSelf.provider
- message: s3 is immutable once created
rule: self.s3 == oldSelf.s3
- message: s3 must be provided when provider is s3
rule: self.provider != 's3' || has(self.s3)
status:
description: ObjectStorageStatus defines the observed state of ObjectStorage.
properties:
message:
description: Auxillary message describing CR status
type: string
phase:
description: Phase of the object storage
enum:
- Pending
- Ready
- Updating
- ScalingUp
- ScalingDown
- Terminating
- Error
type: string
resourceRevMap:
additionalProperties:
type: string
description: Resource revision tracker
type: object
type: object
type: object
served: true
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ""
plural: ""
conditions: null
storedVersions: null
171 changes: 171 additions & 0 deletions bundle/manifests/enterprise.splunk.com_queues.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,171 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.18.0
creationTimestamp: null
labels:
name: splunk-operator
name: queues.enterprise.splunk.com
spec:
group: enterprise.splunk.com
names:
kind: Queue
listKind: QueueList
plural: queues
shortNames:
- queue
singular: queue
scope: Namespaced
versions:
- additionalPrinterColumns:
- description: Status of queue
jsonPath: .status.phase
name: Phase
type: string
- description: Age of queue resource
jsonPath: .metadata.creationTimestamp
name: Age
type: date
- description: Auxillary message describing CR status
jsonPath: .status.message
name: Message
type: string
name: v4
schema:
openAPIV3Schema:
description: Queue is the Schema for the queues API
properties:
apiVersion:
description: |-
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
type: string
kind:
description: |-
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
type: string
metadata:
type: object
spec:
description: QueueSpec defines the desired state of Queue
properties:
provider:
description: Provider of queue resources
enum:
- sqs
- sqs_cp
type: string
sqs:
description: sqs specific inputs
properties:
authRegion:
description: Auth Region of the resources
pattern: ^(?:us|ap|eu|me|af|sa|ca|cn|il)(?:-[a-z]+){1,3}-\d$
type: string
dlq:
description: Name of the dead letter queue resource
minLength: 1
type: string
endpoint:
description: Amazon SQS Service endpoint
pattern: ^https?://[^\s/$.?#].[^\s]*$
type: string
name:
description: Name of the queue
minLength: 1
type: string
volumes:
description: List of remote storage volumes
items:
description: VolumeSpec defines remote volume config
properties:
endpoint:
description: Remote volume URI
type: string
name:
description: Remote volume name
type: string
path:
description: Remote volume path
type: string
provider:
description: 'App Package Remote Store provider. Supported
values: aws, minio, azure, gcp.'
type: string
region:
description: Region of the remote storage volume where apps
reside. Used for aws, if provided. Not used for minio
and azure.
type: string
secretRef:
description: Secret object name
type: string
storageType:
description: 'Remote Storage type. Supported values: s3,
blob, gcs. s3 works with aws or minio providers, whereas
blob works with azure provider, gcs works for gcp.'
type: string
type: object
type: array
required:
- dlq
- name
type: object
required:
- provider
- sqs
type: object
x-kubernetes-validations:
- message: provider is immutable once created
rule: self.provider == oldSelf.provider
- message: sqs.name is immutable once created
rule: self.sqs.name == oldSelf.sqs.name
- message: sqs.authRegion is immutable once created
rule: self.sqs.authRegion == oldSelf.sqs.authRegion
- message: sqs.dlq is immutable once created
rule: self.sqs.dlq == oldSelf.sqs.dlq
- message: sqs.endpoint is immutable once created
rule: self.sqs.endpoint == oldSelf.sqs.endpoint
- message: sqs must be provided when provider is sqs or sqs_cp
rule: (self.provider != 'sqs' && self.provider != 'sqs_cp') || has(self.sqs)
status:
description: QueueStatus defines the observed state of Queue
properties:
message:
description: Auxillary message describing CR status
type: string
phase:
description: Phase of the queue
enum:
- Pending
- Ready
- Updating
- ScalingUp
- ScalingDown
- Terminating
- Error
type: string
resourceRevMap:
additionalProperties:
type: string
description: Resource revision tracker
type: object
type: object
type: object
served: true
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ""
plural: ""
conditions: null
storedVersions: null
Loading
Loading