Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Signed-off-by: Ramesh Malla <[email protected]>
  • Loading branch information
rameshmalla authored Dec 12, 2023
1 parent fb01a68 commit adc8a87
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,16 +76,13 @@ below operations.

### Validate config-map JSON data against JSON schema

The config operator validates the `data` in the config against the JSON `schema` before generating the necessary config
map. The `schema` adheres to the [Draft-4](https://json-schema.org/specification-links#draft-4) convention.
Before generating the required config map, the config operator validates the JSON `data` within the configuration against a JSON `schema`, adhering to the [Draft-4](https://json-schema.org/specification-links#draft-4) convention. This ensures that the configuration adheres to the specified structure and standards.

![Validation flow](./docs/validation.png)

### Restricts direct changes to the native config-map resource

The config-operator monitors the dependent resources (k8s native config-map) of the custom config-map and resets any
manual changes made to the dependent resources. This is done to ensure that config-maps can only be updated through
changes to the custom config-map resource, thereby ensuring proper validations.
To maintain control and consistency, the config-operator imposes restrictions on direct alterations to the native config-map resource. By actively monitoring dependent resources linked to the custom config-map, the operator resets any manual changes made to these resources. This proactive measure guarantees that config-maps can only be updated through modifications to the custom config-map resource, thus enforcing proper validation procedures.

![Rollback flow](./docs/rollback-config.png)

Expand Down

0 comments on commit adc8a87

Please sign in to comment.