Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Maurice Faber
committed
Aug 10, 2021
1 parent
67712b3
commit 3582453
Showing
56 changed files
with
713 additions
and
1,063 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,18 @@ | ||
export USER_ID=${UID-} | ||
export GROUP_ID=${GID-} | ||
export CLUSTER_NAME= # k8s context | ||
export CLUSTER_APISERVER= # k8s api server | ||
# GitOps values repo: | ||
export GIT_USER= | ||
export GIT_EMAIL= | ||
export GIT_PASSWORD= | ||
GIT_USER='' | ||
GIT_EMAIL='' | ||
GIT_PASSWORD='' | ||
# KMS access from here on | ||
# Google (paste json key here without newlines) | ||
export GCLOUD_SERVICE_KEY='' | ||
GCLOUD_SERVICE_KEY='' | ||
# Azure: | ||
export AZURE_TENANT_ID='' | ||
export AZURE_CLIENT_ID='' | ||
export AZURE_CLIENT_SECRET='' | ||
AZURE_TENANT_ID='' | ||
AZURE_CLIENT_ID='' | ||
AZURE_CLIENT_SECRET='' | ||
# AWS: | ||
export AWS_DEFAULT_REGION='' | ||
export AWS_REGION='' | ||
export AWS_ACCESS_KEY_ID='' | ||
export AWS_SECRET_ACCESS_KEY='' | ||
AWS_DEFAULT_REGION='' | ||
AWS_REGION='' | ||
AWS_ACCESS_KEY_ID='' | ||
AWS_SECRET_ACCESS_KEY='' | ||
# Vault: | ||
VAULT_TOKEN='' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"type": "pwa-node", | ||
"request": "launch", | ||
"name": "Launch Program", | ||
"skipFiles": ["<node_internals>/**"], | ||
"program": "${workspaceFolder}/src/otomi.ts", | ||
"args": ["--experimental-specifier-resolution=node", "bootstrap", "-vvv"], | ||
"preLaunchTask": "tsc: build - tsconfig.json", | ||
"outFiles": ["${workspaceFolder}/dist/**/*.js"] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,7 @@ | ||
# Usage: | ||
# ENV_OUT=$PWD/../ENV_OUT VALUES_DIR=$PWD/../ chart/otomi/localtest.sh | ||
# With VALUES_DIR holding a file named values.yaml holding the initial chart values | ||
set -e | ||
|
||
docker run --rm -it \ | ||
--env-file=../.env \ | ||
-e VERBOSITY=1 \ | ||
-e OTOMI_VALUES_INPUT=/secret/values.yaml \ | ||
-e OTOMI_NON_INTERACTIVE='true' \ | ||
-w ${WORKDIR:-$PWD} \ | ||
-e ENV_DIR=/home/app/stack/env \ | ||
-v $ENV_OUT:/home/app/stack/env \ | ||
-v $PWD:$PWD -v $VALUES_DIR:/secret \ | ||
-v /tmp:/tmp $image \ | ||
"binzx/otomi chart bootstrap && binzx/otomi chart merge && binzx/otomi chart push && binzx/otomi apply" | ||
export OTOMI_VALUES_INPUT=/tmp/otomi/secret/values.yaml | ||
export CI=1 | ||
|
||
binzx/otomi bootstrap | ||
binzx/otomi apply |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.