Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: added email+home receiver, moved cloud settings to own props
- Loading branch information
Maurice Faber
committed
Nov 28, 2020
1 parent
f7c2640
commit 8392c47
Showing
32 changed files
with
244 additions
and
242 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 |
---|---|---|
|
@@ -26,8 +26,6 @@ | |
"mkilled", | ||
"nindent", | ||
"nslookup", | ||
"oo", | ||
"oo mkilled", | ||
"RAGRS", | ||
"jwks", | ||
"RAGZRS", | ||
|
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,8 +4,5 @@ charts: | |
- aks.otomi.cloud | ||
azure: | ||
region: westeurope | ||
clouds: | ||
azure: | ||
diskType: Standard_LRS | ||
otomi: | ||
hasCloudLB: true |
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,28 +1,30 @@ | ||
oidc: | ||
clientSecret: somesecretvalue | ||
idp: | ||
clientSecret: somesecretvalue | ||
otomi: | ||
pullSecret: c29tZXNlY3JldHZhbHVlCg== | ||
|
||
clouds: | ||
google: | ||
cloudDnsKey: | | ||
{ | ||
"type": "service_account", | ||
"project_id": "project_id-cloud", | ||
"private_key_id": "private_key_id", | ||
"private_key": "-----BEGIN PRIVATE KEY-----\n private_key ----END PRIVATE KEY-----\n", | ||
"client_email": "client_email", | ||
"client_id": "client_id", | ||
"auth_uri": "https://accounts.google.com/o/oauth2/auth", | ||
"token_uri": "https://oauth2.googleapis.com/token", | ||
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs", | ||
"client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/dnsmanager%40otomi-cloud.iam.gserviceaccount.com" | ||
} | ||
azure: | ||
monitor: | ||
clientId: somesecretvalue | ||
clientSecret: somesecretvalue | ||
google: | ||
cloudDnsKey: | | ||
{ | ||
"type": "service_account", | ||
"project_id": "project_id-cloud", | ||
"private_key_id": "private_key_id", | ||
"private_key": "-----BEGIN PRIVATE KEY-----\n private_key ----END PRIVATE KEY-----\n", | ||
"client_email": "client_email", | ||
"client_id": "client_id", | ||
"auth_uri": "https://accounts.google.com/o/oauth2/auth", | ||
"token_uri": "https://oauth2.googleapis.com/token", | ||
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs", | ||
"client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/dnsmanager%40otomi-cloud.iam.gserviceaccount.com" | ||
} | ||
home: | ||
slack: | ||
url: https://hooks.slack.com/services/id | ||
alerts: | ||
slack: | ||
url: https://hooks.slack.com/services/id | ||
email: | ||
to: admins@yourdoma.in |
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,7 +1,6 @@ | ||
teamConfig: | ||
teams: | ||
demo: | ||
azure: {} | ||
oidc: | ||
groupMapping: somesecretvalue | ||
password: somesecretvalue |
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,28 +1,38 @@ | ||
otomi: | ||
mode: ce | ||
isManaged: true | ||
isMultitenant: true | ||
isHomeMonitored: true | ||
teamPrefix: team- | ||
hasCloudLB: false | ||
alerts: | ||
drone: slack | ||
email: | ||
from: admins@your.cloud | ||
smarthost: some.smtp.host | ||
receivers: | ||
- slack | ||
azure: | ||
diskType: Standard_LRS | ||
resourceGroup: somevalue | ||
subscriptionId: somevalue | ||
tenantId: somevalue | ||
customer: | ||
name: demo | ||
oidc: | ||
clientID: someClientID | ||
clientSecret: someClientSecret | ||
issuer: https://login.microsoftonline.com/57a3f6ea-7e70-4260-acb4-e06ce452f695 | ||
tenantID: 57a3f6ea-7e70-4260-acb4-e06ce452f695 | ||
adminGroupID: someAdminGroupID | ||
teamAdminGroupID: someTeamAdminGroupID | ||
scope: openid email profile | ||
google: | ||
projectId: otomi-cloud | ||
home: | ||
receivers: [slack] | ||
receivers: | ||
- slack | ||
slack: | ||
channel: mon-otomi | ||
channelCrit: mon-otomi-crit | ||
alerts: | ||
drone: slack | ||
receivers: [slack, email] | ||
email: | ||
from: admins@your.cloud | ||
smarthost: some.smtp.host | ||
oidc: | ||
adminGroupID: someAdminGroupID | ||
clientID: someClientID | ||
clientSecret: someClientSecret | ||
issuer: 'https://login.microsoftonline.com/57a3f6ea-7e70-4260-acb4-e06ce452f695' | ||
scope: openid email profile | ||
teamAdminGroupID: someTeamAdminGroupID | ||
tenantID: 57a3f6ea-7e70-4260-acb4-e06ce452f695 | ||
otomi: | ||
hasCloudLB: false | ||
isHomeMonitored: true | ||
isManaged: true | ||
isMultitenant: true | ||
mode: ce | ||
teamPrefix: team- |
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 |
---|---|---|
|
@@ -2,3 +2,8 @@ teamConfig: | |
teams: | ||
demo: | ||
id: demo | ||
clusters: | ||
- aws/demo | ||
- azure/demo | ||
- google/demo | ||
- onprem/demo |
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,30 +1,34 @@ | ||
FROM node:14-slim as ci | ||
FROM node:14-slim as npm | ||
|
||
ARG SKIP_TESTS='false' | ||
ENV EXIT_FAST='true' | ||
ENV CI=true | ||
|
||
ENV APP_HOME=/home/app/stack | ||
RUN mkdir -p $APP_HOME | ||
WORKDIR $APP_HOME | ||
|
||
COPY package*.json ./ | ||
COPY . . | ||
COPY ./.cspell.json . | ||
RUN cp -r .demo/ env/ | ||
|
||
RUN [ "$SKIP_TESTS" = 'false' ] && \ | ||
npm install && \ | ||
npm run spellcheck && \ | ||
bin/validate-values.sh && \ | ||
bin/validate-templates.sh || true | ||
RUN if [ "$SKIP_TESTS" = 'false' ]; then \ | ||
npm install cspell && npm run spellcheck; fi | ||
|
||
#----------------------------- | ||
FROM otomi/tools:1.4.8 as prod | ||
|
||
ARG SKIP_TESTS='false' | ||
ENV CI=true | ||
|
||
ENV APP_HOME=/home/app/stack | ||
RUN mkdir -p $APP_HOME | ||
WORKDIR $APP_HOME | ||
|
||
COPY . . | ||
|
||
RUN if [ "$SKIP_TESTS" = 'false' ]; then \ | ||
cp -r .demo/ env/ && \ | ||
bin/validate-values.sh && \ | ||
bin/validate-templates.sh && \ | ||
rm -rf env/*; fi | ||
|
||
CMD ["bin/otomi"] |
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
Oops, something went wrong.