Skip to content

Decrease number of secrets by moving them to envs if applicable#1704

Open
kasiakoziol wants to merge 14 commits intodevelopfrom
feature/decrease-number-of-secrets
Open

Decrease number of secrets by moving them to envs if applicable#1704
kasiakoziol wants to merge 14 commits intodevelopfrom
feature/decrease-number-of-secrets

Conversation

@kasiakoziol
Copy link
Collaborator

@kasiakoziol kasiakoziol commented Feb 17, 2026

Description

This PR decreases the number of secrets by moving some of the values that are not secrets to standard env variables.

Key Changes

Changes apply to:

  • SPLUNK_ENTERPRISE_IMAGE
  • SPLUNK_ENTERPRISE_RELEASE_IMAGE (removed because it stores the same value as SPLUNK_ENTERPRISE_IMAGE)
  • AWS_DEFAULT_REGION
  • GCP_REGION
  • GZP_ZONE
  • AZURE_REGION

Testing and Verification

Automated tests

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.

@kasiakoziol kasiakoziol force-pushed the feature/decrease-number-of-secrets branch from 4c07832 to 097ee97 Compare February 18, 2026 08:45
@coveralls
Copy link
Collaborator

coveralls commented Feb 18, 2026

Pull Request Test Coverage Report for Build 22846137391

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 83.937%

Totals Coverage Status
Change from base Build 22743106510: 0.0%
Covered Lines: 11836
Relevant Lines: 14101

💛 - Coveralls

@kasiakoziol kasiakoziol changed the base branch from develop to feature/test-refactoring March 10, 2026 09:14
@kasiakoziol kasiakoziol changed the base branch from feature/test-refactoring to develop March 10, 2026 10:17
@kasiakoziol kasiakoziol marked this pull request as ready for review March 10, 2026 10:29
SPLUNK_OPERATOR_IMAGE_NAME: splunk/splunk-operator
ECR_REPOSITORY: ${{ secrets.ECR_REPOSITORY }}
S3_REGION: ${{ secrets.AWS_DEFAULT_REGION }}
S3_REGION: ${{ vars.AWS_DEFAULT_REGION }}
Copy link
Collaborator

Choose a reason for hiding this comment

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

can this be env.AWS_DEFAULT_REGION

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I wanted to use env instead of vars, but it ended up with many issues with reading the value from .env, so switched to vars.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

e.g.

Invalid workflow file: .github/workflows/arm-AL2023-build-test-push-workflow-AL2023.yml#L1
(Line: 65, Col: 18): Unrecognized named-value: 'steps'. Located at position 1 within expression: steps.dotenv.outputs.AWS_DEFAULT_REGION, (Line: 141, Col: 18): Unrecognized named-value: 'steps'. Located at position 1 within expression: steps.dotenv.outputs.AWS_DEFAULT_REGION

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Copy link
Collaborator

@vivekr-splunk vivekr-splunk left a comment

Choose a reason for hiding this comment

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

can AWS_DEFAULT_REGION this be env.AWS_DEFAULT_REGION

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.

3 participants