Skip to content

Immutable fields in Spec #739

@nmvk

Description

@nmvk

Is your feature request related to a problem?
Currently many APIs have fields which are valid during creation but cannot be modified later. This can potentially create confusion as the resource would not be updated.

Example -

https://docs.aws.amazon.com/cli/latest/reference/elasticache/create-replication-group.html

In this ElastiCache API, --transit-encryption-enabled , --at-rest-encryption-enabled are currently immutable.

Describe the solution you'd like
Validate if an immutable spec field is modified, then set appropriate condition.

Describe alternatives you've considered
Webhook to validate the immutable fields.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/enhancementCategorizes issue or PR as related to existing feature enhancements.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions