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

documentation update #978

Merged
merged 2 commits into from
Jun 3, 2024
Merged

documentation update #978

merged 2 commits into from
Jun 3, 2024

Conversation

v0lkan
Copy link
Contributor

@v0lkan v0lkan commented Jun 3, 2024

this PR updates documentation and release notes.

I also added some code that has been overwritten while rebasing the code.

@v0lkan v0lkan self-assigned this Jun 3, 2024
@v0lkan v0lkan requested a review from BulldromeQ as a code owner June 3, 2024 08:26
return strings.HasPrefix(spiffeid, env.SpiffeIdPrefixForSentinel())
prefix := env.SpiffeIdPrefixForSentinel()

if strings.HasPrefix(prefix, spiffeRegexPrefixStart) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

If the env var starts with a ^, then we do a regular expression match.

We intentionally use ^ because we would at least want to match the trust domain in the regular expression for security and to avoid configuration errors.

@v0lkan v0lkan merged commit 050ff24 into main Jun 3, 2024
@v0lkan v0lkan deleted the ovolkan/docs branch June 3, 2024 08:29
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