keycloak-scim/server_installation/topics/operator/command-options.adoc
Andrea Peruffo 9f42a09426
Update documentation of operator to support only creation and deletio… (#1402)
* Update documentation of operator to support only creation and deletion of domain objects

* Update server_installation/topics/operator/command-options.adoc

Co-authored-by: Václav Muzikář <vaclav@muzikari.cz>

* Update server_installation/topics/operator/keycloak-realm-cr.adoc

Co-authored-by: Václav Muzikář <vaclav@muzikari.cz>

Co-authored-by: Václav Muzikář <vaclav@muzikari.cz>
2022-04-20 17:17:21 +02:00

27 lines
945 B
Text

[[_command-options]]
=== Command options for managing custom resources
After you create a custom request, you can edit it or delete using the `{create_cmd_brief}` command.
* To edit a custom request, use this command: `{create_cmd_brief} edit <CR-name>`
* To delete a custom request, use this command: `{create_cmd_brief} delete <CR-name>`
For example, to edit a realm custom request named `test-realm`, use this command:
[source,bash,subs=+attributes]
----
$ {create_cmd_brief} edit test-realm
----
A window opens where you can make changes.
[NOTE]
====
You can update the Keycloak CR YAML file and changes will be applied to the deployment.
Updates to the other resources are limited:
Keycloak Realm CR only supports basic creation and deletion without sync options.
Keycloak User and Client CRs support unidirectional updates (changes to the CR are reflected in Keycloak but changes done in Keycloak are not updated in the CR).
====