Skip to content

update mcp-gateway authn/authz guides#110677

Merged
ShaunaDiaz merged 1 commit intoopenshift:mcp-gateway-docs-tpfrom
Patryk-Stefanski:fix-auth-authz-docs
Apr 24, 2026
Merged

update mcp-gateway authn/authz guides#110677
ShaunaDiaz merged 1 commit intoopenshift:mcp-gateway-docs-tpfrom
Patryk-Stefanski:fix-auth-authz-docs

Conversation

@Patryk-Stefanski
Copy link
Copy Markdown

@Patryk-Stefanski Patryk-Stefanski commented Apr 23, 2026

@openshift-ci openshift-ci Bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Apr 23, 2026
@ocpdocs-previewbot
Copy link
Copy Markdown

ocpdocs-previewbot commented Apr 23, 2026

+
[source,json,subs="+quotes"]
----
$ oc patch gateway _<mcp_gateway>_ -n _<gateway_system>_ --type json -p '[
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

should this section, lines 44-50 in the install doc be updated to match this?

  • we can make the listener a prereq to this procedure
  • add a note to the install doc that you need to config this listener to create authorization
  • then we can remove the step from this procedure

WDYT?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

sounds good to me, I removed it from this pr and added it as a prereq. Do you want to add it to your current installation PR, or will I create a follow-up PR?

Copy link
Copy Markdown
Contributor

@ShaunaDiaz ShaunaDiaz Apr 24, 2026

Choose a reason for hiding this comment

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

I can add it to the installation PR, but since you removed it from this PR I can't see it, so I might miss something.

Comment thread modules/proc-mcp-gateway-authorization.adoc Outdated
Comment thread modules/proc-mcp-gateway-authorization.adoc Outdated
Comment thread modules/proc-mcp-gateway-authorization.adoc Outdated
----
$ oc apply -f _<mcp_tool_auth_policy.yaml>_
$ oc apply -f - <<EOF
<AuthPolicy CR from the previous step>
Copy link
Copy Markdown
Contributor

@ShaunaDiaz ShaunaDiaz Apr 23, 2026

Choose a reason for hiding this comment

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

Suggested change
<AuthPolicy CR from the previous step>
_<mcp_tool_auth_policy.yaml>_

user-replaceable values can only look like this
I also don't think the EOF works when we separate file creation from application? (having the yaml in one step and application of the resource in a second step is preferred in docs)

Comment thread modules/proc-configure-mcp-gateway-authentication.adoc
Copy link
Copy Markdown
Contributor

@ShaunaDiaz ShaunaDiaz left a comment

Choose a reason for hiding this comment

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

@Patryk-Stefanski would you mind squashing the commits and fixing that one +? Then I can merge this.

Comment thread modules/proc-configure-mcp-gateway-authentication.adoc
@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented Apr 24, 2026

@Patryk-Stefanski: all tests passed!

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@ShaunaDiaz ShaunaDiaz merged commit 35d949b into openshift:mcp-gateway-docs-tp Apr 24, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants