def apply_configmap()

in standalone/aws_auth_config.py [0:0]


def apply_configmap(client_api_instance, configmap):
    try:
        api_response = client_api_instance.create_namespaced_config_map(
            namespace="kube-system",
            body=configmap,
            pretty = 'simple_example',
        )
        pprint(api_response)

    except ApiException as e:
        print("Exception when calling CoreV1Api->create_namespaced_config_map: %s\n" % e)
        raise