class Orchparty::Services::Apply

Public Instance Methods

install_cmd(apply, fix_file_path = nil) click to toggle source
# File lib/orchparty/kubernetes_application.rb, line 92
def install_cmd(apply, fix_file_path = nil)
  "kubectl apply --namespace #{namespace} --context #{cluster_name} #{template(value_path(apply), apply, fix_file_path: fix_file_path)}"
end
upgrade_cmd(apply, fix_file_path = nil) click to toggle source
# File lib/orchparty/kubernetes_application.rb, line 88
def upgrade_cmd(apply, fix_file_path = nil)
  "kubectl apply --namespace #{namespace} --context #{cluster_name} #{template(value_path(apply), apply, fix_file_path: fix_file_path)}"
end
value_path(apply) click to toggle source
# File lib/orchparty/kubernetes_application.rb, line 84
def value_path(apply)
  apply[:name]
end