Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

* cleanup of sample configs #67

Merged
merged 1 commit into from
Sep 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 22 additions & 28 deletions pop.sample.yaml → tapir-pop.sample.yaml
Original file line number Diff line number Diff line change
@@ -1,28 +1,26 @@
# manually maintained

cli:
tem:
url: https://127.0.0.1:9099/api/v1
tlsurl: https://127.0.0.1:9098/api/v1
apikey: be-nice-to-a-bad-tempered-tapir
dtm:
tlsurl: https://127.0.0.1:9090/
tapir-pop:
url: https://127.0.0.1:9099/api/v1
tlsurl: https://127.0.0.1:9098/api/v1
apikey: be-nice-to-a-bad-tempered-tapir

apiserver:
key: be-nice-to-a-bad-tempered-tapir
addresses: [ 127.0.0.1:9099 ]
key: be-nice-to-a-bad-tempered-tapir
addresses: [ 127.0.0.1:9099 ]
tlsaddresses: [ 127.0.0.1:9098 ]

# Note: This should only be active for a TEM bootstrapserver
bootstrapserver:
active: false
addresses: []
active: false
addresses: []
tlsaddresses: []

dnsengine:
active: true
addresses: [ 127.0.0.1:5360 ]
logfile: /var/log/dnstapir/pop-dnsengine.log
active: true
addresses: [ 127.0.0.1:5360 ]
logfile: /var/log/dnstapir/pop-dnsengine.log

services:
reaper:
Expand All @@ -33,7 +31,7 @@ services:
serialcache: /etc/dnstapir/rpz-serial.yaml
refreshengine:
active: true
name: TEM Source Refresher
name: TAPIR-POP Source Refresher

tapir:
mqtt:
Expand All @@ -42,8 +40,8 @@ tapir:
uid: johani
clientid: this-must-be-unique
cacert: /etc/dnstapir/certs/tapirCA.crt
clientcert: /etc/dnstapir/certs/mqttclient.crt
clientkey: /etc/dnstapir/certs/mqttclient-key.pem
clientcert: /etc/dnstapir/certs/tapir-edge.crt
clientkey: /etc/dnstapir/certs/tapir-edge.pem
qos: 2

observations:
Expand All @@ -53,26 +51,22 @@ tapir:

config:
srcname: dns-tapir
topic: config/down/tem/johani
topic: config/down/tapir-pop/johani
validatorkey: /etc/dnstapir/certs/mqttsigner-pub.pem

status:
topic: status/up/tem/must-be-unique
topic: status/up/tapir-pop/must-be-unique
signingkey: /etc/dnstapir/certs/mqttsigner-key.pem

# redirects:
# tapir: landing-page.dnstapir.se
# police: www.polisen.se

certs:
certdir: /etc/dnstapir/certs
cacertfile: /etc/dnstapir/certs/axfr.netCA.crt
cacertfile: /etc/dnstapir/certs/tapirCA.crt
tem:
cert: /etc/dnstapir/certs/tem.crt
key: /etc/dnstapir/certs/tem.key
cert: /etc/dnstapir/certs/tapir-egde.crt
key: /etc/dnstapir/certs/tapir-edge.key
tapir-cli:
cert: /etc/dnstapir/certs/tem.crt
key: /etc/dnstapir/certs/tem.key
cert: /etc/dnstapir/certs/tapir-edge.crt
key: /etc/dnstapir/certs/tapir-edge.key

log:
file: /var/log/dnstapir/pop.log
file: /var/log/dnstapir/tapir-pop.log