class ConfigMapJsonPathEquivalent {
  private static final Logger logger = LoggerFactory.getLogger(ConfigMapJsonPathEquivalent.class);

  public static void main(String[] args) {<FILL_FUNCTION_BODY>}
}

    try (KubernetesClient client = new KubernetesClientBuilder().build()) {
      String databaseValue = client.configMaps().inNamespace("default").withName("cm1").get().getData().get("database");
      logger.info("ConfigMap {} has {} value for key={}", "cm1", databaseValue, "database");
    }
  
<no_super_class>