Compare commits
364 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
ae01e69fc2
|
|||
| 6dc57af5ae | |||
| 7d6cf3b86e | |||
| 31b62ef939 | |||
|
d2aa9e7588
|
|||
|
b5486042f7
|
|||
|
50f3bef3f1
|
|||
|
ac7fbf93b7
|
|||
| 4223f912e2 | |||
| e049ec06b7 | |||
| 7260a4af69 | |||
| 55571c6573 | |||
| 204e7149c3 | |||
| 8741e59de6 | |||
| eca8c357cd | |||
|
fe590bb37d
|
|||
| 56525c9c42 | |||
| 77fb7b505a | |||
| aa10e94d11 | |||
| a2de56a83a | |||
| 0900c376ec | |||
| e2a947f38a | |||
| 999d7f3355 | |||
|
207d6d996a
|
|||
|
85a9fb1d70
|
|||
|
5ccfb4aa89
|
|||
| 5ffddfb205 | |||
| d175998762 | |||
| 78792bab72 | |||
| ac157dd12d | |||
|
ab4e7b89fa
|
|||
|
bb254e30f3
|
|||
|
e3daeccdb4
|
|||
|
d72df1fd0d
|
|||
| b77cb601fe | |||
| 063f6f8b89 | |||
| 4b2eac93ef | |||
| 8c296de10a | |||
| f491cb7df7 | |||
| d92cb46c94 | |||
| 6a25649cb8 | |||
| 521335b270 | |||
| 442c7b663d | |||
| ee854ee384 | |||
| 1881027981 | |||
| d23e7fd4f6 | |||
| 08eaef297f | |||
| 826badf7dc | |||
| 0a29b5edf4 | |||
| ff8e632a2e | |||
| f8f97754a4 | |||
| 79ea3f74b7 | |||
| 78f17e17f7 | |||
| 9dff187e33 | |||
| cfc80f6f09 | |||
| 25922f2cf0 | |||
| cae367951d | |||
| a9a2743fab | |||
|
ed452a8ded
|
|||
| 3957f89c95 | |||
| 3674896345 | |||
| 9d7af56981 | |||
| faa6acaedc | |||
| 90b4d498f0 | |||
| 60901fe1fc | |||
| 4026bef580 | |||
| 37cc044120 | |||
| 4094bdf44d | |||
| 63441f83e0 | |||
| b1596c105f | |||
| db44f5fa23 | |||
| bc13d5989b | |||
| c243ade6d6 | |||
| 76e951bd49 | |||
| 3003bf16f3 | |||
| bb39438196 | |||
| 1542aa23e7 | |||
| 86920e937d | |||
|
aaf8f07a3a
|
|||
| 69e80fb6e6 | |||
| 15b11e6a6c | |||
| f7e4dba746 | |||
| b269a15b3d | |||
| 26d878c05c | |||
| fa62279633 | |||
| 27de3ab9a2 | |||
| 0662886f31 | |||
| d3779429dc | |||
| a651708569 | |||
|
af6c401dab
|
|||
| ee7fbf166f | |||
| af47ffe174 | |||
| fb3227b206 | |||
| 519710226d | |||
| e5ee05adc0 | |||
| 8d5302a374 | |||
| 4a6e5bf349 | |||
| ace26cca1c | |||
| 493d1f53ba | |||
|
fb42e27f96
|
|||
|
33714ec032
|
|||
|
e3b27f7a4b
|
|||
|
2fccd6e206
|
|||
| 592733ad80 | |||
| 04a972df7c | |||
| e25ce17369 | |||
| fa60c5a9bc | |||
| b11ab3e709 | |||
| 4efddc31ba | |||
| 1942a10110 | |||
| 7d62696fa1 | |||
| 9ea063f8d4 | |||
| 680147a59a | |||
| caef32f86f | |||
| 889efc450a | |||
|
e3f4cce683
|
|||
| 3d49aff36d | |||
| 456884fc3d | |||
|
9241901a1c
|
|||
| eccb80c3ec | |||
| 678d53d4fd | |||
| 8946a6bd77 | |||
| e8d6625085 | |||
| 5945146f3c | |||
| ff4def0d81 | |||
| 14d883cb4c | |||
| 2d880e7971 | |||
| e604dd8540 | |||
| c564aade25 | |||
| 31134652b6 | |||
|
9cf39763a0
|
|||
|
fd0274b698
|
|||
| c6141093a3 | |||
| a0d58b1d1e | |||
| d2b334dccf | |||
| 99a1bdd7e5 | |||
| 2de96339fb | |||
| 502d59791d | |||
| 3a73ad6cc2 | |||
| 62102698b0 | |||
| 8ff5239bdc | |||
| b9c6cc7519 | |||
| fd8be6d2c7 | |||
| 1aa2f66c54 | |||
|
9f9c5ff2c3
|
|||
| ec96465d17 | |||
| 91295a9ad8 | |||
|
0064e0c1da
|
|||
|
ea8c280154
|
|||
|
655fd3827f
|
|||
| bd85f43980 | |||
|
170813bf35
|
|||
| 4fff9667a2 | |||
|
46d62fc789
|
|||
| 780c756b79 | |||
| 6536ca8cae | |||
|
cab5108ff1
|
|||
|
0d26156c2c
|
|||
|
8461f6fa79
|
|||
|
d354da0f49
|
|||
| 0cdf358d69 | |||
| 2a395f603f | |||
| a464f33106 | |||
| 95b27f5e41 | |||
|
459231db7d
|
|||
|
70f1d7da01
|
|||
|
6a859f8c81
|
|||
|
f2475a2882
|
|||
| b904899ad8 | |||
| f3d11cb9cd | |||
| afb367efbc | |||
| ca5d6db326 | |||
|
62713f27dd
|
|||
| c6094b1968 | |||
| 6519b210b2 | |||
| a2685c721e | |||
| 3fbe57b3bc | |||
| 74e6e6a69c | |||
| 4ef32f2def | |||
|
67f73b5cb2
|
|||
|
1bb1dd09a3
|
|||
|
e36d36951c
|
|||
|
6488e9b5c3
|
|||
|
0ba1a9e5bb
|
|||
|
ad1bae4e8e
|
|||
| f14f604579 | |||
| 8bfa0e67c9 | |||
| 9234e68bf5 | |||
| 7366b7ffa7 | |||
| e3565f8ef0 | |||
| d0fbbb410b | |||
| 1260f8a71e | |||
| b3db48161c | |||
| 7b6534b20c | |||
| eb64e50ae6 | |||
| e99debc111 | |||
| edd3459453 | |||
| db222bbd08 | |||
| dc98abcf8a | |||
| a7b46b7076 | |||
| 51e9a85714 | |||
| 9a2d1b29c4 | |||
| 1bebc7ed70 | |||
| f6f42ff6e0 | |||
| 33ae1ca753 | |||
| 8cd381a69e | |||
|
1d43829e62
|
|||
|
ddcb24f9c9
|
|||
|
cd20a60538
|
|||
| 63e19b8e7e | |||
| 97b765d0fd | |||
| 45c764c505 | |||
| 8ef93878ab | |||
| b5039f8955 | |||
| 435ed38a20 | |||
| 7c33a65c08 | |||
| c714f7568f | |||
| bb1e0ce546 | |||
| 05e9235369 | |||
|
8f4d9d4639
|
|||
| 9dd5722ea0 | |||
| c3f84d8ea3 | |||
| 5fd82cd19d | |||
| 321dd9e939 | |||
| 21a6cfdfad | |||
| f1427d82c9 | |||
|
cc6551752c
|
|||
| 55cf4cbbcc | |||
| 53c1b07cac | |||
|
62542caa55
|
|||
| d1d5b51879 | |||
| cde0671238 | |||
| 91a6795bfc | |||
| 46d0dcb545 | |||
| a5da0f745a | |||
| 27f407d685 | |||
|
e3d70b6c7f
|
|||
| e88544abdb | |||
| 7961dc30db | |||
| fce0f71832 | |||
| 4207c28e45 | |||
| abaeae3603 | |||
| 6ee7490954 | |||
| 3cab8a1edf | |||
|
461f2a8f7d
|
|||
|
debd8fe561
|
|||
| 7352efcaa5 | |||
| c4a6539913 | |||
| 14ed79c528 | |||
| e3dcf6b0a8 | |||
| add314bbf1 | |||
| aab18c0a72 | |||
| d311fcc17c | |||
| 3f1ca12a8a | |||
| bde7b6068a | |||
| d317537799 | |||
| 8e5016284e | |||
| 9ecf89c8d0 | |||
|
9416ea5512
|
|||
|
b12deba899
|
|||
| 83e446568f | |||
| c222b4dd12 | |||
| c8ca2e7fca | |||
| 93484df20d | |||
| a15c24ed00 | |||
| db0918c40a | |||
| 64e37101be | |||
|
9de9a27845
|
|||
|
5e1d6109db
|
|||
|
a86dec26ae
|
|||
|
5ce6701aff
|
|||
|
0fc78f9f01
|
|||
|
53950f1397
|
|||
|
e9db733f06
|
|||
|
966c1bb92c
|
|||
|
b72fd6270d
|
|||
|
4e30fbd542
|
|||
|
6da4d37558
|
|||
|
4391a3d7cf
|
|||
|
e397903a6f
|
|||
|
a935926cf8
|
|||
|
0f595fc2dd
|
|||
|
fadb7ca5a6
|
|||
|
f47fa7d20d
|
|||
|
82c56c04ba
|
|||
|
4fc5b4f7e7
|
|||
|
1904f02d65
|
|||
|
72fd6c638f
|
|||
|
9433bd431e
|
|||
|
2bdaab1bd7
|
|||
|
7239c6118b
|
|||
|
0229238c0c
|
|||
|
74ea8d1d05
|
|||
|
01cbc0f588
|
|||
|
0b1d686b4a
|
|||
|
7b0fef382d
|
|||
|
6d2e053a0b
|
|||
|
e0682e740c
|
|||
|
a34a63089d
|
|||
|
cf94f5b9b7
|
|||
|
f1eb50fcd5
|
|||
|
0fea3410a2
|
|||
|
8d63ca97c3
|
|||
|
89c291dcd9
|
|||
|
deb3769f25
|
|||
|
ba5f392e92
|
|||
|
382f8a6de1
|
|||
|
d4adb6eb7c
|
|||
|
e527d32697
|
|||
|
124fafcaf7
|
|||
|
8efdf8d4c8
|
|||
|
c39c188020
|
|||
|
7e5836383c
|
|||
|
09d5ff9ab0
|
|||
|
36ed342f53
|
|||
|
3e811e03aa
|
|||
|
9233a5307e
|
|||
|
655679794a
|
|||
|
d802941faa
|
|||
|
c61617f276
|
|||
|
e1c78c3703
|
|||
|
c483dfc18b
|
|||
|
cb8b035fe0
|
|||
| 03d458be7e | |||
|
305ca06352
|
|||
| 9d1e04abf4 | |||
|
6f60b8c110
|
|||
|
e71f983a0b
|
|||
|
01b154ba8b
|
|||
|
7639eee45b
|
|||
| bb33b5ec60 | |||
| 67675d0146 | |||
| 1f1639aeaf | |||
| 80f5cba2e9 | |||
|
2f7218bc99
|
|||
|
ffbdde94f7
|
|||
|
d8883a4ec8
|
|||
| 562b21e4b2 | |||
| 7250ad80b2 | |||
|
30b3103cd3
|
|||
|
05f067e691
|
|||
|
dc93f45e32
|
|||
|
feefc87ea7
|
|||
|
513361728e
|
|||
|
166ba8ae58
|
|||
|
faabcea369
|
|||
|
8fc175b209
|
|||
|
9bd7adb057
|
|||
|
b41171d8d1
|
|||
|
8c14fb7034
|
|||
| fceba8ccea | |||
| bfb16288b9 | |||
| d90f43411f | |||
|
a30a5f28fb
|
|||
|
e4cb8b36df
|
|||
| ff956948bf | |||
| 18e3815e03 | |||
| 2dfca9bcbc | |||
|
5a013b42ba
|
|||
|
5cb695e096
|
|||
|
3b7582edd0
|
|||
|
49321a0fa0
|
|||
|
9b55685967
|
|||
|
d257651195
|
@@ -1,13 +1,16 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# the shebang is ignored, but nice for editors
|
# the shebang is ignored, but nice for editors
|
||||||
watch_file nix/sources.json
|
watch_file npins/sources.json
|
||||||
watch_file nix/checks.nix
|
|
||||||
|
|
||||||
# Load .env file if it exists
|
# Load .env file if it exists
|
||||||
dotenv_if_exists
|
dotenv_if_exists
|
||||||
|
|
||||||
# Set npins dir
|
|
||||||
export NPINS_DIRECTORY="nix"
|
|
||||||
|
|
||||||
# Activate development shell
|
# Activate development shell
|
||||||
use nix
|
if type lorri &>/dev/null; then
|
||||||
|
echo "direnv: using lorri from PATH ($(type -p lorri))"
|
||||||
|
eval "$(lorri direnv)"
|
||||||
|
else
|
||||||
|
# fall back to using direnv's builtin nix support
|
||||||
|
# to prevent bootstrapping problems.
|
||||||
|
use nix
|
||||||
|
fi
|
||||||
|
|||||||
@@ -1,54 +0,0 @@
|
|||||||
# yaml-language-server: $schema=https://gitlab.com/gitlab-org/gitlab/-/raw/master/app/assets/javascripts/editor/schema/ci.json
|
|
||||||
default:
|
|
||||||
tags:
|
|
||||||
- nix
|
|
||||||
|
|
||||||
include:
|
|
||||||
- project: oceanbox/gitlab-ci
|
|
||||||
ref: v4.5
|
|
||||||
file: template/Base.gitlab-ci.yml
|
|
||||||
# stages:
|
|
||||||
# - release
|
|
||||||
|
|
||||||
# image:
|
|
||||||
# name: alpine/helm:latest
|
|
||||||
# entrypoint: ["/bin/bash", "-c"]
|
|
||||||
|
|
||||||
# release:
|
|
||||||
# stage: release
|
|
||||||
# rules:
|
|
||||||
# - if: "$CI_COMMIT_BRANCH =~ /^main/"
|
|
||||||
# when: always
|
|
||||||
# - when: never
|
|
||||||
# script:
|
|
||||||
# - |
|
|
||||||
# cd $CI_PROJECT_DIR
|
|
||||||
# for i in $(git show --pretty="" --name-only | grep '^charts/.*/Chart.yaml' | cut -d/ -f2); do
|
|
||||||
# pack=$(helm package ./charts/$i | sed 's/Success.*: \(.*\)/\1/')
|
|
||||||
# if [ ! -z $pack ]; then
|
|
||||||
# chart=$(basename $pack)
|
|
||||||
# curl --request POST \
|
|
||||||
# --user gitlab-ci-token:$CI_JOB_TOKEN \
|
|
||||||
# --form "chart=@${chart}" \
|
|
||||||
# "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/helm/api/stable/charts"
|
|
||||||
# fi
|
|
||||||
# done
|
|
||||||
|
|
||||||
# rebuild:
|
|
||||||
# stage: release
|
|
||||||
# rules:
|
|
||||||
# - when: manual
|
|
||||||
# allow_failure: true
|
|
||||||
# script:
|
|
||||||
# - |
|
|
||||||
# cd $CI_PROJECT_DIR
|
|
||||||
# for i in $(find ./charts -maxdepth 2 -name Chart.yaml | cut -d/ -f3); do
|
|
||||||
# pack=$(helm package ./charts/$i | sed 's/Success.*: \(.*\)/\1/')
|
|
||||||
# if [ ! -z $pack ]; then
|
|
||||||
# chart=$(basename $pack)
|
|
||||||
# curl --request POST \
|
|
||||||
# --user gitlab-ci-token:$CI_JOB_TOKEN \
|
|
||||||
# --form "chart=@${chart}" \
|
|
||||||
# "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/helm/api/stable/charts"
|
|
||||||
# fi
|
|
||||||
# done
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM ghcr.io/helmfile/helmfile:v1.1.9
|
FROM ghcr.io/helmfile/helmfile:v1.3.1
|
||||||
|
|
||||||
RUN mkdir -p /home/argocd/cmp-server/config/
|
RUN mkdir -p /home/argocd/cmp-server/config/
|
||||||
COPY plugin.yaml /home/argocd/cmp-server/config/
|
COPY plugin.yaml /home/argocd/cmp-server/config/
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
img=registry.gitlab.com/oceanbox/manifests/helmfile-cmp
|
img=git.oceanbox.io/platform/manifests/helmfile-cmp
|
||||||
tag=${1:-latest}
|
tag=${1:-latest}
|
||||||
|
|
||||||
docker build -t "${img}":"${tag}" .
|
docker build -t "${img}":"${tag}" .
|
||||||
|
|||||||
@@ -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: v1.35.2
|
version: v1.46.5
|
||||||
# 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: v1.35.2
|
appVersion: v1.46.5
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: diagrid-dashboard
|
- name: diagrid-dashboard
|
||||||
version: "0.1.0"
|
version: "0.1.0"
|
||||||
|
|||||||
@@ -3,8 +3,8 @@
|
|||||||
# Declare variables to be passed into your templates.
|
# Declare variables to be passed into your templates.
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
image:
|
image:
|
||||||
repository: registry.gitlab.com/oceanbox/poseidon/atlantis
|
repository: git.oceanbox.io/oceanbox/poseidon/atlantis
|
||||||
tag: v1.35.2
|
tag: v1.46.5
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
init:
|
init:
|
||||||
enabled: false
|
enabled: false
|
||||||
@@ -116,6 +116,5 @@ serviceMonitor:
|
|||||||
nodeSelector: {}
|
nodeSelector: {}
|
||||||
tolerations: []
|
tolerations: []
|
||||||
affinity: {}
|
affinity: {}
|
||||||
|
|
||||||
diagrid-dashboard:
|
diagrid-dashboard:
|
||||||
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: v1.35.2
|
version: v1.46.5
|
||||||
# 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: "v1.35.2"
|
appVersion: "v1.46.5"
|
||||||
|
|||||||
@@ -6,11 +6,11 @@
|
|||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
# This sets the container image more information can be found here: https://kubernetes.io/docs/concepts/containers/images/
|
# This sets the container image more information can be found here: https://kubernetes.io/docs/concepts/containers/images/
|
||||||
image:
|
image:
|
||||||
repository: registry.gitlab.com/oceanbox/poseidon/codex
|
repository: git.oceanbox.io/oceanbox/poseidon/codex
|
||||||
# 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: v1.35.2
|
tag: v1.46.5
|
||||||
# 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
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ data:
|
|||||||
kind: Component
|
kind: Component
|
||||||
metadata:
|
metadata:
|
||||||
name: statestore
|
name: statestore
|
||||||
|
namespace: {{ .Values.statestore.namespace | default "default" }}
|
||||||
scopes:
|
scopes:
|
||||||
- {{ .Values.statestore.scope }}
|
- {{ .Values.statestore.scope }}
|
||||||
spec:
|
spec:
|
||||||
@@ -17,10 +18,10 @@ data:
|
|||||||
- name: redisUsername
|
- name: redisUsername
|
||||||
value: default
|
value: default
|
||||||
- name: redisPassword
|
- name: redisPassword
|
||||||
value: secret
|
value: {{ .Values.statestore.password | default "secret" }}
|
||||||
- name: actorStateStore
|
- name: actorStateStore
|
||||||
value: "true"
|
value: "true"
|
||||||
- name: redisDB
|
- name: redisDB
|
||||||
value: "1"
|
value: "{{ .Values.statestore.redisDB | default "0" }}"
|
||||||
type: state.redis
|
type: state.redis
|
||||||
version: v1
|
version: v1
|
||||||
|
|||||||
@@ -5,6 +5,9 @@
|
|||||||
statestore:
|
statestore:
|
||||||
scope: my-scope
|
scope: my-scope
|
||||||
redis: my-redis
|
redis: my-redis
|
||||||
|
namespace: default
|
||||||
|
password: secret
|
||||||
|
redisDB: "0"
|
||||||
|
|
||||||
# This will set the replicaset count more information can be found here: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/
|
# This will set the replicaset count more information can be found here: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
|||||||
+2
-2
@@ -42,11 +42,11 @@ spec:
|
|||||||
value: "3"
|
value: "3"
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /
|
path: /healthz
|
||||||
port: http
|
port: http
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /
|
path: /healthz
|
||||||
port: http
|
port: http
|
||||||
resources:
|
resources:
|
||||||
{{- toYaml .Values.resources | nindent 12 }}
|
{{- toYaml .Values.resources | nindent 12 }}
|
||||||
|
|||||||
Vendored
+46
@@ -0,0 +1,46 @@
|
|||||||
|
{{- if .Values.httpRoute.enabled -}}
|
||||||
|
{{- $fullName := include "docs.fullname" . -}}
|
||||||
|
{{- $svcPort := .Values.service.port -}}
|
||||||
|
apiVersion: gateway.networking.k8s.io/v1
|
||||||
|
kind: HTTPRoute
|
||||||
|
metadata:
|
||||||
|
name: {{ $fullName }}
|
||||||
|
labels:
|
||||||
|
{{- include "docs.labels" . | nindent 4 }}
|
||||||
|
spec:
|
||||||
|
parentRefs:
|
||||||
|
{{- toYaml .Values.httpRoute.parentRefs | nindent 4 }}
|
||||||
|
{{- with .Values.httpRoute.hostnames }}
|
||||||
|
hostnames:
|
||||||
|
{{- toYaml . | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
|
rules:
|
||||||
|
{{- range .Values.httpRoute.rules }}
|
||||||
|
- {{- with .matches }}
|
||||||
|
matches:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
backendRefs:
|
||||||
|
- name: {{ $fullName }}
|
||||||
|
port: {{ $svcPort }}
|
||||||
|
{{- end }}
|
||||||
|
---
|
||||||
|
apiVersion: cilium.io/v2
|
||||||
|
kind: CiliumNetworkPolicy
|
||||||
|
metadata:
|
||||||
|
name: allow-gateway-to-{{ $fullName }}
|
||||||
|
labels:
|
||||||
|
{{- include "docs.labels" . | nindent 4 }}
|
||||||
|
spec:
|
||||||
|
endpointSelector:
|
||||||
|
matchLabels:
|
||||||
|
{{- include "docs.selectorLabels" . | nindent 6 }}
|
||||||
|
ingress:
|
||||||
|
- fromCIDRSet:
|
||||||
|
{{- range .Values.clusterConfig.ingress_whitelist }}
|
||||||
|
- cidr: {{ . }}
|
||||||
|
{{- end }}
|
||||||
|
- fromEndpoints:
|
||||||
|
- matchLabels:
|
||||||
|
"k8s:io.kubernetes.pod.namespace": {{ .Release.Namespace }}
|
||||||
|
{{- end }}
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
# Declare variables to be passed into your templates.
|
# Declare variables to be passed into your templates.
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
image:
|
image:
|
||||||
repository: registry.gitlab.com/oceanbox/documentation
|
repository: git.oceanbox.io/oceanbox/documentation/docs
|
||||||
tag: v0.1.0
|
tag: v0.1.0
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
init:
|
init:
|
||||||
@@ -21,8 +21,8 @@ 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:
|
||||||
@@ -46,8 +46,13 @@ service:
|
|||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
port: 8080
|
port: 8080
|
||||||
ingress:
|
ingress:
|
||||||
enabled: true
|
enabled: false
|
||||||
className: nginx
|
className: nginx
|
||||||
|
httpRoute:
|
||||||
|
enabled: false
|
||||||
|
parentRefs: []
|
||||||
|
hostnames: []
|
||||||
|
rules: []
|
||||||
persistence:
|
persistence:
|
||||||
enabled: false
|
enabled: false
|
||||||
size: 1G
|
size: 1G
|
||||||
|
|||||||
@@ -0,0 +1,46 @@
|
|||||||
|
{{- if .Values.httpRoute.enabled -}}
|
||||||
|
{{- $fullName := include "makai.fullname" . -}}
|
||||||
|
{{- $svcPort := .Values.service.port -}}
|
||||||
|
apiVersion: gateway.networking.k8s.io/v1
|
||||||
|
kind: HTTPRoute
|
||||||
|
metadata:
|
||||||
|
name: {{ $fullName }}
|
||||||
|
labels:
|
||||||
|
{{- include "makai.labels" . | nindent 4 }}
|
||||||
|
spec:
|
||||||
|
parentRefs:
|
||||||
|
{{- toYaml .Values.httpRoute.parentRefs | nindent 4 }}
|
||||||
|
{{- with .Values.httpRoute.hostnames }}
|
||||||
|
hostnames:
|
||||||
|
{{- toYaml . | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
|
rules:
|
||||||
|
{{- range .Values.httpRoute.rules }}
|
||||||
|
- {{- with .matches }}
|
||||||
|
matches:
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
backendRefs:
|
||||||
|
- name: {{ $fullName }}
|
||||||
|
port: {{ $svcPort }}
|
||||||
|
{{- end }}
|
||||||
|
---
|
||||||
|
apiVersion: cilium.io/v2
|
||||||
|
kind: CiliumNetworkPolicy
|
||||||
|
metadata:
|
||||||
|
name: allow-gateway-to-{{ $fullName }}
|
||||||
|
labels:
|
||||||
|
{{- include "makai.labels" . | nindent 4 }}
|
||||||
|
spec:
|
||||||
|
endpointSelector:
|
||||||
|
matchLabels:
|
||||||
|
{{- include "makai.selectorLabels" . | nindent 6 }}
|
||||||
|
ingress:
|
||||||
|
- fromCIDRSet:
|
||||||
|
{{- range .Values.clusterConfig.ingress_whitelist }}
|
||||||
|
- cidr: {{ . }}
|
||||||
|
{{- end }}
|
||||||
|
- fromEndpoints:
|
||||||
|
- matchLabels:
|
||||||
|
"k8s:io.kubernetes.pod.namespace": {{ .Release.Namespace }}
|
||||||
|
{{- end }}
|
||||||
@@ -46,8 +46,13 @@ service:
|
|||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
port: 8080
|
port: 8080
|
||||||
ingress:
|
ingress:
|
||||||
enabled: true
|
enabled: false
|
||||||
className: nginx
|
className: nginx
|
||||||
|
httpRoute:
|
||||||
|
enabled: false
|
||||||
|
parentRefs: []
|
||||||
|
hostnames: []
|
||||||
|
rules: []
|
||||||
persistence:
|
persistence:
|
||||||
enabled: false
|
enabled: false
|
||||||
size: 1G
|
size: 1G
|
||||||
|
|||||||
@@ -4,7 +4,12 @@ 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: v1.6.7
|
version: v1.6.13
|
||||||
# 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: v1.6.7
|
appVersion: v1.6.13
|
||||||
|
dependencies:
|
||||||
|
- name: diagrid-dashboard
|
||||||
|
version: "0.1.0"
|
||||||
|
repository: "file://../diagrid-dashboard"
|
||||||
|
condition: diagrid-dashboard.enabled
|
||||||
|
|||||||
@@ -3,8 +3,8 @@
|
|||||||
# Declare variables to be passed into your templates.
|
# Declare variables to be passed into your templates.
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
image:
|
image:
|
||||||
repository: registry.gitlab.com/oceanbox/plume
|
repository: git.oceanbox.io/oceanbox/plume/plume
|
||||||
tag: v1.6.7
|
tag: v1.6.13
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
init:
|
init:
|
||||||
enabled: false
|
enabled: false
|
||||||
@@ -90,3 +90,6 @@ serviceMonitor:
|
|||||||
nodeSelector: {}
|
nodeSelector: {}
|
||||||
tolerations: []
|
tolerations: []
|
||||||
affinity: {}
|
affinity: {}
|
||||||
|
|
||||||
|
diagrid-dashboard:
|
||||||
|
enabled: false
|
||||||
|
|||||||
@@ -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: v1.35.2
|
version: v1.46.5
|
||||||
# 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: v1.35.2
|
appVersion: v1.46.5
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: diagrid-dashboard
|
- name: diagrid-dashboard
|
||||||
version: "0.1.0"
|
version: "0.1.0"
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
|
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
image:
|
image:
|
||||||
repository: registry.gitlab.com/oceanbox/poseidon/sorcerer
|
repository: git.oceanbox.io/oceanbox/poseidon/sorcerer
|
||||||
tag: v1.35.2
|
tag: v1.46.5
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
init:
|
init:
|
||||||
enabled: false
|
enabled: false
|
||||||
@@ -108,7 +108,6 @@ serviceMonitor:
|
|||||||
nodeSelector: {}
|
nodeSelector: {}
|
||||||
tolerations: []
|
tolerations: []
|
||||||
affinity: {}
|
affinity: {}
|
||||||
|
|
||||||
diagrid-dashboard:
|
diagrid-dashboard:
|
||||||
enabled: false
|
enabled: false
|
||||||
statestore:
|
statestore:
|
||||||
|
|||||||
@@ -20,4 +20,11 @@ environments:
|
|||||||
- ../values/*/env.yaml.gotmpl
|
- ../values/*/env.yaml.gotmpl
|
||||||
- ../values/*/env-{{ requiredEnv "ARGOCD_ENV_CLUSTER_NAME" }}.yaml.gotmpl
|
- ../values/*/env-{{ requiredEnv "ARGOCD_ENV_CLUSTER_NAME" }}.yaml.gotmpl
|
||||||
missingFileHandler: Info
|
missingFileHandler: Info
|
||||||
|
beta:
|
||||||
|
values:
|
||||||
|
- ../values/env.yaml
|
||||||
|
- ../values/env-{{ requiredEnv "ARGOCD_ENV_CLUSTER_NAME" }}.yaml
|
||||||
|
- ../values/*/env.yaml.gotmpl
|
||||||
|
- ../values/*/env-{{ requiredEnv "ARGOCD_ENV_CLUSTER_NAME" }}.yaml.gotmpl
|
||||||
|
missingFileHandler: Info
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ releases:
|
|||||||
- name: argocd
|
- name: argocd
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
chart: argo/argo-cd
|
chart: argo/argo-cd
|
||||||
version: 7.9.1
|
version: 9.4.10
|
||||||
condition: argo.enabled
|
condition: argo.enabled
|
||||||
values:
|
values:
|
||||||
- ../values/argo/values/argocd.yaml.gotmpl
|
- ../values/argo/values/argocd.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.5
|
version: 2.40.6
|
||||||
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: 0.45.27
|
version: 0.47.5
|
||||||
condition: argo.workflows.enabled
|
condition: argo.workflows.enabled
|
||||||
missingFileHandler: Info
|
missingFileHandler: Info
|
||||||
- name: manifests
|
- name: manifests
|
||||||
@@ -66,4 +66,3 @@ releases:
|
|||||||
- '{{`{{ .Environment.Name }}`}}'
|
- '{{`{{ .Environment.Name }}`}}'
|
||||||
- ../values/argo/manifests
|
- ../values/argo/manifests
|
||||||
- _argo
|
- _argo
|
||||||
|
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ releases:
|
|||||||
- name: cert-manager
|
- name: cert-manager
|
||||||
namespace: cert-manager
|
namespace: cert-manager
|
||||||
chart: cert-manager/cert-manager
|
chart: cert-manager/cert-manager
|
||||||
version: v1.19.2
|
version: v1.19.4
|
||||||
condition: cert_manager.enabled
|
condition: cert_manager.enabled
|
||||||
values:
|
values:
|
||||||
- ../values/cert-manager/values/cert-manager.yaml.gotmpl
|
- ../values/cert-manager/values/cert-manager.yaml.gotmpl
|
||||||
|
|||||||
@@ -3,7 +3,8 @@ bases:
|
|||||||
|
|
||||||
repositories:
|
repositories:
|
||||||
- name: cilium
|
- name: cilium
|
||||||
url: 'https://helm.cilium.io'
|
oci: true
|
||||||
|
url: 'quay.io/cilium/charts'
|
||||||
|
|
||||||
commonLabels:
|
commonLabels:
|
||||||
tier: system
|
tier: system
|
||||||
@@ -15,11 +16,11 @@ releases:
|
|||||||
- name: cilium
|
- name: cilium
|
||||||
namespace: kube-system
|
namespace: kube-system
|
||||||
chart: cilium/cilium
|
chart: cilium/cilium
|
||||||
version: 1.16.2
|
version: {{ if eq (requiredEnv "ARGOCD_ENV_CLUSTER_NAME") "hel1" }}1.19.1{{ else if eq (requiredEnv "ARGOCD_ENV_CLUSTER_NAME") "ekman" }}1.19.1{{ else }}1.16.19{{ end }}
|
||||||
condition: cilium.enabled
|
condition: cilium.enabled
|
||||||
values:
|
values:
|
||||||
- ../values/cilium/values/cilium.yaml.gotmpl
|
- ../values/cilium/values/cilium.yaml.gotmpl
|
||||||
- ../values/cilium/values/cilium-{{ .Environment.Name }}.yaml.gotmpl
|
- ../values/cilium/values/cilium-{{ requiredEnv "ARGOCD_ENV_CLUSTER_NAME" }}.yaml.gotmpl
|
||||||
missingFileHandler: Info
|
missingFileHandler: Info
|
||||||
- name: manifests
|
- name: manifests
|
||||||
namespace: cilium
|
namespace: cilium
|
||||||
@@ -55,4 +56,3 @@ releases:
|
|||||||
- '{{`{{ .Environment.Name }}`}}'
|
- '{{`{{ .Environment.Name }}`}}'
|
||||||
- ../values/cilium/cilium-manifests
|
- ../values/cilium/cilium-manifests
|
||||||
- manifests
|
- manifests
|
||||||
|
|
||||||
|
|||||||
@@ -6,18 +6,19 @@ commonLabels:
|
|||||||
|
|
||||||
releases:
|
releases:
|
||||||
- name: docs
|
- name: docs
|
||||||
namespace: {{ .Environment.Name }}-docs
|
namespace: docs
|
||||||
chart: ../charts/docs
|
chart: ../charts/docs
|
||||||
condition: docs.enabled
|
condition: docs.enabled
|
||||||
values:
|
values:
|
||||||
- ../values/docs/values/values.yaml
|
- ../values/docs/values/values.yaml
|
||||||
|
- ../values/docs/values/values.yaml.gotmpl
|
||||||
- ../values/docs/values/values-{{ .Environment.Name }}.yaml
|
- ../values/docs/values/values-{{ .Environment.Name }}.yaml
|
||||||
postRenderer: ../bin/kustomizer
|
postRenderer: ../bin/kustomizer
|
||||||
postRendererArgs:
|
postRendererArgs:
|
||||||
- ../values/docs/kustomize/{{ .Environment.Name }}
|
- ../values/docs/kustomize/{{ .Environment.Name }}
|
||||||
missingFileHandler: Info
|
missingFileHandler: Info
|
||||||
- name: manifests
|
- name: manifests
|
||||||
namespace: {{ .Environment.Name }}-docs
|
namespace: docs
|
||||||
chart: manifests
|
chart: manifests
|
||||||
condition: docs.enabled
|
condition: docs.enabled
|
||||||
missingFileHandler: Info
|
missingFileHandler: Info
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ releases:
|
|||||||
- name: dragonfly
|
- name: dragonfly
|
||||||
namespace: dragonfly
|
namespace: dragonfly
|
||||||
chart: dragonfly/dragonfly-operator
|
chart: dragonfly/dragonfly-operator
|
||||||
version: v1.3.1
|
version: v1.4.0
|
||||||
condition: dragonfly.enabled
|
condition: dragonfly.enabled
|
||||||
values:
|
values:
|
||||||
- ../values/dragonfly/values/dragonfly.yaml.gotmpl
|
- ../values/dragonfly/values/dragonfly.yaml.gotmpl
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ releases:
|
|||||||
- name: gatus
|
- name: gatus
|
||||||
namespace: uptime
|
namespace: uptime
|
||||||
chart: gatus/gatus
|
chart: gatus/gatus
|
||||||
version: 1.4.5
|
version: 1.5.0
|
||||||
condition: gatus.enabled
|
condition: gatus.enabled
|
||||||
values:
|
values:
|
||||||
- ../values/gatus/values/values.yaml
|
- ../values/gatus/values/values.yaml
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ releases:
|
|||||||
condition: gitea.enabled
|
condition: gitea.enabled
|
||||||
values:
|
values:
|
||||||
- ../values/gitea/values/values.yaml
|
- ../values/gitea/values/values.yaml
|
||||||
|
- ../values/gitea/values/values.yaml.gotmpl
|
||||||
- ../values/gitea/values/values-{{ .Environment.Name }}.yaml
|
- ../values/gitea/values/values-{{ .Environment.Name }}.yaml
|
||||||
postRenderer: ../bin/kustomizer
|
postRenderer: ../bin/kustomizer
|
||||||
postRendererArgs:
|
postRendererArgs:
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ releases:
|
|||||||
- name: ingress-nginx
|
- name: ingress-nginx
|
||||||
namespace: ingress-nginx
|
namespace: ingress-nginx
|
||||||
chart: ingress-nginx/ingress-nginx
|
chart: ingress-nginx/ingress-nginx
|
||||||
version: 4.14.1
|
version: 4.14.3
|
||||||
condition: nginx.enabled
|
condition: nginx.enabled
|
||||||
values:
|
values:
|
||||||
- ../values/ingress-nginx/values/ingress-nginx.yaml.gotmpl
|
- ../values/ingress-nginx/values/ingress-nginx.yaml.gotmpl
|
||||||
|
|||||||
@@ -0,0 +1,41 @@
|
|||||||
|
bases:
|
||||||
|
- ../envs/environments.yaml.gotmpl
|
||||||
|
|
||||||
|
repositories:
|
||||||
|
- name: jobset
|
||||||
|
oci: true
|
||||||
|
url: registry.k8s.io/jobset/charts
|
||||||
|
|
||||||
|
releases:
|
||||||
|
- name: jobset
|
||||||
|
namespace: jobset-system
|
||||||
|
chart: jobset/jobset
|
||||||
|
version: 0.11.1
|
||||||
|
condition: jobset.enabled
|
||||||
|
values:
|
||||||
|
- ../values/jobset/values/jobset.yaml.gotmpl
|
||||||
|
- ../values/jobset/values/jobset-{{ .Environment.Name }}.yaml.gotmpl
|
||||||
|
postRenderer: ../bin/kustomizer
|
||||||
|
postRendererArgs:
|
||||||
|
- ../values/jobset/kustomize/{{ .Environment.Name }}
|
||||||
|
missingFileHandler: Info
|
||||||
|
- name: manifests
|
||||||
|
namespace: jobset-system
|
||||||
|
chart: manifests
|
||||||
|
condition: jobset.enabled
|
||||||
|
missingFileHandler: Info
|
||||||
|
values:
|
||||||
|
- ../values/env.yaml
|
||||||
|
- ../values/env-{{ requiredEnv "ARGOCD_ENV_CLUSTER_NAME" }}.yaml
|
||||||
|
- ../values/jobset/env.yaml.gotmpl
|
||||||
|
- ../values/jobset/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/jobset/manifests
|
||||||
|
- manifests
|
||||||
@@ -12,7 +12,7 @@ releases:
|
|||||||
- name: {{ .Environment.Name }}-keycloak
|
- name: {{ .Environment.Name }}-keycloak
|
||||||
namespace: keycloak
|
namespace: keycloak
|
||||||
chart: bitnami/keycloak
|
chart: bitnami/keycloak
|
||||||
version: 24.0.2
|
version: 24.9.0
|
||||||
condition: keycloak.enabled
|
condition: keycloak.enabled
|
||||||
values:
|
values:
|
||||||
- ../values/keycloak/values/values.yaml
|
- ../values/keycloak/values/values.yaml
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ releases:
|
|||||||
- name: kyverno
|
- name: kyverno
|
||||||
namespace: kyverno
|
namespace: kyverno
|
||||||
chart: kyverno/kyverno
|
chart: kyverno/kyverno
|
||||||
version: 3.6.1
|
version: 3.7.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.42.0
|
version: 6.53.0
|
||||||
condition: loki.enabled
|
condition: loki.enabled
|
||||||
values:
|
values:
|
||||||
- ../values/loki/values/loki.yaml.gotmpl
|
- ../values/loki/values/loki.yaml.gotmpl
|
||||||
|
|||||||
@@ -6,18 +6,19 @@ commonLabels:
|
|||||||
|
|
||||||
releases:
|
releases:
|
||||||
- name: makai
|
- name: makai
|
||||||
namespace: {{ .Environment.Name }}-makai
|
namespace: makai
|
||||||
chart: ../charts/makai
|
chart: ../charts/makai
|
||||||
condition: makai.enabled
|
condition: makai.enabled
|
||||||
values:
|
values:
|
||||||
- ../values/makai/values/values.yaml
|
- ../values/makai/values/values.yaml
|
||||||
|
- ../values/makai/values/values.yaml.gotmpl
|
||||||
- ../values/makai/values/values-{{ .Environment.Name }}.yaml
|
- ../values/makai/values/values-{{ .Environment.Name }}.yaml
|
||||||
postRenderer: ../bin/kustomizer
|
postRenderer: ../bin/kustomizer
|
||||||
postRendererArgs:
|
postRendererArgs:
|
||||||
- ../values/makai/kustomize/{{ .Environment.Name }}
|
- ../values/makai/kustomize/{{ .Environment.Name }}
|
||||||
missingFileHandler: Info
|
missingFileHandler: Info
|
||||||
- name: manifests
|
- name: manifests
|
||||||
namespace: {{ .Environment.Name }}-makai
|
namespace: makai
|
||||||
chart: manifests
|
chart: manifests
|
||||||
condition: makai.enabled
|
condition: makai.enabled
|
||||||
missingFileHandler: Info
|
missingFileHandler: Info
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ releases:
|
|||||||
- name: mariadb-operator
|
- name: mariadb-operator
|
||||||
namespace: mariadb-operator
|
namespace: mariadb-operator
|
||||||
chart: mariadb-operator/mariadb-operator
|
chart: mariadb-operator/mariadb-operator
|
||||||
version: 25.10.3
|
version: 25.10.4
|
||||||
condition: mariadb_operator.enabled
|
condition: mariadb_operator.enabled
|
||||||
values:
|
values:
|
||||||
- ../values/mariadb-operator/values/mariadb-operator.yaml.gotmpl
|
- ../values/mariadb-operator/values/mariadb-operator.yaml.gotmpl
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ releases:
|
|||||||
namespace: {{ .Environment.Name }}-openfga
|
namespace: {{ .Environment.Name }}-openfga
|
||||||
{{- end }}
|
{{- end }}
|
||||||
chart: openfga/openfga
|
chart: openfga/openfga
|
||||||
version: 0.2.50
|
version: 0.2.55
|
||||||
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.142.1
|
version: 0.146.1
|
||||||
condition: otel.enabled
|
condition: otel.enabled
|
||||||
values:
|
values:
|
||||||
- ../values/opentelemetry-collector/values/values.yaml
|
- ../values/opentelemetry-collector/values/values.yaml
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ releases:
|
|||||||
- name: plugin-barman-cloud
|
- name: plugin-barman-cloud
|
||||||
namespace: cnpg
|
namespace: cnpg
|
||||||
chart: cloudnative-pg/plugin-barman-cloud
|
chart: cloudnative-pg/plugin-barman-cloud
|
||||||
version: 0.3.1
|
version: 0.5.0
|
||||||
condition: postgres_operator.enabled
|
condition: postgres_operator.enabled
|
||||||
values:
|
values:
|
||||||
- ../values/postgres-operator/values/plugin-barman-cloud.yaml.gotmpl
|
- ../values/postgres-operator/values/plugin-barman-cloud.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: 72.7.0
|
version: 82.10.1
|
||||||
condition: prometheus.enabled
|
condition: prometheus.enabled
|
||||||
values:
|
values:
|
||||||
- ../values/prometheus/values/prometheus.yaml.gotmpl
|
- ../values/prometheus/values/prometheus.yaml.gotmpl
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ releases:
|
|||||||
- name: slurm-operator
|
- name: slurm-operator
|
||||||
namespace: slinky
|
namespace: slinky
|
||||||
chart: slurm-operator/slurm-operator
|
chart: slurm-operator/slurm-operator
|
||||||
version: 0.4.1
|
version: 1.0.2
|
||||||
condition: slurm_operator.enabled
|
condition: slurm_operator.enabled
|
||||||
values:
|
values:
|
||||||
- ../values/slurm-operator/values/slurm-operator.yaml.gotmpl
|
- ../values/slurm-operator/values/slurm-operator.yaml.gotmpl
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ releases:
|
|||||||
- name: slurm
|
- name: slurm
|
||||||
namespace: slurm
|
namespace: slurm
|
||||||
chart: slurm/slurm
|
chart: slurm/slurm
|
||||||
version: 0.4.1
|
version: 1.0.2
|
||||||
condition: slurm.enabled
|
condition: slurm.enabled
|
||||||
values:
|
values:
|
||||||
- ../values/slurm/values/slurm.yaml.gotmpl
|
- ../values/slurm/values/slurm.yaml.gotmpl
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ releases:
|
|||||||
- name: umami
|
- name: umami
|
||||||
namespace: analytics
|
namespace: analytics
|
||||||
chart: umami/umami
|
chart: umami/umami
|
||||||
version: 6.0.1
|
version: 7.7.2
|
||||||
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: 11.3.2
|
version: 11.4.0
|
||||||
condition: velero.enabled
|
condition: velero.enabled
|
||||||
values:
|
values:
|
||||||
- ../values/velero/values/velero.yaml.gotmpl
|
- ../values/velero/values/velero.yaml.gotmpl
|
||||||
|
|||||||
@@ -0,0 +1,71 @@
|
|||||||
|
{
|
||||||
|
sources ? import ../npins,
|
||||||
|
pkgs ? import sources.nixpkgs { },
|
||||||
|
treefmt ? import sources.treefmt-nix,
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
globalExcludes = [
|
||||||
|
"npins/default.nix"
|
||||||
|
"attic"
|
||||||
|
"vcluster"
|
||||||
|
".*vendor"
|
||||||
|
".*chart/.*"
|
||||||
|
".*schema.json"
|
||||||
|
];
|
||||||
|
in
|
||||||
|
treefmt.evalModule pkgs {
|
||||||
|
projectRootFile = ".git/config";
|
||||||
|
|
||||||
|
settings = {
|
||||||
|
excludes = globalExcludes;
|
||||||
|
};
|
||||||
|
|
||||||
|
programs = {
|
||||||
|
|
||||||
|
# --- Nix formatting ---
|
||||||
|
nixfmt = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.nixfmt-rfc-style;
|
||||||
|
};
|
||||||
|
statix.enable = true;
|
||||||
|
deadnix.enable = true;
|
||||||
|
|
||||||
|
# --- Shell ---
|
||||||
|
shellcheck = {
|
||||||
|
enable = true;
|
||||||
|
excludes = [
|
||||||
|
"vcluster/"
|
||||||
|
"attic/"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
shfmt.enable = true;
|
||||||
|
|
||||||
|
# --- YAML ---
|
||||||
|
yamllint = {
|
||||||
|
enable = true;
|
||||||
|
excludes = [
|
||||||
|
"attic/"
|
||||||
|
"charts/templates/"
|
||||||
|
"charts/"
|
||||||
|
"values/"
|
||||||
|
"vcluster/"
|
||||||
|
];
|
||||||
|
settings = {
|
||||||
|
extends = "default";
|
||||||
|
rules = {
|
||||||
|
document-start = "disable";
|
||||||
|
line-length = {
|
||||||
|
max = 300;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
# --- JSON ---
|
||||||
|
jsonfmt.enable = true;
|
||||||
|
|
||||||
|
# Optional: keep JSON sorted
|
||||||
|
# prettier.enable = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -18,6 +18,19 @@
|
|||||||
"name": "nixpkgs-unstable",
|
"name": "nixpkgs-unstable",
|
||||||
"url": "https://releases.nixos.org/nixpkgs/nixpkgs-26.05pre930822.ed142ab1b3a0/nixexprs.tar.xz",
|
"url": "https://releases.nixos.org/nixpkgs/nixpkgs-26.05pre930822.ed142ab1b3a0/nixexprs.tar.xz",
|
||||||
"hash": "sha256-XH6awru9NnBc/m+2YhRNT8r1PAKEiPGF3gs//F3ods0="
|
"hash": "sha256-XH6awru9NnBc/m+2YhRNT8r1PAKEiPGF3gs//F3ods0="
|
||||||
|
},
|
||||||
|
"treefmt-nix": {
|
||||||
|
"type": "Git",
|
||||||
|
"repository": {
|
||||||
|
"type": "GitHub",
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "treefmt-nix"
|
||||||
|
},
|
||||||
|
"branch": "main",
|
||||||
|
"submodules": false,
|
||||||
|
"revision": "337a4fe074be1042a35086f15481d763b8ddc0e7",
|
||||||
|
"url": "https://github.com/numtide/treefmt-nix/archive/337a4fe074be1042a35086f15481d763b8ddc0e7.tar.gz",
|
||||||
|
"hash": "sha256-wQ6NJSuFqAEmIg2VMnLdCnUc0b7vslUohqqGGD+Fyxk="
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"version": 7
|
"version": 7
|
||||||
@@ -1,67 +1,53 @@
|
|||||||
let
|
let
|
||||||
sources = import ./nix;
|
sources = import ./npins;
|
||||||
system = builtins.currentSystem;
|
system = builtins.currentSystem;
|
||||||
pkgs = import sources.nixpkgs {
|
pkgs = import sources.nixpkgs {
|
||||||
inherit system;
|
inherit system;
|
||||||
config = { };
|
config = { };
|
||||||
overlays = [ ];
|
overlays = [ ];
|
||||||
};
|
};
|
||||||
checks = import ./nix/checks.nix;
|
treefmt = import ./nix/treefmt.nix { };
|
||||||
in
|
in
|
||||||
pkgs.mkShellNoCC {
|
pkgs.mkShellNoCC {
|
||||||
name = "clstr";
|
packages = [
|
||||||
|
# dev tools
|
||||||
|
pkgs.just
|
||||||
|
pkgs.npins
|
||||||
|
treefmt.config.build.wrapper
|
||||||
|
|
||||||
packages =
|
# helm
|
||||||
with pkgs;
|
pkgs.helmfile
|
||||||
[
|
pkgs.kubernetes-helm
|
||||||
# dev tools
|
|
||||||
just
|
|
||||||
npins
|
|
||||||
|
|
||||||
# helm
|
# kubectl tools
|
||||||
helmfile
|
pkgs.kubectl-cnpg
|
||||||
kubernetes-helm
|
pkgs.kubectl-neat
|
||||||
|
pkgs.kubectl-graph
|
||||||
|
pkgs.kubectl-klock
|
||||||
|
pkgs.kubectl-rook-ceph
|
||||||
|
|
||||||
# kubectl tools
|
# other tools activate when needed
|
||||||
kubectl-cnpg
|
# pkgs.step-cli
|
||||||
kubectl-neat
|
# pkgs.linkerd
|
||||||
kubelogin
|
# pkgs.cmctl
|
||||||
kubelogin-oidc
|
# pkgs.rclone
|
||||||
kubectl-rook-ceph
|
# pkgs.velero
|
||||||
kubectl-graph
|
# pkgs.renovate
|
||||||
kubectl-klock
|
# pkgs.graphviz
|
||||||
graphviz
|
# pkgs.hubble
|
||||||
|
# pkgs.dapr-cli
|
||||||
# other tools activate when needed
|
];
|
||||||
# step-cli
|
|
||||||
# linkerd
|
|
||||||
# cmctl
|
|
||||||
# rclone
|
|
||||||
# velero
|
|
||||||
renovate
|
|
||||||
|
|
||||||
# dapr
|
|
||||||
dapr-cli
|
|
||||||
]
|
|
||||||
++ checks.enabledPackages;
|
|
||||||
|
|
||||||
# Environment variables
|
# Environment variables
|
||||||
ARGOCD_ENV_CLUSTER_NAME = "ekman";
|
ARGOCD_ENV_CLUSTER_NAME = "ekman";
|
||||||
HELM_GIT_ACCESS_TOKEN = "glpat-xxx";
|
HELM_GIT_ACCESS_TOKEN = "glpat-xxx";
|
||||||
|
|
||||||
shellHook = builtins.concatStringsSep "\n" [
|
|
||||||
checks.shellHook
|
|
||||||
];
|
|
||||||
|
|
||||||
# Alternative shells
|
# Alternative shells
|
||||||
passthru = pkgs.lib.mapAttrs (name: value: pkgs.mkShellNoCC (value // { inherit name; })) {
|
passthru = pkgs.lib.mapAttrs (name: value: pkgs.mkShellNoCC (value // { inherit name; })) {
|
||||||
ci-shell = {
|
ci-shell = {
|
||||||
packages = [
|
packages = [
|
||||||
pkgs.npins
|
pkgs.npins
|
||||||
];
|
];
|
||||||
shellHook = ''
|
|
||||||
export NPINS_DIRECTORY="nix"
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -24,11 +24,7 @@ argocd:
|
|||||||
cpu: 250m
|
cpu: 250m
|
||||||
repoServers:
|
repoServers:
|
||||||
- name: "helmfile-cmp"
|
- name: "helmfile-cmp"
|
||||||
image: "registry.gitlab.com/oceanbox/manifests/helmfile-cmp:latest"
|
image: "git.oceanbox.io/platform/manifests/helmfile-cmp:latest"
|
||||||
imagePullSecrets:
|
|
||||||
- gitlab-pull-secret
|
|
||||||
- name: "kustomize-helm-with-rewrite"
|
|
||||||
image: "registry.gitlab.com/oceanbox/manifests/kustomize-helm-with-rewrite:latest"
|
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
- gitlab-pull-secret
|
- gitlab-pull-secret
|
||||||
additional_rbac_settings:
|
additional_rbac_settings:
|
||||||
|
|||||||
@@ -28,6 +28,7 @@ spec:
|
|||||||
managedNamespaceMetadata:
|
managedNamespaceMetadata:
|
||||||
labels:
|
labels:
|
||||||
component: sys
|
component: sys
|
||||||
|
shared-gateway-access: "true"
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
- ApplyOutOfSyncOnly=true
|
- ApplyOutOfSyncOnly=true
|
||||||
|
|||||||
@@ -0,0 +1,40 @@
|
|||||||
|
{{- if .Values.clusterConfig.gatewayAPI.enabled }}
|
||||||
|
apiVersion: gateway.networking.k8s.io/v1
|
||||||
|
kind: HTTPRoute
|
||||||
|
metadata:
|
||||||
|
name: argocd-server
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
parentRefs:
|
||||||
|
- name: shared-gateway
|
||||||
|
namespace: kube-system
|
||||||
|
sectionName: https-internal
|
||||||
|
hostnames:
|
||||||
|
- argocd.{{ .Values.clusterConfig.domain }}
|
||||||
|
rules:
|
||||||
|
- matches:
|
||||||
|
- path:
|
||||||
|
type: PathPrefix
|
||||||
|
value: "/"
|
||||||
|
backendRefs:
|
||||||
|
- name: argocd-server
|
||||||
|
port: 80
|
||||||
|
---
|
||||||
|
apiVersion: cilium.io/v2
|
||||||
|
kind: CiliumNetworkPolicy
|
||||||
|
metadata:
|
||||||
|
name: allow-gateway-to-argocd
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
endpointSelector:
|
||||||
|
matchLabels:
|
||||||
|
app.kubernetes.io/name: argocd-server
|
||||||
|
ingress:
|
||||||
|
- fromCIDRSet:
|
||||||
|
{{- range .Values.clusterConfig.ingress_whitelist }}
|
||||||
|
- cidr: {{ . }}
|
||||||
|
{{- end }}
|
||||||
|
- fromEndpoints:
|
||||||
|
- matchLabels:
|
||||||
|
"k8s:io.kubernetes.pod.namespace": argocd
|
||||||
|
{{- end }}
|
||||||
@@ -92,9 +92,13 @@ spec:
|
|||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
- namespace: postfix
|
- namespace: postfix
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
|
- namespace: jobset-system
|
||||||
|
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
|
||||||
- https://gitlab.com/oceanbox/manifests.git
|
- https://gitlab.com/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
|
||||||
@@ -127,6 +131,9 @@ spec:
|
|||||||
- ghcr.io/slinkyproject/charts/slurm-operator
|
- ghcr.io/slinkyproject/charts/slurm-operator
|
||||||
- ghcr.io/slinkyproject/charts/slurm-operator-crds
|
- ghcr.io/slinkyproject/charts/slurm-operator-crds
|
||||||
- ghcr.io/spegel-org/helm-charts
|
- ghcr.io/spegel-org/helm-charts
|
||||||
|
- quay.io/cilium/charts
|
||||||
|
- quay.io/jetstack/charts
|
||||||
|
- 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
|
||||||
- https://operator.mariadb.com/mariadb-enterprise-operator
|
- https://operator.mariadb.com/mariadb-enterprise-operator
|
||||||
|
|||||||
@@ -4,18 +4,21 @@ global:
|
|||||||
## Ref: https://github.com/argoproj/argo-cd
|
## Ref: https://github.com/argoproj/argo-cd
|
||||||
##
|
##
|
||||||
configs:
|
configs:
|
||||||
{{- if .Values.argocd.anyNamespaces.enabled }}
|
|
||||||
params:
|
params:
|
||||||
|
{{- if .Values.clusterConfig.gatewayAPI.enabled }}
|
||||||
|
server.insecure: "true"
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.argocd.anyNamespaces.enabled }}
|
||||||
applicationsetcontroller.namespaces: "{{ .Values.argocd.anyNamespaces.glob }}"
|
applicationsetcontroller.namespaces: "{{ .Values.argocd.anyNamespaces.glob }}"
|
||||||
# TODO(kai): anyapp will disable PR review apps. Look into anyapp settings to fix it
|
# TODO(kai): anyapp will disable PR review apps. Look into anyapp settings to fix it
|
||||||
applicationsetcontroller.enable.scm.providers: "false"
|
applicationsetcontroller.enable.scm.providers: "false"
|
||||||
application.namespaces: "{{ .Values.argocd.anyNamespaces.glob }}"
|
application.namespaces: "{{ .Values.argocd.anyNamespaces.glob }}"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
cm:
|
cm:
|
||||||
application.resourceTrackingMethod: annotation+label
|
application.resourceTrackingMethod: annotation+label
|
||||||
application.instanceLabelKey: app.kubernetes.io/instance
|
application.instanceLabelKey: app.kubernetes.io/instance
|
||||||
create: true
|
create: true
|
||||||
# NOTE(kai): callback URL for dex
|
# NOTE: callback URL for dex
|
||||||
url: "https://argocd.{{ .Values.clusterConfig.domain }}"
|
url: "https://argocd.{{ .Values.clusterConfig.domain }}"
|
||||||
resource.compareoptions: |
|
resource.compareoptions: |
|
||||||
ignoreAggregatedRoles: true
|
ignoreAggregatedRoles: true
|
||||||
@@ -81,6 +84,7 @@ configs:
|
|||||||
p, role:org-admin, applications, *, */*, allow
|
p, role:org-admin, applications, *, */*, allow
|
||||||
p, role:org-admin, projects, *, *, allow
|
p, role:org-admin, projects, *, *, allow
|
||||||
p, role:org-admin, logs, get, *, allow
|
p, role:org-admin, logs, get, *, allow
|
||||||
|
p, role:org-admin, logs, get, */*, allow
|
||||||
p, role:org-admin, clusters, get, *, allow
|
p, role:org-admin, clusters, get, *, allow
|
||||||
p, role:org-admin, clusters, update, *, allow
|
p, role:org-admin, clusters, update, *, allow
|
||||||
p, role:org-admin, repositories, get, *, allow
|
p, role:org-admin, repositories, get, *, allow
|
||||||
@@ -167,7 +171,7 @@ repoServer:
|
|||||||
extraContainers:
|
extraContainers:
|
||||||
- command:
|
- command:
|
||||||
- /var/run/argocd/argocd-cmp-server
|
- /var/run/argocd/argocd-cmp-server
|
||||||
image: registry.gitlab.com/oceanbox/manifests/helmfile-cmp:latest
|
image: {{ .image }}
|
||||||
env:
|
env:
|
||||||
- name: HELM_GIT_ACCESS_TOKEN
|
- name: HELM_GIT_ACCESS_TOKEN
|
||||||
valueFrom:
|
valueFrom:
|
||||||
@@ -176,25 +180,6 @@ repoServer:
|
|||||||
name: oceanbox-gitops-repo
|
name: oceanbox-gitops-repo
|
||||||
optional: false
|
optional: false
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
name: helmfile-cmp
|
|
||||||
securityContext:
|
|
||||||
runAsNonRoot: true
|
|
||||||
runAsUser: 999
|
|
||||||
terminationMessagePath: /dev/termination-log
|
|
||||||
terminationMessagePolicy: File
|
|
||||||
volumeMounts:
|
|
||||||
- mountPath: /var/run/argocd
|
|
||||||
name: var-files
|
|
||||||
- mountPath: /home/argocd/cmp-server/plugins
|
|
||||||
name: plugins
|
|
||||||
- mountPath: /tmp
|
|
||||||
name: cmp-tmp
|
|
||||||
- mountPath: /helm-working-dir
|
|
||||||
name: helm-working-dir
|
|
||||||
- command:
|
|
||||||
- /var/run/argocd/argocd-cmp-server
|
|
||||||
image: {{ .image }}
|
|
||||||
imagePullPolicy: Always
|
|
||||||
name: {{ .name }}
|
name: {{ .name }}
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsNonRoot: true
|
runAsNonRoot: true
|
||||||
@@ -208,6 +193,8 @@ repoServer:
|
|||||||
name: plugins
|
name: plugins
|
||||||
- mountPath: /tmp
|
- mountPath: /tmp
|
||||||
name: cmp-tmp
|
name: cmp-tmp
|
||||||
|
- mountPath: /helm-working-dir
|
||||||
|
name: helm-working-dir
|
||||||
volumes:
|
volumes:
|
||||||
- name: cmp-tmp
|
- name: cmp-tmp
|
||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
@@ -254,6 +241,9 @@ server:
|
|||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: true
|
enabled: true
|
||||||
ingress:
|
ingress:
|
||||||
|
{{- if .Values.clusterConfig.gatewayAPI.enabled }}
|
||||||
|
enabled: false
|
||||||
|
{{- else }}
|
||||||
enabled: true
|
enabled: true
|
||||||
ingressClassName: nginx
|
ingressClassName: nginx
|
||||||
annotations:
|
annotations:
|
||||||
@@ -270,6 +260,7 @@ server:
|
|||||||
- secretName: argocd-tls
|
- secretName: argocd-tls
|
||||||
hosts:
|
hosts:
|
||||||
- "argocd.{{ .Values.clusterConfig.domain }}"
|
- "argocd.{{ .Values.clusterConfig.domain }}"
|
||||||
|
{{- end }}
|
||||||
applicationSet:
|
applicationSet:
|
||||||
metrics:
|
metrics:
|
||||||
enabled: true
|
enabled: true
|
||||||
@@ -283,10 +274,6 @@ applicationSet:
|
|||||||
ingressClassName: nginx
|
ingressClassName: nginx
|
||||||
annotations:
|
annotations:
|
||||||
cert-manager.io/cluster-issuer: {{ .Values.clusterConfig.ingress_clusterissuer }}
|
cert-manager.io/cluster-issuer: {{ .Values.clusterConfig.ingress_clusterissuer }}
|
||||||
# {{- with .Values.clusterConfig.ingress_whitelist}}
|
|
||||||
# NOTE(kai): include gitlab and github webhook ranges
|
|
||||||
# nginx.ingress.kubernetes.io/whitelist-source-range: {{ join "," . }},192.30.252.0/22,140.82.112.0/20,34.74.226.27/28,34.74.226.0/24
|
|
||||||
# {{- end }}
|
|
||||||
hostname: "argocd-applicationset.{{ .Values.clusterConfig.domain }}"
|
hostname: "argocd-applicationset.{{ .Values.clusterConfig.domain }}"
|
||||||
tls:
|
tls:
|
||||||
- secretName: argocd-applicationset-tls
|
- secretName: argocd-applicationset-tls
|
||||||
|
|||||||
@@ -1,3 +1,2 @@
|
|||||||
atlantis:
|
atlantis:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
atlantis:
|
atlantis:
|
||||||
enabled: false
|
enabled: false
|
||||||
autosync: {{ if eq .Environment.Name "prod" }} false {{ else }} true {{ end }}
|
autosync: {{ if or (eq .Environment.Name "prod") (eq .Environment.Name "beta") }}false{{ else }}true{{ end }}
|
||||||
env: {{ .Environment.Name }}
|
env: {{ .Environment.Name }}
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,96 @@
|
|||||||
|
{
|
||||||
|
"oidc": {
|
||||||
|
"issuer": "https://auth.oceanbox.io/realms/oceanbox",
|
||||||
|
"authorization_endpoint": "https://auth.oceanbox.io/realms/oceanbox/protocol/openid-connect/auth",
|
||||||
|
"token_endpoint": "https://auth.oceanbox.io/realms/oceanbox/protocol/openid-connect/token",
|
||||||
|
"jwks_uri": "https://auth.oceanbox.io/realms/oceanbox/protocol/openid-connect/certs",
|
||||||
|
"userinfo_endpoint": "https://auth.oceanbox.io/realms/oceanbox/protocol/openid-connect/userinfo",
|
||||||
|
"end_session_endpoint": "https://auth.oceanbox.io/realms/oceanbox/protocol/openid-connect/logout",
|
||||||
|
"device_authorization_endpoint": "https://auth.oceanbox.io/realms/oceanbox/protocol/openid-connect/auth/device",
|
||||||
|
"clientId": "atlantis",
|
||||||
|
"clientSecret": "",
|
||||||
|
"scopes": [
|
||||||
|
"openid",
|
||||||
|
"email",
|
||||||
|
"offline_access",
|
||||||
|
"profile"
|
||||||
|
],
|
||||||
|
"audiences": [
|
||||||
|
"atlantis",
|
||||||
|
"atlantis_dev",
|
||||||
|
"sorcerer",
|
||||||
|
"sorcerer_dev"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"sso": {
|
||||||
|
"cookieDomain": ".oceanbox.io",
|
||||||
|
"cookieName": ".obx.beta",
|
||||||
|
"ttl": 12.0,
|
||||||
|
"signedOutRedirectUri": "https://maps.beta.oceanbox.io",
|
||||||
|
"realm": "atlantis",
|
||||||
|
"environment": "prod",
|
||||||
|
"keyStore": {
|
||||||
|
"kind": "azure",
|
||||||
|
"uri": "https://atlantis.blob.core.windows.net",
|
||||||
|
"key": "dataprotection-keys"
|
||||||
|
},
|
||||||
|
"keyVault": {
|
||||||
|
"kind": "azure",
|
||||||
|
"uri": "https://atlantisvault.vault.azure.net",
|
||||||
|
"key": "dataencryption-keys"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"fga": {
|
||||||
|
"apiUrl": "http://prod-openfga.openfga.svc.cluster.local:8080",
|
||||||
|
"apiKey": "",
|
||||||
|
"storeId": "01JKTZXMP7ANN4GG2P5W8Y56M6",
|
||||||
|
"modelId": "01JKTZYMCZZBVSBG66W27XMW0A"
|
||||||
|
},
|
||||||
|
"sentryUrl": "https://b6e03cfc8e247297b89217b09341b4cb@o4509530141622272.ingest.de.sentry.io/4509530195492944",
|
||||||
|
"plainAuthUsers": [
|
||||||
|
{
|
||||||
|
"username": "admin",
|
||||||
|
"password": "en-to-tre-fire",
|
||||||
|
"groups": [ "/oceanbox" ],
|
||||||
|
"roles": [ "admin" ]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"username": "sorcerer",
|
||||||
|
"password": "fire tre to en",
|
||||||
|
"groups": [ "/oceanbox" ],
|
||||||
|
"roles": [ "admin" ]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"username": "archivist",
|
||||||
|
"password": "en-to-tre-fire",
|
||||||
|
"groups": [ "/oceanbox" ],
|
||||||
|
"roles": [ "admin" ]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"plume": "plume.data.oceanbox.io",
|
||||||
|
"redis": "beta-atlantis-redis:6379",
|
||||||
|
"objectStore": "https://atlantis.blob.core.windows.net",
|
||||||
|
"connString": "Username=postgres;Password=secret;Host=localhost;Port=5432;Database=app;Pooling=true;",
|
||||||
|
"sorcerer" : "https://sorcerer.beta.ekman.oceanbox.io",
|
||||||
|
"allowedOrigins": [
|
||||||
|
"https://maps.beta.oceanbox.io"
|
||||||
|
],
|
||||||
|
"appName": "atlantis",
|
||||||
|
"appEnv": "prod",
|
||||||
|
"appNamespace": "atlantis",
|
||||||
|
"appVersion": "2.95.1",
|
||||||
|
"otelCollector": "http://opentelemetry-collector.otel.svc:4317",
|
||||||
|
"pubsubName": "pubsub",
|
||||||
|
"pubsubTopic": "hipster-atlantis",
|
||||||
|
"slurm": {
|
||||||
|
"baseUrl": "https://slurmrestd.ekman.oceanbox.io/",
|
||||||
|
"slurmApi": "slurm/v0.0.42/",
|
||||||
|
"dbdApi": "slurmdbd/v0.0.42/",
|
||||||
|
"accessToken": ""
|
||||||
|
},
|
||||||
|
"amqp": {
|
||||||
|
"auth": "user:hunny-bunny",
|
||||||
|
"host": "10.255.241.201:30673"
|
||||||
|
},
|
||||||
|
"fenceRadius": 1250.0
|
||||||
|
}
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
apiVersion: dapr.io/v1alpha1
|
||||||
|
kind: Component
|
||||||
|
metadata:
|
||||||
|
name: slurm-events
|
||||||
|
spec:
|
||||||
|
type: bindings.rabbitmq
|
||||||
|
version: v1
|
||||||
|
metadata:
|
||||||
|
- name: host
|
||||||
|
secretKeyRef:
|
||||||
|
name: prod-atlantis-rabbitmq
|
||||||
|
key: connString
|
||||||
|
- name: queueName
|
||||||
|
value: beta-slurm-job-events
|
||||||
|
- name: durable
|
||||||
|
value: true
|
||||||
|
- name: contentType
|
||||||
|
value: "application/json"
|
||||||
|
- name: route
|
||||||
|
value: /events/slurm
|
||||||
|
scopes:
|
||||||
|
- beta-atlantis
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
apiVersion: dapr.io/v1alpha1
|
||||||
|
kind: Component
|
||||||
|
metadata:
|
||||||
|
name: configstore
|
||||||
|
spec:
|
||||||
|
type: configuration.redis
|
||||||
|
version: v1
|
||||||
|
metadata:
|
||||||
|
- name: redisHost
|
||||||
|
value: beta-atlantis-redis:6379
|
||||||
|
- name: redisUsername
|
||||||
|
value: default
|
||||||
|
- name: redisPassword
|
||||||
|
secretKeyRef:
|
||||||
|
name: beta-atlantis-redis
|
||||||
|
key: redis-password
|
||||||
|
- name: redisDB
|
||||||
|
value: "1"
|
||||||
|
scopes:
|
||||||
|
- beta-atlantis
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
OIDC_CLIENT_SECRET=KOJ6bDHzE5vdyfSrzgwLjtM5PzA809Zm
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
- op: add
|
||||||
|
path: /spec/template/spec/containers/0/envFrom/-
|
||||||
|
value:
|
||||||
|
secretRef:
|
||||||
|
name: azure-keyvault
|
||||||
|
- op: add
|
||||||
|
path: /spec/template/spec/containers/0/envFrom/-
|
||||||
|
value:
|
||||||
|
secretRef:
|
||||||
|
name: prod-atlantis-env
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
apiVersion: dapr.io/v1alpha1
|
||||||
|
kind: Component
|
||||||
|
metadata:
|
||||||
|
name: azure-keyvault
|
||||||
|
spec:
|
||||||
|
type: secretstores.azure.keyvault
|
||||||
|
version: v1
|
||||||
|
metadata:
|
||||||
|
- name: vaultName
|
||||||
|
value: atlantisvault
|
||||||
|
- name: azureTenantId
|
||||||
|
secretKeyRef:
|
||||||
|
name: azure-keyvault
|
||||||
|
key: AZURE_TENANT_ID
|
||||||
|
- name: azureClientId
|
||||||
|
secretKeyRef:
|
||||||
|
name: azure-keyvault
|
||||||
|
key: AZURE_CLIENT_ID
|
||||||
|
- name: azureClientSecret
|
||||||
|
secretKeyRef:
|
||||||
|
name: azure-keyvault
|
||||||
|
key: AZURE_CLIENT_SECRET
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
generatorOptions:
|
||||||
|
disableNameSuffixHash: true
|
||||||
|
configMapGenerator:
|
||||||
|
- name: beta-atlantis-appsettings
|
||||||
|
files:
|
||||||
|
- appsettings.json
|
||||||
|
patches:
|
||||||
|
- target:
|
||||||
|
group: apps
|
||||||
|
version: v1
|
||||||
|
kind: Deployment
|
||||||
|
path: deployment_patch.yaml
|
||||||
|
|
||||||
|
resources:
|
||||||
|
- ../base
|
||||||
|
- rbac.yaml
|
||||||
|
- tracing.yaml
|
||||||
|
- bindings.yaml
|
||||||
|
- pubsub.yaml
|
||||||
|
- statestore.yaml
|
||||||
|
- subscriptions.yaml
|
||||||
|
- configurations.yaml
|
||||||
|
- secretstore.yaml
|
||||||
|
- keyvault.yaml
|
||||||
@@ -0,0 +1,52 @@
|
|||||||
|
apiVersion: dapr.io/v1alpha1
|
||||||
|
kind: Component
|
||||||
|
metadata:
|
||||||
|
name: pubsub
|
||||||
|
spec:
|
||||||
|
version: v1
|
||||||
|
type: pubsub.rabbitmq
|
||||||
|
metadata:
|
||||||
|
- name: hostname
|
||||||
|
value: prod-rabbitmq.rabbitmq
|
||||||
|
- name: username
|
||||||
|
value: user
|
||||||
|
- name: password
|
||||||
|
secretKeyRef:
|
||||||
|
name: prod-atlantis-rabbitmq
|
||||||
|
key: rabbitmq-password
|
||||||
|
- name: protocol
|
||||||
|
value: amqp
|
||||||
|
- name: durable
|
||||||
|
value: true
|
||||||
|
- name: deletedWhenUnused
|
||||||
|
value: false
|
||||||
|
- name: autoAck
|
||||||
|
value: false
|
||||||
|
- name: deliveryMode
|
||||||
|
value: 1
|
||||||
|
- name: requeueInFailure
|
||||||
|
value: false
|
||||||
|
- name: prefetchCount
|
||||||
|
value: 0
|
||||||
|
- name: reconnectWait
|
||||||
|
value: 0
|
||||||
|
- name: concurrencyMode
|
||||||
|
value: parallel
|
||||||
|
- name: publisherConfirm
|
||||||
|
value: false
|
||||||
|
- name: backOffPolicy
|
||||||
|
value: exponential
|
||||||
|
- name: backOffInitialInterval
|
||||||
|
value: 100
|
||||||
|
- name: backOffMaxRetries
|
||||||
|
value: 16
|
||||||
|
- name: enableDeadLetter # Optional enable dead Letter or not
|
||||||
|
value: true
|
||||||
|
- name: maxLen # Optional max message count in a queue
|
||||||
|
value: 3000
|
||||||
|
- name: maxLenBytes # Optional maximum length in bytes of a queue.
|
||||||
|
value: 10485760
|
||||||
|
- name: exchangeKind
|
||||||
|
value: fanout
|
||||||
|
- name: clientName
|
||||||
|
value: "{appID}"
|
||||||
@@ -0,0 +1,40 @@
|
|||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: Role
|
||||||
|
metadata:
|
||||||
|
name: beta-atlantis
|
||||||
|
namespace: beta-atlantis
|
||||||
|
rules:
|
||||||
|
- apiGroups:
|
||||||
|
- ""
|
||||||
|
resourceNames:
|
||||||
|
- beta-atlantis-appsettings
|
||||||
|
resources:
|
||||||
|
- configmaps
|
||||||
|
verbs:
|
||||||
|
- get
|
||||||
|
- watch
|
||||||
|
- apiGroups:
|
||||||
|
- ""
|
||||||
|
resourceNames:
|
||||||
|
- azure-keyvault
|
||||||
|
- beta-atlantis-redis
|
||||||
|
- slurm-access-token
|
||||||
|
resources:
|
||||||
|
- secrets
|
||||||
|
verbs:
|
||||||
|
- get
|
||||||
|
- watch
|
||||||
|
---
|
||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: RoleBinding
|
||||||
|
metadata:
|
||||||
|
name: beta-atlantis
|
||||||
|
namespace: beta-atlantis
|
||||||
|
roleRef:
|
||||||
|
apiGroup: rbac.authorization.k8s.io
|
||||||
|
kind: Role
|
||||||
|
name: beta-atlantis
|
||||||
|
subjects:
|
||||||
|
- kind: ServiceAccount
|
||||||
|
name: beta-atlantis
|
||||||
|
namespace: beta-atlantis
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
apiVersion: dapr.io/v1alpha1
|
||||||
|
kind: Component
|
||||||
|
metadata:
|
||||||
|
name: secretstore
|
||||||
|
spec:
|
||||||
|
type: secretstores.kubernetes
|
||||||
|
version: v1
|
||||||
|
metadata:
|
||||||
|
- name: defaultNamespace
|
||||||
|
value: beta-atlantis
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
apiVersion: dapr.io/v1alpha1
|
||||||
|
kind: Component
|
||||||
|
metadata:
|
||||||
|
name: statestore
|
||||||
|
spec:
|
||||||
|
type: state.redis
|
||||||
|
version: v1
|
||||||
|
metadata:
|
||||||
|
- name: redisHost
|
||||||
|
value: beta-atlantis-redis:6379
|
||||||
|
- name: redisUsername
|
||||||
|
value: default
|
||||||
|
- name: redisPassword
|
||||||
|
secretKeyRef:
|
||||||
|
name: beta-atlantis-redis
|
||||||
|
key: redis-password
|
||||||
|
- name: actorStateStore
|
||||||
|
value: "true"
|
||||||
|
- name: redisDB
|
||||||
|
value: "0"
|
||||||
|
scopes:
|
||||||
|
- beta-atlantis
|
||||||
@@ -0,0 +1,27 @@
|
|||||||
|
apiVersion: dapr.io/v2alpha1
|
||||||
|
kind: Subscription
|
||||||
|
metadata:
|
||||||
|
name: hipster-events
|
||||||
|
spec:
|
||||||
|
topic: hipster
|
||||||
|
routes:
|
||||||
|
default: /events/hipster
|
||||||
|
pubsubname: pubsub
|
||||||
|
metadata:
|
||||||
|
queueType: quorum
|
||||||
|
scopes:
|
||||||
|
- beta-atlantis
|
||||||
|
---
|
||||||
|
apiVersion: dapr.io/v2alpha1
|
||||||
|
kind: Subscription
|
||||||
|
metadata:
|
||||||
|
name: inbox-events
|
||||||
|
spec:
|
||||||
|
topic: inbox
|
||||||
|
routes:
|
||||||
|
default: /events/inbox
|
||||||
|
pubsubname: pubsub
|
||||||
|
metadata:
|
||||||
|
queueType: quorum
|
||||||
|
scopes:
|
||||||
|
- beta-atlantis
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
apiVersion: dapr.io/v1alpha1
|
||||||
|
kind: Configuration
|
||||||
|
metadata:
|
||||||
|
name: tracing
|
||||||
|
spec:
|
||||||
|
tracing:
|
||||||
|
samplingRate: "1"
|
||||||
|
otel:
|
||||||
|
endpointAddress: "opentelemetry-collector.otel.svc.cluster.local:4317"
|
||||||
|
protocol: grpc
|
||||||
|
isSecure: false
|
||||||
@@ -73,7 +73,8 @@
|
|||||||
"connString": "Username=postgres;Password=secret;Host=localhost;Port=5432;Database=app;Pooling=true;",
|
"connString": "Username=postgres;Password=secret;Host=localhost;Port=5432;Database=app;Pooling=true;",
|
||||||
"sorcerer" : "https://sorcerer.data.oceanbox.io",
|
"sorcerer" : "https://sorcerer.data.oceanbox.io",
|
||||||
"allowedOrigins": [
|
"allowedOrigins": [
|
||||||
"https://maps.oceanbox.io"
|
"https://maps.oceanbox.io",
|
||||||
|
"https://codex.adm.oceanbox.io"
|
||||||
],
|
],
|
||||||
"appName": "atlantis",
|
"appName": "atlantis",
|
||||||
"appEnv": "prod",
|
"appEnv": "prod",
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
"cookieDomain": ".oceanbox.io",
|
"cookieDomain": ".oceanbox.io",
|
||||||
"cookieName": ".obx.staging",
|
"cookieName": ".obx.staging",
|
||||||
"ttl": 12.0,
|
"ttl": 12.0,
|
||||||
"signedOutRedirectUri": "https://atlantis.beta.oceanbox.io",
|
"signedOutRedirectUri": "https://maps.dev.oceanbox.io",
|
||||||
"realm": "atlantis",
|
"realm": "atlantis",
|
||||||
"environment": "staging",
|
"environment": "staging",
|
||||||
"keyStore": {
|
"keyStore": {
|
||||||
@@ -76,7 +76,8 @@
|
|||||||
"https://atlantis.beta.oceanbox.io",
|
"https://atlantis.beta.oceanbox.io",
|
||||||
"https://atlantis.dev.oceanbox.io",
|
"https://atlantis.dev.oceanbox.io",
|
||||||
"https://atlantis.local.oceanbox.io:8080",
|
"https://atlantis.local.oceanbox.io:8080",
|
||||||
"https://maps.dev.oceanbox.io"
|
"https://maps.dev.oceanbox.io",
|
||||||
|
"https://codex.dev.oceanbox.io"
|
||||||
],
|
],
|
||||||
"appName": "atlantis",
|
"appName": "atlantis",
|
||||||
"appEnv": "staging",
|
"appEnv": "staging",
|
||||||
|
|||||||
@@ -27,16 +27,24 @@ spec:
|
|||||||
value: {{ .Values.atlantis.env }}
|
value: {{ .Values.atlantis.env }}
|
||||||
- name: HELMFILE_FILE_PATH
|
- name: HELMFILE_FILE_PATH
|
||||||
value: atlantis.yaml.gotmpl
|
value: atlantis.yaml.gotmpl
|
||||||
|
{{- if ne .Values.atlantis.env "beta" }}
|
||||||
- repoURL: https://charts.bitnami.com/bitnami
|
- repoURL: https://charts.bitnami.com/bitnami
|
||||||
targetRevision: 20.1.7
|
targetRevision: 20.1.7
|
||||||
chart: redis
|
chart: redis
|
||||||
helm:
|
helm:
|
||||||
valueFiles:
|
valueFiles:
|
||||||
- $values/values/atlantis/values/redis-{{ .Values.atlantis.env }}.yaml
|
- $values/values/atlantis/values/redis-{{ .Values.atlantis.env }}.yaml
|
||||||
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
{{- end }}
|
||||||
|
- repoURL: https://git.oceanbox.io/platform/manifests.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
ref: values
|
ref: values
|
||||||
ignoreDifferences:
|
ignoreDifferences:
|
||||||
|
- kind: Secret
|
||||||
|
name: beta-atlantis-db-superuser
|
||||||
|
jqPathExpressions:
|
||||||
|
- '.data'
|
||||||
|
- '.metadata.labels'
|
||||||
|
- '.metadata.annotations'
|
||||||
- kind: Secret
|
- kind: Secret
|
||||||
name: azure-keyvault
|
name: azure-keyvault
|
||||||
jqPathExpressions:
|
jqPathExpressions:
|
||||||
@@ -67,6 +75,12 @@ spec:
|
|||||||
- '.data'
|
- '.data'
|
||||||
- '.metadata.labels'
|
- '.metadata.labels'
|
||||||
- '.metadata.annotations'
|
- '.metadata.annotations'
|
||||||
|
- kind: Secret
|
||||||
|
name: slurm-access-token
|
||||||
|
jqPathExpressions:
|
||||||
|
- '.data'
|
||||||
|
- '.metadata.labels'
|
||||||
|
- '.metadata.annotations'
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
|
|||||||
@@ -2,6 +2,14 @@ architecture: replication
|
|||||||
|
|
||||||
replica:
|
replica:
|
||||||
replicaCount: 2
|
replicaCount: 2
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
ephemeral-storage: 1024Mi
|
||||||
|
memory: 192Mi
|
||||||
|
requests:
|
||||||
|
cpu: 150m
|
||||||
|
ephemeral-storage: 50Mi
|
||||||
|
memory: 128Mi
|
||||||
|
|
||||||
auth:
|
auth:
|
||||||
enabled: true
|
enabled: true
|
||||||
@@ -20,4 +28,3 @@ master:
|
|||||||
cpu: 150m
|
cpu: 150m
|
||||||
ephemeral-storage: 50Mi
|
ephemeral-storage: 50Mi
|
||||||
memory: 128Mi
|
memory: 128Mi
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,8 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
data:
|
||||||
|
redis-password: N2drUGlEN0ZMNA==
|
||||||
|
kind: Secret
|
||||||
|
metadata:
|
||||||
|
name: beta-sorcerer-redis
|
||||||
|
namespace: beta-sorcerer
|
||||||
|
type: Opaque
|
||||||
@@ -0,0 +1,103 @@
|
|||||||
|
replicaCount: 1
|
||||||
|
|
||||||
|
image:
|
||||||
|
repository: git.oceanbox.io/oceanbox/poseidon/atlantis
|
||||||
|
tag: v1.46.2
|
||||||
|
|
||||||
|
podAnnotations:
|
||||||
|
dapr.io/app-id: "beta-atlantis"
|
||||||
|
|
||||||
|
env:
|
||||||
|
- name: APP_NAMESPACE
|
||||||
|
value: beta-atlantis
|
||||||
|
- name: APP_VERSION
|
||||||
|
value: "2.97.4-beta"
|
||||||
|
- name: LOG_LEVEL
|
||||||
|
value: "1"
|
||||||
|
- name: ANALYTICS_WEB_ID
|
||||||
|
value: "16e7d807-4db5-45fd-92a9-27393445a153"
|
||||||
|
- name: REDIS_USER
|
||||||
|
value: default
|
||||||
|
- name: REDIS_PASSWORD
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: beta-atlantis-redis
|
||||||
|
key: redis-password
|
||||||
|
# Share production database
|
||||||
|
- name: DB_HOST
|
||||||
|
value: prod-atlantis-db-rw.prod-atlantis
|
||||||
|
- name: DB_PORT
|
||||||
|
value: "5432"
|
||||||
|
- name: DB_USER
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: prod-atlantis-db-superuser
|
||||||
|
key: username
|
||||||
|
- name: DB_PASSWORD
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: prod-atlantis-db-superuser
|
||||||
|
key: password
|
||||||
|
- name: DAPR_API_TOKEN
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: dapr-api-token
|
||||||
|
key: token
|
||||||
|
|
||||||
|
ingress:
|
||||||
|
enabled: true
|
||||||
|
annotations:
|
||||||
|
cert-manager.io/cluster-issuer: letsencrypt-production
|
||||||
|
nginx.ingress.kubernetes.io/proxy-buffer-size: 128k
|
||||||
|
hosts:
|
||||||
|
- host: maps.beta.oceanbox.io
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: ImplementationSpecific
|
||||||
|
internal:
|
||||||
|
- path: /internal
|
||||||
|
pathType: ImplementationSpecific
|
||||||
|
- path: /dapr
|
||||||
|
pathType: ImplementationSpecific
|
||||||
|
- path: /actors
|
||||||
|
pathType: ImplementationSpecific
|
||||||
|
- path: /job
|
||||||
|
pathType: ImplementationSpecific
|
||||||
|
- path: /events
|
||||||
|
pathType: ImplementationSpecific
|
||||||
|
- path: /metrics
|
||||||
|
pathType: ImplementationSpecific
|
||||||
|
tls:
|
||||||
|
- hosts:
|
||||||
|
- maps.beta.oceanbox.io
|
||||||
|
secretName: beta-atlantis-tls
|
||||||
|
|
||||||
|
cluster:
|
||||||
|
enabled: false
|
||||||
|
bootstrap: false
|
||||||
|
|
||||||
|
redis:
|
||||||
|
enabled: true
|
||||||
|
size: 2Gi
|
||||||
|
secret:
|
||||||
|
name: beta-atlantis-redis
|
||||||
|
key: redis-password
|
||||||
|
backup:
|
||||||
|
enabled: true
|
||||||
|
resources:
|
||||||
|
cpu: 150m
|
||||||
|
memory: 256Mi
|
||||||
|
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpu: 500m
|
||||||
|
memory: 512Mi
|
||||||
|
requests:
|
||||||
|
cpu: 250m
|
||||||
|
memory: 512Mi
|
||||||
|
|
||||||
|
diagrid-dashboard:
|
||||||
|
enabled: false
|
||||||
|
statestore:
|
||||||
|
scope: beta-atlantis
|
||||||
|
redis: beta-atlantis-redis
|
||||||
@@ -73,9 +73,6 @@ cluster:
|
|||||||
enabled: false
|
enabled: false
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
limits:
|
|
||||||
cpu: 1
|
|
||||||
memory: 1Gi
|
|
||||||
requests:
|
requests:
|
||||||
cpu: 500m
|
cpu: 500m
|
||||||
memory: 1Gi
|
memory: 1Gi
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
image:
|
image:
|
||||||
tag: 8e824d4a-debug
|
repository: git.oceanbox.io/oceanbox/poseidon/atlantis
|
||||||
|
tag: 23006866-debug
|
||||||
podAnnotations:
|
podAnnotations:
|
||||||
dapr.io/app-id: "staging-atlantis"
|
dapr.io/app-id: "staging-atlantis"
|
||||||
env:
|
env:
|
||||||
@@ -49,23 +50,6 @@ ingress:
|
|||||||
# nginx.ingress.kubernetes.io/session-cookie-max-age: "86400"
|
# nginx.ingress.kubernetes.io/session-cookie-max-age: "86400"
|
||||||
# oceanbox.io/expose: internal
|
# oceanbox.io/expose: internal
|
||||||
hosts:
|
hosts:
|
||||||
- host: atlantis.beta.oceanbox.io
|
|
||||||
paths:
|
|
||||||
- path: /
|
|
||||||
pathType: ImplementationSpecific
|
|
||||||
internal:
|
|
||||||
- path: /internal
|
|
||||||
pathType: ImplementationSpecific
|
|
||||||
- path: /dapr
|
|
||||||
pathType: ImplementationSpecific
|
|
||||||
- path: /actors
|
|
||||||
pathType: ImplementationSpecific
|
|
||||||
- path: /job
|
|
||||||
pathType: ImplementationSpecific
|
|
||||||
- path: /events
|
|
||||||
pathType: ImplementationSpecific
|
|
||||||
- path: /metrics
|
|
||||||
pathType: ImplementationSpecific
|
|
||||||
- host: maps.dev.oceanbox.io
|
- host: maps.dev.oceanbox.io
|
||||||
paths:
|
paths:
|
||||||
- path: /
|
- path: /
|
||||||
@@ -83,27 +67,8 @@ ingress:
|
|||||||
pathType: ImplementationSpecific
|
pathType: ImplementationSpecific
|
||||||
- path: /metrics
|
- path: /metrics
|
||||||
pathType: ImplementationSpecific
|
pathType: ImplementationSpecific
|
||||||
- host: atlas.oceanbox.io
|
|
||||||
paths:
|
|
||||||
- path: /
|
|
||||||
pathType: ImplementationSpecific
|
|
||||||
internal:
|
|
||||||
- path: /internal
|
|
||||||
pathType: ImplementationSpecific
|
|
||||||
- path: /dapr
|
|
||||||
pathType: ImplementationSpecific
|
|
||||||
- path: /actors
|
|
||||||
pathType: ImplementationSpecific
|
|
||||||
- path: /job
|
|
||||||
pathType: ImplementationSpecific
|
|
||||||
- path: /events
|
|
||||||
pathType: ImplementationSpecific
|
|
||||||
- path: /metrics
|
|
||||||
pathType: ImplementationSpecific
|
|
||||||
tls:
|
tls:
|
||||||
- hosts:
|
- hosts:
|
||||||
- atlantis.beta.oceanbox.io
|
|
||||||
- atlas.oceanbox.io
|
|
||||||
- maps.dev.oceanbox.io
|
- maps.dev.oceanbox.io
|
||||||
secretName: staging-atlantis-tls
|
secretName: staging-atlantis-tls
|
||||||
cluster:
|
cluster:
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
attic:
|
attic:
|
||||||
enabled: true
|
enabled: false
|
||||||
|
|||||||
@@ -4,15 +4,15 @@ metadata:
|
|||||||
name: attic
|
name: attic
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
finalizers:
|
finalizers:
|
||||||
- resources-finalizer.argocd.argoproj.io
|
- resources-finalizer.argocd.argoproj.io
|
||||||
spec:
|
spec:
|
||||||
destination:
|
destination:
|
||||||
namespace: attic
|
namespace: attic
|
||||||
server: 'https://kubernetes.default.svc'
|
server: "https://kubernetes.default.svc"
|
||||||
sources:
|
sources:
|
||||||
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
- repoURL: https://git.oceanbox.io/oceanbox/manifests.git
|
||||||
targetRevision: HEAD
|
targetRevision: HEAD
|
||||||
path: values/attic/manifests
|
path: values/attic/manifests
|
||||||
project: aux
|
project: aux
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
managedNamespaceMetadata:
|
managedNamespaceMetadata:
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
cert_manager:
|
||||||
|
enabled: true
|
||||||
|
autosync: true
|
||||||
|
gatewayApi:
|
||||||
|
enabled: true
|
||||||
@@ -1,3 +1,5 @@
|
|||||||
cert_manager:
|
cert_manager:
|
||||||
enabled: true
|
enabled: true
|
||||||
autosync: true
|
autosync: true
|
||||||
|
gatewayApi:
|
||||||
|
enabled: false
|
||||||
|
|||||||
@@ -3,3 +3,9 @@ enableCertificateOwnerRef: true
|
|||||||
startupapicheck:
|
startupapicheck:
|
||||||
podAnnotations:
|
podAnnotations:
|
||||||
linkerd.io/inject: disabled
|
linkerd.io/inject: disabled
|
||||||
|
{{- if .Values.cert_manager.gatewayApi.enabled }}
|
||||||
|
config:
|
||||||
|
apiVersion: controller.config.cert-manager.io/v1alpha1
|
||||||
|
enableGatewayAPI: true
|
||||||
|
kind: ControllerConfiguration
|
||||||
|
{{- end }}
|
||||||
|
|||||||
@@ -0,0 +1,122 @@
|
|||||||
|
{{- if eq .Values.cilium.cluster "hel1" }}
|
||||||
|
# TODO: Move to ListernerSets when those get Promoted to GA
|
||||||
|
# Resources:
|
||||||
|
# - https://gateway-api.sigs.k8s.io/geps/gep-1713/
|
||||||
|
# - https://github.com/kubernetes-sigs/gateway-api/issues/1713
|
||||||
|
apiVersion: gateway.networking.k8s.io/v1
|
||||||
|
kind: Gateway
|
||||||
|
metadata:
|
||||||
|
name: shared-gateway
|
||||||
|
namespace: kube-system
|
||||||
|
spec:
|
||||||
|
infrastructure:
|
||||||
|
annotations:
|
||||||
|
load-balancer.hetzner.cloud/location: hel1
|
||||||
|
load-balancer.hetzner.cloud/type: lb11
|
||||||
|
load-balancer.hetzner.cloud/name: load-balancer-1
|
||||||
|
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
|
||||||
|
listeners:
|
||||||
|
- name: http
|
||||||
|
protocol: HTTP
|
||||||
|
port: 80
|
||||||
|
allowedRoutes:
|
||||||
|
namespaces:
|
||||||
|
from: Selector
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
shared-gateway-access: "true"
|
||||||
|
- name: https
|
||||||
|
protocol: HTTPS
|
||||||
|
port: 443
|
||||||
|
tls:
|
||||||
|
certificateRefs:
|
||||||
|
- group: ''
|
||||||
|
kind: Secret
|
||||||
|
name: wildcard-oceanbox-io
|
||||||
|
allowedRoutes:
|
||||||
|
namespaces:
|
||||||
|
from: Selector
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
shared-gateway-access: "true"
|
||||||
|
- name: https-hel1
|
||||||
|
protocol: HTTPS
|
||||||
|
port: 443
|
||||||
|
hostname: "*.hel1.oceanbox.io"
|
||||||
|
tls:
|
||||||
|
certificateRefs:
|
||||||
|
- group: ''
|
||||||
|
kind: Secret
|
||||||
|
name: wildcard-hel1-oceanbox-io
|
||||||
|
allowedRoutes:
|
||||||
|
namespaces:
|
||||||
|
from: Selector
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
shared-gateway-access: "true"
|
||||||
|
- name: https-internal
|
||||||
|
protocol: HTTPS
|
||||||
|
port: 443
|
||||||
|
hostname: "*.adm.hel1.obx"
|
||||||
|
tls:
|
||||||
|
certificateRefs:
|
||||||
|
- group: ''
|
||||||
|
kind: Secret
|
||||||
|
name: wildcard-adm-hel1-obx
|
||||||
|
allowedRoutes:
|
||||||
|
namespaces:
|
||||||
|
from: Selector
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
shared-gateway-access: "true"
|
||||||
|
- name: ssh
|
||||||
|
protocol: TCP
|
||||||
|
port: 22
|
||||||
|
allowedRoutes:
|
||||||
|
namespaces:
|
||||||
|
from: Selector
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
shared-gateway-access: "true"
|
||||||
|
---
|
||||||
|
apiVersion: cert-manager.io/v1
|
||||||
|
kind: Certificate
|
||||||
|
metadata:
|
||||||
|
name: wildcard-oceanbox-io
|
||||||
|
spec:
|
||||||
|
secretName: wildcard-oceanbox-io
|
||||||
|
commonName: oceanbox.io
|
||||||
|
dnsNames:
|
||||||
|
- oceanbox.io
|
||||||
|
- "*.oceanbox.io"
|
||||||
|
issuerRef:
|
||||||
|
name: letsencrypt-prod-dns01
|
||||||
|
kind: ClusterIssuer
|
||||||
|
---
|
||||||
|
apiVersion: cert-manager.io/v1
|
||||||
|
kind: Certificate
|
||||||
|
metadata:
|
||||||
|
name: wildcard-hel1-oceanbox-io
|
||||||
|
spec:
|
||||||
|
secretName: wildcard-hel1-oceanbox-io
|
||||||
|
dnsNames:
|
||||||
|
- "*.hel1.oceanbox.io"
|
||||||
|
issuerRef:
|
||||||
|
name: letsencrypt-prod-dns01
|
||||||
|
kind: ClusterIssuer
|
||||||
|
---
|
||||||
|
apiVersion: cert-manager.io/v1
|
||||||
|
kind: Certificate
|
||||||
|
metadata:
|
||||||
|
name: wildcard-adm-hel1-obx
|
||||||
|
spec:
|
||||||
|
secretName: wildcard-adm-hel1-obx
|
||||||
|
dnsNames:
|
||||||
|
- "*.adm.hel1.obx"
|
||||||
|
issuerRef:
|
||||||
|
name: ca-issuer
|
||||||
|
kind: ClusterIssuer
|
||||||
|
{{- end}}
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
{{- if .Values.clusterConfig.cilium.enabled }}
|
||||||
|
apiVersion: "cilium.io/v2"
|
||||||
|
kind: CiliumClusterwideNetworkPolicy
|
||||||
|
metadata:
|
||||||
|
name: allow-ingress-to-cluster
|
||||||
|
namespace: default
|
||||||
|
spec:
|
||||||
|
endpointSelector:
|
||||||
|
matchExpressions:
|
||||||
|
- key: reserved:ingress
|
||||||
|
operator: Exists
|
||||||
|
egress:
|
||||||
|
- toEntities:
|
||||||
|
- cluster
|
||||||
|
ingress:
|
||||||
|
- fromEntities:
|
||||||
|
- world
|
||||||
|
- cluster
|
||||||
|
{{- end }}
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
cilium:
|
||||||
|
enabled: true
|
||||||
|
# WireGuard cannot be used during migration -- Flannel nodes have no WireGuard
|
||||||
|
# keys so encrypted traffic is unreadable by them.
|
||||||
|
# TODO: re-enable after migration
|
||||||
|
encryption:
|
||||||
|
enabled: false
|
||||||
|
envoy:
|
||||||
|
enabled: true
|
||||||
|
# kube-proxy stays running during migration; disable replacement until done.
|
||||||
|
# TODO: set to true after migration
|
||||||
|
kubeProxyReplacement: false
|
||||||
|
# Direct apiserver connection -- do not rely on the kubernetes service IP
|
||||||
|
# during migration since we are touching the CNI layer.
|
||||||
|
# TODO: remove k8sServiceHost / k8sServicePort (or keep pointing at apiserver localhost)
|
||||||
|
k8sServiceHost: 10.255.241.99
|
||||||
|
k8sServicePort: 6443
|
||||||
|
policyAuditMode: true
|
||||||
|
upgradeCompatability: 1.18
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
cilium:
|
||||||
|
enabled: true
|
||||||
|
envoy:
|
||||||
|
enabled: true
|
||||||
|
nodePort:
|
||||||
|
enabled: true
|
||||||
|
l2announcement:
|
||||||
|
enabled: true
|
||||||
|
gatewayAPI:
|
||||||
|
enabled: true
|
||||||
|
gatewayTest:
|
||||||
|
enabled: true
|
||||||
|
policyAuditMode: true
|
||||||
|
upgradeCompatability: 1.18
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
cilium:
|
||||||
|
enabled: true
|
||||||
|
nodePort:
|
||||||
|
enabled: true
|
||||||
|
l2announcement:
|
||||||
|
enabled: true
|
||||||
|
loadbalancerPool:
|
||||||
|
enabled: false
|
||||||
|
cidr:
|
||||||
|
- 10.255.241.11/32
|
||||||
@@ -30,3 +30,4 @@ cilium:
|
|||||||
loadbalancerPool:
|
loadbalancerPool:
|
||||||
enabled: false
|
enabled: false
|
||||||
cidr: []
|
cidr: []
|
||||||
|
cluster: {{ requiredEnv "ARGOCD_ENV_CLUSTER_NAME" }}
|
||||||
|
|||||||
@@ -0,0 +1,33 @@
|
|||||||
|
# Installs Cilium without writing the CNI config file.
|
||||||
|
# Flannel keeps serving pods on unmigrated nodes.
|
||||||
|
# TODO: Remove after migration
|
||||||
|
#cni:
|
||||||
|
#customConf: false
|
||||||
|
|
||||||
|
# Routes cross-CNI traffic via the host network stack so Flannel pods
|
||||||
|
# and Cilium pods can reach each other during the transition.
|
||||||
|
# TODO: Remove after migration
|
||||||
|
#bpf:
|
||||||
|
#hostLegacyRouting: false
|
||||||
|
|
||||||
|
# NOTE: Use Geneve so Cilium's overlay is distinct from Flannel's VXLAN.
|
||||||
|
# This is required for cross-CNI pod connectivity during migration.
|
||||||
|
routingMode: tunnel
|
||||||
|
tunnelProtocol: geneve
|
||||||
|
|
||||||
|
# New pod CIDR exclusively for Cilium (must not overlap):
|
||||||
|
# Flannel pod CIDR: 10.100.0.0/16 (clusterCidr in k8s config)
|
||||||
|
# Service CIDR: 10.0.0.0/22
|
||||||
|
# Node networks: 10.255.241.0/24, 10.255.242.0/24, 10.255.243.0/24, 10.255.244.0/24
|
||||||
|
# TODO: after migration switch ipam.mode to kubernetes
|
||||||
|
ipam:
|
||||||
|
mode: cluster-pool
|
||||||
|
operator:
|
||||||
|
clusterPoolIPv4PodCIDRList:
|
||||||
|
- "10.100.0.0/16"
|
||||||
|
clusterPoolIPv4MaskSize: 24
|
||||||
|
|
||||||
|
# NOTE: Rate limit Cilium's k8s API client ekman has ~30 nodes.
|
||||||
|
k8sClientRateLimit:
|
||||||
|
qps: 5
|
||||||
|
burst: 10
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user