Compare commits
377 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| db2035da15 | |||
| 69fae08291 | |||
| 504134aa24 | |||
| b386a05273 | |||
| 42c800a20d | |||
| bd1ba432f0 | |||
|
5b0a533a80
|
|||
| eb3c2c56f6 | |||
|
8bfa91b25c
|
|||
|
6e92e3ca1a
|
|||
|
ac18795766
|
|||
|
73e25e9250
|
|||
|
4d0f820088
|
|||
|
5f32f34543
|
|||
|
a5de0859b5
|
|||
|
a35fecb62e
|
|||
| 2150a113eb | |||
| 904c0670ce | |||
| 0c81c2f90b | |||
| aef620bee2 | |||
| bf10957f66 | |||
| 787ac02f10 | |||
| 7088e06978 | |||
| 59efc13bff | |||
| d1eb9e744b | |||
|
6174ee5905
|
|||
| e84e27d6de | |||
| c185a11c2e | |||
| b9efe891bb | |||
| ce3aaf5901 | |||
| 27dc652aa4 | |||
| dc68e400fd | |||
| 923b0b0c6c | |||
| f6ea16f2b0 | |||
| 42767b9d89 | |||
| add7a40289 | |||
| 631471b25a | |||
| b03586d60a | |||
| e150c52775 | |||
| 3506b08989 | |||
| b5e42606c8 | |||
| 929f0438fe | |||
| f589f13c2b | |||
|
e723141ede
|
|||
|
e84f4fc10c
|
|||
| 334dc72b21 | |||
| 257c0af573 | |||
| 0182d0e080 | |||
| b229be6867 | |||
|
b96b1c6723
|
|||
| 156329c963 | |||
| 46c7392a88 | |||
|
cb93a1e299
|
|||
| 208002904d | |||
| 552185046c | |||
| 018485f655 | |||
| e442421d39 | |||
| dde3b03b1c | |||
| 6627cf8f14 | |||
| 1c8d409443 | |||
| acb8c05c94 | |||
| 445be23066 | |||
| d6a55ab4ce | |||
|
c7b3201573
|
|||
| 8d00b94329 | |||
| ac1116d2bc | |||
| 95b752eb80 | |||
|
9b04866e53
|
|||
|
1b4a34de92
|
|||
|
a90381545d
|
|||
| 65a31e835d | |||
| 30cc6d70dd | |||
|
85c81ec4c0
|
|||
|
ac99938a79
|
|||
|
d0aa57fa13
|
|||
|
2aed9ead11
|
|||
| 5df05acd46 | |||
| 4625fc0550 | |||
| 796d7e033a | |||
| 13800aa8a8 | |||
| 6228922b62 | |||
| 7a4d2f9f74 | |||
| ea0adc2295 | |||
| 0560d3a7f9 | |||
| 5a3a023d1e | |||
| 538549d949 | |||
| a7a29aadd7 | |||
| 7e5a98cc3e | |||
| d786f1bab8 | |||
| 3c35fbd0d4 | |||
| e55afeb707 | |||
| 14733e1742 | |||
| 9bd1ea9464 | |||
| fa5d18f97f | |||
| 026c8a7221 | |||
| 3a34bc0234 | |||
| 730e7181d5 | |||
| 2b72960e86 | |||
| e509b85cd9 | |||
|
9aa6b67b3f
|
|||
| f6a592a266 | |||
| acc87c79ff | |||
| a9374c5934 | |||
|
50f9f2d638
|
|||
| ce440ae3ea | |||
|
b103d37178
|
|||
|
dc0b889f3a
|
|||
| dd0cad06ca | |||
| 33236d642b | |||
| 53253af69f | |||
| 2eaa21e13c | |||
| 1febbd87c8 | |||
| faddbffd47 | |||
| 3468b8e58d | |||
| a80d43aa54 | |||
| 4a74a20c79 | |||
| 9c7e09c84a | |||
| dcde964e25 | |||
| 7182148418 | |||
| 7564c69aa7 | |||
| 72783901b7 | |||
| a34519f639 | |||
| b2444da71f | |||
| ea18a86299 | |||
| cea3993a00 | |||
| 2a5a5d0141 | |||
| aec98546a0 | |||
| ca5ab55995 | |||
| f3886de47d | |||
| 774bcd2d23 | |||
| a0e0c74c9c | |||
| ff851dfdb4 | |||
| af8e3d935c | |||
| 919b75ef9f | |||
| f2ed4b8921 | |||
| 701fed343a | |||
| 0365fb84bc | |||
| 069f257895 | |||
| 0e828a452f | |||
| 7971b2eaa0 | |||
| 7b7c606473 | |||
| c3a16d72cc | |||
| 7da86d0bb8 | |||
| 8cd2318259 | |||
| 6bb3bbfdff | |||
| 5e0cc2c25d | |||
| 1649745cad | |||
| e8a318d65f | |||
| 9c2497e3ec | |||
| 5df1cbfabc | |||
| 39f9b408d5 | |||
| b128ccc1ee | |||
| 5a963f7320 | |||
| 8392219980 | |||
| 1395e92744 | |||
| af87bc73cb | |||
|
89ad3fe9b8
|
|||
| 713f476f01 | |||
| 19a11f93c3 | |||
| ab24193a2c | |||
| 720836da5c | |||
| 754714f497 | |||
| 4a6b1d106b | |||
| 0e2ace7d40 | |||
| b2efdb889c | |||
| 8251e3da80 | |||
| 411ce7171e | |||
| 1cebd72992 | |||
|
d5c6013376
|
|||
|
ac3f6a58f2
|
|||
| 5810099689 | |||
|
1681c9843c
|
|||
| d511388401 | |||
|
695f43f5bf
|
|||
| 3980f61f44 | |||
| 102c6263a3 | |||
| 3e05a29191 | |||
| e76d33715f | |||
| 2959b0a03d | |||
| 9cc35893c9 | |||
| f2505960d7 | |||
| 65ea4cfe6c | |||
| f3f76d6f34 | |||
| e441293f47 | |||
| 886d5f266d | |||
| 5d86515bbd | |||
| 0350a29e61 | |||
| 23041a7cb1 | |||
| 574daf43be | |||
| adc5e75b07 | |||
| 79d9fded3b | |||
| 72652cde2e | |||
| c3e7968a45 | |||
| 2b7e2ce9a3 | |||
| 307e165af9 | |||
| b8366e0009 | |||
| b174b1d27d | |||
|
d146365fff
|
|||
| 64bfeee043 | |||
| 9ff1530bdf | |||
| 968e96c3a5 | |||
| d4699dbf9b | |||
| e52edaca66 | |||
| 7238bbd720 | |||
| 5620e05e94 | |||
| 75e76f6e37 | |||
| 8e20ff37da | |||
| cda142b3d1 | |||
| f0eb28a627 | |||
| 30f0b45618 | |||
| e480c57b74 | |||
| c09f883ca7 | |||
| fb06a92d75 | |||
| d94b0ec137 | |||
| 5646300ad7 | |||
| cd8d699c4c | |||
| 1529885797 | |||
| aecd8fd868 | |||
| 3562eb6ba2 | |||
| 6ea4a80bfe | |||
| d6096121e5 | |||
| fd934482e0 | |||
| 85deb2014b | |||
| ba51eda94f | |||
| 28def55aa6 | |||
| 3acdcbeed3 | |||
| 37eccee222 | |||
| 67772a7ce2 | |||
| 1861e7d3e6 | |||
| 366745a475 | |||
| 329ff86ff0 | |||
| cb3c75bfdb | |||
| c7bf676b76 | |||
| 4891080aa6 | |||
| 9c8c07809f | |||
| 06506b0ba9 | |||
| d51ab8d65e | |||
| af66872de7 | |||
| b6b71fc37d | |||
| 89a81a4ba0 | |||
| 8d1fc597bd | |||
| a44ebbcb19 | |||
| 0bb0173009 | |||
| a4e52b258e | |||
| cb671b92ce | |||
| 470ac2420f | |||
| 16273bb3c9 | |||
| e91ce2974f | |||
| 0528eb2009 | |||
| 54d2aec413 | |||
|
38fb1d778f
|
|||
| b99af34324 | |||
| 3b9d698660 | |||
| dc14e0b75b | |||
|
5aad5318e8
|
|||
| ce79c19ebd | |||
| 4aac07170a | |||
| b09e90304c | |||
| fe3dd36245 | |||
|
c77eae155f
|
|||
|
f975b70e59
|
|||
|
ba51468d97
|
|||
|
95bc09d93e
|
|||
|
c84da247c3
|
|||
|
3146b30696
|
|||
|
f5f877f6e0
|
|||
| 88ca10e3d4 | |||
| 2580a8915d | |||
| 78339c3f30 | |||
| 00970855f9 | |||
| 8796206315 | |||
| 1dd9ff51cf | |||
| 4b4dce1175 | |||
| d8fb77a2b6 | |||
|
64532535cc
|
|||
| 0029f598cb | |||
| 2641a76b96 | |||
| cd6132a846 | |||
| f6b9f011de | |||
| 766d8a7939 | |||
| 95a555753b | |||
|
1d0f30aac3
|
|||
| 51c172fbeb | |||
| bb427a2b39 | |||
| 4e9763657a | |||
| ea79e359b0 | |||
| ceec770fd6 | |||
| 75a12df69c | |||
| ffe896fdf2 | |||
| c7a7c776ba | |||
| f6e9288a50 | |||
| e31e72b3d7 | |||
| 51d1c056ba | |||
| 37aff0737a | |||
| 9886b7e754 | |||
| 2c718ed7c9 | |||
| d13a7df980 | |||
| ea53f34c87 | |||
| a15c26fdf4 | |||
| 4e1677a77f | |||
| ee9f6997fc | |||
| 3c1edae36f | |||
| b576255404 | |||
| 67be13a7e8 | |||
| 9b5beb3113 | |||
| 46b6f647dd | |||
| 8673ea9d3d | |||
| 3ffd39e73f | |||
| 2427e2a04b | |||
| 15d2138791 | |||
| 2b6bda727f | |||
| 0063635012 | |||
| 96cf9e8857 | |||
| 22da3c2c97 | |||
| d4064a5669 | |||
| 30648f2168 | |||
| 7fb93d0348 | |||
| fa56ff9b78 | |||
| 46efc9e580 | |||
| 7afdee783c | |||
| c80e9f84cb | |||
| d0a4f0d9b5 | |||
| 467e1a47f0 | |||
| caad872e88 | |||
| 0eb5ab4011 | |||
| 9705af52b0 | |||
| 3324005d0d | |||
| 55e496c5db | |||
| ce5a488dd0 | |||
| 95dfa4ffe2 | |||
| 21c39c9612 | |||
| 7ae0a2ac41 | |||
| 624252a373 | |||
| 527a5812e1 | |||
| ab843a0b86 | |||
| 8d80a0ea7d | |||
| 9a2931f3ec | |||
|
9a5f2b8fea
|
|||
|
f50851c775
|
|||
|
d1a1421e2d
|
|||
|
cbd0775a47
|
|||
| ec16ae1085 | |||
| 074e3d4dbd | |||
| 029ce12b89 | |||
| b11b663ecb | |||
| ef06d7e045 | |||
| 7031317fb8 | |||
| a0fc2b3254 | |||
| 8f51b96bcc | |||
| 9edf45c01e | |||
|
7a91dae2f8
|
|||
|
de8e6c9853
|
|||
|
bfc617f958
|
|||
| e23af34c66 | |||
|
0b73242b65
|
|||
|
464280cdc4
|
|||
| a12c718072 | |||
| d7fc7db846 | |||
| 3837105590 | |||
| 4d4ed402ee | |||
| 631e8c2d16 | |||
| 506614a5c9 | |||
| b34ae49feb | |||
| 5a177eb96b | |||
| f3acad98da | |||
| a895b98de1 | |||
| 22990310db | |||
| 307d31faa3 | |||
| 1192b0392c | |||
| 2fb1c1980a | |||
| 55a62aceca | |||
| 6a344e3c36 | |||
| a9f5278fc6 | |||
| 10e444dcea | |||
| b37456adba | |||
| f5a47b6132 | |||
| 8d6c8b62aa |
@@ -13,7 +13,7 @@ applications:
|
|||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
project: sys
|
project: sys
|
||||||
sources:
|
sources:
|
||||||
- repoURL: https://gitlab.com/oceanbox//manifests.git
|
- repoURL: https://git.oceanbox.io/platform/manifests.git
|
||||||
targetRevision: HEAD
|
targetRevision: HEAD
|
||||||
path: helmfile.d
|
path: helmfile.d
|
||||||
plugin:
|
plugin:
|
||||||
|
|||||||
@@ -4,10 +4,10 @@ description: Atlantis map and simulation service
|
|||||||
type: application
|
type: application
|
||||||
# This is the chart version. This version number should be incremented each time you make changes
|
# 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.
|
# to the chart and its templates, including the app version.
|
||||||
version: v2.5.2
|
version: v1.42.27
|
||||||
# This is the version number of the application being deployed. This version number should be
|
# This is the version number of the application being deployed. This version number should be
|
||||||
# incremented each time you make changes to the application.
|
# incremented each time you make changes to the application.
|
||||||
appVersion: v2.5.2
|
appVersion: v1.42.27
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: diagrid-dashboard
|
- name: diagrid-dashboard
|
||||||
version: "0.1.0"
|
version: "0.1.0"
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
image:
|
image:
|
||||||
repository: git.oceanbox.io/oceanbox/poseidon/atlantis
|
repository: git.oceanbox.io/oceanbox/poseidon/atlantis
|
||||||
tag: v2.5.2
|
tag: v1.42.27
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
init:
|
init:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|||||||
@@ -13,9 +13,9 @@ type: application
|
|||||||
# This is the chart version. This version number should be incremented each time you make changes
|
# 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.
|
# to the chart and its templates, including the app version.
|
||||||
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
||||||
version: v2.5.2
|
version: v1.42.27
|
||||||
# This is the version number of the application being deployed. This version number should be
|
# 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
|
# 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.
|
# follow Semantic Versioning. They should reflect the version the application is using.
|
||||||
# It is recommended to use it with quotes.
|
# It is recommended to use it with quotes.
|
||||||
appVersion: "v2.5.2"
|
appVersion: "v1.42.27"
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ image:
|
|||||||
# This sets the pull policy for images.
|
# This sets the pull policy for images.
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
# Overrides the image tag whose default is the chart appVersion.
|
# Overrides the image tag whose default is the chart appVersion.
|
||||||
tag: v2.5.2
|
tag: v1.42.27
|
||||||
# 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/
|
# 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:
|
imagePullSecrets:
|
||||||
- name: gitlab-pull-secret
|
- name: gitlab-pull-secret
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ description: Oceanbox Documentation
|
|||||||
type: application
|
type: application
|
||||||
# This is the chart version. This version number should be incremented each time you make changes
|
# 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.
|
# to the chart and its templates, including the app version.
|
||||||
version: v0.1.0
|
version: v0.0.1
|
||||||
# This is the version number of the application being deployed. This version number should be
|
# This is the version number of the application being deployed. This version number should be
|
||||||
# incremented each time you make changes to the application.
|
# incremented each time you make changes to the application.
|
||||||
appVersion: v0.1.0
|
appVersion: v0.0.1
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
image:
|
image:
|
||||||
repository: git.oceanbox.io/oceanbox/documentation/docs
|
repository: git.oceanbox.io/oceanbox/documentation/docs
|
||||||
tag: v0.1.0
|
tag: v0.0.1
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
init:
|
init:
|
||||||
enabled: false
|
enabled: false
|
||||||
@@ -21,8 +21,9 @@ env:
|
|||||||
valueFrom:
|
valueFrom:
|
||||||
fieldRef:
|
fieldRef:
|
||||||
fieldPath: metadata.namespace
|
fieldPath: metadata.namespace
|
||||||
# imagePullSecrets:
|
# imagePullSecrets:
|
||||||
# - name: gitea-pull-secret
|
# - name: gitea-pull-secret
|
||||||
|
|
||||||
nameOverride: ""
|
nameOverride: ""
|
||||||
fullnameOverride: ""
|
fullnameOverride: ""
|
||||||
serviceAccount:
|
serviceAccount:
|
||||||
@@ -47,7 +48,7 @@ service:
|
|||||||
port: 8080
|
port: 8080
|
||||||
ingress:
|
ingress:
|
||||||
enabled: true
|
enabled: true
|
||||||
className: nginx
|
className: haproxy
|
||||||
persistence:
|
persistence:
|
||||||
enabled: false
|
enabled: false
|
||||||
size: 1G
|
size: 1G
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
apiVersion: v2
|
||||||
|
name: fapr
|
||||||
|
description: A Helm chart for Fapr (F# Dapr workflow orchestrator)
|
||||||
|
type: application
|
||||||
|
version: v0.1.0
|
||||||
|
appVersion: v0.1.0
|
||||||
@@ -0,0 +1,61 @@
|
|||||||
|
{{/* vim: set filetype=mustache: */}}
|
||||||
|
{{/*
|
||||||
|
Expand the name of the chart.
|
||||||
|
*/}}
|
||||||
|
{{- define "fapr.name" -}}
|
||||||
|
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Create a default fully qualified app name.
|
||||||
|
*/}}
|
||||||
|
{{- define "fapr.fullname" -}}
|
||||||
|
{{- if .Values.fullnameOverride }}
|
||||||
|
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
|
||||||
|
{{- else }}
|
||||||
|
{{- $name := default .Chart.Name .Values.nameOverride }}
|
||||||
|
{{- if contains $name .Release.Name }}
|
||||||
|
{{- .Release.Name | trunc 63 | trimSuffix "-" }}
|
||||||
|
{{- else }}
|
||||||
|
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Create chart name and version as used by the chart label.
|
||||||
|
*/}}
|
||||||
|
{{- define "fapr.chart" -}}
|
||||||
|
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Common labels
|
||||||
|
*/}}
|
||||||
|
{{- define "fapr.labels" -}}
|
||||||
|
helm.sh/chart: {{ include "fapr.chart" . }}
|
||||||
|
{{ include "fapr.selectorLabels" . }}
|
||||||
|
{{- if .Chart.AppVersion }}
|
||||||
|
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
|
||||||
|
{{- end }}
|
||||||
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Selector labels
|
||||||
|
*/}}
|
||||||
|
{{- define "fapr.selectorLabels" -}}
|
||||||
|
app.kubernetes.io/name: {{ include "fapr.name" . }}
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
{{/*
|
||||||
|
Create the name of the service account to use
|
||||||
|
*/}}
|
||||||
|
{{- define "fapr.serviceAccountName" -}}
|
||||||
|
{{- if .Values.serviceAccount.create -}}
|
||||||
|
{{ default (include "fapr.fullname" .) .Values.serviceAccount.name }}
|
||||||
|
{{- else -}}
|
||||||
|
{{ default "default" .Values.serviceAccount.name }}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
@@ -0,0 +1,85 @@
|
|||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: {{ include "fapr.fullname" . }}
|
||||||
|
labels:
|
||||||
|
{{- include "fapr.labels" . | nindent 4 }}
|
||||||
|
spec:
|
||||||
|
{{- if not .Values.autoscaling.enabled }}
|
||||||
|
replicas: {{ .Values.replicaCount }}
|
||||||
|
{{- end }}
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
{{- include "fapr.selectorLabels" . | nindent 6 }}
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
{{- with .Values.podAnnotations }}
|
||||||
|
annotations:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
labels:
|
||||||
|
{{- include "fapr.selectorLabels" . | nindent 8 }}
|
||||||
|
spec:
|
||||||
|
{{- with .Values.imagePullSecrets }}
|
||||||
|
imagePullSecrets:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
serviceAccountName: {{ include "fapr.serviceAccountName" . }}
|
||||||
|
securityContext:
|
||||||
|
{{- toYaml .Values.podSecurityContext | nindent 8 }}
|
||||||
|
containers:
|
||||||
|
- name: {{ .Chart.Name }}
|
||||||
|
securityContext:
|
||||||
|
{{- toYaml .Values.securityContext | nindent 12 }}
|
||||||
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
||||||
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
|
ports:
|
||||||
|
- name: http
|
||||||
|
containerPort: {{ .Values.service.port }}
|
||||||
|
protocol: TCP
|
||||||
|
env:
|
||||||
|
{{- toYaml .Values.env | nindent 12 }}
|
||||||
|
livenessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /healthz
|
||||||
|
port: http
|
||||||
|
initialDelaySeconds: 5
|
||||||
|
periodSeconds: 15
|
||||||
|
readinessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /healthz
|
||||||
|
port: http
|
||||||
|
initialDelaySeconds: 3
|
||||||
|
periodSeconds: 10
|
||||||
|
resources:
|
||||||
|
{{- toYaml .Values.resources | nindent 12 }}
|
||||||
|
volumeMounts:
|
||||||
|
- name: data
|
||||||
|
mountPath: /data
|
||||||
|
- name: appsettings
|
||||||
|
mountPath: /app/appsettings.json
|
||||||
|
subPath: appsettings.json
|
||||||
|
readOnly: true
|
||||||
|
volumes:
|
||||||
|
- name: data
|
||||||
|
{{- if .Values.persistence.enabled }}
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: {{ .Values.persistence.existingClaim | default (include "fapr.fullname" .) }}
|
||||||
|
{{- else }}
|
||||||
|
emptyDir: {}
|
||||||
|
{{- end }}
|
||||||
|
- name: appsettings
|
||||||
|
configMap:
|
||||||
|
name: {{ include "fapr.fullname" . }}-appsettings
|
||||||
|
{{- with .Values.nodeSelector }}
|
||||||
|
nodeSelector:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.affinity }}
|
||||||
|
affinity:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.tolerations }}
|
||||||
|
tolerations:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
{{- if and .Values.persistence.enabled (not .Values.persistence.existingClaim) }}
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
apiVersion: v1
|
||||||
|
metadata:
|
||||||
|
name: {{ include "fapr.fullname" . }}
|
||||||
|
labels:
|
||||||
|
{{ include "fapr.labels" . | indent 4 }}
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- {{ .Values.persistence.accessMode | quote }}
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: {{ .Values.persistence.size | quote }}
|
||||||
|
{{- if .Values.persistence.storageClass }}
|
||||||
|
{{- if (eq "-" .Values.persistence.storageClass) }}
|
||||||
|
storageClassName: ""
|
||||||
|
{{- else }}
|
||||||
|
storageClassName: "{{ .Values.persistence.storageClass }}"
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
@@ -0,0 +1,49 @@
|
|||||||
|
{{- if .Values.redis.enabled -}}
|
||||||
|
apiVersion: dragonflydb.io/v1alpha1
|
||||||
|
kind: Dragonfly
|
||||||
|
metadata:
|
||||||
|
name: {{ include "fapr.fullname" . }}-redis
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
annotations:
|
||||||
|
linkerd.io/inject: disabled
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/created-by: dragonfly-operator
|
||||||
|
{{- include "fapr.labels" . | nindent 4 }}
|
||||||
|
spec:
|
||||||
|
args:
|
||||||
|
- --dbfilename=dump
|
||||||
|
- --maxmemory=$(MAX_MEMORY)Mi
|
||||||
|
- --proactor_threads=1
|
||||||
|
- --logtostderr
|
||||||
|
- --save_schedule=
|
||||||
|
env:
|
||||||
|
- name: MAX_MEMORY
|
||||||
|
valueFrom:
|
||||||
|
resourceFieldRef:
|
||||||
|
resource: limits.memory
|
||||||
|
divisor: 1Mi
|
||||||
|
replicas: {{ .Values.redis.replicas | default "1" }}
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: {{ .Values.redis.resources.cpu | default "100m" }}
|
||||||
|
memory: {{ .Values.redis.resources.memory | default "128Mi" }}
|
||||||
|
limits:
|
||||||
|
memory: {{ .Values.redis.resources.memory | default "128Mi" }}
|
||||||
|
authentication:
|
||||||
|
passwordFromSecret:
|
||||||
|
name: {{ .Values.redis.secret.name | default (printf "%s-redis" (include "fapr.fullname" .)) | quote }}
|
||||||
|
key: {{ .Values.redis.secret.key | quote }}
|
||||||
|
{{- if .Values.redis.backup.enabled }}
|
||||||
|
snapshot:
|
||||||
|
dir: /data
|
||||||
|
cron: "0 3 * * *"
|
||||||
|
enableOnMasterOnly: false
|
||||||
|
persistentVolumeClaimSpec:
|
||||||
|
storageClassName: {{ .Values.redis.storageClass | default "managed-nfs-storage" }}
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: {{ .Values.redis.size | default "1Gi" }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: {{ include "fapr.fullname" . }}
|
||||||
|
labels:
|
||||||
|
{{- include "fapr.labels" . | nindent 4 }}
|
||||||
|
spec:
|
||||||
|
type: {{ .Values.service.type }}
|
||||||
|
ports:
|
||||||
|
- port: {{ .Values.service.port }}
|
||||||
|
targetPort: http
|
||||||
|
protocol: TCP
|
||||||
|
name: http
|
||||||
|
selector:
|
||||||
|
{{- include "fapr.selectorLabels" . | nindent 4 }}
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
{{- if .Values.serviceAccount.create -}}
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ServiceAccount
|
||||||
|
metadata:
|
||||||
|
name: {{ include "fapr.serviceAccountName" . }}
|
||||||
|
labels:
|
||||||
|
{{- include "fapr.labels" . | nindent 4 }}
|
||||||
|
{{- with .Values.serviceAccount.annotations }}
|
||||||
|
annotations:
|
||||||
|
{{- toYaml . | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
@@ -0,0 +1,67 @@
|
|||||||
|
# Default values for fapr.
|
||||||
|
|
||||||
|
replicaCount: 1
|
||||||
|
image:
|
||||||
|
repository: git.oceanbox.io/oceanbox/fapr/fapr
|
||||||
|
tag: v0.1.0
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
env:
|
||||||
|
- name: APP_NAME
|
||||||
|
valueFrom:
|
||||||
|
fieldRef:
|
||||||
|
fieldPath: metadata.name
|
||||||
|
- name: APP_NAMESPACE
|
||||||
|
valueFrom:
|
||||||
|
fieldRef:
|
||||||
|
fieldPath: metadata.namespace
|
||||||
|
imagePullSecrets:
|
||||||
|
- name: gitlab-pull-secret
|
||||||
|
nameOverride: ""
|
||||||
|
fullnameOverride: ""
|
||||||
|
serviceAccount:
|
||||||
|
create: true
|
||||||
|
annotations: {}
|
||||||
|
name: ""
|
||||||
|
podAnnotations: {}
|
||||||
|
podSecurityContext:
|
||||||
|
fsGroup: 0
|
||||||
|
securityContext:
|
||||||
|
capabilities:
|
||||||
|
drop:
|
||||||
|
- ALL
|
||||||
|
readOnlyRootFilesystem: false
|
||||||
|
runAsNonRoot: false
|
||||||
|
runAsUser: 0
|
||||||
|
service:
|
||||||
|
type: ClusterIP
|
||||||
|
port: 8080
|
||||||
|
persistence:
|
||||||
|
enabled: true
|
||||||
|
existingClaim: ""
|
||||||
|
size: 1Gi
|
||||||
|
storageClass: "ceph-rbd"
|
||||||
|
accessMode: ReadWriteMany
|
||||||
|
redis:
|
||||||
|
enabled: true
|
||||||
|
replicas: 1
|
||||||
|
backup:
|
||||||
|
enabled: false
|
||||||
|
size: 1Gi
|
||||||
|
storageClass: "ceph-rbd"
|
||||||
|
secret:
|
||||||
|
name: ""
|
||||||
|
key: "redis-password"
|
||||||
|
resources:
|
||||||
|
cpu: 100m
|
||||||
|
memory: 128Mi
|
||||||
|
resources: {}
|
||||||
|
autoscaling:
|
||||||
|
enabled: false
|
||||||
|
minReplicas: 1
|
||||||
|
maxReplicas: 3
|
||||||
|
targetCPUUtilizationPercentage: 80
|
||||||
|
serviceMonitor:
|
||||||
|
enabled: false
|
||||||
|
nodeSelector: {}
|
||||||
|
tolerations: []
|
||||||
|
affinity: {}
|
||||||
@@ -47,7 +47,7 @@ service:
|
|||||||
port: 8080
|
port: 8080
|
||||||
ingress:
|
ingress:
|
||||||
enabled: true
|
enabled: true
|
||||||
className: nginx
|
className: haproxy
|
||||||
persistence:
|
persistence:
|
||||||
enabled: false
|
enabled: false
|
||||||
size: 1G
|
size: 1G
|
||||||
|
|||||||
@@ -4,10 +4,10 @@ description: A Helm chart for Kubernetes
|
|||||||
type: application
|
type: application
|
||||||
# This is the chart version. This version number should be incremented each time you make changes
|
# 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.
|
# to the chart and its templates, including the app version.
|
||||||
version: v2.5.2
|
version: v1.42.27
|
||||||
# This is the version number of the application being deployed. This version number should be
|
# This is the version number of the application being deployed. This version number should be
|
||||||
# incremented each time you make changes to the application.
|
# incremented each time you make changes to the application.
|
||||||
appVersion: v2.5.2
|
appVersion: v1.42.27
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: diagrid-dashboard
|
- name: diagrid-dashboard
|
||||||
version: "0.1.0"
|
version: "0.1.0"
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
image:
|
image:
|
||||||
repository: git.oceanbox.io/oceanbox/poseidon/sorcerer
|
repository: git.oceanbox.io/oceanbox/poseidon/sorcerer
|
||||||
tag: v2.5.2
|
tag: v1.42.27
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
init:
|
init:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ releases:
|
|||||||
- name: argocd
|
- name: argocd
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
chart: argo/argo-cd
|
chart: argo/argo-cd
|
||||||
version: 9.5.2
|
version: 9.5.19
|
||||||
condition: argo.enabled
|
condition: argo.enabled
|
||||||
values:
|
values:
|
||||||
- ../values/argo/values/argocd.yaml.gotmpl
|
- ../values/argo/values/argocd.yaml.gotmpl
|
||||||
@@ -27,7 +27,7 @@ releases:
|
|||||||
- name: argocd-apps
|
- name: argocd-apps
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
chart: argo/argocd-apps
|
chart: argo/argocd-apps
|
||||||
version: 2.0.4
|
version: 2.0.5
|
||||||
condition: argo.apps.enabled
|
condition: argo.apps.enabled
|
||||||
values:
|
values:
|
||||||
- ../values/argo/values/apps.yaml.gotmpl
|
- ../values/argo/values/apps.yaml.gotmpl
|
||||||
@@ -35,7 +35,7 @@ releases:
|
|||||||
- name: argo-rollouts
|
- name: argo-rollouts
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
chart: argo/argo-rollouts
|
chart: argo/argo-rollouts
|
||||||
version: 2.40.9
|
version: 2.40.10
|
||||||
condition: argo.rollouts.enabled
|
condition: argo.rollouts.enabled
|
||||||
values:
|
values:
|
||||||
- ../values/argo/values/rollouts.yaml.gotmpl
|
- ../values/argo/values/rollouts.yaml.gotmpl
|
||||||
@@ -43,7 +43,7 @@ releases:
|
|||||||
- name: argo-workflows
|
- name: argo-workflows
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
chart: argo/argo-workflows
|
chart: argo/argo-workflows
|
||||||
version: 1.0.10
|
version: 1.0.14
|
||||||
condition: argo.workflows.enabled
|
condition: argo.workflows.enabled
|
||||||
missingFileHandler: Info
|
missingFileHandler: Info
|
||||||
- name: manifests
|
- name: manifests
|
||||||
|
|||||||
@@ -0,0 +1,39 @@
|
|||||||
|
bases:
|
||||||
|
- ../envs/environments.yaml.gotmpl
|
||||||
|
|
||||||
|
commonLabels:
|
||||||
|
tier: oceanbox
|
||||||
|
|
||||||
|
releases:
|
||||||
|
- name: {{ .Environment.Name }}-fapr
|
||||||
|
namespace: {{ .Environment.Name }}-fapr
|
||||||
|
chart: ../charts/fapr
|
||||||
|
condition: fapr.enabled
|
||||||
|
values:
|
||||||
|
- ../values/fapr/values/values.yaml
|
||||||
|
- ../values/fapr/values/values-{{ .Environment.Name }}.yaml
|
||||||
|
- ../values/fapr/values/values-{{ .Environment.Name }}-{{ requiredEnv "ARGOCD_ENV_CLUSTER_NAME" }}.yaml
|
||||||
|
postRenderer: ../bin/kustomizer
|
||||||
|
postRendererArgs:
|
||||||
|
- ../values/fapr/kustomize/{{ .Environment.Name }}-{{ requiredEnv "ARGOCD_ENV_CLUSTER_NAME" }}
|
||||||
|
missingFileHandler: Info
|
||||||
|
- name: manifests
|
||||||
|
namespace: {{ .Environment.Name }}-fapr
|
||||||
|
chart: manifests
|
||||||
|
condition: fapr.enabled
|
||||||
|
missingFileHandler: Info
|
||||||
|
values:
|
||||||
|
- ../values/env.yaml
|
||||||
|
- ../values/env-{{ requiredEnv "ARGOCD_ENV_CLUSTER_NAME" }}.yaml
|
||||||
|
- ../values/fapr/env.yaml.gotmpl
|
||||||
|
- ../values/fapr/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/fapr/manifests
|
||||||
|
- manifests
|
||||||
@@ -13,7 +13,7 @@ releases:
|
|||||||
- name: gitea
|
- name: gitea
|
||||||
namespace: gitea
|
namespace: gitea
|
||||||
chart: gitea/gitea
|
chart: gitea/gitea
|
||||||
version: 12.5.3
|
version: 12.6.0
|
||||||
condition: gitea.enabled
|
condition: gitea.enabled
|
||||||
values:
|
values:
|
||||||
- ../values/gitea/values/values.yaml
|
- ../values/gitea/values/values.yaml
|
||||||
|
|||||||
@@ -0,0 +1,44 @@
|
|||||||
|
bases:
|
||||||
|
- ../envs/environments.yaml.gotmpl
|
||||||
|
|
||||||
|
repositories:
|
||||||
|
- name: haproxytech
|
||||||
|
oci: true
|
||||||
|
url: 'ghcr.io/haproxytech/helm-charts'
|
||||||
|
|
||||||
|
commonLabels:
|
||||||
|
tier: system
|
||||||
|
|
||||||
|
releases:
|
||||||
|
- name: ingress-haproxy
|
||||||
|
namespace: ingress-haproxy
|
||||||
|
chart: haproxytech/kubernetes-ingress
|
||||||
|
version: 1.49.0
|
||||||
|
condition: haproxy.enabled
|
||||||
|
values:
|
||||||
|
- ../values/ingress-haproxy/values/ingress-haproxy.yaml.gotmpl
|
||||||
|
- ../values/ingress-haproxy/values/ingress-haproxy-{{ .Environment.Name }}.yaml.gotmpl
|
||||||
|
postRenderer: ../bin/kustomizer
|
||||||
|
postRendererArgs:
|
||||||
|
- ../values/ingress-haproxy/kustomize/{{ .Environment.Name }}
|
||||||
|
missingFileHandler: Info
|
||||||
|
- name: manifests
|
||||||
|
namespace: ingress-haproxy
|
||||||
|
chart: manifests
|
||||||
|
condition: haproxy.enabled
|
||||||
|
missingFileHandler: Info
|
||||||
|
values:
|
||||||
|
- ../values/env.yaml
|
||||||
|
- ../values/env-{{ requiredEnv "ARGOCD_ENV_CLUSTER_NAME" }}.yaml
|
||||||
|
- ../values/ingress-haproxy/env.yaml.gotmpl
|
||||||
|
- ../values/ingress-haproxy/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/ingress-haproxy/manifests
|
||||||
|
- manifests
|
||||||
@@ -8,7 +8,7 @@ releases:
|
|||||||
- name: kueue
|
- name: kueue
|
||||||
namespace: kueue-system
|
namespace: kueue-system
|
||||||
chart: oci://registry.k8s.io/kueue/charts/kueue
|
chart: oci://registry.k8s.io/kueue/charts/kueue
|
||||||
version: 0.17.1
|
version: 0.17.3
|
||||||
condition: kueue.enabled
|
condition: kueue.enabled
|
||||||
values:
|
values:
|
||||||
- ../values/kueue/values/values.yaml
|
- ../values/kueue/values/values.yaml
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ releases:
|
|||||||
- name: kyverno
|
- name: kyverno
|
||||||
namespace: kyverno
|
namespace: kyverno
|
||||||
chart: kyverno/kyverno
|
chart: kyverno/kyverno
|
||||||
version: 3.7.1
|
version: 3.8.1
|
||||||
condition: kyverno.enabled
|
condition: kyverno.enabled
|
||||||
values:
|
values:
|
||||||
- ../values/kyverno/values/kyverno.yaml.gotmpl
|
- ../values/kyverno/values/kyverno.yaml.gotmpl
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ releases:
|
|||||||
- name: loki
|
- name: loki
|
||||||
namespace: loki
|
namespace: loki
|
||||||
chart: loki/loki
|
chart: loki/loki
|
||||||
version: 6.55.0
|
version: 7.0.0
|
||||||
condition: loki.enabled
|
condition: loki.enabled
|
||||||
values:
|
values:
|
||||||
- ../values/loki/values/loki.yaml.gotmpl
|
- ../values/loki/values/loki.yaml.gotmpl
|
||||||
|
|||||||
@@ -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
|
||||||
@@ -16,7 +16,7 @@ releases:
|
|||||||
namespace: {{ .Environment.Name }}-openfga
|
namespace: {{ .Environment.Name }}-openfga
|
||||||
{{- end }}
|
{{- end }}
|
||||||
chart: openfga/openfga
|
chart: openfga/openfga
|
||||||
version: 0.3.2
|
version: 0.3.7
|
||||||
condition: openfga.enabled
|
condition: openfga.enabled
|
||||||
values:
|
values:
|
||||||
- ../values/openfga/values/values.yaml
|
- ../values/openfga/values/values.yaml
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ releases:
|
|||||||
- name: opentelemetry-collector
|
- name: opentelemetry-collector
|
||||||
namespace: otel
|
namespace: otel
|
||||||
chart: open-telemetry/opentelemetry-collector
|
chart: open-telemetry/opentelemetry-collector
|
||||||
version: 0.150.1
|
version: 0.158.0
|
||||||
condition: otel.enabled
|
condition: otel.enabled
|
||||||
values:
|
values:
|
||||||
- ../values/opentelemetry-collector/values/values.yaml
|
- ../values/opentelemetry-collector/values/values.yaml
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ releases:
|
|||||||
- name: postgres-operator
|
- name: postgres-operator
|
||||||
namespace: cnpg
|
namespace: cnpg
|
||||||
chart: cloudnative-pg/cloudnative-pg
|
chart: cloudnative-pg/cloudnative-pg
|
||||||
version: 0.28.0
|
version: 0.28.2
|
||||||
condition: postgres_operator.enabled
|
condition: postgres_operator.enabled
|
||||||
values:
|
values:
|
||||||
- ../values/postgres-operator/values/postgres-operator.yaml.gotmpl
|
- ../values/postgres-operator/values/postgres-operator.yaml.gotmpl
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ releases:
|
|||||||
- name: prometheus
|
- name: prometheus
|
||||||
namespace: prometheus
|
namespace: prometheus
|
||||||
chart: prometheus/kube-prometheus-stack
|
chart: prometheus/kube-prometheus-stack
|
||||||
version: 82.15.1
|
version: 85.3.0
|
||||||
condition: prometheus.enabled
|
condition: prometheus.enabled
|
||||||
values:
|
values:
|
||||||
- ../values/prometheus/values/prometheus.yaml.gotmpl
|
- ../values/prometheus/values/prometheus.yaml.gotmpl
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ releases:
|
|||||||
- name: umami
|
- name: umami
|
||||||
namespace: analytics
|
namespace: analytics
|
||||||
chart: umami/umami
|
chart: umami/umami
|
||||||
version: 7.7.20
|
version: 7.9.4
|
||||||
condition: umami.enabled
|
condition: umami.enabled
|
||||||
values:
|
values:
|
||||||
- ../values/umami/values/values.yaml
|
- ../values/umami/values/values.yaml
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ releases:
|
|||||||
- name: velero
|
- name: velero
|
||||||
namespace: velero
|
namespace: velero
|
||||||
chart: velero/velero
|
chart: velero/velero
|
||||||
version: 12.0.0
|
version: 12.0.2
|
||||||
condition: velero.enabled
|
condition: velero.enabled
|
||||||
values:
|
values:
|
||||||
- ../values/velero/values/velero.yaml.gotmpl
|
- ../values/velero/values/velero.yaml.gotmpl
|
||||||
|
|||||||
@@ -3,7 +3,8 @@ bases:
|
|||||||
|
|
||||||
repositories:
|
repositories:
|
||||||
- name: x509-exporter
|
- name: x509-exporter
|
||||||
url: 'https://charts.enix.io'
|
oci: true
|
||||||
|
url: 'quay.io/enix/charts'
|
||||||
|
|
||||||
commonLabels:
|
commonLabels:
|
||||||
tier: sys
|
tier: sys
|
||||||
@@ -12,7 +13,7 @@ releases:
|
|||||||
- name: x509-exporter
|
- name: x509-exporter
|
||||||
namespace: x509-exporter
|
namespace: x509-exporter
|
||||||
chart: x509-exporter/x509-certificate-exporter
|
chart: x509-exporter/x509-certificate-exporter
|
||||||
version: 3.20.1
|
version: 4.1.0
|
||||||
condition: x509_exporter.enabled
|
condition: x509_exporter.enabled
|
||||||
values:
|
values:
|
||||||
- ../values/x509-exporter/values/x509-exporter.yaml.gotmpl
|
- ../values/x509-exporter/values/x509-exporter.yaml.gotmpl
|
||||||
|
|||||||
@@ -94,18 +94,22 @@ spec:
|
|||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
- namespace: jobset-system
|
- namespace: jobset-system
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
|
- namespace: ingress-haproxy
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
- namespace: dex
|
- namespace: dex
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
- namespace: cra-agent
|
- namespace: cra-agent
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
- namespace: catalyst
|
- namespace: catalyst
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
|
- namespace: niks3
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
sourceRepos:
|
sourceRepos:
|
||||||
- https://argoproj.github.io/argo-helm
|
- https://argoproj.github.io/argo-helm
|
||||||
- https://kubernetes-sigs.github.io/metrics-server/
|
- https://kubernetes-sigs.github.io/metrics-server/
|
||||||
- https://git.oceanbox.io/platform/manifests.git
|
- https://git.oceanbox.io/platform/manifests.git
|
||||||
- https://git.oceanbox.io/platform/manifests
|
- https://git.oceanbox.io/platform/manifests
|
||||||
- https://gitlab.com/oceanbox/manifests.git
|
- https://git.oceanbox.io/oceanbox/manifests.git
|
||||||
- https://kubernetes.github.io/ingress-nginx
|
- https://kubernetes.github.io/ingress-nginx
|
||||||
- https://cloudnative-pg.github.io/charts
|
- https://cloudnative-pg.github.io/charts
|
||||||
- https://charts.jetstack.io
|
- https://charts.jetstack.io
|
||||||
@@ -139,6 +143,7 @@ spec:
|
|||||||
- ghcr.io/spegel-org/helm-charts
|
- ghcr.io/spegel-org/helm-charts
|
||||||
- quay.io/cilium/charts
|
- quay.io/cilium/charts
|
||||||
- quay.io/jetstack/charts
|
- quay.io/jetstack/charts
|
||||||
|
- quay.io/enix/charts
|
||||||
- registry.k8s.io/jobset/charts/jobset
|
- registry.k8s.io/jobset/charts/jobset
|
||||||
- ghcr.io/dragonflydb/dragonfly-operator/helm/dragonfly-operator
|
- ghcr.io/dragonflydb/dragonfly-operator/helm/dragonfly-operator
|
||||||
- docker.gitea.com
|
- docker.gitea.com
|
||||||
@@ -148,3 +153,4 @@ spec:
|
|||||||
- https://twin.github.io/helm-charts
|
- https://twin.github.io/helm-charts
|
||||||
- https://charts.dexidp.io
|
- https://charts.dexidp.io
|
||||||
- public.ecr.aws/diagrid/catalyst
|
- public.ecr.aws/diagrid/catalyst
|
||||||
|
- ghcr.io/haproxytech/helm-charts
|
||||||
|
|||||||
@@ -3,7 +3,8 @@ kind: ConfigMap
|
|||||||
metadata:
|
metadata:
|
||||||
name: beta-atlantis-actor-config
|
name: beta-atlantis-actor-config
|
||||||
data:
|
data:
|
||||||
XTRACT_IMAGE: "git.oceanbox.io/oceanbox/katamari/excavator:v1.2.8"
|
KUEUE_NAMESPACE: "prod-queue"
|
||||||
|
XTRACT_IMAGE: "git.oceanbox.io/oceanbox/katamari/excavator:v1.2.14"
|
||||||
XTRACT_QUEUE: "prod-queue"
|
XTRACT_QUEUE: "prod-queue"
|
||||||
PLUME_IMAGE: "git.oceanbox.io/oceanbox/katamari/plume:v1.2.8"
|
PLUME_IMAGE: "git.oceanbox.io/oceanbox/katamari/plume:v1.2.14"
|
||||||
PLUME_QUEUE: "prod-queue"
|
PLUME_QUEUE: "prod-queue"
|
||||||
|
|||||||
@@ -76,7 +76,7 @@
|
|||||||
"https://maps.beta.oceanbox.io"
|
"https://maps.beta.oceanbox.io"
|
||||||
],
|
],
|
||||||
"appName": "atlantis",
|
"appName": "atlantis",
|
||||||
"appEnv": "prod",
|
"appEnv": "preprod",
|
||||||
"appNamespace": "atlantis",
|
"appNamespace": "atlantis",
|
||||||
"appVersion": "2.95.1",
|
"appVersion": "2.95.1",
|
||||||
"otelCollector": "http://opentelemetry-collector.otel.svc:4317",
|
"otelCollector": "http://opentelemetry-collector.otel.svc:4317",
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ kind: ConfigMap
|
|||||||
metadata:
|
metadata:
|
||||||
name: prod-atlantis-actor-config
|
name: prod-atlantis-actor-config
|
||||||
data:
|
data:
|
||||||
|
KUEUE_NAMESPACE: "prod-queue"
|
||||||
XTRACT_IMAGE: "git.oceanbox.io/oceanbox/katamari/excavator:v1.2.8"
|
XTRACT_IMAGE: "git.oceanbox.io/oceanbox/katamari/excavator:v1.2.8"
|
||||||
XTRACT_QUEUE: "prod-queue"
|
XTRACT_QUEUE: "prod-queue"
|
||||||
PLUME_IMAGE: "git.oceanbox.io/oceanbox/katamari/plume:v1.2.8"
|
PLUME_IMAGE: "git.oceanbox.io/oceanbox/katamari/plume:v1.2.8"
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ kind: ConfigMap
|
|||||||
metadata:
|
metadata:
|
||||||
name: staging-atlantis-actor-config
|
name: staging-atlantis-actor-config
|
||||||
data:
|
data:
|
||||||
XTRACT_IMAGE: "git.oceanbox.io/oceanbox/katamari/excavator:v1.2.8"
|
XTRACT_IMAGE: "git.oceanbox.io/oceanbox/katamari/excavator:v1.4.0"
|
||||||
XTRACT_QUEUE: "dev-queue"
|
XTRACT_QUEUE: "dev-queue"
|
||||||
PLUME_IMAGE: "git.oceanbox.io/oceanbox/katamari/plume:v1.2.8"
|
PLUME_IMAGE: "git.oceanbox.io/oceanbox/katamari/plume:v1.4.0"
|
||||||
PLUME_QUEUE: "dev-queue"
|
PLUME_QUEUE: "dev-queue"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ replicaCount: 1
|
|||||||
|
|
||||||
image:
|
image:
|
||||||
repository: git.oceanbox.io/oceanbox/poseidon/atlantis
|
repository: git.oceanbox.io/oceanbox/poseidon/atlantis
|
||||||
tag: v1.48.1
|
tag: v2.13.1
|
||||||
|
|
||||||
podAnnotations:
|
podAnnotations:
|
||||||
dapr.io/app-id: "beta-atlantis"
|
dapr.io/app-id: "beta-atlantis"
|
||||||
@@ -11,7 +11,7 @@ env:
|
|||||||
- name: APP_NAMESPACE
|
- name: APP_NAMESPACE
|
||||||
value: beta-atlantis
|
value: beta-atlantis
|
||||||
- name: APP_VERSION
|
- name: APP_VERSION
|
||||||
value: "2.97.4-beta"
|
value: "2.13.1-beta"
|
||||||
- name: LOG_LEVEL
|
- name: LOG_LEVEL
|
||||||
value: "1"
|
value: "1"
|
||||||
- name: ANALYTICS_WEB_ID
|
- name: ANALYTICS_WEB_ID
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
image:
|
image:
|
||||||
repository: git.oceanbox.io/oceanbox/poseidon/atlantis
|
repository: git.oceanbox.io/oceanbox/poseidon/atlantis
|
||||||
tag: 5d810716-debug
|
tag: 4733e529-debug
|
||||||
podAnnotations:
|
podAnnotations:
|
||||||
dapr.io/app-id: "staging-atlantis"
|
dapr.io/app-id: "staging-atlantis"
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -1,2 +0,0 @@
|
|||||||
attic:
|
|
||||||
enabled: false
|
|
||||||
@@ -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
|
|
||||||
@@ -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 = "LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlKS2dJQkFBS0NBZ0VBdlZrMHQyZUtvdjhpV3prVFFtQzJtRklvd0gxc2liNlVpUFhUaGVwcURiWHMyaERFCnFYa1pKUXRjTnY0T2RtcldmZ2tsbjVyblJNQk5yL1B5dE05OFFMVVJnbzFSU2VTeUVjcmxSU1N4MElVRlhkM3YKV0U0aTJJTktsSzgxblJoY0o4czRUM09iYUpvSUQweEpqS2IzMkhxZmpOSU1vcVdBRk1ES2YyMUM5OWxQeTRXSgpVUUVnYTRzbHo5RzZHVi8wZW5qbFNMa2RRNjEvdEwyRE1ISHgvV2VRUEtpWkF4c2Fwczd3ZVJiNVBrS3J0MVlGClRxa1lJSjY3eDFiNDR1N0NmdWdVbHhMM2JCQ1lqVXVXNnoxdGU3T2ZQUUhoM1FPU2lFZTczQ3I4dU1lSkplV0wKN2VKc1hWSG9uVzBMZWl0aDk5WmJTUTF3YlhieDVPZzNTQ3ZWYnkyZE90Y3Rud2Y2aDN5YlJ3SUNoc24xbk4zMwowRkMyOXlFY0ExQ2VFVzRsMVVHNmxoMGw5cEpiWEhRNlFJS1paempaTlgxZTRGRW5TdytGNGhXd3R1Z2JtKzZnCnVPdEE5QVJxYndJOTFLeEtoT204Q0RJQlRwWThSZG1SaElicWUrc3czT3p3dGk0eTVkU3FMREsrT3Y5b05ucngKQW9TN21TaXNQeDVJS3JwaFhMT3JvVmI2L1puSmNOK3ljaExuenptMDY2Zk5RaTBLNHhzaitvWkphaXVjZnBacAphSElHZGpaY1U3aE5FUzdJNVliVEFqUDdkaDRzdXJnMk1xTUtxbUxsa2ZPcGFoRTlMQTZVVFZRZHZLVFVGNWZwCkdYSnhaT1RKWlpiOGNQTFYxZFdXbnBMaEZNV2h2OUZQTCtDVGZQVUFvQm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d0lDMG1neVVMMWEKRkdVdHlPUTlqVFBUUUdGM3h6REJCQ2U2MW5uZUV0TThRMEJ1MXh3Rm90aWFYSE9NaGhiMFBndVkzNHhiekNHYgpHcTlsWjVaN2lRVXByUWNNYjhrUzZ1WFk3VHBDTmUzaDBiTTM5dVlKeHNYNXUzcmVNRWsyZlBNT3dnTlFjdz09Ci0tLS0tRU5EIFJTQSBQUklWQVRFIEtFWS0tLS0tCg=="
|
|
||||||
@@ -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: "LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlKS2dJQkFBS0NBZ0VBdlZrMHQyZUtvdjhpV3prVFFtQzJtRklvd0gxc2liNlVpUFhUaGVwcURiWHMyaERFCnFYa1pKUXRjTnY0T2RtcldmZ2tsbjVyblJNQk5yL1B5dE05OFFMVVJnbzFSU2VTeUVjcmxSU1N4MElVRlhkM3YKV0U0aTJJTktsSzgxblJoY0o4czRUM09iYUpvSUQweEp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ql://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
|
|
||||||
@@ -1,31 +0,0 @@
|
|||||||
apiVersion: networking.k8s.io/v1
|
|
||||||
kind: Ingress
|
|
||||||
metadata:
|
|
||||||
annotations:
|
|
||||||
cert-manager.io/cluster-issuer: letsencrypt-production
|
|
||||||
nginx.ingress.kubernetes.io/backend-protocol: HTTP
|
|
||||||
nginx.ingress.kubernetes.io/proxy-body-size: "0"
|
|
||||||
nginx.ingress.kubernetes.io/proxy-read-timeout: "600"
|
|
||||||
nginx.ingress.kubernetes.io/proxy-send-timeout: "600"
|
|
||||||
nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/component: attic
|
|
||||||
name: attic
|
|
||||||
namespace: attic
|
|
||||||
spec:
|
|
||||||
ingressClassName: nginx
|
|
||||||
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
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: PersistentVolumeClaim
|
|
||||||
metadata:
|
|
||||||
name: attic
|
|
||||||
labels:
|
|
||||||
app: attic
|
|
||||||
spec:
|
|
||||||
accessModes:
|
|
||||||
- ReadWriteOnce
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
storage: 20Gi
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Secret
|
|
||||||
metadata:
|
|
||||||
name: server
|
|
||||||
stringData:
|
|
||||||
token: "ref+sops://secrets.yml#attic/jwtToken"
|
|
||||||
@@ -1,3 +1,3 @@
|
|||||||
catalyst:
|
catalyst:
|
||||||
enabled: true
|
enabled: false
|
||||||
autosync: false
|
autosync: false
|
||||||
|
|||||||
@@ -9,14 +9,6 @@ metadata:
|
|||||||
name: shared-gateway
|
name: shared-gateway
|
||||||
namespace: kube-system
|
namespace: kube-system
|
||||||
spec:
|
spec:
|
||||||
infrastructure:
|
|
||||||
annotations:
|
|
||||||
load-balancer.hetzner.cloud/location: hel1
|
|
||||||
load-balancer.hetzner.cloud/type: lb11
|
|
||||||
load-balancer.hetzner.cloud/name: load-balancer-2
|
|
||||||
load-balancer.hetzner.cloud/use-private-ip: "true"
|
|
||||||
load-balancer.hetzner.cloud/uses-proxyprotocol: "true"
|
|
||||||
load-balancer.hetzner.cloud/http-redirect-https: "false"
|
|
||||||
gatewayClassName: cilium
|
gatewayClassName: cilium
|
||||||
listeners:
|
listeners:
|
||||||
- name: http
|
- name: http
|
||||||
|
|||||||
@@ -38,4 +38,4 @@ volumeMounts:
|
|||||||
readOnly: true
|
readOnly: true
|
||||||
subPath: appsettings.json
|
subPath: appsettings.json
|
||||||
image:
|
image:
|
||||||
tag: 651291bd-debug
|
tag: 4704e4f1-debug
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
{{ if .Values.clusterConfig.argo.enabled }}
|
{{- if .Values.clusterConfig.argo.enabled }}
|
||||||
apiVersion: argoproj.io/v1alpha1
|
apiVersion: argoproj.io/v1alpha1
|
||||||
kind: Application
|
kind: Application
|
||||||
metadata:
|
metadata:
|
||||||
name: docs
|
name: {{ .Values.docs.env }}-docs
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
annotations:
|
annotations:
|
||||||
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
|
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
|
||||||
@@ -11,7 +11,11 @@ metadata:
|
|||||||
- resources-finalizer.argocd.argoproj.io
|
- resources-finalizer.argocd.argoproj.io
|
||||||
spec:
|
spec:
|
||||||
destination:
|
destination:
|
||||||
|
{{- if eq .Values.docs.env "prod" }}
|
||||||
namespace: docs
|
namespace: docs
|
||||||
|
{{- else }}
|
||||||
|
namespace: {{ .Values.docs.env }}-docs
|
||||||
|
{{- end }}
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
project: default
|
project: default
|
||||||
sources:
|
sources:
|
||||||
@@ -24,7 +28,7 @@ spec:
|
|||||||
- name: CLUSTER_NAME
|
- name: CLUSTER_NAME
|
||||||
value: {{ .Values.clusterConfig.cluster }}
|
value: {{ .Values.clusterConfig.cluster }}
|
||||||
- name: HELMFILE_ENVIRONMENT
|
- name: HELMFILE_ENVIRONMENT
|
||||||
value: default
|
value: {{ .Values.docs.env }}
|
||||||
- name: HELMFILE_FILE_PATH
|
- name: HELMFILE_FILE_PATH
|
||||||
value: docs.yaml.gotmpl
|
value: docs.yaml.gotmpl
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
|||||||
@@ -0,0 +1,19 @@
|
|||||||
|
fullnameOverride: prod-docs
|
||||||
|
|
||||||
|
ingress:
|
||||||
|
enabled: true
|
||||||
|
className: "haproxy"
|
||||||
|
annotations:
|
||||||
|
cert-manager.io/cluster-issuer: letsencrypt-production
|
||||||
|
haproxy.org/backend-protocol: h1
|
||||||
|
haproxy.org/cors-enable: "true"
|
||||||
|
oceanbox.io/expose: internal
|
||||||
|
hosts:
|
||||||
|
- host: docs.oceanbox.io
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: ImplementationSpecific
|
||||||
|
tls:
|
||||||
|
- hosts:
|
||||||
|
- docs.oceanbox.io
|
||||||
|
secretName: prod-docs-tls
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
fullnameOverride: staging-docs
|
||||||
|
image:
|
||||||
|
tag: "4bec2e8e-debug"
|
||||||
|
ingress:
|
||||||
|
enabled: true
|
||||||
|
className: "haproxy"
|
||||||
|
annotations:
|
||||||
|
cert-manager.io/cluster-issuer: ca-issuer
|
||||||
|
haproxy.org/backend-protocol: h1
|
||||||
|
haproxy.org/cors-enable: "true"
|
||||||
|
oceanbox.io/expose: internal
|
||||||
|
hosts:
|
||||||
|
- host: docs.dev.hel1.obx
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: ImplementationSpecific
|
||||||
|
tls:
|
||||||
|
- hosts:
|
||||||
|
- docs.dev.hel1.obx
|
||||||
|
secretName: default-docs-tls
|
||||||
@@ -1,27 +1,6 @@
|
|||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
image:
|
|
||||||
tag: "ea8cf7dc-debug"
|
|
||||||
env:
|
env:
|
||||||
- name: APP_VERSION
|
- name: APP_VERSION
|
||||||
value: "0.0.0"
|
value: "0.0.0"
|
||||||
- name: LOG_LEVEL
|
- name: LOG_LEVEL
|
||||||
value: "1"
|
value: "1"
|
||||||
ingress:
|
|
||||||
enabled: true
|
|
||||||
className: "nginx"
|
|
||||||
annotations:
|
|
||||||
cert-manager.io/cluster-issuer: letsencrypt-production
|
|
||||||
nginx.ingress.kubernetes.io/backend-protocol: HTTP
|
|
||||||
nginx.ingress.kubernetes.io/enable-cors: "true"
|
|
||||||
nginx.ingress.kubernetes.io/proxy-buffer-size: 128k
|
|
||||||
nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
|
||||||
oceanbox.io/expose: internal
|
|
||||||
hosts:
|
|
||||||
- host: docs.oceanbox.io
|
|
||||||
paths:
|
|
||||||
- path: /
|
|
||||||
pathType: ImplementationSpecific
|
|
||||||
tls:
|
|
||||||
- hosts:
|
|
||||||
- docs.oceanbox.io
|
|
||||||
secretName: docs-tls
|
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
clusterConfig:
|
clusterConfig:
|
||||||
manifests: https://gitlab.com/oceanbox/manifests.git
|
manifests: https://git.oceanbox.io/platform/manifests.git
|
||||||
env: "" #[dev, test, staging, prod]
|
env: "" #[dev, test, staging, prod]
|
||||||
initca: ""
|
initca: ""
|
||||||
domain: ".local"
|
domain: ".local"
|
||||||
|
|||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fapr:
|
||||||
|
enabled: true
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
fapr:
|
||||||
|
enabled: true
|
||||||
|
autosync: {{ if or (eq .Environment.Name "prod") (eq .Environment.Name "beta") }}false{{ else }}true{{ end }}
|
||||||
|
env: {{ .Environment.Name }}
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- _manifest.yaml
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
{
|
||||||
|
"appName": "fapr",
|
||||||
|
"appEnv": "prod",
|
||||||
|
"logLevel": "Information",
|
||||||
|
"aromeOutputDir": "/data/hdd/data/AROME",
|
||||||
|
"aromeStartDate": "2026-04-24",
|
||||||
|
"nveOutputDir": "/data/hdd/data/river-data/Data",
|
||||||
|
"nveNdays": 5000,
|
||||||
|
"nveApiUrl": "https://chartserver.nve.no/ShowData.aspx?req=getchart&ver=1.0",
|
||||||
|
"riverrunBinary": "/app/riverrun",
|
||||||
|
"norshelfOutputDir": "/data/hdd/data/norshelf/sea_norshelf_files",
|
||||||
|
"norshelfStartDate": "2026-03-01",
|
||||||
|
"nemoOutputDir": "/data/hdd/data/NEMO",
|
||||||
|
"copernicusmarineBinary": "/usr/local/bin/copernicusmarine",
|
||||||
|
"copernicusUsername": "",
|
||||||
|
"copernicusPassword": "",
|
||||||
|
"murOutputDir": "/data/hdd/data/river-data/MUR/MUR_SST_nc",
|
||||||
|
"netrcPath": "/root/.netrc",
|
||||||
|
"norkystOutputDir": "/data/hdd/data/norkyst"
|
||||||
|
}
|
||||||
@@ -0,0 +1,77 @@
|
|||||||
|
apiVersion: dapr.io/v1alpha1
|
||||||
|
kind: Component
|
||||||
|
metadata:
|
||||||
|
name: cron-arome
|
||||||
|
spec:
|
||||||
|
type: bindings.cron
|
||||||
|
version: v1
|
||||||
|
metadata:
|
||||||
|
- name: schedule
|
||||||
|
value: "0 6 * * *"
|
||||||
|
scopes:
|
||||||
|
- prod-fapr
|
||||||
|
---
|
||||||
|
apiVersion: dapr.io/v1alpha1
|
||||||
|
kind: Component
|
||||||
|
metadata:
|
||||||
|
name: cron-nve
|
||||||
|
spec:
|
||||||
|
type: bindings.cron
|
||||||
|
version: v1
|
||||||
|
metadata:
|
||||||
|
- name: schedule
|
||||||
|
value: "0 8 * * *"
|
||||||
|
scopes:
|
||||||
|
- prod-fapr
|
||||||
|
---
|
||||||
|
apiVersion: dapr.io/v1alpha1
|
||||||
|
kind: Component
|
||||||
|
metadata:
|
||||||
|
name: cron-norshelf
|
||||||
|
spec:
|
||||||
|
type: bindings.cron
|
||||||
|
version: v1
|
||||||
|
metadata:
|
||||||
|
- name: schedule
|
||||||
|
value: "0 13 * * *"
|
||||||
|
scopes:
|
||||||
|
- prod-fapr
|
||||||
|
---
|
||||||
|
apiVersion: dapr.io/v1alpha1
|
||||||
|
kind: Component
|
||||||
|
metadata:
|
||||||
|
name: cron-nemo
|
||||||
|
spec:
|
||||||
|
type: bindings.cron
|
||||||
|
version: v1
|
||||||
|
metadata:
|
||||||
|
- name: schedule
|
||||||
|
value: "0 13 * * *"
|
||||||
|
scopes:
|
||||||
|
- prod-fapr
|
||||||
|
---
|
||||||
|
apiVersion: dapr.io/v1alpha1
|
||||||
|
kind: Component
|
||||||
|
metadata:
|
||||||
|
name: cron-mur
|
||||||
|
spec:
|
||||||
|
type: bindings.cron
|
||||||
|
version: v1
|
||||||
|
metadata:
|
||||||
|
- name: schedule
|
||||||
|
value: "0 6 * * *"
|
||||||
|
scopes:
|
||||||
|
- prod-fapr
|
||||||
|
---
|
||||||
|
apiVersion: dapr.io/v1alpha1
|
||||||
|
kind: Component
|
||||||
|
metadata:
|
||||||
|
name: cron-norkyst
|
||||||
|
spec:
|
||||||
|
type: bindings.cron
|
||||||
|
version: v1
|
||||||
|
metadata:
|
||||||
|
- name: schedule
|
||||||
|
value: "0 13 * * *"
|
||||||
|
scopes:
|
||||||
|
- prod-fapr
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
- op: add
|
||||||
|
path: /spec/template/spec/containers/0/envFrom
|
||||||
|
value: []
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
generatorOptions:
|
||||||
|
disableNameSuffixHash: true
|
||||||
|
configMapGenerator:
|
||||||
|
- name: prod-fapr-appsettings
|
||||||
|
files:
|
||||||
|
- appsettings.json
|
||||||
|
patches:
|
||||||
|
- target:
|
||||||
|
group: apps
|
||||||
|
version: v1
|
||||||
|
kind: Deployment
|
||||||
|
path: deployment_patch.yaml
|
||||||
|
resources:
|
||||||
|
- ../base
|
||||||
|
- pv.yaml
|
||||||
|
- pvc.yaml
|
||||||
|
- secrets.yaml
|
||||||
|
- secretstore.yaml
|
||||||
|
- statestore.yaml
|
||||||
|
- tracing.yaml
|
||||||
|
- cron-bindings.yaml
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolume
|
||||||
|
metadata:
|
||||||
|
name: pv-prod-fapr-ceph-data
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteMany
|
||||||
|
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-prod-fapr-ceph-data
|
||||||
|
persistentVolumeReclaimPolicy: Retain
|
||||||
|
volumeMode: Filesystem
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: prod-fapr-ceph-data
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteMany
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 1Gi
|
||||||
|
storageClassName: ""
|
||||||
|
volumeMode: Filesystem
|
||||||
|
volumeName: pv-prod-fapr-ceph-data
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Secret
|
||||||
|
metadata:
|
||||||
|
name: prod-fapr-redis
|
||||||
|
type: Opaque
|
||||||
|
data:
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
apiVersion: dapr.io/v1alpha1
|
||||||
|
kind: Component
|
||||||
|
metadata:
|
||||||
|
name: secretstore
|
||||||
|
spec:
|
||||||
|
type: secretstores.kubernetes
|
||||||
|
version: v1
|
||||||
|
metadata:
|
||||||
|
- name: defaultNamespace
|
||||||
|
value: prod-fapr
|
||||||
|
scopes:
|
||||||
|
- prod-fapr
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
apiVersion: dapr.io/v1alpha1
|
||||||
|
kind: Component
|
||||||
|
metadata:
|
||||||
|
name: statestore
|
||||||
|
spec:
|
||||||
|
type: state.redis
|
||||||
|
version: v1
|
||||||
|
metadata:
|
||||||
|
- name: redisHost
|
||||||
|
value: prod-fapr-redis:6379
|
||||||
|
- name: redisUsername
|
||||||
|
value: default
|
||||||
|
- name: redisPassword
|
||||||
|
secretKeyRef:
|
||||||
|
name: prod-fapr-redis
|
||||||
|
key: redis-password
|
||||||
|
- name: actorStateStore
|
||||||
|
value: "true"
|
||||||
|
- name: redisDB
|
||||||
|
value: "0"
|
||||||
|
scopes:
|
||||||
|
- prod-fapr
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
apiVersion: dapr.io/v1alpha1
|
||||||
|
kind: Configuration
|
||||||
|
metadata:
|
||||||
|
name: tracing
|
||||||
|
spec:
|
||||||
|
tracing:
|
||||||
|
samplingRate: "1"
|
||||||
|
otel:
|
||||||
|
endpointAddress: "10.255.241.12:4317"
|
||||||
|
protocol: grpc
|
||||||
|
isSecure: false
|
||||||
@@ -0,0 +1,42 @@
|
|||||||
|
{{ if .Values.clusterConfig.argo.enabled }}
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: {{ .Values.fapr.env }}-fapr
|
||||||
|
namespace: argocd
|
||||||
|
annotations:
|
||||||
|
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
|
||||||
|
argocd.argoproj.io/compare-options: ServerSideDiff=true
|
||||||
|
finalizers:
|
||||||
|
- resources-finalizer.argocd.argoproj.io
|
||||||
|
spec:
|
||||||
|
destination:
|
||||||
|
namespace: {{ .Values.fapr.env }}-fapr
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
project: atlantis
|
||||||
|
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: {{ .Values.fapr.env }}
|
||||||
|
- name: HELMFILE_FILE_PATH
|
||||||
|
value: fapr.yaml.gotmpl
|
||||||
|
- repoURL: https://git.oceanbox.io/platform/manifests.git
|
||||||
|
targetRevision: main
|
||||||
|
ref: values
|
||||||
|
syncPolicy:
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
|
- ApplyOutOfSyncOnly=true
|
||||||
|
{{- if .Values.fapr.autosync }}
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: false
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
@@ -0,0 +1,55 @@
|
|||||||
|
replicaCount: 1
|
||||||
|
|
||||||
|
podAnnotations:
|
||||||
|
dapr.io/enabled: "true"
|
||||||
|
dapr.io/app-id: "prod-fapr"
|
||||||
|
dapr.io/app-port: "8080"
|
||||||
|
dapr.io/api-token-secret: "dapr-api-token"
|
||||||
|
dapr.io/config: "tracing"
|
||||||
|
dapr.io/app-protocol: "http"
|
||||||
|
dapr.io/log-as-json: "true"
|
||||||
|
dapr.io/sidecar-cpu-request: "10m"
|
||||||
|
dapr.io/sidecar-memory-request: "50Mi"
|
||||||
|
|
||||||
|
env:
|
||||||
|
- name: APP_NAME
|
||||||
|
valueFrom:
|
||||||
|
fieldRef:
|
||||||
|
fieldPath: metadata.name
|
||||||
|
- name: APP_NAMESPACE
|
||||||
|
valueFrom:
|
||||||
|
fieldRef:
|
||||||
|
fieldPath: metadata.namespace
|
||||||
|
- name: DAPR_API_TOKEN
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: dapr-api-token
|
||||||
|
key: token
|
||||||
|
|
||||||
|
persistence:
|
||||||
|
enabled: true
|
||||||
|
existingClaim: prod-fapr-ceph-data
|
||||||
|
|
||||||
|
redis:
|
||||||
|
enabled: true
|
||||||
|
replicas: 1
|
||||||
|
backup:
|
||||||
|
enabled: true
|
||||||
|
size: 2Gi
|
||||||
|
storageClass: "ceph-rbd"
|
||||||
|
secret:
|
||||||
|
name: "prod-fapr-redis"
|
||||||
|
key: "redis-password"
|
||||||
|
resources:
|
||||||
|
cpu: 100m
|
||||||
|
memory: 128Mi
|
||||||
|
|
||||||
|
affinity:
|
||||||
|
nodeAffinity:
|
||||||
|
requiredDuringSchedulingIgnoredDuringExecution:
|
||||||
|
nodeSelectorTerms:
|
||||||
|
- matchExpressions:
|
||||||
|
- key: "topology.kubernetes.io/group"
|
||||||
|
operator: In
|
||||||
|
values:
|
||||||
|
- srv
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
# Base values for fapr - overridden per environment
|
||||||
@@ -3,17 +3,15 @@ kind: Ingress
|
|||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
cert-manager.io/cluster-issuer: ca-issuer
|
cert-manager.io/cluster-issuer: ca-issuer
|
||||||
nginx.ingress.kubernetes.io/backend-protocol: HTTP
|
haproxy.org/backend-protocol: h1
|
||||||
nginx.ingress.kubernetes.io/cors-allow-headers: Content-Type, x-gatus-cache
|
haproxy.org/cors-allow-headers: Content-Type, x-gatus-cache
|
||||||
nginx.ingress.kubernetes.io/enable-cors: "true"
|
haproxy.org/cors-enable: "true"
|
||||||
nginx.ingress.kubernetes.io/proxy-buffer-size: 128k
|
|
||||||
nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: gatus
|
app.kubernetes.io/name: gatus
|
||||||
name: gatus
|
name: gatus
|
||||||
namespace: uptime
|
namespace: uptime
|
||||||
spec:
|
spec:
|
||||||
ingressClassName: nginx
|
ingressClassName: haproxy
|
||||||
rules:
|
rules:
|
||||||
- host: uptime.adm.hel1.obx
|
- host: uptime.adm.hel1.obx
|
||||||
http:
|
http:
|
||||||
@@ -24,7 +22,7 @@ spec:
|
|||||||
port:
|
port:
|
||||||
number: 80
|
number: 80
|
||||||
path: /
|
path: /
|
||||||
pathType: ImplementationSpecific
|
pathType: Prefix
|
||||||
tls:
|
tls:
|
||||||
- hosts:
|
- hosts:
|
||||||
- uptime.adm.hel1.obx
|
- uptime.adm.hel1.obx
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
image:
|
image:
|
||||||
repository: twinproduction/gatus
|
repository: twinproduction/gatus
|
||||||
tag: v5.35.0
|
tag: v5.36.0
|
||||||
|
|
||||||
# Does envFrom secret named gatus
|
# Does envFrom secret named gatus
|
||||||
secrets: true
|
secrets: true
|
||||||
|
|||||||
@@ -8,18 +8,13 @@ spec:
|
|||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 150m
|
cpu: 150m
|
||||||
memory: 256Mi
|
memory: 1Gi
|
||||||
limits:
|
limits:
|
||||||
memory: 256Mi
|
memory: 1Gi
|
||||||
args:
|
args:
|
||||||
- --dbfilename=dump # Static filename prevents disk exhaustion
|
- --dbfilename=dump # Static filename prevents disk exhaustion
|
||||||
- --maxmemory=$(MAX_MEMORY)Mi # Graceful memory management (90% of limit)
|
- --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)
|
- --proactor_threads=1 # Auto-detect CPU cores (optimal threading)
|
||||||
- --cluster_mode=emulated
|
- --cluster_mode=emulated
|
||||||
- --logtostderr
|
- --logtostderr
|
||||||
env:
|
|
||||||
- name: MAX_MEMORY
|
|
||||||
valueFrom:
|
|
||||||
resourceFieldRef:
|
|
||||||
resource: limits.memory
|
|
||||||
divisor: 1Mi
|
|
||||||
|
|||||||
@@ -3,11 +3,11 @@ replicaCount: 1
|
|||||||
image:
|
image:
|
||||||
registry: "docker.gitea.com"
|
registry: "docker.gitea.com"
|
||||||
repository: gitea
|
repository: gitea
|
||||||
tag: "1.26.0"
|
tag: "1.26.2"
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 200m
|
cpu: 500m
|
||||||
memory: 512Mi
|
memory: 512Mi
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
@@ -82,6 +82,8 @@ gitea:
|
|||||||
database:
|
database:
|
||||||
DB_TYPE: postgres
|
DB_TYPE: postgres
|
||||||
MAX_OPEN_CONNS: 90
|
MAX_OPEN_CONNS: 90
|
||||||
|
MAX_IDLE_CONNS: 20
|
||||||
|
CONN_MAX_LIFETIME: 3h
|
||||||
openid:
|
openid:
|
||||||
ENABLE_OPENID_SIGNIN: false
|
ENABLE_OPENID_SIGNIN: false
|
||||||
ENABLE_OPENID_SIGNUP: false
|
ENABLE_OPENID_SIGNUP: false
|
||||||
@@ -135,15 +137,12 @@ gitea:
|
|||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
enabled: true
|
enabled: true
|
||||||
className: nginx
|
className: haproxy
|
||||||
annotations:
|
annotations:
|
||||||
cert-manager.io/cluster-issuer: letsencrypt-production
|
cert-manager.io/cluster-issuer: letsencrypt-production
|
||||||
nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
haproxy.org/backend-protocol: h1
|
||||||
nginx.ingress.kubernetes.io/backend-protocol: HTTP
|
haproxy.org/timeout-server: 600s
|
||||||
nginx.ingress.kubernetes.io/proxy-body-size: "0"
|
haproxy.org/allow-list: 10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,172.19.255.0/24,100.64.0.0/12,185.125.160.4/32,37.27.203.38/32
|
||||||
nginx.ingress.kubernetes.io/proxy-read-timeout: "600"
|
|
||||||
nginx.ingress.kubernetes.io/proxy-send-timeout: "600"
|
|
||||||
nginx.ingress.kubernetes.io/whitelist-source-range: 10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,172.19.255.0/24,100.64.0.0/12,185.125.160.4/32,37.27.203.38/32
|
|
||||||
hosts:
|
hosts:
|
||||||
- host: git.oceanbox.io
|
- host: git.oceanbox.io
|
||||||
paths:
|
paths:
|
||||||
|
|||||||
@@ -129,6 +129,7 @@ configMaps:
|
|||||||
"group:dev": [],
|
"group:dev": [],
|
||||||
"group:intern": [
|
"group:intern": [
|
||||||
"haavahak@stud.ntnu.no",
|
"haavahak@stud.ntnu.no",
|
||||||
|
"haavahak@ntnu.no",
|
||||||
],
|
],
|
||||||
"group:ceph": [
|
"group:ceph": [
|
||||||
"jonas.juselius@oceanbox.io",
|
"jonas.juselius@oceanbox.io",
|
||||||
@@ -271,6 +272,14 @@ configMaps:
|
|||||||
{ "action": "accept", "src": [ "hanskristian.djuve@oceanbox.io" ], "dst": [ "hanskristian.djuve@oceanbox.io:*" ] },
|
{ "action": "accept", "src": [ "hanskristian.djuve@oceanbox.io" ], "dst": [ "hanskristian.djuve@oceanbox.io:*" ] },
|
||||||
{ "action": "accept", "src": [ "erlend.mundal@oceanbox.io" ], "dst": [ "erlend.mundal@oceanbox.io:*" ] },
|
{ "action": "accept", "src": [ "erlend.mundal@oceanbox.io" ], "dst": [ "erlend.mundal@oceanbox.io:*" ] },
|
||||||
// s/"\([^"]*\)"/{ "action": "accept", "src": [ "\1" ], "dst": [ "\1:*" ] },
|
// s/"\([^"]*\)"/{ "action": "accept", "src": [ "\1" ], "dst": [ "\1:*" ] },
|
||||||
|
],
|
||||||
|
"ssh": [
|
||||||
|
{
|
||||||
|
"action": "accept",
|
||||||
|
"src": [ "group:admin" ],
|
||||||
|
"dst": [ "autogroup:self", "tag:hpc", "tag:mumindalen", "tag:hel1" ],
|
||||||
|
"users": [ "autogroup:nonroot", "root" ]
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
dns:
|
dns:
|
||||||
@@ -302,13 +311,13 @@ configMaps:
|
|||||||
{ "name": "cache.srv.oceanbox.io", "type": "A", "value": "10.255.241.11" },
|
{ "name": "cache.srv.oceanbox.io", "type": "A", "value": "10.255.241.11" },
|
||||||
{ "name": "makai.srv.oceanbox.io", "type": "A", "value": "10.255.241.11" },
|
{ "name": "makai.srv.oceanbox.io", "type": "A", "value": "10.255.241.11" },
|
||||||
{ "name": "makai.dev.oceanbox.io", "type": "A", "value": "10.255.241.11" },
|
{ "name": "makai.dev.oceanbox.io", "type": "A", "value": "10.255.241.11" },
|
||||||
{ "name": "docs.dev.oceanbox.io", "type": "A", "value": "10.255.241.11" },
|
|
||||||
|
|
||||||
{ "name": "slurm.adm.oceanbox.io", "type": "A", "value": "10.255.241.11" },
|
{ "name": "slurm.adm.oceanbox.io", "type": "A", "value": "10.255.241.11" },
|
||||||
{ "name": "slurm-gateway.dev.oceanbox.io", "type": "A", "value": "10.255.241.11" },
|
{ "name": "slurm-gateway.dev.oceanbox.io", "type": "A", "value": "10.255.241.11" },
|
||||||
{ "name": "yolo-registry.dev.oceanbox.io", "type": "A", "value": "10.255.241.11" },
|
{ "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": "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": "prometheus.ekman.oceanbox.io", "type": "A", "value": "10.255.241.99" },
|
||||||
{ "name": "alertmanager.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" },
|
{ "name": "grafana.ekman.oceanbox.io", "type": "A", "value": "10.255.241.99" },
|
||||||
@@ -321,6 +330,7 @@ configMaps:
|
|||||||
{ "name": "git.oceanbox.io", "type": "A", "value": "10.0.1.3" },
|
{ "name": "git.oceanbox.io", "type": "A", "value": "10.0.1.3" },
|
||||||
{ "name": "makai.oceanbox.io", "type": "A", "value": "10.0.1.3" },
|
{ "name": "makai.oceanbox.io", "type": "A", "value": "10.0.1.3" },
|
||||||
{ "name": "docs.oceanbox.io", "type": "A", "value": "10.0.1.3" },
|
{ "name": "docs.oceanbox.io", "type": "A", "value": "10.0.1.3" },
|
||||||
|
{ "name": "docs.dev.oceanbox.io", "type": "A", "value": "10.0.1.3" },
|
||||||
|
|
||||||
{ "name": "kueue.dev.tos.obx", "type": "A", "value": "10.255.241.99" },
|
{ "name": "kueue.dev.tos.obx", "type": "A", "value": "10.255.241.99" },
|
||||||
{ "name": "slurm-agent.rossby.oceanbox.io", "type": "A", "value": "172.16.239.222" },
|
{ "name": "slurm-agent.rossby.oceanbox.io", "type": "A", "value": "172.16.239.222" },
|
||||||
@@ -357,25 +367,21 @@ configMaps:
|
|||||||
|
|
||||||
{ "name": "jonas-atlantis.dev.oceanbox.io", "type": "A", "value": "10.255.241.11" },
|
{ "name": "jonas-atlantis.dev.oceanbox.io", "type": "A", "value": "10.255.241.11" },
|
||||||
{ "name": "jonas-sorcerer.ekman.oceanbox.io", "type": "A", "value": "10.255.241.99" },
|
{ "name": "jonas-sorcerer.ekman.oceanbox.io", "type": "A", "value": "10.255.241.99" },
|
||||||
{ "name": "jonas-plume.ekman.oceanbox.io", "type": "A", "value": "10.255.241.99" },
|
|
||||||
{ "name": "stig-atlantis.dev.oceanbox.io", "type": "A", "value": "10.255.241.11" },
|
{ "name": "stig-atlantis.dev.oceanbox.io", "type": "A", "value": "10.255.241.11" },
|
||||||
{ "name": "stig-sorcerer.ekman.oceanbox.io", "type": "A", "value": "10.255.241.99" },
|
{ "name": "stig-sorcerer.ekman.oceanbox.io", "type": "A", "value": "10.255.241.99" },
|
||||||
{ "name": "stig-sorcerer.dev.vtn.obx", "type": "A", "value": "172.16.239.221" },
|
|
||||||
{ "name": "stig-plume.ekman.oceanbox.io", "type": "A", "value": "10.255.241.99" },
|
|
||||||
{ "name": "radovan-atlantis.dev.oceanbox.io", "type": "A", "value": "10.255.241.11" },
|
{ "name": "radovan-atlantis.dev.oceanbox.io", "type": "A", "value": "10.255.241.11" },
|
||||||
{ "name": "radovan-sorcerer.ekman.oceanbox.io", "type": "A", "value": "10.255.241.99" },
|
{ "name": "radovan-sorcerer.ekman.oceanbox.io", "type": "A", "value": "10.255.241.99" },
|
||||||
{ "name": "mrtz-atlantis.dev.oceanbox.io", "type": "A", "value": "10.255.241.11" },
|
{ "name": "mrtz-atlantis.dev.oceanbox.io", "type": "A", "value": "10.255.241.11" },
|
||||||
|
{ "name": "mrtz-maps.dev.oceanbox.io", "type": "A", "value": "10.255.241.11" },
|
||||||
{ "name": "mrtz-sorcerer.ekman.oceanbox.io", "type": "A", "value": "10.255.241.99" },
|
{ "name": "mrtz-sorcerer.ekman.oceanbox.io", "type": "A", "value": "10.255.241.99" },
|
||||||
{ "name": "mrtz-sorcerer.dev.vtn.obx", "type": "A", "value": "172.16.239.221" },
|
{ "name": "mrtz-codex.dev.oceanbox.io", "type": "A", "value": "10.255.241.11" },
|
||||||
{ "name": "mrtz-plume.ekman.oceanbox.io", "type": "A", "value": "10.255.241.99" },
|
|
||||||
{ "name": "mrtz-diadash.dev.oceanbox.io", "type": "A", "value": "10.255.241.11" },
|
{ "name": "mrtz-diadash.dev.oceanbox.io", "type": "A", "value": "10.255.241.11" },
|
||||||
{ "name": "simkir-atlantis.dev.oceanbox.io", "type": "A", "value": "10.255.241.11" },
|
{ "name": "simkir-atlantis.dev.oceanbox.io", "type": "A", "value": "10.255.241.11" },
|
||||||
{ "name": "simkir-maps.dev.oceanbox.io", "type": "A", "value": "10.255.241.11" },
|
{ "name": "simkir-maps.dev.oceanbox.io", "type": "A", "value": "10.255.241.11" },
|
||||||
{ "name": "simkir-codex.dev.oceanbox.io", "type": "A", "value": "10.255.241.11" },
|
{ "name": "simkir-codex.dev.oceanbox.io", "type": "A", "value": "10.255.241.11" },
|
||||||
{ "name": "simkir-sorcerer.ekman.oceanbox.io", "type": "A", "value": "10.255.241.99" },
|
{ "name": "simkir-sorcerer.ekman.oceanbox.io", "type": "A", "value": "10.255.241.99" },
|
||||||
{ "name": "simkir-sorcerer.dev.vtn.obx", "type": "A", "value": "172.16.239.221" },
|
|
||||||
{ "name": "simkir-plume.ekman.oceanbox.io", "type": "A", "value": "10.255.241.99" },
|
|
||||||
{ "name": "ole-atlantis.dev.oceanbox.io", "type": "A", "value": "10.255.241.11" },
|
{ "name": "ole-atlantis.dev.oceanbox.io", "type": "A", "value": "10.255.241.11" },
|
||||||
|
{ "name": "ole-maps.dev.oceanbox.io", "type": "A", "value": "10.255.241.11" },
|
||||||
{ "name": "ole-sorcerer.ekman.oceanbox.io", "type": "A", "value": "10.255.241.99" },
|
{ "name": "ole-sorcerer.ekman.oceanbox.io", "type": "A", "value": "10.255.241.99" },
|
||||||
{ "name": "ole-plume.ekman.oceanbox.io", "type": "A", "value": "10.255.241.99" }
|
{ "name": "ole-codex.dev.oceanbox.io", "type": "A", "value": "10.255.241.11" }
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -0,0 +1,14 @@
|
|||||||
|
haproxy:
|
||||||
|
enabled: true
|
||||||
|
autosync: true
|
||||||
|
pdb:
|
||||||
|
minAvailable: 1
|
||||||
|
resources:
|
||||||
|
controller:
|
||||||
|
cpu: "100m"
|
||||||
|
memory: "100Mi"
|
||||||
|
annotations:
|
||||||
|
load-balancer.hetzner.cloud/location: hel1
|
||||||
|
load-balancer.hetzner.cloud/name: load-balancer-1
|
||||||
|
load-balancer.hetzner.cloud/type: lb11
|
||||||
|
load-balancer.hetzner.cloud/use-private-ip: "true"
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
haproxy:
|
||||||
|
enabled: false
|
||||||
|
autosync: true
|
||||||
|
pdb:
|
||||||
|
minAvailable: 1
|
||||||
|
resources:
|
||||||
|
controller:
|
||||||
|
cpu: "100m"
|
||||||
|
memory: "100Mi"
|
||||||
|
annotations: []
|
||||||
@@ -0,0 +1,40 @@
|
|||||||
|
{{- if .Values.clusterConfig.argo.enabled }}
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: ingress-haproxy
|
||||||
|
namespace: argocd
|
||||||
|
annotations:
|
||||||
|
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
|
||||||
|
spec:
|
||||||
|
destination:
|
||||||
|
namespace: ingress-haproxy
|
||||||
|
server: 'https://kubernetes.default.svc'
|
||||||
|
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: ingress-haproxy.yaml.gotmpl
|
||||||
|
project: sys
|
||||||
|
syncPolicy:
|
||||||
|
managedNamespaceMetadata:
|
||||||
|
labels:
|
||||||
|
component: sys
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
|
- ApplyOutOfSyncOnly=true
|
||||||
|
- ServerSideApply=true
|
||||||
|
{{- if .Values.haproxy.autosync }}
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
# selfHeal: false
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
{{- if .Values.clusterConfig.cilium.enabled }}
|
||||||
|
apiVersion: cilium.io/v2
|
||||||
|
kind: CiliumNetworkPolicy
|
||||||
|
metadata:
|
||||||
|
name: allow-host-traffic
|
||||||
|
namespace: ingress-haproxy
|
||||||
|
spec:
|
||||||
|
egress:
|
||||||
|
- toEntities:
|
||||||
|
- kube-apiserver
|
||||||
|
- host
|
||||||
|
endpointSelector:
|
||||||
|
matchLabels:
|
||||||
|
app.kubernetes.io/name: kubernetes-ingress
|
||||||
|
app.kubernetes.io/instance: ingress-haproxy
|
||||||
|
{{- end }}
|
||||||
+16
@@ -0,0 +1,16 @@
|
|||||||
|
{{- if .Values.clusterConfig.cilium.enabled }}
|
||||||
|
apiVersion: cilium.io/v2
|
||||||
|
kind: CiliumNetworkPolicy
|
||||||
|
metadata:
|
||||||
|
name: allow-hubble-traffic
|
||||||
|
namespace: ingress-haproxy
|
||||||
|
spec:
|
||||||
|
egress:
|
||||||
|
- toFQDNs:
|
||||||
|
- matchPattern: hubble.*.*.*
|
||||||
|
- matchPattern: hubble.*.*.*.*
|
||||||
|
endpointSelector:
|
||||||
|
matchLabels:
|
||||||
|
app.kubernetes.io/name: kubernetes-ingress
|
||||||
|
app.kubernetes.io/instance: ingress-haproxy
|
||||||
|
{{- end }}
|
||||||
+19
@@ -0,0 +1,19 @@
|
|||||||
|
{{- if .Values.clusterConfig.cilium.enabled }}
|
||||||
|
apiVersion: cilium.io/v2
|
||||||
|
kind: CiliumNetworkPolicy
|
||||||
|
metadata:
|
||||||
|
name: allow-prometheus-metrics
|
||||||
|
namespace: ingress-haproxy
|
||||||
|
spec:
|
||||||
|
endpointSelector:
|
||||||
|
matchLabels:
|
||||||
|
app.kubernetes.io/instance: ingress-haproxy
|
||||||
|
ingress:
|
||||||
|
- fromEndpoints:
|
||||||
|
- matchLabels:
|
||||||
|
io.kubernetes.pod.namespace: prometheus
|
||||||
|
- toPorts:
|
||||||
|
- ports:
|
||||||
|
- port: "1024"
|
||||||
|
protocol: TCP
|
||||||
|
{{- end }}
|
||||||
+21
@@ -0,0 +1,21 @@
|
|||||||
|
{{- if .Values.clusterConfig.cilium.enabled }}
|
||||||
|
apiVersion: cilium.io/v2
|
||||||
|
kind: CiliumNetworkPolicy
|
||||||
|
metadata:
|
||||||
|
name: allow-world-to-ingress-haproxy
|
||||||
|
namespace: ingress-haproxy
|
||||||
|
spec:
|
||||||
|
endpointSelector:
|
||||||
|
matchLabels:
|
||||||
|
app.kubernetes.io/name: kubernetes-ingress
|
||||||
|
app.kubernetes.io/instance: ingress-haproxy
|
||||||
|
ingress:
|
||||||
|
- fromEntities:
|
||||||
|
- world
|
||||||
|
- toPorts:
|
||||||
|
- ports:
|
||||||
|
- port: "80"
|
||||||
|
protocol: TCP
|
||||||
|
- port: "443"
|
||||||
|
protocol: TCP
|
||||||
|
{{- end }}
|
||||||
@@ -0,0 +1,114 @@
|
|||||||
|
## HAProxy Kubernetes Ingress Controller configuration
|
||||||
|
## Ref: https://www.haproxy.com/documentation/kubernetes-ingress/
|
||||||
|
##
|
||||||
|
controller:
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: {{ .Values.haproxy.resources.controller.cpu }}
|
||||||
|
memory: {{ .Values.haproxy.resources.controller.memory }}
|
||||||
|
|
||||||
|
ingressClass: haproxy
|
||||||
|
|
||||||
|
ingressClassResource:
|
||||||
|
name: haproxy
|
||||||
|
default: true
|
||||||
|
|
||||||
|
config:
|
||||||
|
body-size: "0"
|
||||||
|
tune.bufsize: "131072"
|
||||||
|
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"
|
||||||
|
|
||||||
|
# Proxy protocol
|
||||||
|
proxy-protocol: "10.0.0.0/8"
|
||||||
|
use-proxy-protocol: "true"
|
||||||
|
|
||||||
|
tolerations:
|
||||||
|
- key: unschedulable
|
||||||
|
operator: Exists
|
||||||
|
effect: NoSchedule
|
||||||
|
- key: node-role.kubernetes.io/control-plane
|
||||||
|
operator: Exists
|
||||||
|
effect: NoSchedule
|
||||||
|
|
||||||
|
affinity:
|
||||||
|
nodeAffinity:
|
||||||
|
requiredDuringSchedulingIgnoredDuringExecution:
|
||||||
|
nodeSelectorTerms:
|
||||||
|
- matchExpressions:
|
||||||
|
- key: kubernetes.io/hostname
|
||||||
|
operator: In
|
||||||
|
values: {{ .Values.clusterConfig.ingress_nodes }}
|
||||||
|
|
||||||
|
podAntiAffinity:
|
||||||
|
requiredDuringSchedulingIgnoredDuringExecution:
|
||||||
|
- labelSelector:
|
||||||
|
matchExpressions:
|
||||||
|
- key: app.kubernetes.io/instance
|
||||||
|
operator: In
|
||||||
|
values:
|
||||||
|
- ingress-haproxy
|
||||||
|
- key: app.kubernetes.io/name
|
||||||
|
operator: In
|
||||||
|
values:
|
||||||
|
- kubernetes-ingress
|
||||||
|
topologyKey: "kubernetes.io/hostname"
|
||||||
|
|
||||||
|
replicaCount: {{ .Values.clusterConfig.ingress_replica_count }}
|
||||||
|
|
||||||
|
PodDisruptionBudget:
|
||||||
|
enable: true
|
||||||
|
minAvailable: {{ .Values.haproxy.pdb.minAvailable }}
|
||||||
|
|
||||||
|
service:
|
||||||
|
{{- if .Values.clusterConfig.ingress_loadbalancer }}
|
||||||
|
type: LoadBalancer
|
||||||
|
{{- if .Values.clusterConfig.ingress_nodeport }}
|
||||||
|
nodePorts:
|
||||||
|
http: 30080
|
||||||
|
https: 30443
|
||||||
|
{{- end }}
|
||||||
|
{{- else if .Values.clusterConfig.ingress_nodeport }}
|
||||||
|
type: NodePort
|
||||||
|
externalTrafficPolicy: Local
|
||||||
|
nodePorts:
|
||||||
|
http: 30080
|
||||||
|
https: 30443
|
||||||
|
{{- else }}
|
||||||
|
type: ClusterIP
|
||||||
|
{{- end }}
|
||||||
|
annotations:
|
||||||
|
{{- with .Values.haproxy.annotations }}
|
||||||
|
{{ toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
hostNetwork: {{ .Values.clusterConfig.ingress_hostnetwork }}
|
||||||
|
|
||||||
|
hostPorts:
|
||||||
|
enable: {{ .Values.clusterConfig.ingress_hostport }}
|
||||||
|
http: 80
|
||||||
|
https: 443
|
||||||
|
|
||||||
|
stats:
|
||||||
|
enabled: true
|
||||||
|
|
||||||
|
prometheus:
|
||||||
|
enabled: true
|
||||||
|
port: 1024
|
||||||
|
service:
|
||||||
|
annotations:
|
||||||
|
prometheus.io/scrape: "true"
|
||||||
|
prometheus.io/port: "1024"
|
||||||
|
|
||||||
|
serviceMonitor:
|
||||||
|
enabled: true
|
||||||
|
|
||||||
|
extraArgs:
|
||||||
|
- --disable-quic
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
nginx:
|
nginx:
|
||||||
enabled: true
|
enabled: false
|
||||||
autosync: true
|
autosync: true
|
||||||
pdb:
|
pdb:
|
||||||
minAvailable: 1
|
minAvailable: 1
|
||||||
|
|||||||
@@ -1,3 +1,42 @@
|
|||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolume
|
||||||
|
metadata:
|
||||||
|
name: pv-prod-queue-ceph-archives
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteMany
|
||||||
|
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-prod-queue-ceph-archives
|
||||||
|
persistentVolumeReclaimPolicy: Retain
|
||||||
|
volumeMode: Filesystem
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: prod-queue-ceph-archives
|
||||||
|
namespace: prod-queue
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteMany
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 1Gi
|
||||||
|
storageClassName: ""
|
||||||
|
volumeMode: Filesystem
|
||||||
|
volumeName: pv-prod-queue-ceph-archives
|
||||||
|
---
|
||||||
# Cross-namespace RBAC: allow sorcerer ServiceAccounts to manage JobSets in dev-queue
|
# Cross-namespace RBAC: allow sorcerer ServiceAccounts to manage JobSets in dev-queue
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: Role
|
kind: Role
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
image:
|
image:
|
||||||
tag: "ad49e745-debug"
|
tag: "e49d3f4f-debug"
|
||||||
env:
|
env:
|
||||||
- name: APP_VERSION
|
- name: APP_VERSION
|
||||||
value: "0.0.0"
|
value: "0.0.0"
|
||||||
@@ -8,13 +8,11 @@ env:
|
|||||||
value: "1"
|
value: "1"
|
||||||
ingress:
|
ingress:
|
||||||
enabled: true
|
enabled: true
|
||||||
className: "nginx"
|
className: "haproxy"
|
||||||
annotations:
|
annotations:
|
||||||
cert-manager.io/cluster-issuer: letsencrypt-production
|
cert-manager.io/cluster-issuer: letsencrypt-production
|
||||||
nginx.ingress.kubernetes.io/backend-protocol: HTTP
|
haproxy.org/backend-protocol: h1
|
||||||
nginx.ingress.kubernetes.io/enable-cors: "true"
|
haproxy.org/cors-enable: "true"
|
||||||
nginx.ingress.kubernetes.io/proxy-buffer-size: 128k
|
|
||||||
nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
|
||||||
oceanbox.io/expose: internal
|
oceanbox.io/expose: internal
|
||||||
hosts:
|
hosts:
|
||||||
- host: makai.oceanbox.io
|
- host: makai.oceanbox.io
|
||||||
|
|||||||
@@ -0,0 +1,2 @@
|
|||||||
|
niks3:
|
||||||
|
enabled: true
|
||||||
@@ -1,3 +1,3 @@
|
|||||||
attic:
|
niks3:
|
||||||
enabled: false
|
enabled: false
|
||||||
autosync: false
|
autosync: false
|
||||||
@@ -1,10 +1,10 @@
|
|||||||
apiVersion: postgresql.cnpg.io/v1
|
apiVersion: postgresql.cnpg.io/v1
|
||||||
kind: Cluster
|
kind: Cluster
|
||||||
metadata:
|
metadata:
|
||||||
name: attic-db
|
name: niks3-db
|
||||||
namespace: attic
|
namespace: niks3
|
||||||
labels:
|
labels:
|
||||||
app: attic-db
|
app: niks3-db
|
||||||
spec:
|
spec:
|
||||||
instances: 1
|
instances: 1
|
||||||
primaryUpdateStrategy: unsupervised
|
primaryUpdateStrategy: unsupervised
|
||||||
@@ -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
|
||||||
@@ -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
|
||||||
@@ -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
|
||||||
@@ -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
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: attic
|
name: niks3
|
||||||
labels:
|
labels:
|
||||||
app: attic
|
app: niks3
|
||||||
spec:
|
spec:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
selector:
|
selector:
|
||||||
app: attic
|
app: niks3
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
port: 8080
|
port: 5751
|
||||||
targetPort: http
|
targetPort: http
|
||||||
@@ -167,7 +167,7 @@ grafana:
|
|||||||
{{- if .Values.prometheus.grafana.persistence }}
|
{{- if .Values.prometheus.grafana.persistence }}
|
||||||
persistence:
|
persistence:
|
||||||
enabled: true
|
enabled: true
|
||||||
size: 10Gi
|
size: 20Gi
|
||||||
{{- end }}
|
{{- end }}
|
||||||
ingress:
|
ingress:
|
||||||
enabled: true
|
enabled: true
|
||||||
@@ -233,7 +233,7 @@ grafana:
|
|||||||
nodeGraph:
|
nodeGraph:
|
||||||
enabled: true
|
enabled: true
|
||||||
serviceMap:
|
serviceMap:
|
||||||
datasourceUid: 'Prometheus'
|
datasourceUid: 'prometheus'
|
||||||
tracesToLogs:
|
tracesToLogs:
|
||||||
datasourceUid: loki
|
datasourceUid: loki
|
||||||
filterByTraceID: false
|
filterByTraceID: false
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
path: /spec/template/spec/containers/0/envFrom/-
|
path: /spec/template/spec/containers/0/envFrom/-
|
||||||
value:
|
value:
|
||||||
secretRef:
|
secretRef:
|
||||||
name: prod-sorcerer-env
|
name: beta-sorcerer-env
|
||||||
- op: add
|
- op: add
|
||||||
path: /spec/template/spec/containers/0/envFrom/-
|
path: /spec/template/spec/containers/0/envFrom/-
|
||||||
value:
|
value:
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user