Skip to content

Backport of Configure Gateway Deployment Resources#2922

Merged
t-eckert merged 1 commit intorelease/1.2.xfrom
backport-gateway-deployment-resources-1.2.x
Sep 7, 2023
Merged

Backport of Configure Gateway Deployment Resources#2922
t-eckert merged 1 commit intorelease/1.2.xfrom
backport-gateway-deployment-resources-1.2.x

Conversation

@t-eckert
Copy link
Copy Markdown
Contributor

@t-eckert t-eckert commented Sep 7, 2023

Manual backport of #2723 into 1.2.x. Replaces #2853

* Update comments on Deployment

* Move resources into managedGatewayClass

* Add resource configuration to GatewayClassConfig

* Regenerate CRDs

* Pass resource configuration into the gateway-resources-job

* Pull in resources from GatewayClassConfig

* Add flag for resources in `gateway-resources` subcommand

* Clean up some comments in existing code

* Add gateway-resources configmap

* Load configmap into gateway-resources job

* Load resources from json

* Update CRDs

* Read resources in from the configmap

* Add BATs for Gateway Resources Configmap

* Add Changelog

* Fix unquoted value in BATs

* Fix how resources.json is read

* Fix BATs errors for real

* Fix seg fault bug

* Fix reading of resources file

* Quote "$actual"

* Fix zsh/sh differences in BATs

* Update control-plane/api-gateway/common/helm_config.go

Co-authored-by: Nathan Coleman <nathan.coleman@hashicorp.com>

* Move resources into DeploymentSpec

* Remove extra split in crds

---------

Co-authored-by: Nathan Coleman <nathan.coleman@hashicorp.com>
@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 Sep 7, 2023
@david-yu david-yu self-requested a review September 7, 2023 17:38
Copy link
Copy Markdown
Member

@nathancoleman nathancoleman left a comment

Choose a reason for hiding this comment

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

Matches the source PR. The slight difference in added lines is due to some copyright headers in files that don't exist in the release/1.2.x branch

@t-eckert t-eckert merged commit f19b652 into release/1.2.x Sep 7, 2023
@t-eckert t-eckert deleted the backport-gateway-deployment-resources-1.2.x branch September 7, 2023 18:48
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants