Compare commits

...

115 Commits

Author SHA1 Message Date
renovate-bot 256b7b9539 Update Helm release kube-prometheus-stack to v85.4.0
renovate/stability-days Updates have met minimum release age requirement
2026-06-09 15:26:11 +00:00
mrtz c7b3201573 catalyst: Disable on hel1 2026-06-09 17:19:52 +02:00
mrtz 8d00b94329 Merge pull request 'Update kubernetes-ingress Docker tag to v1.49.0' (#206) from renovate/kubernetes-ingress-1.x into main
Reviewed-on: #206
2026-06-09 15:18:23 +00:00
mrtz ac1116d2bc Merge pull request 'Update registry.k8s.io/kueue/charts/kueue Docker tag to v0.17.3' (#203) from renovate/registry.k8s.io-kueue-charts-kueue-0.x into main
Reviewed-on: #203
2026-06-09 15:12:09 +00:00
mrtz 95b752eb80 Merge pull request 'Update Helm release argo-cd to v9.5.17' (#218) from renovate/argo-cd-9.x into main
Reviewed-on: #218
2026-06-09 15:11:39 +00:00
mrtz 9b04866e53 niks3: Bump to 1.6.1 2026-06-09 17:06:06 +02:00
mrtz 1b4a34de92 niks3: Fix multipart uploads 2026-06-09 16:29:32 +02:00
mrtz a90381545d niks: Add gc and correct s3 url 2026-06-09 15:01:12 +02:00
Gitea Actions 65a31e835d ci(staging): deploy docs cdfdc59d-debug 2026-06-09 12:35:17 +00:00
Gitea Actions 30cc6d70dd ci(staging): deploy docs 6579df12-debug 2026-06-09 12:19:32 +00:00
mrtz 85c81ec4c0 headscale: Add niks3 magicdns and haavahak@ntnu.no 2026-06-09 13:45:58 +02:00
mrtz ac99938a79 niks3: Move to sys 2026-06-09 13:40:41 +02:00
mrtz d0aa57fa13 argo: Allow niks3 in sys project 2026-06-09 13:39:11 +02:00
mrtz 2aed9ead11 niks3: Add nix binary cache 2026-06-09 13:28:14 +02:00
Gitea Actions 5df05acd46 ci(prod): deploy atlantis v2.11.0 2026-06-09 11:06:12 +00:00
Gitea Actions 4625fc0550 ci(staging): deploy atlantis acc3745a-debug 2026-06-09 11:05:43 +00:00
Gitea Actions 796d7e033a ci(prod): deploy codex v2.11.0 2026-06-09 11:05:31 +00:00
Gitea Actions 13800aa8a8 ci(staging): deploy codex acc3745a-debug 2026-06-09 11:04:53 +00:00
Gitea Actions 6228922b62 ci(prod): deploy sorcerer v2.11.0 2026-06-09 11:04:07 +00:00
Gitea Actions 7a4d2f9f74 ci(prod): deploy atlantis v2.10.4 2026-06-09 09:07:52 +00:00
Gitea Actions ea0adc2295 ci(prod): deploy codex v2.10.4 2026-06-09 09:07:21 +00:00
Gitea Actions 0560d3a7f9 ci(staging): deploy atlantis 7b82c201-debug 2026-06-09 09:07:15 +00:00
Gitea Actions 5a3a023d1e ci(prod): deploy sorcerer v2.10.4 2026-06-09 09:06:05 +00:00
Gitea Actions 538549d949 ci(prod): deploy atlantis v2.10.3 2026-06-09 08:13:23 +00:00
Gitea Actions a7a29aadd7 ci(prod): deploy codex v2.10.3 2026-06-09 08:12:45 +00:00
Gitea Actions 7e5a98cc3e ci(prod): deploy sorcerer v2.10.3 2026-06-09 08:11:41 +00:00
Gitea Actions d786f1bab8 ci(staging): deploy atlantis 83a6ac96-debug 2026-06-09 08:10:13 +00:00
Gitea Actions 3c35fbd0d4 ci(prod): deploy atlantis v2.10.2 2026-06-08 15:35:57 +00:00
Gitea Actions e55afeb707 ci(prod): deploy codex v2.10.2 2026-06-08 15:35:17 +00:00
Gitea Actions 14733e1742 ci(prod): deploy sorcerer v2.10.2 2026-06-08 15:34:14 +00:00
Gitea Actions 9bd1ea9464 ci(staging): deploy atlantis a26b0ee5-debug 2026-06-08 15:32:43 +00:00
Gitea Actions fa5d18f97f ci(staging): deploy docs 0e803743-debug 2026-06-08 14:58:08 +00:00
Gitea Actions 026c8a7221 ci(staging): deploy makai e49d3f4f-debug 2026-06-08 09:13:39 +00:00
Gitea Actions 3a34bc0234 ci(prod): deploy atlantis v2.10.1 2026-06-08 07:31:33 +00:00
Gitea Actions 730e7181d5 ci(staging): deploy atlantis 463b423e-debug 2026-06-08 07:31:26 +00:00
Gitea Actions 2b72960e86 ci(prod): deploy codex v2.10.1 2026-06-08 07:30:36 +00:00
Gitea Actions e509b85cd9 ci(prod): deploy sorcerer v2.10.1 2026-06-08 07:29:34 +00:00
mrtz 9aa6b67b3f Increase gitea resources and add ha-proxy logging 2026-06-07 14:01:03 +02:00
mrtz f6a592a266 Merge pull request 'Update Helm release argo-rollouts to v2.40.10' (#219) from renovate/argo-rollouts-2.x into main
Reviewed-on: #219
2026-06-07 09:01:49 +00:00
renovate-bot acc87c79ff Update Helm release argo-rollouts to v2.40.10
renovate/stability-days Updates have met minimum release age requirement
2026-06-07 00:03:36 +00:00
renovate-bot a9374c5934 Update Helm release argo-cd to v9.5.17
renovate/stability-days Updates have met minimum release age requirement
2026-06-07 00:03:13 +00:00
mrtz 50f9f2d638 poseidon: Release Beta 2.10.0 2026-06-06 15:51:34 +02:00
Gitea Actions ce440ae3ea ci(staging): deploy atlantis 74963f78-debug 2026-06-06 13:49:39 +00:00
mrtz b103d37178 gitea: Correct eviction flag 2026-06-06 15:38:59 +02:00
mrtz dc0b889f3a gitea: Increase limits to 1GB and lru caching 2026-06-06 15:36:18 +02:00
Gitea Actions dd0cad06ca ci(staging): deploy atlantis 5db33158-debug 2026-06-06 07:30:57 +00:00
Gitea Actions 33236d642b ci(prod): deploy atlantis v2.10.0 2026-06-06 06:54:07 +00:00
Gitea Actions 53253af69f ci(prod): deploy codex v2.10.0 2026-06-06 06:53:27 +00:00
Gitea Actions 2eaa21e13c ci(staging): deploy atlantis 95b1e01a-debug 2026-06-06 06:53:10 +00:00
Gitea Actions 1febbd87c8 ci(prod): deploy sorcerer v2.10.0 2026-06-06 06:52:11 +00:00
Gitea Actions faddbffd47 ci(staging): deploy sorcerer 5db33158-debug 2026-06-05 09:01:13 +00:00
simkir 3468b8e58d Bump prod atlantis v1.42.24 -> v1.42.25 2026-06-05 01:48:22 +02:00
simkir a80d43aa54 Bump prod sorcerer v1.42.24 -> v1.42.25 2026-06-05 01:47:16 +02:00
simkir 4a74a20c79 Bump beta v2.8.0 -> v2.9.4 2026-06-05 01:33:40 +02:00
Gitea Actions 9c7e09c84a ci(prod): deploy atlantis v2.9.4 2026-06-04 23:22:44 +00:00
Gitea Actions dcde964e25 ci(prod): deploy codex v2.9.4 2026-06-04 23:22:06 +00:00
Gitea Actions 7182148418 ci(staging): deploy codex 32f66b86-debug 2026-06-04 23:21:20 +00:00
Gitea Actions 7564c69aa7 ci(prod): deploy sorcerer v2.9.4 2026-06-04 23:20:56 +00:00
Gitea Actions 72783901b7 ci(prod): deploy atlantis v2.9.3 2026-06-04 22:48:04 +00:00
Gitea Actions a34519f639 ci(staging): deploy atlantis d7525aed-debug 2026-06-04 22:47:43 +00:00
Gitea Actions b2444da71f ci(prod): deploy codex v2.9.3 2026-06-04 22:47:29 +00:00
Gitea Actions ea18a86299 ci(staging): deploy codex d7525aed-debug 2026-06-04 22:46:50 +00:00
Gitea Actions cea3993a00 ci(prod): deploy sorcerer v2.9.3 2026-06-04 22:46:03 +00:00
Gitea Actions 2a5a5d0141 ci(staging): deploy sorcerer d7525aed-debug 2026-06-04 22:45:27 +00:00
Gitea Actions aec98546a0 ci(prod): deploy codex v1.42.25 2026-06-04 22:02:27 +00:00
Gitea Actions ca5ab55995 ci(prod): deploy atlantis v1.42.25 2026-06-04 22:02:21 +00:00
Gitea Actions f3886de47d ci(prod): deploy sorcerer v1.42.25 2026-06-04 22:01:07 +00:00
Gitea Actions 774bcd2d23 ci(prod): deploy sorcerer v2.9.0 2026-06-04 21:43:18 +00:00
Gitea Actions a0e0c74c9c ci(prod): deploy atlantis v2.8.7 2026-06-04 15:35:55 +00:00
Gitea Actions ff851dfdb4 ci(prod): deploy codex v2.8.7 2026-06-04 15:35:25 +00:00
Gitea Actions af8e3d935c ci(staging): deploy atlantis 401fdac1-debug 2026-06-04 15:35:17 +00:00
Gitea Actions 919b75ef9f ci(prod): deploy sorcerer v2.8.7 2026-06-04 15:34:07 +00:00
Gitea Actions f2ed4b8921 ci(prod): deploy atlantis v2.8.6 2026-06-04 15:28:29 +00:00
Gitea Actions 701fed343a ci(prod): deploy codex v2.8.6 2026-06-04 15:27:58 +00:00
Gitea Actions 0365fb84bc ci(staging): deploy atlantis 379762aa-debug 2026-06-04 15:27:51 +00:00
Gitea Actions 069f257895 ci(prod): deploy sorcerer v2.8.6 2026-06-04 15:26:32 +00:00
Gitea Actions 0e828a452f ci(prod): deploy codex v2.8.5 2026-06-04 13:29:05 +00:00
Gitea Actions 7971b2eaa0 ci(prod): deploy atlantis v2.8.5 2026-06-04 13:29:02 +00:00
Gitea Actions 7b7c606473 ci(prod): deploy sorcerer v2.8.5 2026-06-04 13:28:21 +00:00
Gitea Actions c3a16d72cc ci(prod): deploy codex v1.42.24 2026-06-04 09:07:05 +00:00
Gitea Actions 7da86d0bb8 ci(prod): deploy atlantis v1.42.24 2026-06-04 09:06:37 +00:00
Gitea Actions 8cd2318259 ci(prod): deploy sorcerer v1.42.24 2026-06-04 09:05:46 +00:00
Gitea Actions 6bb3bbfdff ci(prod): deploy atlantis v2.8.4 2026-06-04 06:44:31 +00:00
Gitea Actions 5e0cc2c25d ci(prod): deploy codex v2.8.4 2026-06-04 06:44:02 +00:00
Gitea Actions 1649745cad ci(prod): deploy sorcerer v2.8.4 2026-06-04 06:42:53 +00:00
Gitea Actions e8a318d65f ci(staging): deploy atlantis 543ea627-debug 2026-06-04 06:41:52 +00:00
Gitea Actions 9c2497e3ec ci(staging): deploy sorcerer 543ea627-debug 2026-06-04 06:41:47 +00:00
Gitea Actions 5df1cbfabc ci(staging): deploy codex 543ea627-debug 2026-06-04 06:41:41 +00:00
Gitea Actions 39f9b408d5 ci(prod): deploy atlantis v2.8.3 2026-06-03 08:08:48 +00:00
Gitea Actions b128ccc1ee ci(prod): deploy codex v2.8.3 2026-06-03 08:08:15 +00:00
Gitea Actions 5a963f7320 ci(prod): deploy sorcerer v2.8.3 2026-06-03 08:07:08 +00:00
Gitea Actions 8392219980 ci(staging): deploy codex 29336121-debug 2026-06-02 16:42:16 +00:00
Gitea Actions 1395e92744 ci(staging): deploy atlantis 29336121-debug 2026-06-02 16:42:10 +00:00
Gitea Actions af87bc73cb ci(staging): deploy sorcerer 29336121-debug 2026-06-02 16:42:07 +00:00
mrtz 89ad3fe9b8 chore: Bump katamari in staging to 1.4.0 2026-06-02 17:43:17 +02:00
Gitea Actions 713f476f01 ci(staging): deploy atlantis 9bf32638-debug 2026-06-02 12:56:30 +00:00
Gitea Actions 19a11f93c3 ci(staging): deploy codex 9bf32638-debug 2026-06-02 12:55:54 +00:00
Gitea Actions ab24193a2c ci(prod): deploy atlantis v2.8.2 2026-06-02 12:52:04 +00:00
Gitea Actions 720836da5c ci(prod): deploy codex v2.8.2 2026-06-02 12:51:30 +00:00
Gitea Actions 754714f497 ci(prod): deploy sorcerer v2.8.2 2026-06-02 12:50:23 +00:00
Gitea Actions 4a6b1d106b ci(staging): deploy atlantis 866feb1d-debug 2026-06-02 12:49:07 +00:00
Gitea Actions 0e2ace7d40 ci(staging): deploy sorcerer 866feb1d-debug 2026-06-02 12:49:01 +00:00
Gitea Actions b2efdb889c ci(staging): deploy docs 1c160398-debug 2026-06-02 11:29:24 +00:00
Gitea Actions 8251e3da80 ci(staging): deploy docs 879a097a-debug 2026-06-02 11:09:14 +00:00
Gitea Actions 411ce7171e ci(staging): deploy docs 6bfe22ca-debug 2026-06-02 11:07:27 +00:00
Gitea Actions 1cebd72992 ci(staging): deploy docs 79035c8c-debug 2026-06-02 09:30:12 +00:00
mrtz d5c6013376 fix: Bump Gitea after runner 2026-06-02 11:24:52 +02:00
mrtz ac3f6a58f2 fix: Downgrade gitea because of runner incompat. 2026-05-31 21:49:11 +02:00
Gitea Actions 5810099689 ci(staging): deploy docs a530bd5f-debug 2026-05-31 19:21:26 +00:00
mrtz 1681c9843c chore: Bump gitea to 1.26.2 2026-05-31 18:46:47 +02:00
mrtz d511388401 Merge pull request 'Update Helm release x509-certificate-exporter to v4' (#217) from renovate/x509-certificate-exporter-4.x into main
Reviewed-on: #217
2026-05-31 08:43:33 +00:00
mrtz 695f43f5bf fix(x509): Move to oci reg 2026-05-31 10:41:22 +02:00
renovate-bot 3980f61f44 Update Helm release x509-certificate-exporter to v4
renovate/stability-days Updates have met minimum release age requirement
2026-05-31 08:13:10 +00:00
renovate-bot 78339c3f30 Update kubernetes-ingress Docker tag to v1.49.0
renovate/stability-days Updates have not met minimum release age requirement
2026-05-17 00:06:09 +00:00
renovate-bot 8796206315 Update registry.k8s.io/kueue/charts/kueue Docker tag to v0.17.3
renovate/stability-days Updates have not met minimum release age requirement
2026-05-17 00:04:59 +00:00
44 changed files with 355 additions and 366 deletions
+2 -2
View File
@@ -4,10 +4,10 @@ description: Atlantis map and simulation service
type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: v1.42.23
version: v2.11.0
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
appVersion: v1.42.23
appVersion: v2.11.0
dependencies:
- name: diagrid-dashboard
version: "0.1.0"
+1 -1
View File
@@ -4,7 +4,7 @@
replicaCount: 1
image:
repository: git.oceanbox.io/oceanbox/poseidon/atlantis
tag: v1.42.23
tag: v2.11.0
pullPolicy: IfNotPresent
init:
enabled: false
+2 -2
View File
@@ -13,9 +13,9 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: v1.42.23
version: v2.11.0
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "v1.42.23"
appVersion: "v2.11.0"
+1 -1
View File
@@ -10,7 +10,7 @@ image:
# This sets the pull policy for images.
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: v1.42.23
tag: v2.11.0
# This is for the secrets for pulling an image from a private repository more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
imagePullSecrets:
- name: gitlab-pull-secret
+2 -2
View File
@@ -4,10 +4,10 @@ description: A Helm chart for Kubernetes
type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: v1.42.23
version: v2.11.0
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
appVersion: v1.42.23
appVersion: v2.11.0
dependencies:
- name: diagrid-dashboard
version: "0.1.0"
+1 -1
View File
@@ -5,7 +5,7 @@
replicaCount: 1
image:
repository: git.oceanbox.io/oceanbox/poseidon/sorcerer
tag: v1.42.23
tag: v2.11.0
pullPolicy: IfNotPresent
init:
enabled: false
+2 -2
View File
@@ -15,7 +15,7 @@ releases:
- name: argocd
namespace: argocd
chart: argo/argo-cd
version: 9.5.15
version: 9.5.17
condition: argo.enabled
values:
- ../values/argo/values/argocd.yaml.gotmpl
@@ -35,7 +35,7 @@ releases:
- name: argo-rollouts
namespace: argocd
chart: argo/argo-rollouts
version: 2.40.9
version: 2.40.10
condition: argo.rollouts.enabled
values:
- ../values/argo/values/rollouts.yaml.gotmpl
+1 -1
View File
@@ -13,7 +13,7 @@ releases:
- name: ingress-haproxy
namespace: ingress-haproxy
chart: haproxytech/kubernetes-ingress
version: 1.42.0
version: 1.49.0
condition: haproxy.enabled
values:
- ../values/ingress-haproxy/values/ingress-haproxy.yaml.gotmpl
+1 -1
View File
@@ -8,7 +8,7 @@ releases:
- name: kueue
namespace: kueue-system
chart: oci://registry.k8s.io/kueue/charts/kueue
version: 0.17.1
version: 0.17.3
condition: kueue.enabled
values:
- ../values/kueue/values/values.yaml
+27
View File
@@ -0,0 +1,27 @@
bases:
- ../envs/environments.yaml.gotmpl
commonLabels:
tier: system
releases:
- name: manifests
namespace: niks3
chart: manifests
condition: niks3.enabled
missingFileHandler: Info
values:
- ../values/env.yaml
- ../values/env-{{ requiredEnv "ARGOCD_ENV_CLUSTER_NAME" }}.yaml
- ../values/niks3/env.yaml.gotmpl
- ../values/niks3/env-{{ requiredEnv "ARGOCD_ENV_CLUSTER_NAME" }}.yaml.gotmpl
hooks:
- events: [ prepare, cleanup ]
showlogs: true
command: ../bin/helmify
args:
- '{{`{{ if eq .Event.Name "prepare" }}build{{ else }}clean{{ end }}`}}'
- '{{`{{ .Release.Chart }}`}}'
- '{{`{{ .Environment.Name }}`}}'
- ../values/niks3/manifests
- manifests
+1 -1
View File
@@ -15,7 +15,7 @@ releases:
- name: prometheus
namespace: prometheus
chart: prometheus/kube-prometheus-stack
version: 85.3.0
version: 85.4.0
condition: prometheus.enabled
values:
- ../values/prometheus/values/prometheus.yaml.gotmpl
+3 -2
View File
@@ -3,7 +3,8 @@ bases:
repositories:
- name: x509-exporter
url: 'https://charts.enix.io'
oci: true
url: 'quay.io/enix/charts'
commonLabels:
tier: sys
@@ -12,7 +13,7 @@ releases:
- name: x509-exporter
namespace: x509-exporter
chart: x509-exporter/x509-certificate-exporter
version: 3.21.0
version: 4.1.0
condition: x509_exporter.enabled
values:
- ../values/x509-exporter/values/x509-exporter.yaml.gotmpl
+3
View File
@@ -102,6 +102,8 @@ spec:
server: https://kubernetes.default.svc
- namespace: catalyst
server: https://kubernetes.default.svc
- namespace: niks3
server: https://kubernetes.default.svc
sourceRepos:
- https://argoproj.github.io/argo-helm
- https://kubernetes-sigs.github.io/metrics-server/
@@ -141,6 +143,7 @@ spec:
- ghcr.io/spegel-org/helm-charts
- quay.io/cilium/charts
- quay.io/jetstack/charts
- quay.io/enix/charts
- registry.k8s.io/jobset/charts/jobset
- ghcr.io/dragonflydb/dragonfly-operator/helm/dragonfly-operator
- docker.gitea.com
@@ -3,7 +3,7 @@ kind: ConfigMap
metadata:
name: staging-atlantis-actor-config
data:
XTRACT_IMAGE: "git.oceanbox.io/oceanbox/katamari/excavator:v1.2.14"
XTRACT_IMAGE: "git.oceanbox.io/oceanbox/katamari/excavator:v1.4.0"
XTRACT_QUEUE: "dev-queue"
PLUME_IMAGE: "git.oceanbox.io/oceanbox/katamari/plume:v1.2.14"
PLUME_IMAGE: "git.oceanbox.io/oceanbox/katamari/plume:v1.4.0"
PLUME_QUEUE: "dev-queue"
@@ -2,7 +2,7 @@ replicaCount: 1
image:
repository: git.oceanbox.io/oceanbox/poseidon/atlantis
tag: v2.8.0
tag: v2.10.0
podAnnotations:
dapr.io/app-id: "beta-atlantis"
@@ -11,7 +11,7 @@ env:
- name: APP_NAMESPACE
value: beta-atlantis
- name: APP_VERSION
value: "2.8.0-beta"
value: "2.10.0-beta"
- name: LOG_LEVEL
value: "1"
- name: ANALYTICS_WEB_ID
@@ -1,7 +1,7 @@
replicaCount: 1
image:
repository: git.oceanbox.io/oceanbox/poseidon/atlantis
tag: d46af365-debug
tag: acc3745a-debug
podAnnotations:
dapr.io/app-id: "staging-atlantis"
env:
-2
View File
@@ -1,2 +0,0 @@
attic:
enabled: false
-27
View File
@@ -1,27 +0,0 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: attic
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
destination:
namespace: attic
server: "https://kubernetes.default.svc"
sources:
- repoURL: https://git.oceanbox.io/oceanbox/manifests.git
targetRevision: HEAD
path: values/attic/manifests
project: aux
syncPolicy:
managedNamespaceMetadata:
labels:
component: aux
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true
# - ServerSideApply=true
automated:
prune: true
# selfHeal: false
-167
View File
@@ -1,167 +0,0 @@
apiVersion: v1
kind: ConfigMap
metadata:
labels:
app.kubernetes.io/name: attic
name: attic-config
namespace: attic
data:
config.toml: |
# src: https://github.com/zhaofengli/attic/blob/main/server/src/config-template.toml
# Socket address to listen on
listen = "[::]:8080"
# Allowed `Host` headers
#
# This _must_ be configured for production use. If unconfigured or the
# list is empty, all `Host` headers are allowed.
allowed-hosts = []
# The canonical API endpoint of this server
#
# This is the endpoint exposed to clients in `cache-config` responses.
#
# This _must_ be configured for production use. If not configured, the
# API endpoint is synthesized from the client's `Host` header which may
# be insecure.
#
# The API endpoint _must_ end with a slash (e.g., `https://domain.tld/attic/`
# not `https://domain.tld/attic`).
api-endpoint = "https://attic.srv.oceanbox.io/"
# Whether to soft-delete caches
#
# If this is enabled, caches are soft-deleted instead of actually
# removed from the database. Note that soft-deleted caches cannot
# have their names reused as long as the original database records
# are there.
#soft-delete-caches = false
# Whether to require fully uploading a NAR if it exists in the global cache.
#
# If set to false, simply knowing the NAR hash is enough for
# an uploader to gain access to an existing NAR in the global
# cache.
#require-proof-of-possession = true
# Database connection
[database]
# Connection URL
#
# For production use it's recommended to use PostgreSQL.
url = "postgresql://app:mZP1BnmnpDU33B7UZvomYKOSS1laRJ4bvUR7jNDZ1AJqPdNxH2rLXykghczg7Bgy@attic-db-rw:5432/app"
# Whether to enable sending on periodic heartbeat queries
#
# If enabled, a heartbeat query will be sent every minute
#heartbeat = false
# File storage configuration
[storage]
# Storage type
#
# Can be "local" or "s3".
type = "local"
# ## Local storage
# The directory to store all files under
path = "/attic"
# ## S3 Storage (set type to "s3" and uncomment below)
# The AWS region
#region = "us-east-1"
# The name of the bucket
#bucket = "some-bucket"
# Custom S3 endpoint
#
# Set this if you are using an S3-compatible object storage (e.g., Minio).
#endpoint = "https://xxx.r2.cloudflarestorage.com"
# Credentials
#
# If unset, the credentials are read from the `AWS_ACCESS_KEY_ID` and
# `AWS_SECRET_ACCESS_KEY` environment variables.
#[storage.credentials]
# access_key_id = ""
# secret_access_key = ""
# Data chunking
#
# Warning: If you change any of the values here, it will be
# difficult to reuse existing chunks for newly-uploaded NARs
# since the cutpoints will be different. As a result, the
# deduplication ratio will suffer for a while after the change.
[chunking]
# The minimum NAR size to trigger chunking
#
# If 0, chunking is disabled entirely for newly-uploaded NARs.
# If 1, all NARs are chunked.
nar-size-threshold = 65536 # chunk files that are 64 KiB or larger
# The preferred minimum size of a chunk, in bytes
min-size = 16384 # 16 KiB
# The preferred average size of a chunk, in bytes
avg-size = 65536 # 64 KiB
# The preferred maximum size of a chunk, in bytes
max-size = 262144 # 256 KiB
# Compression
[compression]
# Compression type
#
# Can be "none", "brotli", "zstd", or "xz"
type = "zstd"
# Compression level
#level = 8
# Garbage collection
[garbage-collection]
# The frequency to run garbage collection at
#
# By default it's 12 hours. You can use natural language
# to specify the interval, like "1 day".
#
# If zero, automatic garbage collection is disabled, but
# it can still be run manually with `atticd --mode garbage-collector-once`.
interval = "1 week"
# Default retention period
#
# Zero (default) means time-based garbage-collection is
# disabled by default. You can enable it on a per-cache basis.
default-retention-period = "6 months"
[jwt]
# WARNING: Changing _anything_ in this section will break any existing
# tokens. If you need to regenerate them, ensure that you use the the
# correct secret and include the `iss` and `aud` claims.
# JWT `iss` claim
#
# Set this to the JWT issuer that you want to validate.
# If this is set, all received JWTs will validate that the `iss` claim
# matches this value.
#token-bound-issuer = "some-issuer"
# JWT `aud` claim
#
# Set this to the JWT audience(s) that you want to validate.
# If this is set, all received JWTs will validate that the `aud` claim
# contains at least one of these values.
#token-bound-audiences = ["some-audience1", "some-audience2"]
[jwt.signing]
# JWT RS256 secret key
#
# Set this to the base64-encoded private half of an RSA PEM PKCS1 key.
# You can also set it via the `ATTIC_SERVER_TOKEN_RS256_SECRET_BASE64`
# environment variable.
token-rs256-secret-base64 = "LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlKS2dJQkFBS0NBZ0VBdlZrMHQyZUtvdjhpV3prVFFtQzJtRklvd0gxc2liNlVpUFhUaGVwcURiWHMyaERFCnFYa1pKUXRjTnY0T2RtcldmZ2tsbjVyblJNQk5yL1B5dE05OFFMVVJnbzFSU2VTeUVjcmxSU1N4MElVRlhkM3YKV0U0aTJJTktsSzgxblJoY0o4czRUM09iYUpvSUQweEpqS2IzMkhxZmpOSU1vcVdBRk1ES2YyMUM5OWxQeTRXSgpVUUVnYTRzbHo5RzZHVi8wZW5qbFNMa2RRNjEvdEwyRE1ISHgvV2VRUEtpWkF4c2Fwczd3ZVJiNVBrS3J0MVlGClRxa1lJSjY3eDFiNDR1N0NmdWdVbHhMM2JCQ1lqVXVXNnoxdGU3T2ZQUUhoM1FPU2lFZTczQ3I4dU1lSkplV0wKN2V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FlQYll4Nnc5YUVtVmN4K0V6ck5XQmJCWktQb25iTFowWDlYM2JhOE8zMnNkWWg5WgpDZDlRVkFubmV4aEUrZVZHMmpmNVlMTGRCRCtkU2FHd3p0dTdBSXh5bFkydkFGQlpMVlZTTUhpZm5oWG5Jc3hZCjFub29HcDZGQWJkS1lWbmZObWdzUlZCVzE5V2s1QkYvMXdLQ0FRRUFqVnR1RXdYZzU5NERIaVN4UjlWbGRBaHYKcXF5dlpieVhPT2pnNHNKZjFLUlpxZkkzV28yL05IQWN0MlZlREE1bnlEM001YndHWEwrdVZGaUlMVk1ZMUp0WQp6MmlHWHgwZVdlbFJya2tRZHFncTI1TE9BQ2dxYTFMNW9tQS9tMGcwQWljWVdYa1FYSXpXRkhwb0ZqcU9KZHpTCnZ0MHhLV2lpWHUxVk5YeDJibFR1dXBCa1JUZUlQNTVxdWdyOUh0ZmY1MHc5MHhwTllaMFR3d0lDMG1neVVMMWEKRkdVdHlPUTlqVFBUUUdGM3h6REJCQ2U2MW5uZUV0TThRMEJ1MXh3Rm90aWFYSE9NaGhiMFBndVkzNHhiekNHYgpHcTlsWjVaN2lRVXByUWNNYjhrUzZ1WFk3VHBDTmUzaDBiTTM5dVlKeHNYNXUzcmVNRWsyZlBNT3dnTlFjdz09Ci0tLS0tRU5EIFJTQSBQUklWQVRFIEtFWS0tLS0tCg=="
-63
View File
@@ -1,63 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: attic
spec:
selector:
matchLabels:
app: attic
strategy:
type: Recreate
template:
metadata:
labels:
app: attic
spec:
containers:
- name: attic
image: ghcr.io/zhaofengli/attic:latest
args:
- -f
- /config.toml
ports:
- name: http
containerPort: 8080
protocol: TCP
livenessProbe:
httpGet:
path: /
port: http
readinessProbe:
httpGet:
path: /
port: http
env:
- name: ATTIC_SERVER_TOKEN_HS256_SECRET_BASE64
value: "LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlKS2dJQkFBS0NBZ0VBdl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HNYNXUzcmVNRWsyZlBNT3dnTlFjdz09Ci0tLS0tRU5EIFJTQSBQUklWQVRFIEtFWS0tLS0tCg=="
# valueFrom:
# secretKeyRef:
# name: server
# key: token
- name: ATTIC_SERVER_DATABASE_URL
value: "postgresql://app:mZP1BnmnpDU33B7UZvomYKOSS1laRJ4bvUR7jNDZ1AJqPdNxH2rLXykghczg7Bgy@attic-db-rw:5432/app"
# valueFrom:
# secretKeyRef:
# name: database
# key: url
volumeMounts:
- name: data
mountPath: /attic
- name: attic-config
mountPath: /config.toml
subPath: config.toml
volumes:
- name: server
secret:
secretName: server
- name: attic-config
configMap:
defaultMode: 420
name: attic-config
- name: data
persistentVolumeClaim:
claimName: attic
-28
View File
@@ -1,28 +0,0 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production
haproxy.org/backend-protocol: h1
haproxy.org/timeout-server: 600s
labels:
app.kubernetes.io/component: attic
name: attic
namespace: attic
spec:
ingressClassName: haproxy
rules:
- host: attic.srv.oceanbox.io
http:
paths:
- backend:
service:
name: attic
port:
name: http
path: /
pathType: Prefix
tls:
- hosts:
- attic.srv.oceanbox.io
secretName: attic.srv.oceanbox.io-tls
@@ -1,13 +0,0 @@
apiVersion: cilium.io/v2
kind: CiliumNetworkPolicy
metadata:
name: allow-cache-nixos
namespace: ncps
spec:
egress:
- toFQDNs:
- matchPattern: 'cache.nixos.org'
- matchPattern: 'nix-community.cachix.org'
endpointSelector:
matchLabels:
app: nix-cache
-12
View File
@@ -1,12 +0,0 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: attic
labels:
app: attic
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 20Gi
-6
View File
@@ -1,6 +0,0 @@
apiVersion: v1
kind: Secret
metadata:
name: server
stringData:
token: "ref+sops://secrets.yml#attic/jwtToken"
+1 -1
View File
@@ -1,3 +1,3 @@
catalyst:
enabled: true
enabled: false
autosync: false
+1 -1
View File
@@ -38,4 +38,4 @@ volumeMounts:
readOnly: true
subPath: appsettings.json
image:
tag: 10c7cef3-debug
tag: acc3745a-debug
+1 -1
View File
@@ -1,6 +1,6 @@
replicaCount: 1
image:
tag: "4147901d-debug"
tag: "cdfdc59d-debug"
env:
- name: APP_VERSION
value: "0.0.0"
+5 -10
View File
@@ -8,18 +8,13 @@ spec:
resources:
requests:
cpu: 150m
memory: 256Mi
memory: 1Gi
limits:
memory: 256Mi
memory: 1Gi
args:
- --dbfilename=dump # Static filename prevents disk exhaustion
- --maxmemory=$(MAX_MEMORY)Mi # Graceful memory management (90% of limit)
- --dbfilename=dump # Static filename prevents disk exhaustion
- --maxmemory=920Mi # ~90% of the 1Gi limit, leaving headroom
- --cache_mode=true # evict near maxmemory instead of rejecting writes (graceful degradation)
- --proactor_threads=1 # Auto-detect CPU cores (optimal threading)
- --cluster_mode=emulated
- --logtostderr
env:
- name: MAX_MEMORY
valueFrom:
resourceFieldRef:
resource: limits.memory
divisor: 1Mi
+4 -2
View File
@@ -3,11 +3,11 @@ replicaCount: 1
image:
registry: "docker.gitea.com"
repository: gitea
tag: "1.26.1"
tag: "1.26.2"
resources:
requests:
cpu: 200m
cpu: 500m
memory: 512Mi
strategy:
@@ -82,6 +82,8 @@ gitea:
database:
DB_TYPE: postgres
MAX_OPEN_CONNS: 90
MAX_IDLE_CONNS: 20
CONN_MAX_LIFETIME: 3h
openid:
ENABLE_OPENID_SIGNIN: false
ENABLE_OPENID_SIGNUP: false
+2
View File
@@ -129,6 +129,7 @@ configMaps:
"group:dev": [],
"group:intern": [
"haavahak@stud.ntnu.no",
"haavahak@ntnu.no",
],
"group:ceph": [
"jonas.juselius@oceanbox.io",
@@ -309,6 +310,7 @@ configMaps:
{ "name": "yolo-registry.dev.oceanbox.io", "type": "A", "value": "10.255.241.11" },
{ "name": "argocd.ekman.oceanbox.io", "type": "A", "value": "10.255.241.99" },
{ "name": "cache.ekman.oceanbox.io", "type": "A", "value": "10.255.241.99" },
{ "name": "prometheus.ekman.oceanbox.io", "type": "A", "value": "10.255.241.99" },
{ "name": "alertmanager.ekman.oceanbox.io", "type": "A", "value": "10.255.241.99" },
{ "name": "grafana.ekman.oceanbox.io", "type": "A", "value": "10.255.241.99" },
@@ -19,6 +19,10 @@ controller:
ssl-redirect: "true"
forwarded-for: "true"
# NOTE: Emit HAProxy access logs (real client IP + request line)
# to the controller's stdout so `kubectl logs` can see them.
syslog-server: "address:stdout, format: raw, facility: daemon"
# Disable QUIC ar Hetzner LB doesn't support UDP
quic-enabled: "false"
+1 -1
View File
@@ -1,6 +1,6 @@
replicaCount: 1
image:
tag: "fd47bfc5-debug"
tag: "e49d3f4f-debug"
env:
- name: APP_VERSION
value: "0.0.0"
+2
View File
@@ -0,0 +1,2 @@
niks3:
enabled: true
@@ -1,3 +1,3 @@
attic:
niks3:
enabled: false
autosync: false
@@ -1,10 +1,10 @@
apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
name: attic-db
namespace: attic
name: niks3-db
namespace: niks3
labels:
app: attic-db
app: niks3-db
spec:
instances: 1
primaryUpdateStrategy: unsupervised
+73
View File
@@ -0,0 +1,73 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: niks3
spec:
selector:
matchLabels:
app: niks3
strategy:
type: Recreate
template:
metadata:
labels:
app: niks3
spec:
containers:
- name: niks3
image: ghcr.io/mic92/niks3:v1.6.1
ports:
- name: http
containerPort: 5751
protocol: TCP
livenessProbe:
httpGet:
path: /
port: http
readinessProbe:
httpGet:
path: /
port: http
env:
- name: NIKS3_DB
valueFrom:
secretKeyRef:
name: niks3-db-app
key: uri
- name: NIKS3_API_TOKEN
valueFrom:
secretKeyRef:
name: server
key: api-token
- name: NIKS3_S3_ENDPOINT
value: "10.255.241.30:30080"
- name: NIKS3_S3_BUCKET
value: "niks3"
- name: NIKS3_S3_REGION
value: "default"
- name: NIKS3_S3_USE_SSL
value: "false"
- name: NIKS3_S3_ACCESS_KEY
valueFrom:
secretKeyRef:
name: server
key: s3-access-key
- name: NIKS3_S3_SECRET_KEY
valueFrom:
secretKeyRef:
name: server
key: s3-secret-key
- name: NIKS3_ENABLE_READ_PROXY
value: "true"
- name: NIKS3_CACHE_URL
value: "https://cache.ekman.oceanbox.io"
- name: NIKS3_SIGN_KEY_PATHS
value: "/secrets/sign-key"
volumeMounts:
- name: server
mountPath: /secrets
readOnly: true
volumes:
- name: server
secret:
secretName: server
+49
View File
@@ -0,0 +1,49 @@
apiVersion: batch/v1
kind: CronJob
metadata:
name: niks3-gc
namespace: niks3
labels:
app: niks3-gc
spec:
# Daily at 03:00. niks3 gc asks the server to drop closures older than
# --older-than and clean up stale failed uploads; the server performs the
# actual S3 deletions, so this job only needs to reach the in-cluster API.
schedule: "0 3 * * *"
concurrencyPolicy: Forbid
successfulJobsHistoryLimit: 3
failedJobsHistoryLimit: 3
jobTemplate:
spec:
backoffLimit: 2
template:
metadata:
# NOT app: niks3 — that label is the Service selector and would route
# cache traffic to this job. Its egress is governed by allow-gc-egress.
labels:
app: niks3-gc
spec:
restartPolicy: Never
containers:
- name: gc
image: ghcr.io/mic92/niks3:v1.6.1
# Image entrypoint is /bin/niks3-server; override with the client.
command: ["/bin/niks3", "gc"]
args:
- --server-url=http://niks3:5751
- --auth-token-path=/secrets/api-token
- --older-than=720h
volumeMounts:
- name: server
mountPath: /secrets
readOnly: true
resources:
requests:
cpu: 10m
memory: 32Mi
limits:
memory: 128Mi
volumes:
- name: server
secret:
secretName: server
+28
View File
@@ -0,0 +1,28 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production
nginx.ingress.kubernetes.io/proxy-read-timeout: "600"
oceanbox.io/expose: internal
labels:
app.kubernetes.io/component: niks3
name: niks3
namespace: niks3
spec:
ingressClassName: nginx
rules:
- host: cache.ekman.oceanbox.io
http:
paths:
- backend:
service:
name: niks3
port:
name: http
path: /
pathType: Prefix
tls:
- hosts:
- cache.ekman.oceanbox.io
secretName: cache.ekman.oceanbox.io-tls
+39
View File
@@ -0,0 +1,39 @@
{{- if .Values.clusterConfig.argo.enabled }}
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: niks3
namespace: argocd
annotations:
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
destination:
namespace: niks3
server: https://kubernetes.default.svc
project: sys
sources:
- repoURL: {{ .Values.clusterConfig.manifests }}
targetRevision: HEAD
path: helmfile.d
plugin:
name: helmfile-cmp
env:
- name: CLUSTER_NAME
value: {{ .Values.clusterConfig.cluster }}
- name: HELMFILE_ENVIRONMENT
value: default
- name: HELMFILE_FILE_PATH
value: niks3.yaml.gotmpl
syncPolicy:
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true
# - ServerSideApply=true
{{- if .Values.niks3.autosync }}
automated:
prune: true
# selfHeal: false
{{- end }}
{{- end }}
@@ -0,0 +1,47 @@
{{- if .Values.clusterConfig.cilium.enabled }}
apiVersion: cilium.io/v2
kind: CiliumNetworkPolicy
metadata:
name: allow-egress
namespace: niks3
spec:
# ekman has no cluster-wide allow-namespace-traffic baseline (unlike hel1/oceanbox),
# so once niks3 is selected by an egress rule it is default-deny for egress and every
# destination must be listed explicitly: RGW (S3), in-namespace PostgreSQL, and DNS.
description: niks3 egress to Ceph RGW (S3), in-namespace PostgreSQL, and kube-dns
endpointSelector:
matchLabels:
app: niks3
egress:
# Ceph RadosGW (S3 object storage backend) via NodePort
- toCIDR:
- 10.255.241.30/32
- 10.255.241.31/32
- 10.255.241.32/32
toPorts:
- ports:
- port: "30080"
protocol: TCP
# PostgreSQL (CNPG niks3-db cluster, same namespace)
- toEndpoints:
- matchLabels:
io.kubernetes.pod.namespace: niks3
toPorts:
- ports:
- port: "5432"
protocol: TCP
# DNS resolution
- toEndpoints:
- matchLabels:
io.kubernetes.pod.namespace: kube-system
k8s-app: kube-dns
toPorts:
- ports:
- port: "53"
protocol: UDP
- port: "53"
protocol: TCP
rules:
dns:
- matchPattern: "*"
{{- end }}
@@ -0,0 +1,35 @@
{{- if .Values.clusterConfig.cilium.enabled }}
apiVersion: cilium.io/v2
kind: CiliumNetworkPolicy
metadata:
name: allow-gc-egress
namespace: niks3
spec:
description: niks3-gc job egress to the in-namespace niks3 server and kube-dns
endpointSelector:
matchLabels:
app: niks3-gc
egress:
# niks3 server HTTP API (same namespace)
- toEndpoints:
- matchLabels:
io.kubernetes.pod.namespace: niks3
toPorts:
- ports:
- port: "5751"
protocol: TCP
# DNS resolution
- toEndpoints:
- matchLabels:
io.kubernetes.pod.namespace: kube-system
k8s-app: kube-dns
toPorts:
- ports:
- port: "53"
protocol: UDP
- port: "53"
protocol: TCP
rules:
dns:
- matchPattern: "*"
{{- end }}
@@ -1,14 +1,14 @@
apiVersion: v1
kind: Service
metadata:
name: attic
name: niks3
labels:
app: attic
app: niks3
spec:
type: ClusterIP
selector:
app: attic
app: niks3
ports:
- name: http
port: 8080
port: 5751
targetPort: http
@@ -2,7 +2,7 @@ replicaCount: 1
image:
repository: git.oceanbox.io/oceanbox/poseidon/sorcerer
tag: v2.8.0
tag: v2.10.0
podAnnotations:
dapr.io/enabled: "true"
@@ -19,7 +19,7 @@ podAnnotations:
env:
- name: APP_VERSION
value: "2.8.0-beta"
value: "2.10.0-beta"
- name: LOG_LEVEL
value: "1"
- name: REDIS_USER
+1 -1
View File
@@ -1,7 +1,7 @@
replicaCount: 1
image:
repository: git.oceanbox.io/oceanbox/poseidon/sorcerer
tag: f583579d-debug
tag: 5db33158-debug
podAnnotations:
dapr.io/enabled: "true"
dapr.io/app-id: "staging-sorcerer"