Service Attachment Type Missing From PolicyTargetReference Documentation

Open
#3,198 0 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@danehans is already working on this.

Since May 15, 2024.

Assessment

This issue has not been assessed yet.

Description

kind/docs

Bug description
The PolicyTargetReference API docs do not include a Service resource as a supported attachment type even though this type is reference in the Ambient Getting Started guide.

Affected product area (please put an X in all that apply)

[ ] Configuration Infrastructure
[X] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience

Expected behavior
The ability to reference a Service in an auth policy but according to the API docs only a Gateway is supported.

Steps to reproduce the bug
Use the example provided in https://istio.io/latest/docs/reference/config/security/authorization-policy/

Version (include the output of istioctl version --remote and kubectl version)
1.22

How was Istio installed?
istioctl install --set profile=ambient --skip-confirmation

Environment where bug was observed (cloud vendor, OS, etc)
kind cluster

Additionally, please consider attaching a cluster state archive by attaching
the dump file to this issue.

Dominant language
Go
Stars
523
Forks
623
Avg merge
5d 20h
Merged PRs (30d)
4

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from istio/api

All issues in istio/api

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.