diff --git a/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/config/ConfigurationServiceOverrider.java b/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/config/ConfigurationServiceOverrider.java index 83894eaa61..acd637cee6 100644 --- a/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/config/ConfigurationServiceOverrider.java +++ b/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/config/ConfigurationServiceOverrider.java @@ -176,6 +176,22 @@ public ConfigurationServiceOverrider withPreviousAnnotationForDependentResources return this; } + /** + * @param value true if internal algorithms can use metadata.resourceVersion as a numeric value. + * @return this + */ + public ConfigurationServiceOverrider withParseResourceVersions( + boolean value) { + this.parseResourceVersions = value; + return this; + } + + /** + * @deprecated use withParseResourceVersions + * @param value true if internal algorithms can use metadata.resourceVersion as a numeric value. + * @return this + */ + @Deprecated(forRemoval = true) public ConfigurationServiceOverrider wihtParseResourceVersions( boolean value) { this.parseResourceVersions = value;