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

feat: Expose initial_metadata in GrpcHealthCheck #8511

Merged
merged 11 commits into from
Aug 1, 2023

Conversation

davidjumani
Copy link
Contributor

@davidjumani davidjumani commented Jul 25, 2023

Description

Exposes the initial_metadata field in GrpcHealthCheck

Context

#8490

Checklist:

  • I included a concise, user-facing changelog (for details, see https://github.com/solo-io/go-utils/tree/main/changelogutils) which references the issue that is resolved.
  • If I updated APIs (our protos) or helm values, I ran make -B install-go-tools generated-code to ensure there will be no code diff
  • I followed guidelines laid out in the Gloo Edge contribution guide
  • I opened a draft PR or added the work in progress label if my PR is not ready for review
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works

BOT NOTES:
resolves #8490

@github-actions github-actions bot added the keep pr updated signals bulldozer to keep pr up to date with base branch label Jul 25, 2023
@davidjumani davidjumani force-pushed the expose-initialmetadata-grpchealthcheck branch from a78bd04 to a626dc8 Compare July 27, 2023 20:14
@davidjumani davidjumani marked this pull request as ready for review July 28, 2023 13:39
@davidjumani davidjumani requested a review from a team as a code owner July 28, 2023 13:39
@davidjumani davidjumani force-pushed the expose-initialmetadata-grpchealthcheck branch from 171d379 to 009db75 Compare July 28, 2023 17:10
@davidjumani davidjumani changed the base branch from v1.14.x to main July 28, 2023 17:11
@solo-changelog-bot
Copy link

Issues linked to changelog:
#8490

// Specifies a list of key-value pairs that should be added to the metadata of each GRPC call
// that is sent to the health checked cluster.
repeated .solo.io.envoy.api.v2.core.HeaderValueOption initial_metadata = 3
[(validate.rules).repeated .max_items = 1000];
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@github-actions
Copy link

github-actions bot commented Jul 28, 2023

Visit the preview URL for this PR (updated for commit 78932d2):

https://gloo-edge--pr8511-expose-initialmetada-8qa4vxzw.web.app

(expires Mon, 07 Aug 2023 19:22:44 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 77c2b86e287749579b7ff9cadb81e099042ef677

davidjumani and others added 2 commits July 28, 2023 13:44
Copy link
Contributor

@elcasteel elcasteel left a comment

Choose a reason for hiding this comment

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

Looks good if we can definitively resolve the question about protected metadata fields

@davidjumani davidjumani force-pushed the expose-initialmetadata-grpchealthcheck branch from 47ed3cd to 78932d2 Compare July 31, 2023 18:52
@soloio-bulldozer soloio-bulldozer bot merged commit c29c4b0 into main Aug 1, 2023
12 checks passed
@soloio-bulldozer soloio-bulldozer bot deleted the expose-initialmetadata-grpchealthcheck branch August 1, 2023 14:33
davidjumani added a commit that referenced this pull request Aug 1, 2023
* feat: Expose initial_metadata in GrpcHealthCheck

* Trigger CI

* Fix uneven whitespace

Co-authored-by: Nathan Fudenberg <nathan.fudenberg@solo.io>

* Adding changelog file to new location

* Avoid code duplcation

* Removing duplicate changelog

* fix test

* Add check for forbidden custom headers

---------

Co-authored-by: David Jumani <djumani@Solo-System-DJumani.local>
Co-authored-by: soloio-bulldozer[bot] <48420018+soloio-bulldozer[bot]@users.noreply.github.com>
Co-authored-by: Nathan Fudenberg <nathan.fudenberg@solo.io>
Co-authored-by: changelog-bot <changelog-bot>
soloio-bulldozer bot added a commit that referenced this pull request Aug 1, 2023
* feat: Expose initial_metadata in GrpcHealthCheck (#8511)

* feat: Expose initial_metadata in GrpcHealthCheck

* Trigger CI

* Fix uneven whitespace

Co-authored-by: Nathan Fudenberg <nathan.fudenberg@solo.io>

* Adding changelog file to new location

* Avoid code duplcation

* Removing duplicate changelog

* fix test

* Add check for forbidden custom headers

---------

Co-authored-by: David Jumani <djumani@Solo-System-DJumani.local>
Co-authored-by: soloio-bulldozer[bot] <48420018+soloio-bulldozer[bot]@users.noreply.github.com>
Co-authored-by: Nathan Fudenberg <nathan.fudenberg@solo.io>
Co-authored-by: changelog-bot <changelog-bot>

* Move changelog

* Update changelog

---------

Co-authored-by: David Jumani <djumani@Solo-System-DJumani.local>
Co-authored-by: soloio-bulldozer[bot] <48420018+soloio-bulldozer[bot]@users.noreply.github.com>
Co-authored-by: Nathan Fudenberg <nathan.fudenberg@solo.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
keep pr updated signals bulldozer to keep pr up to date with base branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Expose custom request headers with GrpcHealthCheck
3 participants