class Kube::Helper
- Kube::Helper
- Reference
- Object
Included Modules
- Kube::Helper::Apps
- Kube::Helper::Args
- Kube::Helper::Group
- Kube::Helper::Helm
- Kube::Helper::Kubectl
- Kube::Helper::Secrets
- Spoved::SystemCmd
Defined in:
kube-helper/version.crkube/helper.cr
Constant Summary
-
VERSION =
{{ (`shards version \"/srv/crystaldoc.info/github-spoved-kube-helper-v1.0.5/src/kube-helper\"`).chomp.stringify }}
Constructors
Class Method Summary
Instance Method Summary
- #check_apps
- #check_config_maps(ks_path : String)
- #check_groups
- #check_kustomize
- #check_manifests(ks_path : String)
- #check_namespaces
- #check_secrets(ks_path : String)
- #config : Config
- #dry_run? : Bool
- #find_bins
- #get_path(sub_path)
- #group_names
- #kube_context : String | Nil
- #list_apps
- #list_kustomize
- #logger
- #opt(key : Symbol) : Bool | String | Nil | Array(String)
- #opts
- #parse_cmd(cmd)
- #run!
- #run_cmd(cmd, args)
- #workdir : String
Instance methods inherited from module Kube::Helper::Group
apply_group(group : ::Group)
apply_group,
is_helm_app?(options : AppOptions) : Bool
is_helm_app?
Instance methods inherited from module Kube::Helper::Helm
_helm_with_chart(options, &)
_helm_with_chart,
_helm_with_values(options, &)
_helm_with_values,
_run_helm(name, options : AppOptions, ks_path : String | Nil = nil)
_run_helm,
chart_installed?(name, options)
chart_installed?,
helm(*_args, namespace, silent : Bool = false, json : Bool = true, version : String | Nil = nil, ks_path : String | Nil = nil, value_files : Array(String) | Nil = nil)
helm,
kube_context : String | Nil
kube_context,
opt(key : Symbol) : Bool | String | Nil | Array(String)
opt,
update_helm_repos
update_helm_repos,
workdir : String
workdir
Instance methods inherited from module Kube::Helper::Apps
apply_after(options, ks_path : String)
apply_after,
apply_app(app : AppOptions, group_name : String = "root")
apply_app,
apply_before(options, ks_path : String)
apply_before,
apply_kustomize(k : KustomizeConfig, ks_path)apply_kustomize(app : AppOptions, group_name) apply_kustomize, run_after(app) run_after, run_before(app) run_before, should_skip?(options : AppOptions) : Bool
should_skip?(options : KustomizeConfig) : Bool should_skip?
Instance methods inherited from module Kube::Helper::Secrets
apply_configmap(secret : Secret, ks_path : String)
apply_configmap,
apply_secret(secret : Secret, ks_path : String)
apply_secret,
build_secret_args(secret, args)
build_secret_args,
from_file_args(file) : String
from_file_args,
from_literal_args(env) : String
from_literal_args,
with_kube_template_file(args, &)
with_kube_template_file
Instance methods inherited from module Kube::Helper::Kubectl
apply_file(file, ks_path : String)
apply_file,
apply_manifest(path : String, namespace : String, ks_path : String)apply_manifest(path : String, ks_path : String) apply_manifest, create_ns(ns : Namespace)
create_ns(ns : String) create_ns, kube_context : String | Nil kube_context, kubectl(args : Array(String), silent = false)
kubectl(*args) kubectl, kubectl?(*args) kubectl?, opt(key : Symbol) : Bool | String | Nil | Array(String) opt