in config_operator/config_operator/k8s/K8sConfigMap.py [0:0]
def _patch(self):
""" replaces files available in the config but does not delete
what is not available (e.g. which has not been parsed)"""
try:
logger.info(f'replace configMap entry {self._configmap_name}')
api_response = self._api_core_v1_instance.patch_namespaced_config_map(
name=self._configmap_name,
namespace=self._namespace,
body=self._create_configmap_object()
)
logger.info(api_response)
except ApiException as e:
raise e