Skip to content

Commit

Permalink
Merge pull request #1993 from MisterMX/fix/iam-rolepolicy-document-sc…
Browse files Browse the repository at this point in the history
…hema-type

fix(iam): Add schema type to RolePolicy document
  • Loading branch information
MisterMX authored Feb 1, 2024
2 parents e6360a2 + 05709ed commit f759905
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions apis/iam/v1beta1/rolepolicy_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import (
type RolePolicyParameters struct {

// The JSON policy document that is the content for the policy.
// +kubebuilder:validation:Type=object
Document extv1.JSON `json:"document"`

// RoleName presents the name of the IAM role.
Expand Down
1 change: 1 addition & 0 deletions package/crds/iam.aws.crossplane.io_rolepolicies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ spec:
document:
description: The JSON policy document that is the content for
the policy.
type: object
x-kubernetes-preserve-unknown-fields: true
roleName:
description: RoleName presents the name of the IAM role.
Expand Down

0 comments on commit f759905

Please sign in to comment.