Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Promote Develop to main for Splunk Operator Release 2.6.1 #1380

Merged
merged 61 commits into from
Oct 1, 2024
Merged
Show file tree
Hide file tree
Changes from 59 commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
0fd0b80
order changed for mc
Jul 25, 2024
d7ac339
go mod and go sum
Jul 25, 2024
9d6127f
fixed upgrade mc test case
Jul 25, 2024
7c5c660
disabled mc unit test case for now
Jul 25, 2024
9a94165
Merge pull request #1361 from splunk/main
akondur Jul 31, 2024
99e1806
Merge branch 'develop' into mc-upgrade-path
akondur Jul 31, 2024
17696ab
Fix UT
akondur Aug 1, 2024
15b829b
Update documentation, comments
akondur Aug 1, 2024
44dd2a1
Minor error
akondur Aug 5, 2024
7959705
Add TLS config to minio client
akondur Aug 9, 2024
5e58a71
Comment out 1 test case to see if pipelines pass
akondur Aug 12, 2024
6cf2e17
Merge pull request #1363 from splunk/cspl_2652
akondur Aug 12, 2024
37564de
Add default.meta in the telemetry addressing vulnerability
akondur Aug 12, 2024
85e83c6
Merge branch 'develop' into mc-upgrade-path
akondur Aug 13, 2024
6af91b5
Merge pull request #1364 from splunk/CSPL_2655_telapp
akondur Aug 13, 2024
edd339b
Re-try test.
akondur Aug 13, 2024
becf2fd
Merge branch 'develop' into mc-upgrade-path
akondur Aug 13, 2024
3197b7c
Remove branch from int test workflow
akondur Aug 14, 2024
18270e2
Re-trigger removing Xcontext
akondur Aug 14, 2024
7c148c2
Remove branch from int test workflow
akondur Aug 15, 2024
cb50cba
Merge pull request #1355 from splunk/mc-upgrade-path
akondur Aug 15, 2024
f13ace0
Update pre-release workflow
akondur Aug 21, 2024
c92bcc4
Merge pull request #1366 from splunk/pre-release-workflow-update
akondur Aug 21, 2024
76600ca
Update gha-find-replace version, helm chart update
akondur Aug 21, 2024
5e34c3d
Merge branch 'develop' into pre-release-workflow-update
akondur Aug 21, 2024
8222cd4
Merge pull request #1367 from splunk/pre-release-workflow-update
akondur Aug 21, 2024
11d7962
[create-pull-request] automated change
akondur Aug 21, 2024
f02b69c
Update changelog.md, kick off tests
akondur Aug 21, 2024
8023e86
Update go, go-restful to address vulnerabilities
akondur Aug 21, 2024
bb4268b
Update go version in workflows
akondur Aug 21, 2024
2374415
Shift to 1.22 to try and avoid seg fault
akondur Aug 21, 2024
8a35841
Update controller-gen tools version for go compatibility
akondur Aug 21, 2024
056dcfd
Try 1.23.0 and change Dockerfile to use 1.23.0
akondur Aug 21, 2024
895e248
Remove the helm test workflow.
akondur Aug 22, 2024
eff8ff0
Re-trigger pipelines
akondur Aug 23, 2024
ed3676d
Run only smoke
akondur Aug 27, 2024
cf64a8b
Re-trigger
akondur Aug 28, 2024
e187594
Re-trigger
akondur Sep 3, 2024
b76e08c
Re-ran "make all" , "make generate"
akondur Sep 6, 2024
8c59c68
Test controller version 0.14.0
akondur Sep 9, 2024
44a7d3c
Re-use 0.16.1. Test out 9.2.2 image change revert
akondur Sep 12, 2024
c98a881
Change upload-artifacts version
akondur Sep 12, 2024
a6dcb9d
Try 9.2.2 in .env as well.
akondur Sep 17, 2024
639b86a
Make it fail again
akondur Sep 18, 2024
69df2f8
Run only the failing tc
akondur Sep 18, 2024
6ce8d13
Run with 9.3.0
akondur Sep 18, 2024
b84ea69
Run all tests, increase timeout
akondur Sep 18, 2024
a5bcd2f
Increase timeout
akondur Sep 20, 2024
d3c7041
Comment out TC as it is passing separately.
akondur Sep 20, 2024
099ea8d
Run TC1
akondur Sep 24, 2024
94acf89
TC2
akondur Sep 25, 2024
51e7728
TC1, TC3, TC4, TC5
akondur Sep 25, 2024
20d9c7c
Try only TC2 without other suites
akondur Sep 26, 2024
261a6a0
Comment out redhat registry login
akondur Sep 26, 2024
8984bf5
Re-trigger after changing image to 9.3.0
akondur Sep 26, 2024
6a4512a
Change TC newImage to splunk/splunk:latest
akondur Sep 26, 2024
41ea5a0
Change oldImage
akondur Sep 26, 2024
cb50ad3
Test everything together
akondur Sep 27, 2024
bebafce
Merge pull request #1368 from splunk/release/2.6.1
akondur Sep 30, 2024
e39df60
Generated bundle changes
akondur Sep 30, 2024
b41a338
Docker file changes
akondur Sep 30, 2024
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
4 changes: 2 additions & 2 deletions .env
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
OPERATOR_SDK_VERSION=v1.31.0
REVIEWERS=vivekr-splunk,akondur
GO_VERSION=1.21.5
GO_VERSION=1.23.0
AWSCLI_URL=https://awscli.amazonaws.com/awscli-exe-linux-x86_64-2.8.6.zip
KUBECTL_VERSION=v1.29.1
AZ_CLI_VERSION=2.30.0
EKSCTL_VERSION=v0.143.0
EKS_CLUSTER_K8_VERSION=1.27
SPLUNK_ENTERPRISE_RELEASE_IMAGE=splunk/splunk:9.2.2
SPLUNK_ENTERPRISE_RELEASE_IMAGE=splunk/splunk:9.3.0
2 changes: 1 addition & 1 deletion .github/workflows/automated-release-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
make generate-artifacts IMG=splunk/splunk-operator:${{ github.event.inputs.release_version }} VERSION=${{ github.event.inputs.release_version }} SPLUNK_ENTERPRISE_IMAGE=splunk/splunk:${{ github.event.inputs.enterprise_version }}

