-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from marcb1/marcb/updating-docs
updating docs + k8s manifests
- Loading branch information
Showing
13 changed files
with
122 additions
and
91 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,10 +1,14 @@ | ||
PORT= | ||
WEBHOOK_SECRET= | ||
LOG_LEVEL= | ||
PORT=80 | ||
LOG_LEVEL=info | ||
KUBECTL_EXTERNAL_DIFF= | ||
#------------------------ | ||
# the env variables are required for running k8s, check the README for deployment | ||
APP_ID= | ||
PRIVATE_KEY_PATH= | ||
GHE_HOST= | ||
ARGOCD_AUTH_TOKEN= | ||
ARGOCD_SERVER= | ||
GITHUB_TOKEN= | ||
GITHUB_REPO= | ||
GITHUB_TOKEN= | ||
WEBHOOK_SECRET= | ||
PRIVATE_KEY_PATH= | ||
ARGOCD_SERVER= | ||
ARGOCD_AUTH_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 |
---|---|---|
|
@@ -4,4 +4,3 @@ gh_keys | |
package-lock.json | ||
node_modules | ||
lib/ | ||
deployment/install.yaml |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
#!/usr/bin/env bash | ||
set -e | ||
|
||
# helper script to push to docker hub: https://hub.docker.com/r/marcb1/argocd-bot | ||
|
||
version=0.1 | ||
|
||
docker build -f Dockerfile -t argocd-bot . | ||
docker tag argocd-bot marcb1/argocd-bot:v${version} | ||
docker push marcb1/argocd-bot:v${version} |
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,12 @@ | ||
#!/usr/bin/env bash | ||
export $(cat .env | xargs -L1) | ||
|
||
kubectl create secret generic argocd-bot-secret \ | ||
--from-literal=APP_ID=$APP_ID \ | ||
--from-literal=GHE_HOST=$GHE_HOST \ | ||
--from-literal=GITHUB_REPO=$GITHUB_REPO \ | ||
--from-literal=GITHUB_TOKEN=$GITHUB_TOKEN \ | ||
--from-literal=WEBHOOK_SECRET=$WEBHOOK_SECRET \ | ||
--from-file=key.pem=$PRIVATE_KEY_PATH \ | ||
--from-literal=ARGOCD_SERVER=$ARGOCD_SERVER \ | ||
--from-literal=ARGOCD_AUTH_TOKEN=$ARGOCD_AUTH_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
Oops, something went wrong.