Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add description to consoleAccess field for MQ User #1453

Merged
merged 1 commit into from
Aug 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion apis/mq/v1alpha1/zz_user_types.go

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

5 changes: 5 additions & 0 deletions config/mq/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (
"fmt"

"github.com/crossplane/upjet/pkg/config"
"github.com/crossplane/upjet/pkg/registry"
)

// Configure adds configurations for the mq group.
Expand Down Expand Up @@ -68,5 +69,9 @@ func Configure(p *config.Provider) {
TerraformName: "aws_mq_broker",
}
r.Version = "v1alpha1"
r.MetaResource = &registry.Resource{
ArgumentDocs: make(map[string]string),
}
r.MetaResource.ArgumentDocs["console_access"] = `- (Optional) Setting consoleAccess will result in an update loop till the MQ Broker to which this user belongs is restarted.`
})
}
8 changes: 7 additions & 1 deletion package/crds/mq.aws.upbound.io_users.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ spec:
name: v1alpha1
schema:
openAPIV3Schema:
description: User is the Schema for the Users API. <no value>
description: User is the Schema for the Users API.
properties:
apiVersion:
description: |-
Expand Down Expand Up @@ -149,6 +149,8 @@ spec:
type: object
type: object
consoleAccess:
description: Setting consoleAccess will result in an update loop
till the MQ Broker to which this user belongs is restarted.
type: boolean
groups:
items:
Expand Down Expand Up @@ -273,6 +275,8 @@ spec:
type: object
type: object
consoleAccess:
description: Setting consoleAccess will result in an update loop
till the MQ Broker to which this user belongs is restarted.
type: boolean
groups:
items:
Expand Down Expand Up @@ -486,6 +490,8 @@ spec:
brokerId:
type: string
consoleAccess:
description: Setting consoleAccess will result in an update loop
till the MQ Broker to which this user belongs is restarted.
type: boolean
groups:
items:
Expand Down
Loading