Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
kubernetes-operator-0.2.0
Description
At initialization phase, operator would request pre-resources for driver first, then apply the owner references on these resources with created driver pod uid.
The latter patching is currently failing as it's decorating on created resource (which have managed fields set).
```
Message: metadata.managedFields must be nil.
```
> ... when using the Apply operation you cannot define managedFields in the body of the request that you submit.
https://kubernetes.io/docs/reference/using-api/server-side-apply/
The patch body shall not include generated `managedFields`
Attachments
Issue Links
- links to