diff --git a/pyproject.toml b/pyproject.toml index 28e7eefa..d4001ec9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -61,8 +61,7 @@ pytest-mock = "^3.8.2" [tool.poetry.scripts] commodore = 'commodore.cli:main' -local_reveal = 'tools.tools:reveal' -compile = 'tools.tools:compile' +kapitan = 'kapitan.cli:main' [build-system] requires = ["poetry>=0.12"] diff --git a/tools/reveal.sh b/tools/reveal.sh deleted file mode 100755 index eeba1504..00000000 --- a/tools/reveal.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash - -if [ -z "$VAULT_USERNAME" ]; then - read -r -p "Vault username (-): " VAULT_USERNAME - export VAULT_USERNAME -fi -if [ -z "$VAULT_PASSWORD" ]; then - read -r -s -p "Vault password: " VAULT_PASSWORD - export VAULT_PASSWORD -fi - -kapitan refs --reveal --refs-path catalog/refs -f catalog/manifests diff --git a/tools/tools.py b/tools/tools.py deleted file mode 100644 index 019bfff2..00000000 --- a/tools/tools.py +++ /dev/null @@ -1,19 +0,0 @@ -from subprocess import call - - -def local_reveal(): - call("./tools/reveal.sh") - - -def compile(): - call( - [ - "kapitan", - "compile", - "-J", - ".", - "dependencies/", - "--refs-path", - "./catalog/refs", - ] - )