Skip to content

Add refrences API#376

Merged
mjudeikis merged 4 commits into
kbind-dev:mainfrom
mjudeikis:references
Nov 17, 2025
Merged

Add refrences API#376
mjudeikis merged 4 commits into
kbind-dev:mainfrom
mjudeikis:references

Conversation

@mjudeikis

@mjudeikis mjudeikis commented Nov 11, 2025

Copy link
Copy Markdown
Contributor

Summary

  • Add PermissionClaims.References api with jsonPath
  • Make permission claims OR'ed (it was AND'ed now)
  • Fix provider to consumer object namespace syncing
  • Rework kcp user-facing docs
  • Refactor tests more to reuse existing examples so we have less yaml to maintain

References api example:

  permissionClaims:
  - group: ""
    resource: secrets
    selector:
      labelSelector:
        matchLabels:
          app: sheriff
      references:
        - resource: sheriffs
          group: wildwest.dev
          jsonPath:
            name: spec.secretRefs.#.name
            namespace: spec.secretRefs.#.namespace

What Type of PR Is This?

/kind feature
/kind api-change

Related Issue(s)

Fixes #

Release Notes

Reference api for PermissionClaims
Make permissionClaims OR'ed vs AND'ed now
Fix namespace re-map from provider to consumer

@mjudeikis mjudeikis requested a review from a team as a code owner November 11, 2025 15:35
@mjudeikis mjudeikis marked this pull request as draft November 12, 2025 15:55
Signed-off-by: Mangirdas Judeikis <mangirdas@judeikis.lt>
On-behalf-of: @SAP mangirdas.judeikis@sap.com
@mjudeikis mjudeikis marked this pull request as ready for review November 14, 2025 11:19
coderabbitai[bot]
coderabbitai Bot previously approved these changes Nov 14, 2025
coderabbitai[bot]
coderabbitai Bot previously approved these changes Nov 14, 2025
Comment thread test/e2e/framework/backend.go Outdated
Comment thread pkg/resources/resources.go Outdated
Comment thread pkg/resources/resources.go
Comment thread pkg/resources/resources.go Outdated
coderabbitai[bot]
coderabbitai Bot previously approved these changes Nov 14, 2025
@mjudeikis mjudeikis merged commit fbc5071 into kbind-dev:main Nov 17, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants