diff --git a/.env b/.env index 305492c98..81e1253f2 100644 --- a/.env +++ b/.env @@ -6,4 +6,4 @@ KUBECTL_VERSION=v1.28.0 AZ_CLI_VERSION=2.30.0 EKSCTL_VERSION=v0.143.0 EKS_CLUSTER_K8_VERSION=1.26 -SPLUNK_ENTERPRISE_RELEASE_IMAGE=docker.io/splunk/splunk:9.0.5 \ No newline at end of file +SPLUNK_ENTERPRISE_RELEASE_IMAGE=docker.io/splunk/splunk:9.1.1 \ No newline at end of file diff --git a/bundle/manifests/splunk-operator.clusterserviceversion.yaml b/bundle/manifests/splunk-operator.clusterserviceversion.yaml index 82c3ada1d..60e390188 100644 --- a/bundle/manifests/splunk-operator.clusterserviceversion.yaml +++ b/bundle/manifests/splunk-operator.clusterserviceversion.yaml @@ -111,7 +111,7 @@ metadata: capabilities: Seamless Upgrades categories: Big Data, Logging & Tracing, Monitoring, Security, AI/Machine Learning containerImage: splunk/splunk-operator@sha256:c4e0d314622699496f675760aad314520d050a66627fdf33e1e21fa28ca85d50 - createdAt: "2023-10-06T19:00:23Z" + createdAt: "2023-10-06T22:35:48Z" description: The Splunk Operator for Kubernetes enables you to quickly and easily deploy Splunk Enterprise on your choice of private or public cloud provider. The Operator simplifies scaling and management of Splunk Enterprise by automating diff --git a/config/default/kustomization.yaml b/config/default/kustomization.yaml index 02c5b7b75..c9f04f6c6 100644 --- a/config/default/kustomization.yaml +++ b/config/default/kustomization.yaml @@ -124,7 +124,7 @@ patches: - name: WATCH_NAMESPACE value: WATCH_NAMESPACE_VALUE - name: RELATED_IMAGE_SPLUNK_ENTERPRISE - value: docker.io/splunk/splunk:9.0.5 + value: docker.io/splunk/splunk:9.1.1 - name: OPERATOR_NAME value: splunk-operator - name: POD_NAME diff --git a/config/manager/kustomization.yaml b/config/manager/kustomization.yaml index a292b2673..1feed3a3b 100644 --- a/config/manager/kustomization.yaml +++ b/config/manager/kustomization.yaml @@ -17,4 +17,4 @@ kind: Kustomization images: - name: controller newName: docker.io/splunk/splunk-operator - newTag: 2.3.0 + newTag: 2.4.0 diff --git a/docs/AppFramework.md b/docs/AppFramework.md index 5b4f4d71c..4a9eaa828 100644 --- a/docs/AppFramework.md +++ b/docs/AppFramework.md @@ -542,7 +542,7 @@ spec: serviceAccountName: splunk-operator containers: - name: splunk-operator - image: "docker.io/splunk/splunk-operator:2.3.0" + image: "docker.io/splunk/splunk-operator:2.4.0" volumeMounts: - mountPath: /opt/splunk/appframework/ name: app-staging diff --git a/docs/ChangeLog.md b/docs/ChangeLog.md index 39aeed0c4..304620000 100644 --- a/docs/ChangeLog.md +++ b/docs/ChangeLog.md @@ -2,8 +2,7 @@ ## 2.4.0 (2023-10-13) -This is the 2.4.0 release. The Splunk Operator for Kubernetes is a supported platform for deploying Splunk Enterprise with the prerequisites and constraints laid out [here](https://github.com/splunk/splunk-operator/blob/main/docs/README.md#prerequisites-for-the-splunk-operator) - +* This is the 2.4.0 release. The Splunk Operator for Kubernetes is a supported platform for deploying Splunk Enterprise with the prerequisites and constraints laid out [here](https://github.com/splunk/splunk-operator/blob/main/docs/README.md#prerequisites-for-the-splunk-operator) * CSPL-2481: fixed splunk operator usage examples @@ -21,10 +20,17 @@ This is the 2.4.0 release. The Splunk Operator for Kubernetes is a supported pla * CSPL-2459: Upgraded operator-sdk to 1.31.0 +* CSPL-2409: Splunk Operator for Kubernetes reorders environment variables + * Git-1223: Fixed an issue in Storage Class for splunk operator helm chart * Git-1151: fixed indexer deletion in upgrade scenario +* Fixed auth proxy service selector labels + +* Host multiple splunk operator helm charts on github.io + + ### Supported Splunk Version >| Splunk Version| >| --- | diff --git a/docs/Install.md b/docs/Install.md index b79248010..072afbed0 100644 --- a/docs/Install.md +++ b/docs/Install.md @@ -7,7 +7,7 @@ If you want to customize the installation of the Splunk Operator, download a copy of the installation YAML locally, and open it in your favorite editor. ``` -wget -O splunk-operator-cluster.yaml https://github.com/splunk/splunk-operator/releases/download/2.3.0/splunk-operator-cluster.yaml +wget -O splunk-operator-cluster.yaml https://github.com/splunk/splunk-operator/releases/download/2.4.0/splunk-operator-cluster.yaml ``` ## Default Installation @@ -17,7 +17,7 @@ Based on the file used Splunk Operator can be installed cluster-wide or namespac By installing `splunk-operator-cluster.yaml` Operator will watch all the namespaces of your cluster for splunk enterprise custom resources ``` -wget -O splunk-operator-cluster.yaml https://github.com/splunk/splunk-operator/releases/download/2.3.0/splunk-operator-cluster.yaml +wget -O splunk-operator-cluster.yaml https://github.com/splunk/splunk-operator/releases/download/2.4.0/splunk-operator-cluster.yaml kubectl apply -f splunk-operator-cluster.yaml ``` @@ -44,10 +44,10 @@ If Splunk Operator is installed clusterwide and user wants to manage multiple na ## Install operator to watch single namespace with restrictive permission -In order to install operator with restrictive permission to watch only single namespace use [splunk-operator-namespace.yaml](https://github.com/splunk/splunk-operator/releases/download/2.3.0/splunk-operator-namespace.yaml). This will create Role and Role-Binding to only watch single namespace. By default operator will be installed in `splunk-operator` namespace, user can edit the file to change the namespace +In order to install operator with restrictive permission to watch only single namespace use [splunk-operator-namespace.yaml](https://github.com/splunk/splunk-operator/releases/download/2.4.0/splunk-operator-namespace.yaml). This will create Role and Role-Binding to only watch single namespace. By default operator will be installed in `splunk-operator` namespace, user can edit the file to change the namespace ``` -wget -O splunk-operator-namespace.yaml https://github.com/splunk/splunk-operator/releases/download/2.3.0/splunk-operator-namespace.yaml +wget -O splunk-operator-namespace.yaml https://github.com/splunk/splunk-operator/releases/download/2.4.0/splunk-operator-namespace.yaml kubectl apply -f splunk-operator-namespace.yaml ``` diff --git a/docs/README.md b/docs/README.md index a3d9bf692..019c1d02f 100644 --- a/docs/README.md +++ b/docs/README.md @@ -50,7 +50,11 @@ The Splunk Operator should work with any [CNCF certified distribution](https://w ### Splunk Enterprise Compatibility -Each Splunk Operator release has specific Splunk Enterprise compatibility requirements. Before installing or upgrading the Splunk Operator, review the [Change Log](ChangeLog.md) to verify version compatibility with Splunk Enterprise releases. + +Each Splunk Operator release has specific Splunk Enterprise compatibility requirements. Splunk Operator can support more than one version of Splunk Enterprise release. Before installing or upgrading the Splunk Operator, review the [release notes](https://github.com/splunk/splunk-operator/releases) to verify version compatibility with Splunk Enterprise releases. + +Each release of splunk-operator is preset to latest release mentioned in [release notes](https://github.com/splunk/splunk-operator/releases), if user wants to change that to any release version specified in [release notes](https://github.com/splunk/splunk-operator/releases), they can simply change envionment variable `RELATED_IMAGE_SPLUNK_ENTERPRISE` in splunk-operator deployment manifest file. + ### Splunk Apps Installation @@ -109,12 +113,12 @@ For production environments, we are requiring the use of Splunk SmartStore. As a A Kubernetes cluster administrator can install and start the Splunk Operator for specific namespace by running: ``` -kubectl apply -f https://github.com/splunk/splunk-operator/releases/download/2.3.0/splunk-operator-namespace.yaml --server-side --force-conflicts +kubectl apply -f https://github.com/splunk/splunk-operator/releases/download/2.4.0/splunk-operator-namespace.yaml --server-side --force-conflicts ``` A Kubernetes cluster administrator can install and start the Splunk Operator for cluster-wide by running: ``` -kubectl apply -f https://github.com/splunk/splunk-operator/releases/download/2.3.0/splunk-operator-cluster.yaml --server-side --force-conflicts +kubectl apply -f https://github.com/splunk/splunk-operator/releases/download/2.4.0/splunk-operator-cluster.yaml --server-side --force-conflicts ``` The [Advanced Installation Instructions](Install.md) page offers guidance for advanced configurations, including the use of private image registries, installation at cluster scope, and installing the Splunk Operator as a user who is not a Kubernetes administrator. Users of Red Hat OpenShift should review the [Red Hat OpenShift](OpenShift.md) page. diff --git a/docs/SplunkOperatorUpgrade.md b/docs/SplunkOperatorUpgrade.md index 2a9ed4d35..db2b18f73 100644 --- a/docs/SplunkOperatorUpgrade.md +++ b/docs/SplunkOperatorUpgrade.md @@ -25,7 +25,7 @@ A Splunk Operator for Kubernetes upgrade might include support for a later versi 1. Download the latest Splunk Operator installation yaml file. ​ ``` -wget -O splunk-operator-namespace.yaml https://github.com/splunk/splunk-operator/releases/download/2.3.0/splunk-operator-namespace.yaml +wget -O splunk-operator-namespace.yaml https://github.com/splunk/splunk-operator/releases/download/2.4.0/splunk-operator-namespace.yaml ``` ​ 2. (Optional) Review the file and update it with your specific customizations used during your install. diff --git a/docs/index.yaml b/docs/index.yaml index 9a79a47a7..d15a698b5 100644 --- a/docs/index.yaml +++ b/docs/index.yaml @@ -1,9 +1,31 @@ apiVersion: v1 entries: splunk-enterprise: + - apiVersion: v2 + appVersion: 2.4.0 + created: "2023-10-06T15:35:58.241056-07:00" + dependencies: + - condition: splunk-operator.enabled + name: splunk-operator + repository: file://splunk-operator/helm-chart/splunk-operator + version: 2.3.0 + description: A Helm chart for Splunk Enterprise managed by the Splunk Operator + digest: 3c70674b5d4a23aac69cc22e974caccfc0fc3ed3f7959be54c663f93343f714b + maintainers: + - email: vivekr@splunk.com + name: Vivek Reddy + - email: akondur@splunk.com + name: Arjun Kondur + - email: gaurav@splunk.com + name: Gaurav Gupta + name: splunk-enterprise + type: application + urls: + - https://splunk.github.io/splunk-operator/splunk-enterprise-2.4.0.tgz + version: 2.4.0 - apiVersion: v2 appVersion: 2.3.0 - created: "2023-08-21T14:27:56.05235-07:00" + created: "2023-10-06T15:35:58.21754-07:00" dependencies: - condition: splunk-operator.enabled name: splunk-operator @@ -25,7 +47,7 @@ entries: version: 2.3.0 - apiVersion: v2 appVersion: 2.2.1 - created: "2023-08-21T14:27:56.039963-07:00" + created: "2023-10-06T15:35:58.202704-07:00" dependencies: - condition: splunk-operator.enabled name: splunk-operator @@ -40,7 +62,7 @@ entries: version: 2.2.1 - apiVersion: v2 appVersion: 2.2.0 - created: "2023-08-21T14:27:56.024006-07:00" + created: "2023-10-06T15:35:58.187926-07:00" dependencies: - condition: splunk-operator.enabled name: splunk-operator @@ -55,7 +77,7 @@ entries: version: 2.2.0 - apiVersion: v2 appVersion: 2.1.0 - created: "2023-08-21T14:27:56.000764-07:00" + created: "2023-10-06T15:35:58.162232-07:00" dependencies: - condition: splunk-operator.enabled name: splunk-operator @@ -69,9 +91,26 @@ entries: - https://splunk.github.io/splunk-operator/splunk-enterprise-1.0.0.tgz version: 1.0.0 splunk-operator: + - apiVersion: v2 + appVersion: 2.4.0 + created: "2023-10-06T15:35:58.303657-07:00" + description: A Helm chart for the Splunk Operator for Kubernetes + digest: 9d0377747e46df4bf4b9dbd447c9ff46c926bfe2c66fd07d6d27a61abb31cb42 + maintainers: + - email: vivekr@splunk.com + name: Vivek Reddy + - email: akondur@splunk.com + name: Arjun Kondur + - email: gaurav@splunk.com + name: Gaurav Gupta + name: splunk-operator + type: application + urls: + - https://splunk.github.io/splunk-operator/splunk-operator-2.4.0.tgz + version: 2.4.0 - apiVersion: v2 appVersion: 2.3.0 - created: "2023-08-21T14:27:56.099955-07:00" + created: "2023-10-06T15:35:58.291618-07:00" description: A Helm chart for the Splunk Operator for Kubernetes digest: 23e70ec4059bc92920d7d3adce3bff6b8aba0d5eb5d4c0efe225bf3b88d5b274 maintainers: @@ -88,7 +127,7 @@ entries: version: 2.3.0 - apiVersion: v2 appVersion: 2.2.1 - created: "2023-08-21T14:27:56.088251-07:00" + created: "2023-10-06T15:35:58.278709-07:00" description: A Helm chart for the Splunk Operator for Kubernetes digest: 8868b9ae2ebde0c667b13c97d71d904a31b5a9f2c803b199bc77324f1727e1fd name: splunk-operator @@ -98,7 +137,7 @@ entries: version: 2.2.1 - apiVersion: v2 appVersion: 2.2.0 - created: "2023-08-21T14:27:56.075269-07:00" + created: "2023-10-06T15:35:58.264055-07:00" description: A Helm chart for the Splunk Operator for Kubernetes digest: 49c72276bd7ff93465b0545d8b0814f684cade7d2cd191b6d73d4c3660bd1fb4 name: splunk-operator @@ -108,7 +147,7 @@ entries: version: 2.2.0 - apiVersion: v2 appVersion: 2.1.0 - created: "2023-08-21T14:27:56.062671-07:00" + created: "2023-10-06T15:35:58.252222-07:00" description: A Helm chart for the Splunk Operator for Kubernetes digest: 34e5463f8f5442655d05cb616b50391b738a0827b30d8440b4c7fce99a291d9a name: splunk-operator @@ -116,4 +155,4 @@ entries: urls: - https://splunk.github.io/splunk-operator/splunk-operator-1.0.0.tgz version: 1.0.0 -generated: "2023-08-21T14:27:55.986001-07:00" +generated: "2023-10-06T15:35:58.146197-07:00" diff --git a/docs/splunk-enterprise-2.4.0.tgz b/docs/splunk-enterprise-2.4.0.tgz new file mode 100644 index 000000000..26bacf395 Binary files /dev/null and b/docs/splunk-enterprise-2.4.0.tgz differ diff --git a/docs/splunk-operator-2.4.0.tgz b/docs/splunk-operator-2.4.0.tgz new file mode 100644 index 000000000..108f08ee8 Binary files /dev/null and b/docs/splunk-operator-2.4.0.tgz differ diff --git a/helm-chart/splunk-enterprise/charts/splunk-operator-2.4.0.tgz b/helm-chart/splunk-enterprise/charts/splunk-operator-2.4.0.tgz new file mode 100644 index 000000000..108f08ee8 Binary files /dev/null and b/helm-chart/splunk-enterprise/charts/splunk-operator-2.4.0.tgz differ