operator/src/main/java/oracle/kubernetes/operator/helpers/KubernetesUtils.java
static boolean isMissingValues(Map<String, String> current, Map<String, String> required) {
    if (!hasAllRequiredNames(current, required)) {
      return true;
    }
    for (String name : required.keySet()) {
      if (!Objects.equals(current.get(name), required.get(name))) {
        return true;
      }
    }

    return false;
  }
/**
   * Returns true if the current map is missing values from the required map. This method is
   * typically used to compare labels and annotations against specifications derived from the
   * domain.
   *
   * @param current  a map of the values found in a Kubernetes resource
   * @param required a map of the values specified for the resource by the domain
   * @return true if there is a problem that must be fixed by patching
   */
Returns true if the current map is missing values from the required map. This method is
typically used to compare labels and annotations against specifications derived from the
domain.

@param current  a map of the values found in a Kubernetes resource
@param required a map of the values specified for the resource by the domain
@return true if there is a problem that must be fixed by patching
Returns true if the current map is missing values from the required map . This method is typically used to compare labels and annotations against specifications derived from the domain . @param current a map of the values found in a Kubernetes resource @param required a map of the values specified for the resource by the domain @return true if there is a problem that must be fixed by patching
static boolean isMissingValues(Map<String, String> current, Map<String, String> required) {
    if (!hasAllRequiredNames(current, required)) {
      return true;
    }
    for (String name : required.keySet()) {
      if (!Objects.equals(current.get(name), required.get(name))) {
        return true;
      }
    }
    return false;
  }
static boolean isMissingValues ( Map < String , String > current , Map < String , String > required ) { if ( ! hasAllRequiredNames ( current , required ) ) { return true ; } for ( String name : required . keySet ( ) ) { if ( ! Objects . equals ( current . get ( name ) , required . get ( name ) ) ) { return true ; } } return false ; }
Returns true if the current map is missing values from the required map.
Returns true if the current map is missing values from the required map .