We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2099d2e commit 31fa30fCopy full SHA for 31fa30f
openshift/dynamic/apply.py
@@ -32,7 +32,11 @@ def apply(resource, definition):
32
else:
33
return actual
34
35
- return resource.patch(body=definition, name=definition['metadata']['name'], namespace=definition['metadata'].get('namespace'))
+ return resource.patch(
36
+ body=definition,
37
+ name=definition['metadata']['name'],
38
+ namespace=definition['metadata'].get('namespace'),
39
+ content_type='application/merge-patch+json')
40
41
42
# The patch is the difference from actual to desired without deletions, plus deletions
0 commit comments