Skip to content

Commit

Permalink
Upgrade to Kubernetes 1.31 types (#150)
Browse files Browse the repository at this point in the history
Upstream API breakages are reflected here.

Signed-off-by: Scott Andrews <[email protected]>
  • Loading branch information
scothis authored Aug 15, 2024
1 parent 1b2f39f commit 56e4760
Show file tree
Hide file tree
Showing 19 changed files with 3,194 additions and 771 deletions.
16 changes: 4 additions & 12 deletions apis/apps/v1/zz_generated.die.go

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

10 changes: 10 additions & 0 deletions apis/authorization/v1/subjectaccessreview.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,20 @@ func (d *SubjectAccessReviewSpecDie) AddExtra(key string, value authorizationv1.
}

// +die
// +die:field:name=FieldSelector,die=FieldSelectorAttributesDie,pointer=true
// +die:field:name=LabelSelector,die=LabelSelectorAttributesDie,pointer=true
type _ = authorizationv1.ResourceAttributes

// +die
type _ = authorizationv1.NonResourceAttributes

// +die
type _ = authorizationv1.SubjectAccessReviewStatus

// +die
// +die:field:name=Requirements,package=_/meta/v1,die=FieldSelectorRequirementDie,listType=atomic
type _ = authorizationv1.FieldSelectorAttributes

// +die
// +die:field:name=Requirements,package=_/meta/v1,die=LabelSelectorRequirementDie,listType=atomic
type _ = authorizationv1.LabelSelectorAttributes
Loading

0 comments on commit 56e4760

Please sign in to comment.