Verified Commit f67e3836 authored by Dmytro Bogatov's avatar Dmytro Bogatov 💕

Some work on status site.

parent 7595c59e
......@@ -9,6 +9,7 @@ infra/dashboard/
.secret.sh
infra/sources/shevastream/appsettings.json
infra/sources/status-site/do-secret.yaml
infra/terraform/spaces/
......
......@@ -153,7 +153,7 @@ cd $CWD
echo "Deploying websites' settings"
# kubectl create secret -n status-site generic appsettings.production.yml --from-file=$STATUSSITECONFIG
kubectl create secret -n status-site generic appsettings.production.yml --from-file=$STATUSSITECONFIG
kubectl create secret -n websites generic shevastream-appsettings --from-file=appsettings=sources/shevastream/appsettings.json
echo "Generating config files"
......
......@@ -11,7 +11,7 @@ SERVICES["mail-dbogatov-org"]="registry.dbogatov.org/dbogatov/nginx-proxies/mail
SERVICES["dns-dbogatov-org"]="registry.dbogatov.org/dbogatov/nginx-proxies/dns-dbogatov-org:latest"
SERVICES["webcam-dbogatov-org"]="registry.dbogatov.org/dbogatov/nginx-proxies/webcam-dbogatov-org:latest"
SERVICES["ore-dbogatov-org"]="registry.dbogatov.org/bu/ore-benchmark/project-code/docs:master"
SERVICES["status-dbogatov-org"]="registry.dbogatov.org/dbogatov/nginx-proxies/status-dbogatov-org:latest"
# SERVICES["status-dbogatov-org"]="registry.dbogatov.org/dbogatov/nginx-proxies/status-dbogatov-org:latest"
SERVICES["nigmatullina-org"]="registry.dbogatov.org/dbogatov/inara-cv:latest"
......
{
"Data": {
"Users": [{
"Id": 1,
"FullName": "Dmytro Bogatov",
"NickName": "@dmytro",
"ImageUrl": "https://shevastream.com/images/team/dmytro.png",
"Position": "Засновник Sheva Stream, програміст",
"Occupation": "Worcester Polytechnic Institute, Computer Science, Class of 2017",
"Password": "__REPLACE__"
},
{
"Id": 2,
"FullName": "Polina Guley",
"NickName": "@polly",
"ImageUrl": "https://shevastream.com/images/team/polina.png",
"Position": "Засновниця Sheva Stream",
"Occupation": "КНУ ім. Т. Шевченка",
"Password": "__REPLACE__"
},
{
"Id": 3,
"FullName": "Anton Melnikov",
"NickName": "@melnikov",
"ImageUrl": "https://shevastream.com/images/team/anton.jpg",
"Position": "Засновник Sheva Stream",
"Occupation": "КНУ ім. Т. Шевченка",
"Password": "__REPLACE__"
}
]
},
"ReCaptcha": {
"Enable": true,
"SecretKey": "__REPLACE__",
"SiteKey": "__REPLACE__"
}
}
apiVersion: v1
kind: Secret
metadata:
name: digitalocean
namespace: kube-system
stringData:
access-token: __SECRET__
#!/usr/bin/env bash
set -e
shopt -s globstar
# Ensure that the CWD is set to script's location
cd "${0%/*}"
CWD=$(pwd)
SECRET=$(cat ~/.config/digital-ocean/token)
cp do-secret.template do-secret.yaml
sed -i -e "s#__SECRET__#$SECRET#g" do-secret.yaml
rm ./*-e
echo "Done!"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment