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
2,487 changes: 2,487 additions & 0 deletions deploy/olm-catalog/splunk/0.2.2/enterprise.splunk.com_clustermasters_crd.yaml

Large diffs are not rendered by default.

2,364 changes: 2,364 additions & 0 deletions deploy/olm-catalog/splunk/0.2.2/enterprise.splunk.com_indexerclusters_crd.yaml

Large diffs are not rendered by default.

2,264 changes: 2,264 additions & 0 deletions deploy/olm-catalog/splunk/0.2.2/enterprise.splunk.com_licensemasters_crd.yaml

Large diffs are not rendered by default.

Large diffs are not rendered by default.

996 changes: 996 additions & 0 deletions deploy/olm-catalog/splunk/0.2.2/enterprise.splunk.com_sparks_crd.yaml

Large diffs are not rendered by default.

2,544 changes: 2,544 additions & 0 deletions deploy/olm-catalog/splunk/0.2.2/enterprise.splunk.com_standalones_crd.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,262 @@
apiVersion: operators.coreos.com/v1alpha1
kind: ClusterServiceVersion
metadata:
annotations:
alm-examples: |-
[{
"apiVersion": "enterprise.splunk.com/v1beta1",
"kind": "IndexerCluster",
"metadata": {
"name": "example",
"finalizers": [ "enterprise.splunk.com/delete-pvc" ]
},
"spec": {
"replicas": 1
}
},
{
"apiVersion": "enterprise.splunk.com/v1beta1",
"kind": "LicenseMaster",
"metadata": {
"name": "example",
"finalizers": [ "enterprise.splunk.com/delete-pvc" ]
},
"spec": {}
},
{
"apiVersion": "enterprise.splunk.com/v1beta1",
"kind": "SearchHeadCluster",
"metadata": {
"name": "example",
"finalizers": [ "enterprise.splunk.com/delete-pvc" ]
},
"spec": {
"replicas": 1
}
},
{
"apiVersion": "enterprise.splunk.com/v1beta1",
"kind": "Spark",
"metadata": {
"name": "example"
},
"spec": {
"replicas": 1
}
},
{
"apiVersion": "enterprise.splunk.com/v1beta1",
"kind": "Standalone",
"metadata": {
"name": "example",
"finalizers": [ "enterprise.splunk.com/delete-pvc" ]
},
"spec": {}
}]
capabilities: Basic Install
name: splunk.v0.2.2
namespace: placeholder
spec:
apiservicedefinitions: {}
customresourcedefinitions:
owned:
- description: ClusterMaster is the Schema for the clustermasters API
kind: ClusterMaster
name: clustermasters.enterprise.splunk.com
version: v1beta1
resources:
- kind: StatefulSets
version: apps/v1
- kind: Deployments
version: apps/v1
- kind: Pods
version: v1
- kind: Services
version: v1
- kind: ConfigMaps
version: v1
- kind: Secrets
version: v1
displayName: IndexerCluster
- description: IndexerCluster is the Schema for a Splunk Enterprise indexer cluster
kind: IndexerCluster
name: indexerclusters.enterprise.splunk.com
version: v1beta1
resources:
- kind: StatefulSets
version: apps/v1
- kind: Deployments
version: apps/v1
- kind: Pods
version: v1
- kind: Services
version: v1
- kind: ConfigMaps
version: v1
- kind: Secrets
version: v1
displayName: LicenseMaster
- description: LicenseMaster is the Schema for a Splunk Enterprise license master.
kind: LicenseMaster
name: licensemasters.enterprise.splunk.com
version: v1beta1
resources:
- kind: StatefulSets
version: apps/v1
- kind: Deployments
version: apps/v1
- kind: Pods
version: v1
- kind: Services
version: v1
- kind: ConfigMaps
version: v1
- kind: Secrets
version: v1
displayName: SearchHeadCluster
- description: SearchHeadCluster is the Schema for a Splunk Enterprise search
head cluster
kind: SearchHeadCluster
name: searchheadclusters.enterprise.splunk.com
version: v1beta1
resources:
- kind: StatefulSets
version: apps/v1
- kind: Deployments
version: apps/v1
- kind: Pods
version: v1
- kind: Services
version: v1
- kind: ConfigMaps
version: v1
- kind: Secrets
version: v1
displayName: Spark
- description: Spark is the Schema for a Spark cluster
kind: Spark
name: sparks.enterprise.splunk.com
version: v1beta1
resources:
- kind: StatefulSets
version: apps/v1
- kind: Deployments
version: apps/v1
- kind: Pods
version: v1
- kind: Services
version: v1
- kind: ConfigMaps
version: v1
- kind: Secrets
version: v1
displayName: Standalone
- description: Standalone is the Schema for a Splunk Enterprise standalone instances.
kind: Standalone
name: standalones.enterprise.splunk.com
version: v1beta1
description: Placeholder description
displayName: Splunk
install:
spec:
deployments:
- name: splunk-operator
spec:
replicas: 1
selector:
matchLabels:
name: splunk-operator
strategy: {}
template:
metadata:
labels:
name: splunk-operator
spec:
containers:
- env:
- name: WATCH_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.annotations['olm.targetNamespaces']
- name: POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
- name: OPERATOR_NAME
value: splunk-operator
- name: RELATED_IMAGE_SPLUNK_ENTERPRISE
value: docker.io/splunk/splunk:8.1.2
- name: RELATED_IMAGE_SPLUNK_SPARK
value: docker.io/splunk/spark:0.0.2
image: docker.io/splunk/splunk-operator:0.2.2
imagePullPolicy: IfNotPresent
name: splunk-operator
resources: {}
serviceAccountName: splunk-operator
permissions:
- rules:
- apiGroups:
- ""
resources:
- services
- endpoints
- persistentvolumeclaims
- configmaps
- secrets
- pods
- pods/exec
- serviceaccounts
verbs:
- create
- delete
- deletecollection
- get
- list
- patch
- update
- watch
- apiGroups:
- ""
resources:
- events
verbs:
- get
- list
- watch
- apiGroups:
- apps
resources:
- deployments
- daemonsets
- replicasets
- statefulsets
verbs:
- create
- delete
- deletecollection
- get
- list
- patch
- update
- watch
- apiGroups:
- enterprise.splunk.com
resources:
- '*'
verbs:
- '*'
serviceAccountName: splunk-operator
strategy: deployment
installModes:
- supported: true
type: OwnNamespace
- supported: true
type: SingleNamespace
- supported: false
type: MultiNamespace
- supported: true
type: AllNamespaces
maturity: alpha
provider: {}
replaces: splunk.v0.0.0
version: 0.2.2
2 changes: 1 addition & 1 deletion deploy/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ spec:
- name: OPERATOR_NAME
value: "splunk-operator"
- name: RELATED_IMAGE_SPLUNK_ENTERPRISE
value: "docker.io/splunk/splunk:8.1.1"
value: "docker.io/splunk/splunk:8.1.2"
- name: RELATED_IMAGE_SPLUNK_SPARK
value: "docker.io/splunk/spark:0.0.2"
23 changes: 23 additions & 0 deletions docs/ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# Splunk Operator for Kubernetes Change Log

## 0.2.2 Beta(2021-02-09)
* This release depends upon changes made concurrently in the Splunk Enterprise container images. You should use the splunk/splunk:8.1.2 image with it, or alternatively any release version 8.1.0 or later

* This release updates the CRDs which may require updates to the custom resources being used in existing deployments

* CSPL-526 - Enhanced ingress documentation with guidelines on ingesting data into the K8S cluster using ingress controllers(istio, nginx)

* CSPL-564 - Changed the way licenseMasterRef is configured on the ClusterMaster and IndexerCluster CRDs

* CSPL-609 - Added a shortname stdaln for the Standalone CRD

* CSPL-637 - Updated Splunk port names to conform with Istio ingress controllers convention

* CSPL-660 - Separated storage class specifications for etc and var volumes

* CSPL-663 - Optimize deployment of Splunk apps on SHC using new parameter defaultsUrlApps

* CSPL-694 - Avoid unnecessary pod resets

* CSPL-720 - Added support to configure a custom service account per Splunk Enterprise CRD

* CSPL-721 - Mounted etc and var as emptyDirs volumes on the monitoring console

## 0.2.1 Beta(2020-12-15)
* This release depends upon changes made concurrently in the Splunk Enterprise container images. You must use the latest splunk/splunk:edge nightly image with it, or alternatively any release version 8.1.0 or later

Expand Down
8 changes: 4 additions & 4 deletions docs/Install.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Splunk Operator (as described below), please download a local copy of
the installation YAML and open it in your favorite editor.

```
wget -O splunk-operator.yaml https://github.com/splunk/splunk-operator/releases/download/0.2.1/splunk-operator-install.yaml
wget -O splunk-operator.yaml https://github.com/splunk/splunk-operator/releases/download/0.2.2/splunk-operator-install.yaml
```


Expand All @@ -23,14 +23,14 @@ installed by regular users within their own namespaces. If you are not an
administrator, you can have someone else create these objects for you by running

```
kubectl apply -f https://github.com/splunk/splunk-operator/releases/download/0.2.1/splunk-operator-crds.yaml
kubectl apply -f https://github.com/splunk/splunk-operator/releases/download/0.2.2/splunk-operator-crds.yaml
```

You should then be able download and use the following YAML to install the
operator within your own namespace:

```
wget -O splunk-operator.yaml https://github.com/splunk/splunk-operator/releases/download/0.2.1/splunk-operator-noadmin.yaml
wget -O splunk-operator.yaml https://github.com/splunk/splunk-operator/releases/download/0.2.2/splunk-operator-noadmin.yaml
kubectl config set-context --current --namespace=<NAMESPACE>
kubectl apply -f splunk-operator.yaml
```
Expand All @@ -43,7 +43,7 @@ objects for all the namespaces of your cluster, you can use the alternative
cluster scope installation YAML:

```
wget -O splunk-operator.yaml https://github.com/splunk/splunk-operator/releases/download/0.2.1/splunk-operator-cluster.yaml
wget -O splunk-operator.yaml https://github.com/splunk/splunk-operator/releases/download/0.2.2/splunk-operator-cluster.yaml
```

When running at cluster scope, you will need to bind the
Expand Down
4 changes: 2 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ information.

Most users can install and start the Splunk Operator by just running
```
kubectl apply -f https://github.com/splunk/splunk-operator/releases/download/0.2.1/splunk-operator-install.yaml
kubectl apply -f https://github.com/splunk/splunk-operator/releases/download/0.2.2/splunk-operator-install.yaml
```

Users of Red Hat OpenShift should read the additional
Expand Down Expand Up @@ -120,7 +120,7 @@ kubectl delete searchheadclusters --all
kubectl delete clustermasters --all
kubectl delete indexerclusters --all
kubectl delete spark --all
kubectl delete -f https://github.com/splunk/splunk-operator/releases/download/0.2.1/splunk-operator-install.yaml
kubectl delete -f https://github.com/splunk/splunk-operator/releases/download/0.2.2/splunk-operator-install.yaml
```


Expand Down
2 changes: 1 addition & 1 deletion version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ package version

var (
// Version of splunk-operator
Version = "0.2.1"
Version = "0.2.2"
)