don't rotate grafana password
This commit is contained in:
parent
3847c08181
commit
d588764748
4 changed files with 17 additions and 10 deletions
|
@ -1,4 +1,4 @@
|
|||
job "telemetry" {
|
||||
job "telemetry-service" {
|
||||
datacenters = ["neptune", "jupiter", "corrin"]
|
||||
type = "service"
|
||||
|
||||
|
@ -139,8 +139,9 @@ job "telemetry" {
|
|||
|
||||
template {
|
||||
data = <<EOH
|
||||
GF_INSTALL_PLUGINS=grafana-clock-panel,grafana-simple-json-datasource,grafana-piechart-panel,grafana-worldmap-panel,grafana-polystat-panel
|
||||
GF_SERVER_HTTP_PORT=3719
|
||||
GF_INSTALL_PLUGINS=grafana-clock-panel,grafana-simple-json-datasource,grafana-piechart-panel,grafana-worldmap-panel,grafana-polystat-panel
|
||||
GF_SERVER_HTTP_PORT=3719
|
||||
GF_SECURITY_ADMIN_PASSWORD={{ key "secrets/telemetry/grafana/admin_password" }}
|
||||
EOH
|
||||
destination = "secrets/env"
|
||||
env = true
|
||||
|
@ -151,6 +152,13 @@ job "telemetry" {
|
|||
cpu = 800
|
||||
}
|
||||
|
||||
restart {
|
||||
interval = "30s"
|
||||
attempts = 10
|
||||
delay = "1m"
|
||||
mode = "delay"
|
||||
}
|
||||
|
||||
service {
|
||||
name = "grafana"
|
||||
tags = [
|
|
@ -1,12 +1,11 @@
|
|||
[secrets."telemetry/grafana/admin_password"]
|
||||
type = 'command'
|
||||
command = 'openssl rand -base64 12'
|
||||
|
||||
[secrets."telemetry/grafana/s3_access_key"]
|
||||
type = 'user'
|
||||
description = 'S3 access key for grafana db'
|
||||
|
||||
[secrets."telemetry/grafana/admin_password"]
|
||||
type = 'command'
|
||||
rotate = true
|
||||
command = 'openssl rand -base64 12'
|
||||
|
||||
[secrets."telemetry/grafana/s3_secret_key"]
|
||||
type = 'user'
|
||||
description = 'S3 secret key for grafana db'
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
deuxfleurs.ipv6 = "2001:910:1204:1::23";
|
||||
|
||||
deuxfleurs.cluster_ip = "10.14.1.3";
|
||||
deuxfleurs.is_raft_server = true;
|
||||
deuxfleurs.is_raft_server = false;
|
||||
|
||||
system.stateVersion = "21.05";
|
||||
}
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
deuxfleurs.ipv6 = "2a01:cb05:8984:3c00:223:24ff:feb0:ea82";
|
||||
|
||||
deuxfleurs.cluster_ip = "10.14.3.1";
|
||||
deuxfleurs.is_raft_server = false;
|
||||
deuxfleurs.is_raft_server = true;
|
||||
|
||||
system.stateVersion = "22.11";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue