示例#1
0
def create(verbose):
    """Create the Kubernetes configmap object `{project_name}-environment`"""
    set_verbosity(verbose)
    hokusai.create_env(KUBE_CONTEXT)
示例#2
0
def create(app_name, verbose):
    """Create the Kubernetes configmap object `{project_name}-environment` in the {APP_NAME} namespace"""
    set_verbosity(verbose)
    hokusai.create_env(KUBE_CONTEXT, namespace=clean_string(app_name))