Skip to content

Mesh Gateway Deployment Configuration#3477

Merged
t-eckert merged 16 commits intomainfrom
further-deployment-configuration
Jan 18, 2024
Merged

Mesh Gateway Deployment Configuration#3477
t-eckert merged 16 commits intomainfrom
further-deployment-configuration

Conversation

@t-eckert
Copy link
Copy Markdown
Contributor

@t-eckert t-eckert commented Jan 16, 2024

This PR largely wraps a bow on the configuration of deployment resources for Mesh Gateways.

It completes:

Changes proposed in this PR

  • Add BATs for Gateway Log Level Configuration
  • Pass logLevel into init-container and dataplane-container
  • Add BATs for extraLabels
  • Test that extraLabels get set on the deployment
  • BATs for annotations
  • Use config for log level over gcc if available
  • Make consulDataplaneContainer an assoc func to builder
  • Use logLevelForDataplaneContainer func
  • Test annotations getting set
  • Add comments for Builder obj
  • Rename config.go to gateway_config.go
  • Add comments to gateway_config
  • Move commands closer to their configuration
  • Extract some constants

How I've tested this PR

  • BATS
  • Helm generation to verify values get passed int
  • Unit testing the configuration generated for deployment resources

How I expect reviewers to test this PR

This can be reviewed mostly visually. There are certain clean ups I took the liberty of doing that are worth validating.

Checklist

@t-eckert t-eckert force-pushed the further-deployment-configuration branch from eb0e6bd to 2d9c28f Compare January 16, 2024 18:00
@t-eckert t-eckert added pr/no-changelog PR does not need a corresponding .changelog entry pr/no-backport signals that a PR will not contain a backport label labels Jan 16, 2024
@t-eckert t-eckert marked this pull request as ready for review January 16, 2024 19:09
Copy link
Copy Markdown
Member

@sarahalsmiller sarahalsmiller left a comment

Choose a reason for hiding this comment

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

Love the cleanups here

Copy link
Copy Markdown
Member

@jm96441n jm96441n left a comment

Choose a reason for hiding this comment

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

minor comment but shouldn't hold this back, nice work!

@t-eckert t-eckert enabled auto-merge (squash) January 18, 2024 16:53
@t-eckert t-eckert merged commit 5d9bd49 into main Jan 18, 2024
@t-eckert t-eckert deleted the further-deployment-configuration branch January 18, 2024 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr/no-backport signals that a PR will not contain a backport label pr/no-changelog PR does not need a corresponding .changelog entry theme/mesh-gw

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants