Skip to content

Add support for user.openshift.io resources#244

Open
Patrickdsa00 wants to merge 4 commits into
gmeghnag:mainfrom
Patrickdsa00:add-user-identity-resources
Open

Add support for user.openshift.io resources#244
Patrickdsa00 wants to merge 4 commits into
gmeghnag:mainfrom
Patrickdsa00:add-user-identity-resources

Conversation

@Patrickdsa00

Copy link
Copy Markdown

This minor change in the cmd/get/known-resources.yaml file has the purpose of adding support to get Users, Groups, and Identities resources (from the user.openshift.io group) with the command omc get, when those resources are collected with oc adm inspect groups,users,identities.

@gmeghnag

Copy link
Copy Markdown
Owner

Hey @Patrickdsa00, thank you for the PR. It is incomplete.

The YAML resource deserialization won't work without the resources' types referenced in RawObjectToRuntimeObject function.

Also, please add the resources' type here as well: here.

…, Group, and Identity types in deserializer - Add type handlers in know-types.go - Register user types in schema initialization
@Patrickdsa00

Copy link
Copy Markdown
Author

Hello @gmeghnag, thanks for reviewing it. I've just made a commit with the suggested changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants