diff --git a/cluster/apps/monitoring/kustomization.yaml b/cluster/apps/monitoring/kustomization.yaml index 1b65376..e92db07 100644 --- a/cluster/apps/monitoring/kustomization.yaml +++ b/cluster/apps/monitoring/kustomization.yaml @@ -6,4 +6,5 @@ resources: - ./kube-prometheus-stack - ./zfs-exporter - ./alertmanager-gotify-bridge -- ./victoria-metrics \ No newline at end of file +- ./victoria-metrics +- ./varken \ No newline at end of file diff --git a/cluster/apps/monitoring/varken/config.sops.yaml b/cluster/apps/monitoring/varken/config.sops.yaml new file mode 100644 index 0000000..0859a7a --- /dev/null +++ b/cluster/apps/monitoring/varken/config.sops.yaml @@ -0,0 +1,60 @@ +kind: ConfigMap +apiVersion: v1 +metadata: + name: varken-configmap + namespace: monitoring +data: + varken.ini: ENC[AES256_GCM,data:3NqO9tUAoe6foH7lNxgKljHiApkJa6v/EzdR2U9Bdr95OCoA/V7HbsqPfx1iq5UEfmAze+z9SYppMZwBLVISrdrAgvReE7d2NOLP99/EUk+co/PA7o9qaUy7RSl1KjvL3L51gm4zTD8EGiboQuU0aRGrVG7mFCyaqtvJdF7BsdMSZwcJPImh/bpTZtB6GN9t84FLiZuj7f2Y7PSw1dMexcI2KBr9xa4OieippcOLiVJAJgf28kQPC3mckOEKOjOepMw137B5ZKJLCSUbhb1JT4L0bMdMREnkUR5toXg3Z4iYONF7M6xai+Y1D2NWVplohtiKGdZnDc9DgoWRrc5VX/t+9w26VbA2D+sUR3lxr0WZhPQJIE3P56LNhmTOzumWU21rKm65z4O4MyugiRtXinBvMb5O6SkAHCdMhyEPkXcpOgYFW8AIUbwSJsc3wYR4WKBYlmEYt+o=,iv:mAAFRdesNDY4deKMcf3kQaCfZP2DPXgVkCZZUNYb+4Q=,tag:PZ8zgMgVdVdeu8eKXOLikg==,type:str] +sops: + kms: [] + gcp_kms: [] + azure_kv: [] + hc_vault: [] + age: [] + lastmodified: "2023-05-04T00:59:47Z" + mac: ENC[AES256_GCM,data:HxtwZXoqRqWI7Aaelorp7xNrGMLBUWvfOUyyNdU4DJcwgYjo+kprGCuKMUvDn8ngnwm9AtmWrte4oT/zkrlUi25i4RciVySscGBu5cMGoJzmeI+O0PbFG67r5B/yWgJo1b4EuYzUebyRGlmo7fRamsaNp1AZN4oAgtzRD6xbWkM=,iv:CbX/YlbwG6kMOk43mO41N0BdI68x89E2k/cmRmOt7k4=,tag:zkC990sNuln+bznieEQxbQ==,type:str] + pgp: + - created_at: "2023-05-04T00:59:41Z" + enc: | + -----BEGIN PGP MESSAGE----- + + hQIMAzKleRwoSoixAQ//XRoIL2M0oBd2MXqh8zrbdqfOVg9anpX02WE2KPn5muA6 + ATP7Uw0aY7qLetj5dAhkz2z0wdJu+7hTSLn3kqGvLyyay2qgtYz3jKB9Fwx1Zy9+ + bF/UxAIUlisjLL2SP8hKuceBbygvfS/Vg8qSoXJBIURUQCelKFrB0fuevwxUCR8R + 7EeAb+RODfVCVwmTyo/ijuxI7lubv50gOJL+IWT6ciDZprvRRrf3Z1ih+N4lkSbf + FQqKCEb/uaEhJLRHDWaiYbxKQs922o5Ya7EYafsTgT9+V7G4WfBTR5GCaCH/IFA1 + rXQvHuHwdlU5NfuZl6wWPsody5J44tITQ39RevXd1U9LecaWfurldtzBMA4lFf2y + UUKK8+UpmP/njQ3FZ1QG0W4rJHDowKVEQGhWJjXZvs3WWbUU/oqN2s9/CoHq4K+2 + nmP4u03ZDZdNR0Zrjoovh+QoLYsyyK9ogTVKLrZ+MytkykArbCx612Iq5G6IJgKM + iy+3ivRgH3Ui4U5xEMGAQdDDBcLyUVpcwJg8CyBSI4Nolo1bNds4sSHspJOHpN4o + RA0k/ouQIlMyYYkOHiDQAAQegsXlO65XiybgTxIrkL4O1Xn/ySs+u+dduacWdj2b + nuhiBpZQTwTQCZwiDa6sOlKO111FpX+2Wo/JFVw7FqnRXaSKYNqZMEpAF4cd0HbU + ZgEJAhC9Pti7PEFBv1mh9XQpRud++0Idcy1684Q5PK2H+7zEKlfP+rtBbWUpThn2 + k97T6sDndz+lVjAbgSIajCJg1aEV+q1zmz4t7gUjor6X/nGjlNNWv2+eImlmkQsZ + x8AeCLa8OA== + =Awlt + -----END PGP MESSAGE----- + fp: 2CC2B3631D5C3393901335DB68F95C5D753EE1E5 + - created_at: "2023-05-04T00:59:41Z" + enc: | + -----BEGIN PGP MESSAGE----- + + hQIMA4WLYkVpP8xtAQ/+Kldhwxw9Fj0TVsr/Sy3bUNcSJFA/UV3c67Lv65Sbba7l + zMg4cDKcm82brUfJNr9y3YHdNt4V4UIBlTnayHDgaaKi9NRTckLKkTvQy7ibob70 + Nfx3tHhp1ZHF0HU/1wkr17U6HQtqOaZNWj0Wr0FX5TFQn3gl3+ILT74Va8JEV3O4 + GJd34XcMLqq6hpoZyaL77+H0OL3Gs9hFZeQuwBdQ/gvk6yPTSoDJQMgdb9OQAVK7 + u2xNAHj9lU35++oW6yJrjCil5yRfa7QfORPJyiah1KonY0rCTNcqt1XdNDLF/Xpc + dh8SeQSAjXW7CYbAjtojQuO6CVH9xzhlLVGK4vN/h93necB2ECIUPDyOamrdYs2h + 8XvHXmnNBA0CjfF9v3JrMLTxGMEDjHarnhUKectaV2QxIazFxjqNTKkk5NzDpGli + kXxXD3EjrqcQluoxSigahstO9LtXL0LYR1LG/iuTsBV0dbV17/ar5umFyk+RlZz0 + M82Dg071wZaXYLNy3sOecWEolyVkhbPIq1IMJXu/oiteEDNFSFcS625LLCdMpva7 + hdiY0qzjkn0uEu88gzCsAjm84iFsh485YFmj7dz2rYZEAXgDscEHrW+tvNzmDXjz + NwGvlkyMiSiFmWdFOx7XZnuRoxcToPCAEPl7WdcYr7Wj+u9e2BEb9YKnsBv89BzU + ZgEJAhDec/OaYJ6XFBQwe8QTtDSxatpyPV1OQJFKgT17CPXElfrIIFjcwv13LaUC + YTPQT+WePuOyI2R7efb/AcnCg1k1g9UfZvgs5tUwg+vnxWZqN9L9q9ubDOeQM5Ve + 2IYLNcaMcQ== + =+d+I + -----END PGP MESSAGE----- + fp: 8DF31C9F48A24F525FFB1815FC96C52B59328E95 + encrypted_regex: ^(data|stringData)$ + version: 3.7.3 diff --git a/cluster/apps/monitoring/varken/helm-release.yaml b/cluster/apps/monitoring/varken/helm-release.yaml index c85aa8c..bd8ce16 100644 --- a/cluster/apps/monitoring/varken/helm-release.yaml +++ b/cluster/apps/monitoring/varken/helm-release.yaml @@ -16,26 +16,27 @@ spec: values: image: - repository: ghcr.io/boerderij/varken:nightly + repository: ghcr.io/boerderij/varken tag: develop probes: liveness: enabled: false - serviceMonitor: - main: + env: + TZ: "America/New_York" + + persistence: + config-data: enabled: true - - labels: - release: kube-prometheus-stack - - endpoints: - - port: http - scheme: http - path: /metrics - interval: 1m - scrapeTimeout: 10s + type: hostPath + hostPath: /mnt/MainPool/Kubernetes/varken + readOnly: true + mountPath: /config + config: + enabled: true + type: configMap + name: varken-configmap # resources: # requests: diff --git a/cluster/apps/monitoring/varken/kustomization.yaml b/cluster/apps/monitoring/varken/kustomization.yaml index ea3145d..b8978d5 100644 --- a/cluster/apps/monitoring/varken/kustomization.yaml +++ b/cluster/apps/monitoring/varken/kustomization.yaml @@ -1,4 +1,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: +- ./config.sops.yaml - ./helm-release.yaml \ No newline at end of file