Пример #1
0
def update(app_name, verbose):
    """Updates the Kubernetes based resources defined in ./hokusai/{APP_NAME}.yml"""
    set_verbosity(verbose)
    hokusai.k8s_update(KUBE_CONTEXT,
                       namespace=clean_string(app_name),
                       filename=os.path.join(CWD, HOKUSAI_CONFIG_DIR,
                                             "%s.yml" % app_name),
                       skip_checks=True)
Пример #2
0
def update(check_branch, check_remote, skip_checks, filename, dry_run,
           verbose):
    """Update the Kubernetes resources defined in ./hokusai/staging.yml"""
    set_verbosity(verbose)
    hokusai.k8s_update(KUBE_CONTEXT,
                       check_branch=check_branch,
                       check_remote=check_remote,
                       skip_checks=skip_checks,
                       filename=filename,
                       dry_run=dry_run)
Пример #3
0
def update(verbose):
    """Update the Kubernetes resources defined in ./hokusai/staging.yml"""
    set_verbosity(verbose)
    hokusai.k8s_update(KUBE_CONTEXT)
Пример #4
0
def update(app_name, verbose):
    """Updates the Kubernetes based resources defined in ./hokusai/{APP_NAME}.yml"""
    set_verbosity(verbose)
    hokusai.k8s_update(KUBE_CONTEXT,
                       namespace=clean_string(app_name),
                       yaml_file_name=app_name)