-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
20 lines (20 loc) · 1.36 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
"name": "kube-apisix-linkerd-ory-kustomize",
"version": "1.0.0",
"description": "This is an example to deploy apisix as gateway with linkerd and the ory stack using kustomize",
"scripts": {
"docker:compose:up": "docker-compose up -d",
"docker:compose:down": "docker-compose down",
"terraform:init": "pnpm run terraform:init:provisioning-local-cluster && pnpm run terraform:init:configuring-vault",
"terraform:init:provisioning-local-cluster": "terraform -chdir=terraform/provisioning-local-cluster init",
"terraform:init:configuring-vault": "terraform -chdir=terraform/configuring-vault init",
"kube:cluster:create": "terraform -chdir=terraform/provisioning-local-cluster apply -auto-approve",
"kube:cluster:destroy": "terraform -chdir=terraform/provisioning-local-cluster destroy -auto-approve",
"kube:cluster:delete": "k3d cluster delete kube-apisix-linkerd-ory",
"kube:vault:init": "kubectl exec -it vault-0 -n vault --container vault -- vault operator init -key-shares=1 -key-threshold=1 -format=json > vault-keys.json",
"kube:vault:unseal": "kubectl exec -it vault-0 -n vault --container vault -- vault operator unseal $(cat vault-keys.json | jq -r '.unseal_keys_b64[0]')",
"kube:vault:config": "terraform -chdir=terraform/configuring-vault apply -auto-approve"
},
"author": "iverly <[email protected]>",
"license": "Apache-2.0"
}