class Orchparty::Services::Helm

Public Instance Methods

install_cmd(helm, fix_file_path = nil) click to toggle source
# File lib/orchparty/kubernetes_application.rb, line 77
def install_cmd(helm, fix_file_path = nil)
  "helm install --namespace #{namespace} --kube-context #{cluster_name} --version #{helm.version} --name #{helm.name} #{helm.chart} #{template(value_path(helm), helm, fix_file_path: fix_file_path)}"
end
upgrade_cmd(helm, fix_file_path = nil) click to toggle source
# File lib/orchparty/kubernetes_application.rb, line 73
def upgrade_cmd(helm, fix_file_path = nil)
  "helm upgrade --namespace #{namespace} --kube-context #{cluster_name} --force --version #{helm.version} #{helm.name} #{helm.chart} #{template(value_path(helm), helm, fix_file_path: fix_file_path)}"
end
value_path(helm) click to toggle source
# File lib/orchparty/kubernetes_application.rb, line 69
def value_path(helm)
  helm[:values]
end