Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
cjoergensen committed Oct 30, 2023
2 parents 1db3425 + 33a3a5d commit fbcdad7
Showing 1 changed file with 19 additions and 8 deletions.
27 changes: 19 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ apiVersion: v1
kind: Secret
metadata:
name: elasticsearch-es-alerting-user
namespace: elasticsearch # Change this to match your deployed ECK stack namespace
namespace: elastic # Change this to match your deployed ECK stack namespace
type: kubernetes.io/basic-auth
stringData:
username: alerting
Expand All @@ -30,7 +30,7 @@ apiVersion: v1
kind: ConfigMap
metadata:
name: groups-json-configmap
namespace: elasticsearch # Change this to match your deployed ECK stack namespace
namespace: elastic # Change this to match your deployed ECK stack namespace
data:
groups.json: |
{
Expand All @@ -48,12 +48,20 @@ data:
}
}
}
connectors.json: |
{
"Smtp": {
"Sender": "noreply@thrifty-stuff.com",
"Host": "smtp.somedomain.com",
"Port": 25
}
}
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: thrifty-elastic-alerting-deployment
namespace: elasticsearch # Change this to match your deployed ECK stack namespace
namespace: elastic # Change this to match your deployed ECK stack namespace
spec:
selector:
matchLabels:
Expand All @@ -71,7 +79,7 @@ spec:
containers:
- name: thrifty-elastic-alerting
imagePullPolicy: Always
image: cjoergensen/thrifty-elastic-alerting:latest
image: cjoergensendk/thrifty-elastic-alerting:latest
volumeMounts:
- name: elastic-cert
mountPath: /etc/ssl/certs/elastic.crt
Expand All @@ -87,6 +95,8 @@ spec:
env:
- name: Elastic__Url
value: 'https://elasticsearch-es-internal-http:9200'
- name: Elastic__PublicUrl
value: 'https://mdm-dev.seas.local:30443/kibana/'
- name: Elastic__UserName
valueFrom:
secretKeyRef:
Expand All @@ -106,8 +116,9 @@ spec:
## To do's
What is still needed
* Documentation of docker settings
* How to tag an alert in kibana and add the tag to a group in groups.json
* Build script
* Deploy script to Docker Hub
* Documentation of docker settings
* How to tag an alert in kibana and add the tag to a group in groups.json
* Build script
* Deploy script to Docker Hub

0 comments on commit fbcdad7

Please sign in to comment.