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

Doc fixes 1.18 #10557

Merged
merged 5 commits into from
Jan 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/push-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ on:
jobs:
receiver:
runs-on: ubuntu-latest
outputs:
dispatch_lts: ${{ steps.dispatch-receiver.outputs.dispatch_lts }}
steps:
- name: The glooe-release-created event is received when a relase is cut in solo-projects repo
id: dispatch-receiver
Expand Down
5 changes: 5 additions & 0 deletions changelog/v1.18.4/docs-ai-regex-fix.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
changelog:
- type: NON_USER_FACING
description: Adds an alias for incorrect regex capitalization in the ai proto introduced by docs revisions.
- type: NON_USER_FACING
description: Fixes an error in the doc workflow.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions projects/gloo/api/v1/enterprise/options/ai/ai.proto
Original file line number Diff line number Diff line change
Expand Up @@ -646,6 +646,7 @@ message AIPromptGuard {
message HeaderMatch {
// The header string match type.
enum MatchType {
option allow_alias = true;
// The string must match exactly the specified string.
EXACT = 0;
// The string must have the specified prefix.
Expand All @@ -655,6 +656,8 @@ message AIPromptGuard {
// The header string must contain the specified string.
CONTAINS = 3;
// The string must match the specified [RE2-style regular expression](https://github.com/google/re2/wiki/) pattern.
REGEX = 4;
// Do not use. Use `REGEX` (fully capitalized) instead.
regex = 4;
}
// The header key string to match against.
Expand Down
124 changes: 64 additions & 60 deletions projects/gloo/pkg/api/v1/enterprise/options/ai/ai.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.