Compare commits

..

122 Commits

Author SHA1 Message Date
renovate-bot 84dd5c2096 Update spegel Docker tag to v0.7.0
renovate/stability-days Updates have not met minimum release age requirement
2026-05-03 00:06:16 +00:00
Gitea Actions 504e10ef8a ci(staging): deploy makai ad49e745-debug 2026-05-02 18:17:34 +00:00
Gitea Actions ecd51a2ba0 ci(prod): deploy atlantis v2.5.2 2026-04-30 14:34:38 +00:00
Gitea Actions 499ed19350 ci(prod): deploy codex v2.5.2 2026-04-30 14:34:20 +00:00
Gitea Actions 3cd61f2fc6 ci(staging): deploy atlantis 5d810716-debug 2026-04-30 14:33:40 +00:00
Gitea Actions 83ed9ff376 ci(prod): deploy sorcerer v2.5.2 2026-04-30 14:32:49 +00:00
Gitea Actions 05ac1ce63c ci(prod): deploy codex v1.42.20 2026-04-30 09:23:35 +00:00
Gitea Actions 5287a39c8e ci(prod): deploy atlantis v1.42.20 2026-04-30 09:23:31 +00:00
Gitea Actions 08ecf044d9 ci(prod): deploy atlantis v2.5.1 2026-04-30 08:03:57 +00:00
Gitea Actions 41da3b0c5d ci(prod): deploy codex v2.5.1 2026-04-30 08:03:24 +00:00
Gitea Actions 2ea905b65e ci(staging): deploy atlantis 4563e951-debug 2026-04-30 08:03:04 +00:00
Gitea Actions 54bed9de81 ci(prod): deploy sorcerer v2.5.1 2026-04-30 08:02:04 +00:00
Gitea Actions 7c8686b066 ci(prod): deploy atlantis v2.5.0 2026-04-29 13:36:27 +00:00
Gitea Actions 420135fb58 ci(prod): deploy codex v2.5.0 2026-04-29 13:35:51 +00:00
Gitea Actions 1c115e4a18 ci(prod): deploy sorcerer v2.5.0 2026-04-29 13:34:54 +00:00
Gitea Actions 21a60458f5 ci(staging): deploy atlantis 651291bd-debug 2026-04-29 13:34:46 +00:00
Gitea Actions e93b1c7e3d ci(staging): deploy codex 651291bd-debug 2026-04-29 13:32:56 +00:00
Gitea Actions dd0fcf2ac9 ci(staging): deploy sorcerer 651291bd-debug 2026-04-29 13:32:50 +00:00
mrtz 403e679fe1 fix(cron): Default to yesterday for norkyst 2026-04-29 14:14:17 +02:00
Gitea Actions f2e553f280 ci(prod): deploy atlantis v2.4.0 2026-04-29 09:11:53 +00:00
Gitea Actions e3c13cde39 ci(prod): deploy codex v2.4.0 2026-04-29 09:11:41 +00:00
Gitea Actions 976a6ffa69 ci(staging): deploy atlantis 5a98a530-debug 2026-04-29 09:11:07 +00:00
Gitea Actions 72cb3133c5 ci(prod): deploy sorcerer v2.4.0 2026-04-29 09:10:29 +00:00
Gitea Actions 9075eb0600 ci(staging): deploy atlantis ea835f59-debug 2026-04-29 07:50:44 +00:00
mrtz 738112f980 fix(cron): Move backoff inside scripts 2026-04-29 08:58:32 +02:00
mrtz 773504c908 fix(cron): Add backoff 2026-04-29 08:20:03 +02:00
Gitea Actions cf3f5b1491 ci(prod): deploy codex v1.42.19 2026-04-28 14:42:19 +00:00
Gitea Actions 85191d3c7c ci(prod): deploy atlantis v1.42.19 2026-04-28 14:38:30 +00:00
mrtz 6f00d54907 fix(cron): Add norkyst 2026-04-28 14:44:06 +02:00
mrtz ca061d4a73 fix(sorcerer): Add raid pv to beta and prod 2026-04-27 16:37:41 +02:00
mrtz 304b904624 fix(sorcerer): Correct mount path 2026-04-27 16:00:21 +02:00
mrtz 0c46dff7bf feat(sorcerer): Add raid-data pvc and cronjobs 2026-04-27 15:46:34 +02:00
juselius 1e188543ae Add mumindalen to 100gbe net 2026-04-27 15:05:50 +02:00
juselius 2c01000db6 Fix typo 2026-04-27 15:01:58 +02:00
juselius c440b928fb Add ceph 100gbe net to headscale acl 2026-04-27 14:53:05 +02:00
Gitea Actions b92dabdc7d ci(staging): deploy atlantis 85ad2067-debug 2026-04-27 09:08:23 +00:00
Gitea Actions 2d0d02db53 ci(prod): deploy codex v2.3.3 2026-04-27 09:08:01 +00:00
Gitea Actions 0747eae47e ci(prod): deploy atlantis v2.3.3 2026-04-27 09:07:51 +00:00
Gitea Actions d61da55bd0 ci(prod): deploy sorcerer v2.3.3 2026-04-27 09:00:19 +00:00
Gitea Actions 4a009ac289 ci(staging): deploy makai 0f2463bc-debug 2026-04-27 08:51:12 +00:00
mrtz 6b75aee78a fix(cron): Run as kraken 2026-04-27 10:47:00 +02:00
mrtz 4e58206d4c chore: Bump Umami 2026-04-26 17:26:52 +02:00
renovate-bot ae6a66e84a Update Helm release plugin-barman-cloud to v0.6.0
renovate/stability-days Updates have met minimum release age requirement
2026-04-26 15:14:00 +00:00
Gitea Actions 0928357879 ci(staging): deploy makai a42b4496-debug 2026-04-26 14:53:46 +00:00
Gitea Actions 148baf56bb ci(staging): deploy makai 1174bf47-debug 2026-04-26 14:42:10 +00:00
Gitea Actions 8802095f7b ci(staging): deploy makai b0864e96-debug 2026-04-26 14:21:51 +00:00
mrtz 27f4e7d4c4 devel: Add comma for good json 2026-04-26 16:05:27 +02:00
Gitea Actions 33faab0934 ci(staging): deploy makai 0c048c88-debug 2026-04-26 09:00:43 +00:00
Gitea Actions e537bdc5ce ci(staging): deploy makai 851f64ed-debug 2026-04-25 18:34:30 +00:00
mrtz 9779200961 feat(cron): Add arome and norshelf jobs 2026-04-24 15:23:10 +02:00
Gitea Actions 4cd08aa272 ci(prod): deploy atlantis v2.3.2 2026-04-24 08:26:42 +00:00
Gitea Actions 9baf7ee679 ci(prod): deploy codex v2.3.2 2026-04-24 08:26:07 +00:00
Gitea Actions 25c771dd18 ci(staging): deploy atlantis 451ac663-debug 2026-04-24 08:25:23 +00:00
Gitea Actions 34b0e847cd ci(prod): deploy sorcerer v2.3.2 2026-04-24 08:24:53 +00:00
Gitea Actions ad74a42e06 ci(prod): deploy atlantis v2.3.1 2026-04-24 08:02:49 +00:00
Gitea Actions 4e4046b039 ci(prod): deploy codex v2.3.1 2026-04-24 08:02:17 +00:00
Gitea Actions 5fdce2d587 ci(staging): deploy atlantis 2a82b165-debug 2026-04-24 08:01:48 +00:00
Gitea Actions 40a6299cc9 ci(prod): deploy sorcerer v2.3.1 2026-04-24 08:01:34 +00:00
Gitea Actions 09a1fc6818 ci(prod): deploy atlantis v2.3.0 2026-04-24 07:24:02 +00:00
Gitea Actions c6ed02923d ci(prod): deploy codex v2.3.0 2026-04-24 07:23:55 +00:00
Gitea Actions 9affe0635d ci(staging): deploy atlantis 37c056a7-debug 2026-04-24 07:23:36 +00:00
Gitea Actions 7933097e49 ci(staging): deploy atlantis 7a49f570-debug 2026-04-24 07:22:35 +00:00
Gitea Actions 2cccf9c491 ci(prod): deploy sorcerer v2.3.0 2026-04-24 07:22:20 +00:00
mrtz 3cba08a1cf fix(keycloak): Remove old css 2026-04-23 15:17:18 +02:00
Gitea Actions a65bfc4799 ci(prod): deploy atlantis v2.2.5 2026-04-23 08:58:04 +00:00
Gitea Actions 1c8f5cbac4 ci(prod): deploy codex v2.2.5 2026-04-23 08:57:56 +00:00
Gitea Actions 35ba03478a ci(staging): deploy atlantis 57cb7bc6-debug 2026-04-23 08:56:47 +00:00
Gitea Actions 99d3a8de4b ci(prod): deploy sorcerer v2.2.5 2026-04-23 08:56:32 +00:00
Gitea Actions 37df9393da ci(prod): deploy atlantis v2.2.4 2026-04-23 08:24:14 +00:00
Gitea Actions 6a335cc29c ci(prod): deploy codex v2.2.4 2026-04-23 08:23:45 +00:00
Gitea Actions d8b8752d72 ci(prod): deploy sorcerer v2.2.4 2026-04-23 08:22:42 +00:00
Gitea Actions 06da4dbf90 ci(staging): deploy atlantis 7ebe8251-debug 2026-04-23 08:21:55 +00:00
Gitea Actions 526c93681f ci(staging): deploy docs ea8cf7dc-debug 2026-04-23 06:32:27 +00:00
Gitea Actions 5d27d845af ci(staging): deploy makai 2dab77b3-debug 2026-04-22 10:42:27 +00:00
Gitea Actions 9a03aeb9f6 ci(staging): deploy docs 516f26de-debug 2026-04-22 09:39:23 +00:00
Gitea Actions 1206f7c1d7 ci(staging): deploy docs 24305dc8-debug 2026-04-22 09:33:44 +00:00
Gitea Actions 8ac8b8a0d6 ci(prod): deploy atlantis v2.2.3 2026-04-22 07:28:47 +00:00
Gitea Actions 9ef3a2befc ci(prod): deploy codex v2.2.3 2026-04-22 07:28:31 +00:00
Gitea Actions b118fac0e9 ci(staging): deploy atlantis 3a5cdd0b-debug 2026-04-22 07:28:14 +00:00
Gitea Actions b59721f070 ci(prod): deploy sorcerer v2.2.3 2026-04-22 07:26:36 +00:00
Gitea Actions 2cb3944b94 ci(prod): deploy atlantis v2.2.2 2026-04-22 07:20:36 +00:00
Gitea Actions e1623fd50f ci(prod): deploy codex v2.2.2 2026-04-22 07:20:02 +00:00
Gitea Actions 26019264ab ci(staging): deploy atlantis 15efec9d-debug 2026-04-22 07:19:55 +00:00
Gitea Actions c60c9cffe5 ci(prod): deploy sorcerer v2.2.2 2026-04-22 07:18:47 +00:00
Gitea Actions f49b51e1d3 ci(staging): deploy makai ae3899b5-debug 2026-04-22 06:14:52 +00:00
Gitea Actions 63e568d7a2 ci(staging): deploy atlantis c4e2a22c-debug 2026-04-21 12:51:55 +00:00
Gitea Actions 0d850c8a42 ci(staging): deploy codex c4e2a22c-debug 2026-04-21 12:50:44 +00:00
Gitea Actions 7cb63928bd ci(staging): deploy sorcerer c4e2a22c-debug 2026-04-21 12:50:37 +00:00
Gitea Actions daf14e8005 ci(prod): deploy atlantis v2.2.1 2026-04-21 11:28:11 +00:00
Gitea Actions 62fe3166d1 ci(prod): deploy codex v2.2.1 2026-04-21 11:27:44 +00:00
Gitea Actions a08256a8fd ci(prod): deploy sorcerer v2.2.1 2026-04-21 11:26:36 +00:00
Gitea Actions baae2905c6 ci(staging): deploy sorcerer 5784dcd1-debug 2026-04-21 11:24:53 +00:00
Gitea Actions 42d8cb8540 ci(staging): deploy docs 3b1ef853-debug 2026-04-21 09:32:47 +00:00
Gitea Actions 12f0eb36b5 ci(prod): deploy atlantis v2.2.0 2026-04-21 08:13:03 +00:00
Gitea Actions fa1a9e5f0b ci(prod): deploy codex v2.2.0 2026-04-21 08:12:35 +00:00
Gitea Actions c83eba8d64 ci(prod): deploy sorcerer v2.2.0 2026-04-21 08:11:29 +00:00
Gitea Actions cd0c3abac3 ci(staging): deploy atlantis c0795151-debug 2026-04-21 08:05:23 +00:00
Gitea Actions f3ae944fcf ci(staging): deploy codex c0795151-debug 2026-04-21 08:04:56 +00:00
Gitea Actions e916d61b05 ci(staging): deploy sorcerer c0795151-debug 2026-04-21 08:03:47 +00:00
Gitea Actions f2a56cf49a ci(prod): deploy atlantis v2.1.0 2026-04-20 15:59:09 +00:00
Gitea Actions 36066d3b6d ci(staging): deploy atlantis d80ce934-debug 2026-04-20 15:58:50 +00:00
Gitea Actions c2afa5a553 ci(prod): deploy codex v2.1.0 2026-04-20 15:58:40 +00:00
Gitea Actions 435767ea9d ci(staging): deploy atlantis 608a4c3e-debug 2026-04-20 15:57:53 +00:00
Gitea Actions df1b89d83e ci(prod): deploy sorcerer v2.1.0 2026-04-20 15:57:09 +00:00
Gitea Actions 90e8533455 ci(prod): deploy atlantis v2.0.3 2026-04-20 13:37:47 +00:00
Gitea Actions 9522f65305 ci(prod): deploy codex v2.0.3 2026-04-20 13:37:12 +00:00
Gitea Actions 0a5ab4879f ci(staging): deploy atlantis 4e577e3f-debug 2026-04-20 13:36:58 +00:00
Gitea Actions a924e97ffe ci(prod): deploy sorcerer v2.0.3 2026-04-20 13:36:02 +00:00
Gitea Actions 466b3a6044 ci(staging): deploy docs 2ce4f6cd-debug 2026-04-20 11:31:06 +00:00
Gitea Actions c0771389f6 ci(prod): deploy atlantis v2.0.2 2026-04-20 11:10:24 +00:00
Gitea Actions f8e8157853 ci(prod): deploy codex v2.0.2 2026-04-20 11:09:56 +00:00
Gitea Actions f60abcf350 ci(staging): deploy atlantis 25c37355-debug 2026-04-20 11:09:29 +00:00
Gitea Actions 37ef0895e7 ci(staging): deploy codex 25c37355-debug 2026-04-20 11:08:52 +00:00
Gitea Actions 66793f2254 ci(prod): deploy sorcerer v2.0.2 2026-04-20 11:08:34 +00:00
Gitea Actions 29cea16774 ci(staging): deploy sorcerer 25c37355-debug 2026-04-20 11:07:18 +00:00
Gitea Actions 4c29c496b1 ci(staging): deploy atlantis bec14d0a-debug 2026-04-20 08:32:49 +00:00
Gitea Actions 9028e61550 ci(staging): deploy codex bec14d0a-debug 2026-04-20 08:32:13 +00:00
Gitea Actions 40e2203792 ci(staging): deploy sorcerer bec14d0a-debug 2026-04-20 08:31:05 +00:00
mrtz a68b95ec28 chore: Move hipster and petimeter to attic 2026-04-19 11:36:07 +02:00
mrtz 44ae197178 fix: Add a 7 day cooldown for deps 2026-04-19 11:33:55 +02:00
renovate-bot 49b3c9449c Update Helm release cloudnative-pg to v0.28.0 2026-04-19 09:22:20 +00:00
renovate-bot 05e384fe1c Update Helm release argo-cd to v9.5.2 2026-04-19 09:15:16 +00:00
57 changed files with 1109 additions and 93 deletions
@@ -1,13 +1,6 @@
/* Oceanbox Keycloak Login Theme
*
* Branding aligned with oceanbox.io:
* Primary teal: #0bb4aa
* Dark teal: #37746F
* Deep blue: #031275
* Background: #f9fafd
* Text: #101010
*/
/* Oceanbox Keycloak Login Theme */
/* Brand colours */
:root {
--pf-v5-global--primary-color--100: #0bb4aa;
--pf-v5-global--primary-color--200: #099e95;
@@ -15,17 +8,10 @@
--pf-v5-global--link--Color--hover: #031275;
}
/* Background */
.login-pf body {
background: #f9fafd url("../img/oceanbox-bg.png") no-repeat center bottom fixed;
background-size: cover;
height: 100%;
}
/* Login container layout */
.pf-v5-c-login__container {
grid-template-columns: 34rem;
grid-template-areas: "header"
"main";
}
/* Logo */
@@ -43,67 +29,19 @@ div.kc-logo-text span {
display: none;
}
/* Header */
#kc-header-wrapper {
font-size: 29px;
text-transform: uppercase;
letter-spacing: 3px;
line-height: 1.2em;
white-space: normal;
color: #37746F !important;
text-align: center;
}
/* Login card */
.pf-v5-c-login__main {
border-radius: 8px;
box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}
/* Primary button */
.pf-v5-c-button.pf-m-primary {
--pf-v5-c-button--m-primary--BackgroundColor: #0bb4aa;
--pf-v5-c-button--m-primary--hover--BackgroundColor: #099e95;
--pf-v5-c-button--m-primary--active--BackgroundColor: #37746F;
--pf-v5-c-button--m-primary--focus--BackgroundColor: #099e95;
border-radius: 4px;
}
/* Links */
.pf-v5-c-button.pf-m-link {
--pf-v5-c-button--m-link--Color: #0bb4aa;
--pf-v5-c-button--m-link--hover--Color: #031275;
}
a {
a, .pf-v5-c-button.pf-m-link {
color: #0bb4aa;
}
a:hover {
a:hover, .pf-v5-c-button.pf-m-link:hover {
color: #031275;
}
/* Form inputs */
.pf-v5-c-form-control > input,
.pf-v5-c-form-control > textarea {
border-radius: 4px;
}
#kc-recovery-codes-list {
columns: 2;
}
#certificate_subjectDN {
overflow-wrap: break-word;
}
hr {
margin-top: var(--pf-v5-global--spacer--sm);
margin-bottom: var(--pf-v5-global--spacer--md);
}
@media (min-width: 768px) {
div.pf-v5-c-login__main-header {
grid-template-columns: 70% 30%;
}
}
+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.18
version: v2.5.2
# 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.18
appVersion: v2.5.2
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.18
tag: v2.5.2
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.18
version: v2.5.2
# 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.18"
appVersion: "v2.5.2"
+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.18
tag: v2.5.2
# 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.18
version: v2.5.2
# 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.18
appVersion: v2.5.2
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.18
tag: v2.5.2
pullPolicy: IfNotPresent
init:
enabled: false
+1 -1
View File
@@ -15,7 +15,7 @@ releases:
- name: argocd
namespace: argocd
chart: argo/argo-cd
version: 9.4.17
version: 9.5.2
condition: argo.enabled
values:
- ../values/argo/values/argocd.yaml.gotmpl
+2 -2
View File
@@ -15,7 +15,7 @@ releases:
- name: postgres-operator
namespace: cnpg
chart: cloudnative-pg/cloudnative-pg
version: 0.27.0
version: 0.28.0
condition: postgres_operator.enabled
values:
- ../values/postgres-operator/values/postgres-operator.yaml.gotmpl
@@ -27,7 +27,7 @@ releases:
- name: plugin-barman-cloud
namespace: cnpg
chart: cloudnative-pg/plugin-barman-cloud
version: 0.5.0
version: 0.6.0
condition: postgres_operator.enabled
values:
- ../values/postgres-operator/values/plugin-barman-cloud.yaml.gotmpl
+1 -1
View File
@@ -13,7 +13,7 @@ releases:
- name: spegel
namespace: spegel
chart: spegel/spegel
version: 0.6.0
version: 0.7.0
condition: spegel.enabled
values:
- ../values/spegel/values/spegel.yaml.gotmpl
+5 -5
View File
@@ -3,8 +3,8 @@
"nixpkgs": {
"type": "Channel",
"name": "nixpkgs-unstable",
"url": "https://releases.nixos.org/nixpkgs/nixpkgs-26.05pre961788.75690239f08f/nixexprs.tar.xz",
"hash": "sha256-p0h/nSeqzIkbn/2uFC4keoIPwmqXGHsX0gkCXM7km00="
"url": "https://releases.nixos.org/nixpkgs/nixpkgs-26.05pre981196.b86751bc4085/nixexprs.tar.xz",
"hash": "sha256-mBqzkn7oJti2hqeO8iTbDxKw+1ifxpP53feQ0CEXies="
},
"treefmt-nix": {
"type": "Git",
@@ -15,9 +15,9 @@
},
"branch": "main",
"submodules": false,
"revision": "71b125cd05fbfd78cab3e070b73544abe24c5016",
"url": "https://github.com/numtide/treefmt-nix/archive/71b125cd05fbfd78cab3e070b73544abe24c5016.tar.gz",
"hash": "sha256-6E/yhXP7Oy/NbXtf1ktzmU8SdVqJQ09HC/48ebEGBpk="
"revision": "790751ff7fd3801feeaf96d7dc416a8d581265ba",
"url": "https://github.com/numtide/treefmt-nix/archive/790751ff7fd3801feeaf96d7dc416a8d581265ba.tar.gz",
"hash": "sha256-pc20NRoMdiar8oPQceQT47UUZMBTiMdUuWrYu2obUP0="
}
},
"version": 7
+151
View File
@@ -0,0 +1,151 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: arome-script
namespace: cron
data:
download.py: |
import os
import sys
from netCDF4 import Dataset
import re
from datetime import datetime, timedelta
fname ="https://thredds.met.no/thredds/dodsC/meps25epsarchive/YEAR/MONTH/DAY/meps_det_sfc_YEARMONTHDAYT00Z.ncml"
outdir = "/data/hdd/data/AROME"
def generate_thredds_names(start, stop):
start_date = datetime(int(start.split("-")[0]),
int(start.split("-")[1]),
int(start.split("-")[2]))
end_date = datetime(int(stop.split("-")[0]),
int(stop.split("-")[1]),
int(stop.split("-")[2]))
date_list = []
while start_date <= end_date:
date_list.append(start_date)
start_date += timedelta(days=1)
fileList = []
for date in date_list:
y = str(date.year)
m = (str(date.month)).zfill(2)
d = (str(date.day)).zfill(2)
f = re.sub("YEAR", y, fname)
f = re.sub("MONTH", m, f)
f = re.sub("DAY", d, f)
fileList.append(f)
return fileList
def copy_thredds_file(threddsFile, savename):
dsin = Dataset(threddsFile)
dsout = Dataset(savename, "w")
for dname, the_dim in dsin.dimensions.items():
dsout.createDimension(dname, len(the_dim) if not the_dim.isunlimited() else None)
aromeNames = ["time",
"longitude",
"latitude",
"land_area_fraction",
"air_temperature_2m",
"precipitation_amount_acc",
"water_evaporation_amount",
"relative_humidity_2m",
"integral_of_surface_downwelling_longwave_flux_in_air_wrt_time",
"integral_of_surface_net_downward_shortwave_flux_wrt_time",
"air_pressure_at_sea_level",
"x_wind_10m",
"y_wind_10m"]
for v_name, varin in dsin.variables.items():
if v_name in aromeNames:
fill_value = None
if hasattr(varin, "_FillValue"):
fill_value = varin._FillValue
outVar = dsout.createVariable(v_name, varin.datatype, varin.dimensions, fill_value=fill_value)
outVar.setncatts({k: varin.getncattr(k) for k in varin.ncattrs() if k not in ["_FillValue"]})
outVar[:] = varin[:]
dsout.close()
os.makedirs(outdir, exist_ok=True)
fList = generate_thredds_names("2026-04-24", datetime.today().strftime("%Y-%m-%d"))
failed = False
for fname in fList:
savename = os.path.join(outdir, fname.split("/")[-1].split(".")[0] + ".nc")
if os.path.exists(savename):
print(f"Skipping {savename}, already exists")
continue
print(savename)
try:
try:
copy_thredds_file(fname, savename)
except:
alt_fname = re.sub("sfc", "2_5km", fname)
alt_fname = re.sub("ncml", "nc", alt_fname)
copy_thredds_file(alt_fname, savename)
except Exception as e:
print(f"File not found: {fname} ({e})")
failed = True
if failed:
sys.exit(1)
---
apiVersion: batch/v1
kind: CronJob
metadata:
name: arome
namespace: cron
spec:
schedule: 0 6 * * * # Everyday at 06:00, use https://crontab.guru
concurrencyPolicy: "Forbid" # If only one at at time set to Allow else Forbid
successfulJobsHistoryLimit: 10
failedJobsHistoryLimit: 3
jobTemplate:
spec:
backoffLimit: 3
template:
spec:
restartPolicy: "Never"
containers:
- name: cronpod
image: juselius/busynix:1.1
imagePullPolicy: IfNotPresent
command:
- /bin/sh
- -c
- |
if nix-shell -p 'python3.withPackages(ps: [ps.netcdf4])' --run 'python3 /scripts/download.py'; then
chown -R 5000:5000 /data/hdd/data/AROME
chmod -R g+w /data/hdd/data/AROME
else
echo "Job failed, sleeping 30 minutes before retry..."
sleep 1800
exit 1
fi
resources: {}
volumeMounts:
- name: data
mountPath: /data
- name: script
mountPath: /scripts
securityContext: {}
volumes:
- name: data
persistentVolumeClaim:
claimName: ekman-data
- name: script
configMap:
name: arome-script
defaultMode: 0755
+178
View File
@@ -0,0 +1,178 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: mur-script
namespace: cron
data:
download.py: |
import argparse
import os
import sys
import requests
from datetime import datetime
parser = argparse.ArgumentParser(description="Download MUR SST files from NASA Earthdata")
parser.add_argument("-sd", "--start_date", required=True, help="Start date (YYYY-MM-DD)")
parser.add_argument("-ed", "--end_date", required=True, help="End date (YYYY-MM-DD)")
parser.add_argument("-o", "--out_dir", default="MUR_SST_nc", help="Output directory")
parser.add_argument("-v", "--verbose", action="store_true", help="Verbose output")
args = parser.parse_args()
def create_session():
session = requests.Session()
session.headers.update({
"User-Agent": "mur-sst-downloader",
"Accept-Encoding": "identity"
})
return session
def get_download_urls(startdate, enddate, verbose=False):
url = (
"https://cmr.earthdata.nasa.gov/search/granules.umm_json"
f"?collection_concept_id=C1996881146-POCLOUD"
f"&temporal={startdate}T00:00:00Z,{enddate}T00:00:00Z"
"&pageSize=365"
)
r = requests.get(url)
r.raise_for_status()
data = r.json()
urls = []
for item in data["items"]:
for link in item["umm"]["RelatedUrls"]:
# Prefer direct HTTPS download links
if link.get("Type") == "GET DATA":
urls.append(link["URL"])
if verbose:
print(f"Found {len(urls)} files")
return urls
def download_file(session, url, out_dir, verbose=False):
filename = os.path.basename(url)
local_path = os.path.join(out_dir, filename)
if os.path.exists(local_path):
if verbose:
print(f"Skipping existing: {filename}")
return True
if verbose:
print(f"Downloading: {filename}")
try:
with session.get(url, stream=True, allow_redirects=True, timeout=60) as r:
if r.status_code == 401:
raise Exception("Unauthorized (check .netrc credentials)")
r.raise_for_status()
with open(local_path, "wb") as f:
for chunk in r.iter_content(chunk_size=8192):
if chunk:
f.write(chunk)
if verbose:
print(f"Saved: {filename}")
return True
except Exception as e:
print(f"Failed: {filename} -> {e}")
return False
def validate_dates(start, end):
try:
datetime.strptime(start, "%Y-%m-%d")
datetime.strptime(end, "%Y-%m-%d")
except ValueError:
print("Error: Dates must be in YYYY-MM-DD format")
sys.exit(1)
def main():
validate_dates(args.start_date, args.end_date)
# os.makedirs(args.out_dir, exist_ok=True)
session = create_session()
urls = get_download_urls(args.start_date, args.end_date, args.verbose)
failed = False
for url in urls:
if not download_file(session, url, args.out_dir, args.verbose):
failed = True
if failed:
sys.exit(1)
print(f"\nDone. Downloaded files to: {args.out_dir}")
if __name__ == "__main__":
main()
---
apiVersion: batch/v1
kind: CronJob
metadata:
name: mur
namespace: cron
spec:
schedule: "0 6 * * *" # Everyday at 06:00, use https://crontab.guru
concurrencyPolicy: "Forbid"
successfulJobsHistoryLimit: 10
failedJobsHistoryLimit: 3
jobTemplate:
spec:
backoffLimit: 3
template:
spec:
restartPolicy: "Never"
containers:
- name: cronpod
image: juselius/busynix:1.1
imagePullPolicy: IfNotPresent
command:
- /bin/sh
- -c
- |
nix-shell -p 'python3.withPackages(ps: [ps.requests])' coreutils --run '
python3 /scripts/download.py \
-sd $(date -d "3 days ago" +%Y-%m-%d) \
-ed $(date +%Y-%m-%d) \
-o /data/hdd/data/river-data/MUR/MUR_SST_nc \
-v &&
chown -R 5000:5000 /data/hdd/data/river-data/MUR/MUR_SST_nc &&
chmod -R g+w /data/hdd/data/river-data/MUR/MUR_SST_nc
' || {
echo "Job failed, sleeping 30 minutes before retry..."
sleep 1800
exit 1
}
resources: {}
volumeMounts:
- name: data
mountPath: /data
- name: script
mountPath: /scripts
- name: netrc
mountPath: /root/.netrc
subPath: .netrc
readOnly: true
securityContext: {}
volumes:
- name: data
persistentVolumeClaim:
claimName: ekman-data
- name: script
configMap:
name: mur-script
defaultMode: 0755
- name: netrc
secret:
secretName: mur-netrc
+245
View File
@@ -0,0 +1,245 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: nemo-script
namespace: cron
data:
download.sh: |
#!/usr/bin/env bash
# this script downloads files from
# https://data.marine.copernicus.eu/product/NWSHELF_ANALYSISFORECAST_PHY_004_013
set -euf -o pipefail
START_DATE="$1"
END_DATE="$2"
current_date="$START_DATE"
while [[ "$current_date" < "$END_DATE" ]]; do
next_date=$(date -I -d "$current_date + 1 day")
echo "Running subset for $current_date to $next_date"
outfile="cmems_mod_nws_phy-sal_anfc_1.5km-3D_PT1H-i_${current_date}--${next_date}.nc"
if [[ -f "/data/hdd/data/NEMO/$outfile" ]]; then
echo "Skipping salt (already exists)"
else
copernicusmarine subset \
--dataset-id cmems_mod_nws_phy-sal_anfc_1.5km-3D_PT1H-i \
-t "$current_date" \
-T "$next_date" \
-f "$outfile" \
-o /data/hdd/data/NEMO/
echo "Downloaded salt"
fi
outfile="cmems_mod_nws_phy-cur_anfc_1.5km-3D_PT1H-i_${current_date}--${next_date}.nc"
if [[ -f "/data/hdd/data/NEMO/$outfile" ]]; then
echo "Skipping currents (already exists)"
else
copernicusmarine subset \
--dataset-id cmems_mod_nws_phy-cur_anfc_1.5km-3D_PT1H-i \
-t "$current_date" \
-T "$next_date" \
-f "$outfile" \
-o /data/hdd/data/NEMO/
echo "Downloaded currents"
fi
outfile="cmems_mod_nws_phy-tem_anfc_1.5km-3D_PT1H-i_${current_date}--${next_date}.nc"
if [[ -f "/data/hdd/data/NEMO/$outfile" ]]; then
echo "Skipping temperature (already exists)"
else
copernicusmarine subset \
--dataset-id cmems_mod_nws_phy-tem_anfc_1.5km-3D_PT1H-i \
-t "$current_date" \
-T "$next_date" \
-f "$outfile" \
-o /data/hdd/data/NEMO/
echo "Downloaded temperature"
fi
outfile="cmems_mod_nws_phy-ssh_anfc_1.5km-2D_PT15M-i_${current_date}--${next_date}.nc"
if [[ -f "/data/hdd/data/NEMO/$outfile" ]]; then
echo "Skipping ssh (already exists)"
else
copernicusmarine subset \
--dataset-id cmems_mod_nws_phy-ssh_anfc_1.5km-2D_PT15M-i \
-t "$current_date" \
-T "$next_date" \
-f "$outfile" \
-o /data/hdd/data/NEMO/
echo "Downloaded ssh"
fi
current_date="$next_date"
done
---
apiVersion: v1
kind: ConfigMap
metadata:
name: nemo-nix
namespace: cron
data:
shell.nix: |
let
nixpkgs = builtins.fetchTarball {
url = "https://releases.nixos.org/nixos/25.11/nixos-25.11.9586.10e7ad5bbcb4/nixexprs.tar.xz";
sha256 = "sha256-wjAIDqQxE+kWV2lbykQCcS+F0ArQwmN8iNw0kcj4iaA=";
};
pkgs = import nixpkgs { overlays = [ (import ./default.nix) ]; };
in pkgs.mkShell {
buildInputs = [
(pkgs.python3.withPackages (ps: [ pkgs.copernicusmarine ]))
pkgs.coreutils
pkgs.bash
];
}
default.nix: |
final: prev: {
arcosparse = prev.callPackage ./arcosparse.nix { };
copernicusmarine = prev.callPackage ./copernicusmarine.nix {
arcosparse = final.arcosparse;
};
}
copernicusmarine.nix: |
{
fetchPypi,
python3Packages,
arcosparse,
}:
python3Packages.buildPythonPackage rec {
pname = "copernicusmarine";
version = "2.2.2";
format = "pyproject";
src = fetchPypi {
inherit version;
pname = "copernicusmarine";
sha256 = "sha256-5T3iH4Hh08wIao2MMveb/bVnVz0pK0PoN4CRk811P0g=";
};
pythonRelaxDeps = true;
nativeBuildInputs = [ python3Packages.poetry-core ];
propagatedBuildInputs = with python3Packages; [
boto3
click
dask
h5netcdf
arcosparse
lxml
numpy
pydantic
pystac
requests
semver
setuptools
tqdm
xarray
zarr
];
}
arcosparse.nix: |
{
fetchPypi,
python3Packages,
}:
python3Packages.buildPythonPackage rec {
pname = "arcosparse";
version = "0.4.2";
format = "pyproject";
src = fetchPypi {
inherit version;
pname = "arcosparse";
sha256 = "sha256-Z8NW+dsC3uXk101kr8tzsgjAoFb4KNdGkxyFkJ5UhFA=";
};
pythonRelaxDeps = true;
nativeBuildInputs = [ python3Packages.poetry-core ];
propagatedBuildInputs = with python3Packages; [
pyarrow
pandas
pystac
tqdm
requests
];
}
---
apiVersion: batch/v1
kind: CronJob
metadata:
name: nemo
namespace: cron
spec:
schedule: "0 13 * * *" # Everyday at 13:00, use https://crontab.guru
concurrencyPolicy: "Forbid"
successfulJobsHistoryLimit: 10
failedJobsHistoryLimit: 3
jobTemplate:
spec:
backoffLimit: 3
template:
spec:
restartPolicy: "Never"
containers:
- name: cronpod
image: ghcr.io/lix-project/lix:latest
imagePullPolicy: IfNotPresent
command:
- /bin/sh
- -c
- |
nix-shell /nix-overlay/shell.nix \
--keep COPERNICUSMARINE_SERVICE_USERNAME \
--keep COPERNICUSMARINE_SERVICE_PASSWORD \
--run '
copernicusmarine login \
--username "$COPERNICUSMARINE_SERVICE_USERNAME" \
--password "$COPERNICUSMARINE_SERVICE_PASSWORD" \
--force-overwrite &&
bash /scripts/download.sh \
$(date -d "2 days ago" +%Y-%m-%d) \
$(date +%Y-%m-%d) &&
chown -R 5000:5000 /data/hdd/data/NEMO &&
chmod -R g+w /data/hdd/data/NEMO
' || {
echo "Job failed, sleeping 30 minutes before retry..."
sleep 1800
exit 1
}
env:
- name: COPERNICUSMARINE_SERVICE_USERNAME
valueFrom:
secretKeyRef:
name: nemo-credentials
key: username
- name: COPERNICUSMARINE_SERVICE_PASSWORD
valueFrom:
secretKeyRef:
name: nemo-credentials
key: password
resources: {}
volumeMounts:
- name: data
mountPath: /data
- name: script
mountPath: /scripts
- name: nix
mountPath: /nix-overlay
securityContext: {}
volumes:
- name: data
persistentVolumeClaim:
claimName: ekman-data
- name: script
configMap:
name: nemo-script
defaultMode: 0755
- name: nix
configMap:
name: nemo-nix
defaultMode: 0644
+113
View File
@@ -0,0 +1,113 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: norkyst-script
namespace: cron
data:
download.sh: |
#!/usr/bin/env bash
# this script downloads files from:
# https://thredds.met.no/thredds/catalog/fou-hi/new_norkyst800m/norkyst_v3_test/his/catalog.html
# safe bash settings
set -euf -o pipefail
JOBS=8 # parallel downloads
# define start and end dates (YYYY-MM-DD)
start_date=$(date -d "yesterday" +%Y-%m-%d)
end_date=$(date -d "yesterday" +%Y-%m-%d)
# check if thredds is reachable before attempting any downloads
if ! wget --spider --quiet "https://thredds.met.no/thredds/catalog/fou-hi/new_norkyst800m/norkyst_v3_test/his/catalog.html"; then
echo "thredds.met.no is unreachable, aborting"
exit 1
fi
# function to print stuff in red
red() {
printf "\e[31m%s\e[0m" "$1"
}
download_day() {
local current_date="$1"
local year month day file_name target_file_name url
year=$(date -d "${current_date}" +%Y)
month=$(date -d "${current_date}" +%m)
day=$(date -d "${current_date}" +%d)
mkdir -p "/data/hdd/data/norkyst/${year}/${month}"
file_name="norkyst800_his_sdepth_${year}${month}${day}T00Z_m00_AN.nc"
target_file_name="/data/hdd/data/norkyst/${year}/${month}/${file_name}"
url="https://thredds.met.no/thredds/fileServer/fou-hi/new_norkyst800m/norkyst_v3_test/his/${year}/${month}/${day}/${file_name}"
if [[ ! -f "${target_file_name}" ]]; then
if wget --spider --quiet "${url}"; then
echo "downloading ${url}"
wget --tries=5 --waitretry=60 -O "${target_file_name}" "${url}"
else
echo "${target_file_name} $(red 'not found on server')"
fi
else
echo "${target_file_name} already exists locally"
fi
}
export -f download_day red
current_date=$(date -d "${start_date}" +%Y-%m-%d)
while [[ "${current_date}" < "${end_date}" || "${current_date}" == "${end_date}" ]]; do
echo "${current_date}"
current_date=$(date -d "${current_date} + 1 day" +%Y-%m-%d)
done | parallel -j "${JOBS}" download_day
---
apiVersion: batch/v1
kind: CronJob
metadata:
name: norkyst
namespace: cron
spec:
schedule: 0 13 * * * # Everyday at 13:00, use https://crontab.guru
concurrencyPolicy: "Allow"
successfulJobsHistoryLimit: 10
failedJobsHistoryLimit: 3
jobTemplate:
spec:
backoffLimit: 3
template:
spec:
restartPolicy: "Never"
containers:
- name: cronpod
image: juselius/busynix:1.1
imagePullPolicy: IfNotPresent
command:
- /bin/sh
- -c
- |
nix-env -iA nixpkgs.wget nixpkgs.coreutils nixpkgs.bash nixpkgs.parallel
if bash /scripts/download.sh; then
chown -R 10000:10000 /data/hdd/data/norkyst
chmod -R g+w /data/hdd/data/norkyst
else
echo "Job failed, sleeping 30 minutes before retry..."
sleep 1800
exit 1
fi
resources: {}
volumeMounts:
- name: data
mountPath: /data
- name: script
mountPath: /scripts
securityContext: {}
volumes:
- name: data
persistentVolumeClaim:
claimName: ekman-data
- name: script
configMap:
name: norkyst-script
defaultMode: 0755
+153
View File
@@ -0,0 +1,153 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: norshelf-script
namespace: cron
data:
download.sh: |
#!/usr/bin/env bash
# this script downloads files from:
# https://thredds.met.no/thredds/catalog/sea_norshelf_files/YYYY/catalog.html
# safe bash settings
set -euf -o pipefail
# define start and end dates (YYYY-MM-DD)
start_date="2026-03-01"
end_date=$(date +%Y-%m-%d)
# check if thredds is reachable before attempting any downloads
if ! wget --spider --quiet "https://thredds.met.no/thredds/catalog/sea_norshelf_files/catalog.html"; then
echo "thredds.met.no is unreachable, aborting"
exit 1
fi
# function to print stuff in red
red() {
printf "\e[31m%s\e[0m" "$1"
}
current_date=$(date -d "${start_date}" +%Y-%m-%d)
while [[ "${current_date}" < "${end_date}" || "${current_date}" == "${end_date}" ]]; do
year=$(date -d "${current_date}" +%Y)
month=$(date -d "${current_date}" +%m)
day=$(date -d "${current_date}" +%d)
mkdir -p "/data/hdd/data/norshelf/sea_norshelf_files/${year}/${month}"
file_name="norshelf_qck_an_${year}${month}${day}T00Z.nc"
target_file_name="/data/hdd/data/norshelf/sea_norshelf_files/${year}/${month}/${file_name}"
url="https://thredds.met.no/thredds/fileServer/sea_norshelf_files/${year}/${month}/${file_name}"
if [[ ! -f "${target_file_name}" ]]; then
if wget --spider --quiet "${url}"; then
echo "downloading ${url}"
wget --tries=5 --waitretry=60 -O "${target_file_name}" "${url}"
else
echo "${target_file_name} $(red 'not found on server')"
fi
else
echo "${target_file_name} already exists locally"
fi
# move to next day
current_date=$(date -d "${current_date} + 1 day" +%Y-%m-%d)
done
---
apiVersion: batch/v1
kind: CronJob
metadata:
name: norshelf
namespace: cron
spec:
schedule: 0 13 * * * # Everyday at 13:00, use https://crontab.guru
concurrencyPolicy: "Forbid" # If only one at at time set to Allow else Forbid
successfulJobsHistoryLimit: 10
failedJobsHistoryLimit: 3
jobTemplate:
spec:
backoffLimit: 3
template:
spec:
restartPolicy: "Never"
containers:
- name: cronpod
image: juselius/busynix:1.1
imagePullPolicy: IfNotPresent
command:
- /bin/sh
- -c
- |
nix-env -iA nixpkgs.wget nixpkgs.coreutils nixpkgs.bash
if bash /scripts/download.sh; then
chown -R 5000:5000 /data/hdd/data/norshelf
chmod -R g+w /data/hdd/data/norshelf
else
echo "Job failed, sleeping 30 minutes before retry..."
sleep 1800
exit 1
fi
resources: {}
volumeMounts:
- name: data
mountPath: /data
- name: script
mountPath: /scripts
securityContext: {}
volumes:
- name: data
persistentVolumeClaim:
claimName: ekman-data
- name: script
configMap:
name: norshelf-script
defaultMode: 0755
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: ekman-data
namespace: cron
spec:
accessModes:
- ReadWriteMany
resources:
requests:
storage: 1Gi
storageClassName: ""
volumeMode: Filesystem
volumeName: pv-ekman-data
status:
accessModes:
- ReadWriteMany
capacity:
storage: 1Gi
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: pv-ekman-data
spec:
accessModes:
- ReadWriteMany
claimRef:
apiVersion: v1
kind: PersistentVolumeClaim
name: ekman-data
namespace: cron
capacity:
storage: 1Gi
csi:
driver: rook-ceph.cephfs.csi.ceph.com
nodeStageSecretRef:
name: rook-csi-cephfs-node
namespace: rook-ceph
volumeAttributes:
clusterID: rook-ceph
fsName: data
rootPath: /
staticVolume: "true"
volumeHandle: pv-ekman-data
persistentVolumeReclaimPolicy: Retain
volumeMode: Filesystem
+60
View File
@@ -0,0 +1,60 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: nve-config
namespace: cron
data:
appsettings.json: |
{
"NveUrl": "https://chartserver.nve.no/ShowData.aspx?req=getchart&ver=1.0",
"DataDir": "/data/hdd/data/river-data"
}
---
apiVersion: batch/v1
kind: CronJob
metadata:
name: nve
namespace: cron
spec:
schedule: "0 8 * * *" # Everyday at 08:00, use https://crontab.guru
concurrencyPolicy: "Forbid"
successfulJobsHistoryLimit: 10
failedJobsHistoryLimit: 3
jobTemplate:
spec:
backoffLimit: 3
template:
spec:
restartPolicy: "Never"
containers:
- name: cronpod
image: git.oceanbox.io/oceanbox/churn/riverrun:24a8bbbc-debug
imagePullPolicy: IfNotPresent
command:
- /bin/sh
- -c
- |
if riverrun data --download --ndays 5000; then
chown -R 5000:5000 /data/hdd/data/river-data/Data
chmod -R g+w /data/hdd/data/river-data/Data
else
echo "Job failed, sleeping 30 minutes before retry..."
sleep 1800
exit 1
fi
resources: {}
volumeMounts:
- name: data
mountPath: /data
- name: config
mountPath: /app/appsettings.json
subPath: appsettings.json
readOnly: true
securityContext: {}
volumes:
- name: data
persistentVolumeClaim:
claimName: ekman-data
- name: config
configMap:
name: nve-config
+3 -1
View File
@@ -3,10 +3,12 @@
"extends": [
"config:recommended"
],
"minimumReleaseAge": "7 days",
"dependencyDashboard": true,
"semanticCommits": "disabled",
"ignorePaths": [
"**/bootstrap/**"
"**/bootstrap/**",
"**/attic/**"
],
"helmfile": {
"managerFilePatterns": [
@@ -1,7 +1,7 @@
replicaCount: 1
image:
repository: git.oceanbox.io/oceanbox/poseidon/atlantis
tag: d83c8790-debug
tag: 5d810716-debug
podAnnotations:
dapr.io/app-id: "staging-atlantis"
env:
+1 -1
View File
@@ -38,4 +38,4 @@ volumeMounts:
readOnly: true
subPath: appsettings.json
image:
tag: 74ed3e11-debug
tag: 651291bd-debug
+1 -1
View File
@@ -1,6 +1,6 @@
replicaCount: 1
image:
tag: "6960aed0-debug"
tag: "ea8cf7dc-debug"
env:
- name: APP_VERSION
value: "0.0.0"
+15 -1
View File
@@ -130,6 +130,10 @@ configMaps:
"group:intern": [
"haavahak@stud.ntnu.no",
],
"group:ceph": [
"jonas.juselius@oceanbox.io",
"Moritz.Jorg@oceanbox.io",
],
},
// tagOwners in tailscale is an association between a TAG and the people allowed to set this TAG on a server.
// This is documented [here](https://tailscale.com/kb/1068/acl-tags#defining-a-tag)
@@ -157,7 +161,7 @@ configMaps:
"printer.office.tos": "10.132.46.108/32",
"office.tos.net": "10.132.46.0/24",
"dc.tos.net": "10.255.241.0/24",
"100gbe.tos.net": "10.255.244.0/24",
"gbe100.tos.net": "10.255.244.0/24",
"mgmt.tos.net": "10.255.240.0/24",
"dc.vtn.net": "172.16.239.0/24",
"mgmt.vtn.net": "172.16.238.0/24",
@@ -232,6 +236,16 @@ configMaps:
"tag:hpc:22,80,443",
]
},
{
"action": "accept",
"src": [
"group:ceph",
"tag:mumindalen",
],
"dst": [
"gbe100.tos.net:*",
]
},
{
"action": "accept",
"src": [ "*" ],
+1 -1
View File
@@ -1,6 +1,6 @@
replicaCount: 1
image:
tag: "36e2cb4d-debug"
tag: "ad49e745-debug"
env:
- name: APP_VERSION
value: "0.0.0"
@@ -1,6 +1,17 @@
# - op: replace
# path: /spec/template/spec/containers/0/volumeMounts/0/mountPath
# value: /data
- op: add
path: /spec/template/spec/volumes/-
value:
name: raid-data
persistentVolumeClaim:
claimName: raid-data
- op: add
path: /spec/template/spec/containers/0/volumeMounts/-
value:
name: raid-data
mountPath: /data/raid
- op: add
path: /spec/template/spec/containers/0/envFrom/-
value:
@@ -14,6 +14,7 @@ resources:
- ../base
- pv.yaml
- pvc.yaml
- pv-raid-data.yaml
- secrets.yaml
- configurations.yaml
- keyvault.yaml
@@ -0,0 +1,42 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: raid-data
namespace: beta-sorcerer
spec:
accessModes:
- ReadWriteMany
resources:
requests:
storage: 1Gi
storageClassName: ""
volumeMode: Filesystem
volumeName: pv-beta-sorcerer-raid-data
status:
accessModes:
- ReadWriteMany
capacity:
storage: 1Gi
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: pv-beta-sorcerer-raid-data
spec:
accessModes:
- ReadWriteMany
claimRef:
apiVersion: v1
kind: PersistentVolumeClaim
name: raid-data
namespace: beta-sorcerer
capacity:
storage: 1Gi
mountOptions:
- nfsvers=4.2
nfs:
path: /backup/archives
server: 10.255.241.80
persistentVolumeReclaimPolicy: Retain
storageClassName: managed-nfs-storage
volumeMode: Filesystem
@@ -1,6 +1,17 @@
# - op: replace
# path: /spec/template/spec/containers/0/volumeMounts/0/mountPath
# value: /data
- op: add
path: /spec/template/spec/volumes/-
value:
name: raid-data
persistentVolumeClaim:
claimName: raid-data
- op: add
path: /spec/template/spec/containers/0/volumeMounts/-
value:
name: raid-data
mountPath: /data/raid
- op: add
path: /spec/template/spec/containers/0/envFrom/-
value:
@@ -14,6 +14,7 @@ resources:
- ../base
- pv.yaml
- pvc.yaml
- pv-raid-data.yaml
- secrets.yaml
- configurations.yaml
- keyvault.yaml
@@ -0,0 +1,42 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: raid-data
namespace: prod-sorcerer
spec:
accessModes:
- ReadWriteMany
resources:
requests:
storage: 1Gi
storageClassName: ""
volumeMode: Filesystem
volumeName: pv-prod-sorcerer-raid-data
status:
accessModes:
- ReadWriteMany
capacity:
storage: 1Gi
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: pv-prod-sorcerer-raid-data
spec:
accessModes:
- ReadWriteMany
claimRef:
apiVersion: v1
kind: PersistentVolumeClaim
name: raid-data
namespace: prod-sorcerer
capacity:
storage: 1Gi
mountOptions:
- nfsvers=4.2
nfs:
path: /backup/archives
server: 10.255.241.80
persistentVolumeReclaimPolicy: Retain
storageClassName: managed-nfs-storage
volumeMode: Filesystem
@@ -1,6 +1,17 @@
# - op: replace
# path: /spec/template/spec/containers/0/volumeMounts/0/mountPath
# value: /data
- op: add
path: /spec/template/spec/volumes/-
value:
name: raid-data
persistentVolumeClaim:
claimName: raid-data
- op: add
path: /spec/template/spec/containers/0/volumeMounts/-
value:
name: raid-data
mountPath: /data/raid
- op: add
path: /spec/template/spec/containers/0/envFrom/-
value:
@@ -14,6 +14,7 @@ resources:
- ../base
- pv.yaml
- pvc.yaml
- pv-raid-data.yaml
- secrets.yaml
- configurations.yaml
- keyvault.yaml
@@ -0,0 +1,42 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: raid-data
namespace: staging-sorcerer
spec:
accessModes:
- ReadWriteMany
resources:
requests:
storage: 1Gi
storageClassName: ""
volumeMode: Filesystem
volumeName: pv-staging-sorcerer-raid-data
status:
accessModes:
- ReadWriteMany
capacity:
storage: 1Gi
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: pv-staging-sorcerer-raid-data
spec:
accessModes:
- ReadWriteMany
claimRef:
apiVersion: v1
kind: PersistentVolumeClaim
name: raid-data
namespace: staging-sorcerer
capacity:
storage: 1Gi
mountOptions:
- nfsvers=4.2
nfs:
path: /backup/archives
server: 10.255.241.80
persistentVolumeReclaimPolicy: Retain
storageClassName: managed-nfs-storage
volumeMode: Filesystem
+1 -1
View File
@@ -1,7 +1,7 @@
replicaCount: 1
image:
repository: git.oceanbox.io/oceanbox/poseidon/sorcerer
tag: 74ed3e11-debug
tag: 651291bd-debug
podAnnotations:
dapr.io/enabled: "true"
dapr.io/app-id: "staging-sorcerer"
+1 -1
View File
@@ -6,7 +6,7 @@ image:
# -- image pull policy
# pullPolicy:
# -- Overrides the image tag
tag: "3.0.3"
tag: "3.1.0"
replicaCount: 1