Files
homelab/pkg/root/root.go
T

38 lines
1.0 KiB
Go
Raw Normal View History

2026-04-17 18:11:18 -04:00
package root
2026-04-18 12:10:01 -04:00
import (
core "k8s.io/api/core/v1"
)
2026-04-17 20:49:37 -04:00
const (
2026-04-20 19:58:02 -04:00
HYDRA_CLUSTER = "hydra"
HYDRA_HOSTNAME = "hydra-0" // VPN Host
GITEA_HOST = "danicos.dev"
TMP_FOLDER = "./tmp"
SECRETS_FOLDER = TMP_FOLDER + "/secrets"
GO_SECRETS_FOLDER = "./pkg/secrets"
GO_ENC_SECRETS_FOLDER = "./pkg/enc"
2026-04-17 18:11:18 -04:00
)
2026-04-17 20:49:37 -04:00
const (
2026-04-21 13:06:42 -04:00
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"
2026-04-17 20:49:37 -04:00
)
2026-04-18 12:10:01 -04:00
var (
ContainerSecurityContext = &core.SecurityContext{
AllowPrivilegeEscalation: new(false),
}
)