Add Prometheus Stack
This commit is contained in:
@@ -15,11 +15,19 @@ const (
|
||||
)
|
||||
|
||||
const (
|
||||
FLUX_NAMESPACE = "flux-system"
|
||||
FLUX_APPS_HYDRA_PATH = "./apps/" + HYDRA_CLUSTER
|
||||
FLUX_APPS_SECRETS_HYDRA_PATH = "./apps/" + HYDRA_CLUSTER + "/secrets"
|
||||
FLUX_CLUSTER_HYDRA_PATH = "./clusters/" + HYDRA_CLUSTER
|
||||
FLUX_DECRYPTION_PROVIDER = "sops"
|
||||
FLUX_NAMESPACE = "flux-system"
|
||||
FLUX_APPS_HYDRA_PATH = "./apps/" + HYDRA_CLUSTER
|
||||
FLUX_APPS_SECRETS_HYDRA_PATH = "./apps/" + HYDRA_CLUSTER + "/secrets"
|
||||
FLUX_CLUSTER_HYDRA_PATH = "./clusters/" + HYDRA_CLUSTER
|
||||
FLUX_INFRA_HYDRA_PATH = "./infrastructure/" + HYDRA_CLUSTER
|
||||
FLUX_DECRYPTION_PROVIDER = "sops"
|
||||
FLUX_HELM_MONITORING_INTERVAL = 24 // in hours
|
||||
)
|
||||
|
||||
const (
|
||||
HELM_PROMETHEUS_URL = "https://prometheus-community.github.io/helm-charts"
|
||||
HELM_PROMETHEUS_CHART = "kube-prometheus-stack"
|
||||
HELM_PROMETHEUS_CHART_VERSION = "66.x"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -3,6 +3,7 @@ package root
|
||||
type Service struct {
|
||||
Name string
|
||||
Image string
|
||||
PublicURL string
|
||||
Port int32
|
||||
SecurityContextID int64
|
||||
}
|
||||
@@ -10,6 +11,9 @@ type Service struct {
|
||||
var Linkding = Service{
|
||||
Name: "linkding",
|
||||
Image: "sissbruecker/linkding:1.45.0",
|
||||
PublicURL: "https://link.danicos.me",
|
||||
Port: 9090,
|
||||
SecurityContextID: 33, // www-data user, group and FS ID
|
||||
}
|
||||
|
||||
var Monitoring = "monitoring"
|
||||
|
||||
Reference in New Issue
Block a user