Skip to content

Commit

Permalink
Keep compatibility with KubernetesDeploy API
Browse files Browse the repository at this point in the history
  • Loading branch information
Douglas Soares de Andrade committed Oct 25, 2019
1 parent 2e0a99b commit 6664b95
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 608 deletions.
2 changes: 1 addition & 1 deletion exe/kubernetes-deploy
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ ARGV.options do |opts|
"(format: k1=v1,k2=v2, JSON string or file (JSON or YAML) path prefixed by '@')") { |b| parser.add(b) }

opts.on("--skip-wait", "Skip verification of non-priority-resource success (not recommended)") { skip_wait = true }
prot_ns = Krane::DeployTask::PROTECTED_NAMESPACES.join(', ')
prot_ns = KubernetesDeploy::DeployTask::PROTECTED_NAMESPACES.join(', ')
opts.on("--allow-protected-ns", "Enable deploys to #{prot_ns}; requires --no-prune") { allow_protected_ns = true }
opts.on("--no-prune", "Disable deletion of resources that do not appear in the template dir") { prune = false }
opts.on("--template-dir=DIR", "Set the template dir (default: config/deploy/$ENVIRONMENT).") do |dir|
Expand Down
Loading

0 comments on commit 6664b95

Please sign in to comment.