Skip to content

Applying invalid spec on an existing workloaddoesn't throw an error #45

@cprivitere

Description

@cprivitere

What task were you trying to complete?

Updating a workload spec.

Describe the usability issue

If I have successfully deployed a workload spec and later re-apply it to add a field to it that isn't currently supported (say spec.template.spec.volumes[0].configMap.items) it doesn't throw an error, just says workload.compute.datumapis.com/name configured

If I delete the workload and try to apply it, i get:

The Workload "name" is invalid: spec.template.spec.volumes[0].configMap.items: Forbidden: not implemented

I assume this is just a validation hook that's missing or something.

Why was this confusing or difficult for you?

It tells me it's successful when it really isn't. Then I have to guess why my workload isn't working not realizing that the workload I think is running isn't.

What did you expect to happen instead? (Optional)

No response

Do you have any suggestions for improvement? (Optional)

No response

Relevant URL or Section of the Application (Optional)

No response

Attachments / Screenshots (Optional)

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Status

To triage

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions