diff --git a/.env b/.env index 7410b2f48..70432b03c 100644 --- a/.env +++ b/.env @@ -6,4 +6,4 @@ KUBECTL_VERSION=v1.25.3 AZ_CLI_VERSION=2.30.0 EKSCTL_VERSION=v0.143.0 EKS_CLUSTER_K8_VERSION=1.22 -SPLUNK_ENTERPRISE_RELEASE_IMAGE=docker.io/splunk/splunk:9.0.5 +SPLUNK_ENTERPRISE_RELEASE_IMAGE=splunk/splunk:9.0.5 diff --git a/.github/workflows/build-test-push-workflow.yml b/.github/workflows/build-test-push-workflow.yml index c2602fd89..f87fc8635 100644 --- a/.github/workflows/build-test-push-workflow.yml +++ b/.github/workflows/build-test-push-workflow.yml @@ -175,7 +175,7 @@ jobs: uses: falti/dotenv-action@d4d12eaa0e1dd06d5bdc3d7af3bf4c8c93cb5359 - name: Change splunk enterprise to release image on main branches if: github.ref == 'refs/heads/main' - run: + run: | echo "SPLUNK_ENTERPRISE_IMAGE=${{ steps.dotenv.outputs.SPLUNK_ENTERPRISE_RELEASE_IMAGE }}" >> $GITHUB_ENV - name: Install Kubectl uses: Azure/setup-kubectl@v3 @@ -248,7 +248,7 @@ jobs: kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml - name: install k8s dashboard run: | - kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.5/aio/deploy/recommended.yaml + kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.5/aio/deploy/recommended.yaml - name: Setup Kustomize run: | sudo snap install kustomize diff --git a/.github/workflows/helm-test-workflow.yml b/.github/workflows/helm-test-workflow.yml index e68dc44d7..7a36b8fae 100644 --- a/.github/workflows/helm-test-workflow.yml +++ b/.github/workflows/helm-test-workflow.yml @@ -84,16 +84,16 @@ jobs: echo "CLUSTER_WORKERS=5" >> $GITHUB_ENV echo "CLUSTER_NODES=2" >> $GITHUB_ENV fi + - name: Chekcout code + uses: actions/checkout@v2 + - name: Dotenv Action + id: dotenv + uses: falti/dotenv-action@d4d12eaa0e1dd06d5bdc3d7af3bf4c8c93cb5359 - name: Change splunk enterprise to release image on main branches if: github.ref == 'refs/heads/main' run: | echo "SPLUNK_ENTERPRISE_IMAGE=${{ steps.dotenv.outputs.SPLUNK_ENTERPRISE_RELEASE_IMAGE }}" >> $GITHUB_ENV echo "HELM_REPO_PATH=splunk" >> $GITHUB_ENV - - name: Checkout code - uses: actions/checkout@v2 - - name: Dotenv Action - id: dotenv - uses: falti/dotenv-action@d4d12eaa0e1dd06d5bdc3d7af3bf4c8c93cb5359 - name: Set GITHUB SHA value run: | echo "HELM_GITHUB_SHA=$GITHUB_SHA" >> $GITHUB_ENV diff --git a/.github/workflows/int-test-azure-workflow.yml b/.github/workflows/int-test-azure-workflow.yml index 74c008d41..e32e6a25a 100644 --- a/.github/workflows/int-test-azure-workflow.yml +++ b/.github/workflows/int-test-azure-workflow.yml @@ -128,15 +128,15 @@ jobs: - name: Set Test Cluster Name run: | echo "TEST_CLUSTER_NAME=az${{ github.run_id }}" >> $GITHUB_ENV - - name: Change splunk enterprise to release image on main branches - if: github.ref == 'ref/head/main' - run: | - echo "SPLUNK_ENTERPRISE_IMAGE=${{ steps.dotenv.outputs.SPLUNK_ENTERPRISE_RELEASE_IMAGE }}" >> $GITHUB_ENV - name: Checkout code uses: actions/checkout@v2 - name: Dotenv Action id: dotenv uses: falti/dotenv-action@d4d12eaa0e1dd06d5bdc3d7af3bf4c8c93cb5359 + - name: Change splunk enterprise to release image on main branches + if: github.ref == 'refs/heads/main' + run: | + echo "SPLUNK_ENTERPRISE_IMAGE=${{ steps.dotenv.outputs.SPLUNK_ENTERPRISE_RELEASE_IMAGE }}" >> $GITHUB_ENV - name: 'Login via Azure CLI' uses: azure/login@v1 with: diff --git a/.github/workflows/int-test-workflow.yml b/.github/workflows/int-test-workflow.yml index 3dd4eed22..fd41f8401 100644 --- a/.github/workflows/int-test-workflow.yml +++ b/.github/workflows/int-test-workflow.yml @@ -96,15 +96,15 @@ jobs: echo "CLUSTER_WORKERS=5" >> $GITHUB_ENV echo "CLUSTER_NODES=2" >> $GITHUB_ENV fi - - name: Change splunk enterprise to release image on main branches - if: github.ref == 'refs/heads/main' - run: | - echo "SPLUNK_ENTERPRISE_IMAGE=${{ steps.dotenv.outputs.SPLUNK_ENTERPRISE_RELEASE_IMAGE }}" >> $GITHUB_ENV - name: Checkcout code uses: actions/checkout@v2 - name: Dotenv Action id: dotenv uses: falti/dotenv-action@d4d12eaa0e1dd06d5bdc3d7af3bf4c8c93cb5359 + - name: Change splunk enterprise to release image on main branches + if: github.ref == 'refs/heads/main' + run: | + echo "SPLUNK_ENTERPRISE_IMAGE=${{ steps.dotenv.outputs.SPLUNK_ENTERPRISE_RELEASE_IMAGE }}" >> $GITHUB_ENV - name: Install Kubectl uses: Azure/setup-kubectl@v3 with: diff --git a/docs/ChangeLog.md b/docs/ChangeLog.md index 6935b25bb..5b60e1b4d 100644 --- a/docs/ChangeLog.md +++ b/docs/ChangeLog.md @@ -1,10 +1,18 @@ # Splunk Operator for Kubernetes Change Log -## 2.3.0 (2023-06-TODO) -CSPL-2341: Enable private access links as endpoints for AWS client sessions -CSPL-2331: documentation changes for OIDC support -CSPL-2250: Improve code coverage -CSPL-2408: Support labels in Splunk Operator helm chart +## 2.3.0 (2023-06-28) + +* This is the 2.3.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 release depends upon changes made concurrently in the Splunk Enterprise container images. You should use the splunk/splunk:9.0.5 image with it + +* CSPL-2341: Enable private access links as endpoints for AWS client sessions + +* CSPL-2331: Documentation changes for AWS IRSA support + +* CSPL-2250: Improve code coverage + +* CSPL-2408: Support labels in Splunk Operator helm chart ## 2.2.1 (2023-03-13) diff --git a/docs/Helm.md b/docs/Helm.md index a7c4f875a..a4f4db97b 100644 --- a/docs/Helm.md +++ b/docs/Helm.md @@ -11,6 +11,14 @@ helm repo update The ```splunk``` chart repository contains the ```splunk/splunk-operator``` chart to deploy the Splunk Operator and the ```splunk/splunk-enterprise``` chart to deploy Splunk Enterprise custom resources. +Currently only latest version splunk operator is hosted on `https://splunk.github.io/splunk-operator`. For previous version of helm chart, checkout release branch code. For example, for 2.0.0 release, please follow the below steps: + +``` +git clone https://github.com/splunk/splunk-operator.git . +git checkout release/2.0.0 +helm install splunk-s1 helm-chart/splunk-enterprise ... +``` + Helm provides a long list of commands to manage your deployment, we'll be going over a few useful ones in the sections to come. You can learn more about supported commands [here](https://helm.sh/docs/helm/helm/). ## Splunk Operator deployments @@ -86,7 +94,7 @@ release "splunk-operator-test" uninstalled ## Splunk Enterprise deployments -The Splunk Enterprise chart allows you to install and configure Splunk Enterprise custom resources. The ```splunk/splunk-enterprise``` chart has the ```splunk/splunk-operator``` chart as a dependency by default. To satisfy the dependencies please use the following command: +The Splunk Enterprise chart allows you to install and configure Splunk Enterprise custom resources. The ```splunk/splunk-enterprise``` chart has the ```splunk/splunk-operator``` chart as a dependency by default. To satisfy the dependencies please use the following command: ``` helm dependency build splunk/splunk-enterprise ``` @@ -126,7 +134,7 @@ STATUS: deployed REVISION: 1 TEST SUITE: None ``` -``` +``` splunk-cm-test-cluster-master-0 1/1 Running 0 11m splunk-idxc-test-indexer-0 1/1 Running 0 5m49s splunk-idxc-test-indexer-1 1/1 Running 0 5m49s @@ -161,12 +169,3 @@ Install a Standalone deployment using the following command: helm install --set s1.enabled=true splunk/splunk-enterprise -n ``` Visit the Splunk Operator github repository to learn more about the configurable values of [splunk/splunk-operator](https://github.com/splunk/splunk-operator/blob/develop/helm-chart/splunk-operator/values.yaml) and [splunk/splunk-enterprise](https://github.com/splunk/splunk-operator/blob/develop/helm-chart/splunk-enterprise/values.yaml). - - - - - - - - -