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

Service api calls with custom http headers #1478

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

kushal9897
Copy link

Related issue

#1400

Proposed Changes

This commit adds support for custom HTTP headers in service API calls. With this update, Kyverno now allows users to specify custom HTTP headers (such as "UserAgent" and "Authorization") within the service section of an API call. This enhancement enables dynamic variable substitution (e.g., {{ MY_SECRET }}) for passing credentials and other metadata to external services, improving both flexibility and security.

Checklist

  • [*] I have read the contributing guidelines.
  • [*] I have inspected the website preview for accuracy.
  • [*] I have signed off my issue.

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.

1 participant