Skip to content

Conversation

gabrielm-splunk
Copy link
Collaborator

@gabrielm-splunk gabrielm-splunk commented Sep 10, 2025

Description

Upgrading operator-sdk to version 1.41.1 and Golang version to 1.24.4. There were some linting changes that trickled through, but were very minor, so just decided to leave in. Thankfully, there weren't any breaking changes, so this was pretty straightforward other than some go mod changes (ran go mod tidy to resolve). This will help resolve security vulnerability: https://splunk.atlassian.net/browse/VULN-42799

Key Changes

The main updates are in the .env and Dockerfile

Testing and Verification

Ran operator locally, installed operator on EKS cluster, and ran unit tests. Added this branch to be picked up by integration testing, so will monitor outputs of that.

Related Issues

PR Checklist

  • Code changes adhere to the project's coding standards.
  • Relevant unit and integration tests are included.
  • Documentation has been updated accordingly.
  • All tests pass locally.
  • The PR description follows the project's guidelines.

@gabrielm-splunk
Copy link
Collaborator Author

I see the check for biased language is failing here, any insights on how to solve? There were very minimal changes and the only change that's included that has the biased word master is in the deps for Masterminds

@coveralls
Copy link
Collaborator

coveralls commented Sep 10, 2025

Pull Request Test Coverage Report for Build 18399762353

Details

  • 8 of 8 (100.0%) changed or added relevant lines in 8 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.02%) to 86.561%

Totals Coverage Status
Change from base Build 18380211708: 0.02%
Covered Lines: 10718
Relevant Lines: 12382

💛 - Coveralls

@rlieberman-splunk
Copy link
Collaborator

I see the check for biased language is failing here, any insights on how to solve? There were very minimal changes and the only change that's included that has the biased word master is in the deps for Masterminds

We can add the go.mod file to https://github.com/splunk/splunk-operator/blob/main/.biased_lang_exclude. go.sum is already excluded. There's more information here if you need it too! https://github.com/splunk/biased-lang-linter/pkgs/container/biased_lang#excluding-directories-and-files

@gabrielm-splunk
Copy link
Collaborator Author

gabrielm-splunk commented Sep 11, 2025

I see the check for biased language is failing here, any insights on how to solve? There were very minimal changes and the only change that's included that has the biased word master is in the deps for Masterminds

We can add the go.mod file to https://github.com/splunk/splunk-operator/blob/main/.biased_lang_exclude. go.sum is already excluded. There's more information here if you need it too! https://github.com/splunk/biased-lang-linter/pkgs/container/biased_lang#excluding-directories-and-files

Got it, done @rlieberman-splunk

@kasiakoziol
Copy link
Collaborator

https://sdk.operatorframework.io/docs/upgrading-sdk-version/v1.40.0/:

https://sdk.operatorframework.io/docs/upgrading-sdk-version/v1.41.0/

- develop
- main
- feature**
- CSPL-3964-upgrade-operator-sdk
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remember to remove it before merge.

@gabrielm-splunk
Copy link
Collaborator Author

https://sdk.operatorframework.io/docs/upgrading-sdk-version/v1.40.0/:

https://sdk.operatorframework.io/docs/upgrading-sdk-version/v1.41.0/

@kasiakoziol Yeah, I missed some of these. I was looking at a wrong version of the upgrade-sdk-version doc, will address today

@gabrielm-splunk gabrielm-splunk force-pushed the CSPL-3964-upgrade-operator-sdk branch from a4416d1 to a572a7d Compare September 25, 2025 07:38
@gabrielm-splunk gabrielm-splunk force-pushed the CSPL-3964-upgrade-operator-sdk branch from a572a7d to cb364e3 Compare October 1, 2025 06:13
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we need Cert-manager and Certificate resource?

@gabrielm-splunk gabrielm-splunk force-pushed the CSPL-3964-upgrade-operator-sdk branch from cb364e3 to 48a17ca Compare October 10, 2025 07:33

"github.com/onsi/ginkgo/v2/types"
. "github.com/onsi/ginkgo/v2"
"github.com/onsi/ginkgo/v2/types"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like we can exclude this changes from test dir?

Copy link
Collaborator

@patrykw-splunk patrykw-splunk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Open question, does this MR should include certificate watcher changes?
I'm also wondering if Cert-manager specific resources from the upgrade guide should be included here.

Here is a reference
https://sdk.operatorframework.io/docs/upgrading-sdk-version/v1.40.0/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants