def unset_env(context, environment, namespace=None): configmap = ConfigMap(context, namespace=namespace) configmap.load() for s in environment: configmap.delete(s) configmap.save()
def unset_env(context, environment): configmap = ConfigMap(context) configmap.load() for s in environment: configmap.delete(s) configmap.save()