- name: Upload Release Artifacts
uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2
uses: actions/upload-artifact@v4.4.0
with:
name: "release-artifacts-${{ github.event.inputs.release_version }}"
path: "release-**"
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/build-test-push-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Run Code Coverage
run: goveralls -coverprofile=coverage.out -service=circle-ci -repotoken ${{ secrets.COVERALLS_TOKEN }}
- name: Upload Coverage artifacts
uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2
uses: actions/upload-artifact@v4.4.0
with:
name: coverage.out
path: coverage.out
Expand Down Expand Up @@ -87,12 +87,12 @@ jobs:
- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v1
- name: Login to Redhat registry
uses: docker/login-action@v3
with:
registry: registry.redhat.io
username: ${{ secrets.REDHAT_REGISTRY_ID }}
password: ${{ secrets.REDHAT_REGISTRY_PASSWORD }}
#- name: Login to Redhat registry
# uses: docker/login-action@v3
# with:
# registry: registry.redhat.io
# username: ${{ secrets.REDHAT_REGISTRY_ID }}
# password: ${{ secrets.REDHAT_REGISTRY_PASSWORD }}
- name: Make Splunk Operator Image
run: |
make docker-build IMG=${{ secrets.ECR_REPOSITORY }}/${{ env.SPLUNK_OPERATOR_IMAGE_NAME }}:$GITHUB_SHA
Expand Down Expand Up @@ -295,7 +295,7 @@ jobs:
find ./test -name "*.log" -exec cp {} /tmp/pod_logs \;
- name: Archive Pod Logs
if: ${{ always() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4.4.0
with:
name: "splunk-pods-logs--artifacts-${{ matrix.test }}"
path: "/tmp/pod_logs/**"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/int-test-azure-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ jobs:
find ./test -name "*.log" -exec cp {} /tmp/pod_logs \;
- name: Archive Pod Logs
if: ${{ always() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4.4.0
with:
name: "splunk-pods-logs--artifacts-appframeworkazure"
path: "/tmp/pod_logs/**"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/int-test-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ jobs:
find ./test -name "*.log" -exec cp {} /tmp/pod_logs \;
- name: Archive Pod Logs
if: ${{ always() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4.4.0
with:
name: "splunk-pods-logs--artifacts-${{ matrix.test }}"
path: "/tmp/pod_logs/**"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/manual-int-test-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ jobs:
find ./test -name "*.log" -exec cp {} /tmp/pod_logs \;
- name: Archive Pod Logs
if: ${{ always() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4.4.0
with:
name: "splunk-pods-logs--artifacts-${{ matrix.test }}"
path: "/tmp/pod_logs/**"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/merge-develop-to-main-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ jobs:
docker push splunk/splunk-operator-rc:${{ github.event.inputs.release_version }}-RC

- name: Upload Release Artifacts
uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2
uses: actions/upload-artifact@v4.4.0
with:
name: "release-artifacts-${{ github.event.inputs.release_version }}-RC"
path: "release-**"
2 changes: 1 addition & 1 deletion .github/workflows/namespace-scope-int-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ jobs:
find ./test -name "*.log" -exec cp {} /tmp/pod_logs \;
- name: Archive Pod Logs
if: ${{ always() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4.4.0
with:
name: "splunk-pods-logs--artifacts-${{ matrix.test }}"
path: "/tmp/pod_logs/**"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly-int-test-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ jobs:
find ./test -name "*.log" -exec cp {} /tmp/pod_logs \;
- name: Archive Pod Logs if Failure in Smoke Test
if: ${{ always() }}
uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2
uses: actions/upload-artifact@v4.4.0
with:
name: "splunk-pods-logs--artifacts-${{ matrix.test }}"
path: "/tmp/pod_logs/**"
Expand Down
36 changes: 18 additions & 18 deletions .github/workflows/pre-release-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:

- name: Update Operator Image name in Helm
if: github.event.inputs.old_operator_version != github.event.inputs.new_operator_version
uses: jacobtomlinson/gha-find-replace@f485fdc3f67a6d87ae6e3d11e41f648c26d7aee3
uses: jacobtomlinson/gha-find-replace@v3
with:
find: "splunk-operator:${{ github.event.inputs.old_operator_version }}"
replace: "splunk-operator:${{ github.event.inputs.new_operator_version }}"
Expand All @@ -80,25 +80,25 @@ jobs:

- name: Update Helm Version
if: github.event.inputs.old_operator_version != github.event.inputs.new_operator_version
uses: jacobtomlinson/gha-find-replace@f485fdc3f67a6d87ae6e3d11e41f648c26d7aee3
uses: jacobtomlinson/gha-find-replace@v3
with:
find: "version: ${{ github.event.inputs.old_operator_version }}"
replace: "version: ${{ github.event.inputs.new_operator_version }}"
find: "${{ github.event.inputs.old_operator_version }}"
replace: "${{ github.event.inputs.new_operator_version }}"
exclude: "ChangeLog.md"
include: "Chart.yaml"
include: "helm-chart/splunk-operator/**.yaml"

- name: Update Helm App Version
if: github.event.inputs.old_operator_version != github.event.inputs.new_operator_version
uses: jacobtomlinson/gha-find-replace@f485fdc3f67a6d87ae6e3d11e41f648c26d7aee3
uses: jacobtomlinson/gha-find-replace@v3
with:
find: "appVersion: ${{ github.event.inputs.old_operator_version }}"
replace: "appVersion: ${{ github.event.inputs.new_operator_version }}"
find: "${{ github.event.inputs.old_operator_version }}"
replace: "${{ github.event.inputs.new_operator_version }}"
exclude: "ChangeLog.md"
include: "Chart.yaml"
include: "helm-chart/splunk-enterprise/**.yaml"

- name: Update Operator Image name in DOCS
if: github.event.inputs.old_operator_version != github.event.inputs.new_operator_version
uses: jacobtomlinson/gha-find-replace@f485fdc3f67a6d87ae6e3d11e41f648c26d7aee3
uses: jacobtomlinson/gha-find-replace@v3
with:
find: "splunk-operator:${{ github.event.inputs.old_operator_version }}"
replace: "splunk-operator:${{ github.event.inputs.new_operator_version }}"
Expand All @@ -107,7 +107,7 @@ jobs:

- name: Update Splunk Operator Install URL in DOCS
if: github.event.inputs.old_operator_version != github.event.inputs.new_operator_version
uses: jacobtomlinson/gha-find-replace@f485fdc3f67a6d87ae6e3d11e41f648c26d7aee3
uses: jacobtomlinson/gha-find-replace@v3
with:
find: "/download/${{ github.event.inputs.old_operator_version }}/splunk-operator"
replace: "/download/${{ github.event.inputs.new_operator_version }}/splunk-operator"
Expand All @@ -116,7 +116,7 @@ jobs:

- name: Update Splunk Operator VERSION in DOCS
if: github.event.inputs.old_operator_version != github.event.inputs.new_operator_version
uses: jacobtomlinson/gha-find-replace@f485fdc3f67a6d87ae6e3d11e41f648c26d7aee3
uses: jacobtomlinson/gha-find-replace@v3
with:
find: "${{ github.event.inputs.old_operator_version }} or later"
replace: "${{ github.event.inputs.new_operator_version }} or later"
Expand All @@ -125,7 +125,7 @@ jobs:

- name: Update Splunk Operator upgrade string in DOCS
if: github.event.inputs.old_operator_version != github.event.inputs.new_operator_version
uses: jacobtomlinson/gha-find-replace@f485fdc3f67a6d87ae6e3d11e41f648c26d7aee3
uses: jacobtomlinson/gha-find-replace@v3
with:
find: "Steps to upgrade from version greater than 1.0.5 to ${{ github.event.inputs.old_operator_version }}"
replace: "Steps to upgrade from version greater than 1.0.5 to ${{ github.event.inputs.new_operator_version }}"
Expand All @@ -134,7 +134,7 @@ jobs:

- name: Update Splunk Operator Release URL in DOCS
if: github.event.inputs.old_operator_version != github.event.inputs.new_operator_version
uses: jacobtomlinson/gha-find-replace@f485fdc3f67a6d87ae6e3d11e41f648c26d7aee3
uses: jacobtomlinson/gha-find-replace@v3
with:
find: "https://github.com/splunk/splunk-operator/releases/download/${{ github.event.inputs.old_operator_version }}/splunk-operator-install.yaml"
replace: "https://github.com/splunk/splunk-operator/releases/download/${{ github.event.inputs.new_operator_version }}/splunk-operator-install.yaml"
Expand All @@ -143,30 +143,30 @@ jobs:

- name: Update Splunk Enterprise Image in operator.yaml
if: github.event.inputs.old_enterprise_version != github.event.inputs.new_enterprise_version
uses: jacobtomlinson/gha-find-replace@f485fdc3f67a6d87ae6e3d11e41f648c26d7aee3
uses: jacobtomlinson/gha-find-replace@v3
with:
find: "${{ github.event.inputs.old_enterprise_version }}"
replace: "${{ github.event.inputs.new_enterprise_version }}"
include: "**operator.yaml"

- name: Update Splunk Enterprise Release Image in .env file
uses: jacobtomlinson/gha-find-replace@f485fdc3f67a6d87ae6e3d11e41f648c26d7aee3
uses: jacobtomlinson/gha-find-replace@v3
with:
find: "${{ github.event.inputs.old_enterprise_version }}"
replace: "${{ github.event.inputs.new_enterprise_version }}"
include: ".env"

- name: Update Splunk Enterprise Image in helm
if: github.event.inputs.old_enterprise_version != github.event.inputs.new_enterprise_version
uses: jacobtomlinson/gha-find-replace@f485fdc3f67a6d87ae6e3d11e41f648c26d7aee3
uses: jacobtomlinson/gha-find-replace@v3
with:
find: "${{ github.event.inputs.old_enterprise_version }}"
replace: "${{ github.event.inputs.new_enterprise_version }}"
include: "**values.yaml"

- name: Update Splunk Enterprise image in DOCS
if: github.event.inputs.old_enterprise_version != github.event.inputs.new_enterprise_version
uses: jacobtomlinson/gha-find-replace@f485fdc3f67a6d87ae6e3d11e41f648c26d7aee3
uses: jacobtomlinson/gha-find-replace@v3
with:
find: "${{ github.event.inputs.old_enterprise_version }} or later"
replace: "${{ github.event.inputs.new_enterprise_version }} or later"
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the manager binary
FROM golang:1.21.1 as builder
FROM golang:1.23.0 as builder

WORKDIR /workspace
# Copy the Go Modules manifests
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ $(LOCALBIN):

## Tool Versions
KUSTOMIZE_VERSION ?= v4.5.5
CONTROLLER_TOOLS_VERSION ?= v0.11.3
CONTROLLER_TOOLS_VERSION ?= v0.16.1

CONTROLLER_GEN = $(LOCALBIN)/controller-gen
controller-gen: $(CONTROLLER_GEN) ## Download controller-gen locally if necessary.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ You must have [Docker Engine](https://docs.docker.com/install/) installed to
build the Splunk Operator.

This project uses [Go modules](https://blog.golang.org/using-go-modules),
and requires [golang](https://golang.org/doc/install) 1.21.1 or later.
and requires [golang](https://golang.org/doc/install) 1.23.0 or later.
You must `export GO111MODULE=on` if cloning these repositories into your
`$GOPATH` (not recommended).

Expand Down
1 change: 0 additions & 1 deletion api/v3/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion api/v4/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading