Skip to content

Make Receiver secretRef optional for generic-oidc#1310

Closed
matheuscscp wants to merge 1 commit into
mainfrom
optional-receiver-secret-oidc
Closed

Make Receiver secretRef optional for generic-oidc#1310
matheuscscp wants to merge 1 commit into
mainfrom
optional-receiver-secret-oidc

Conversation

@matheuscscp
Copy link
Copy Markdown
Member

Follow-up for #1306

Today, the token inside the secret must be present but can be empty. I was planning to set an empty token in the secret to use in my clusters for generic-oidc, but then I realized that we can just make the API simpler and not require the secretRef to be set only for generic-oidc.

Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
@matheuscscp matheuscscp added enhancement New feature or request area/receiver Webhook receiver related issues and PRs area/security Security related issues and pull requests labels May 21, 2026
Comment thread docs/spec/v1/receivers.md
Comment on lines 233 to 235
header. The `token` from the [Secret reference](#secret-reference) is used only
to salt the webhook path, as with the [`generic`](#generic) type. The request
is authenticated by the OIDC provider that issued the token.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Remove the part about the Secret reference

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

It's still used, but optional. Defaults to "".

@matheuscscp matheuscscp deleted the optional-receiver-secret-oidc branch May 21, 2026 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/receiver Webhook receiver related issues and PRs area/security Security related issues and pull requests enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants