Skip to content

Cluster template_parameters should be immutable once cluster object is created #140

@trewest

Description

@trewest

When creating cluster objects we currently have the ability to add new template parameters and update existing ones. These should be immutable

$ fcli get cluster 019a11cb-69ba-739f-b636-084af8f8c841 -o json | jq -r '.spec.template_parameters["new_bool"]'
{
  "@type": "type.googleapis.com/google.protobuf.BoolValue",
  "value": false
}
$ fcli edit cluster 019a11cb-69ba-739f-b636-084af8f8c841 # update to true                                                      
λ  multi-tenancy-tests fcli get cluster 019a11cb-69ba-739f-b636-084af8f8c841 -o json | jq -r '.spec.template_parameters["new_bool"]'
{
  "@type": "type.googleapis.com/google.protobuf.BoolValue",
  "value": true
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions