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.
2 parents 0c5f6ed + eb56dd8 commit 682f5daCopy full SHA for 682f5da
operator/src/main/java/oracle/kubernetes/operator/helpers/CRDHelper.java
@@ -152,9 +152,10 @@ private boolean isOutdatedCRD(V1beta1CustomResourceDefinition existingCRD) {
152
}
153
154
Step updateCRD(Step next, V1beta1CustomResourceDefinition existingCRD) {
155
+ model.getMetadata().setResourceVersion(existingCRD.getMetadata().getResourceVersion());
156
return new CallBuilder()
157
.replaceCustomResourceDefinitionAsync(
- model.getMetadata().getName(), createModel(), createReplaceResponseStep(next));
158
+ model.getMetadata().getName(), model, createReplaceResponseStep(next));
159
160
161
ResponseStep<V1beta1CustomResourceDefinition> createReplaceResponseStep(Step next) {
0 commit comments