Compare commits
437 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
|
|||
|
63b6d99955
|
|||
|
a48077f9b3
|
|||
| 9c60baeff9 | |||
| d30515ab76 | |||
| 85117976c3 | |||
| 2ec369f428 | |||
| aadf8995e6 | |||
| 53776f68dd | |||
|
d4a56867e5
|
|||
|
8ae4f2c854
|
|||
|
ee21078412
|
|||
| a0e69a053d | |||
|
3bae9f5065
|
|||
|
cf816e621b
|
|||
| b71da56da7 | |||
| 3b6ed8e544 | |||
|
9cbb16ae08
|
|||
|
708a44fa9b
|
|||
|
f4a53934c2
|
|||
|
79ad206db3
|
|||
|
6c850b312c
|
|||
|
d1c4b25499
|
|||
|
265c370787
|
|||
|
ed017894b5
|
|||
|
9f0503bbf3
|
|||
|
5aa937acb3
|
|||
|
548c942b42
|
|||
|
b49f8dc005
|
|||
| 955424cc70 | |||
|
6e7fa3a642
|
|||
|
f6d6282aea
|
|||
| f20375c7ca | |||
|
127722c4b4
|
|||
|
d345172d8a
|
|||
|
e55212a859
|
|||
|
8a39fb8afc
|
|||
| 212739ae94 | |||
|
a940a2fedf
|
|||
|
38264b4879
|
|||
|
941e98abb8
|
|||
| 09b8030d03 | |||
|
e7ba9bf363
|
|||
|
3a188746de
|
|||
|
f315c5019b
|
|||
|
6213f4ce2e
|
|||
|
6d61ba9243
|
|||
|
ead05c101d
|
|||
|
44a93f15a6
|
|||
|
97d21660b1
|
|||
|
9ff1f8aafc
|
|||
|
f9cf9ad9b1
|
|||
|
807d9bca35
|
|||
|
bf15426393
|
|||
|
21c57dac36
|
|||
|
1fd177b73a
|
|||
|
9d5b144d2d
|
|||
|
24dfb63714
|
|||
|
e467799bd6
|
|||
|
ad258bf3fe
|
|||
|
0801c0c6c7
|
|||
|
924c7c74a4
|
|||
| 1b766341cb | |||
|
b8c199718a
|
|||
|
b77b968420
|
|||
| 449a0f0e60 | |||
|
b1584703d1
|
|||
|
d3ecef770f
|
|||
|
f43588cb93
|
|||
| be985a1ac4 | |||
| 6a3e3855df | |||
| da5a2ea142 | |||
| d3db1db7c5 | |||
|
411550cc23
|
@@ -1,13 +1,16 @@
|
||||
#!/usr/bin/env bash
|
||||
# the shebang is ignored, but nice for editors
|
||||
watch_file nix/sources.json
|
||||
watch_file nix/checks.nix
|
||||
watch_file npins/sources.json
|
||||
|
||||
# Load .env file if it exists
|
||||
dotenv_if_exists
|
||||
|
||||
# Set npins dir
|
||||
export NPINS_DIRECTORY="nix"
|
||||
|
||||
# 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/
|
||||
COPY plugin.yaml /home/argocd/cmp-server/config/
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
img=registry.gitlab.com/oceanbox/manifests/helmfile-cmp
|
||||
img=git.oceanbox.io/platform/manifests/helmfile-cmp
|
||||
tag=${1:-latest}
|
||||
|
||||
docker build -t "${img}":"${tag}" .
|
||||
|
||||
@@ -4,10 +4,10 @@ description: Atlantis map and simulation service
|
||||
type: application
|
||||
# This is the chart version. This version number should be incremented each time you make changes
|
||||
# to the chart and its templates, including the app version.
|
||||
version: v1.35.2
|
||||
version: v1.46.5
|
||||
# This is the version number of the application being deployed. This version number should be
|
||||
# incremented each time you make changes to the application.
|
||||
appVersion: v1.35.2
|
||||
appVersion: v1.46.5
|
||||
dependencies:
|
||||
- name: diagrid-dashboard
|
||||
version: "0.1.0"
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
# Declare variables to be passed into your templates.
|
||||
replicaCount: 1
|
||||
image:
|
||||
repository: registry.gitlab.com/oceanbox/poseidon/atlantis
|
||||
tag: v1.35.2
|
||||
repository: git.oceanbox.io/oceanbox/poseidon/atlantis
|
||||
tag: v1.46.5
|
||||
pullPolicy: IfNotPresent
|
||||
init:
|
||||
enabled: false
|
||||
@@ -116,6 +116,5 @@ serviceMonitor:
|
||||
nodeSelector: {}
|
||||
tolerations: []
|
||||
affinity: {}
|
||||
|
||||
diagrid-dashboard:
|
||||
enabled: false
|
||||
|
||||
@@ -13,9 +13,9 @@ type: application
|
||||
# This is the chart version. This version number should be incremented each time you make changes
|
||||
# to the chart and its templates, including the app version.
|
||||
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
||||
version: v1.35.2
|
||||
version: v1.46.5
|
||||
# This is the version number of the application being deployed. This version number should be
|
||||
# incremented each time you make changes to the application. Versions are not expected to
|
||||
# follow Semantic Versioning. They should reflect the version the application is using.
|
||||
# It is recommended to use it with quotes.
|
||||
appVersion: "v1.35.2"
|
||||
appVersion: "v1.46.5"
|
||||
|
||||
@@ -6,11 +6,11 @@
|
||||
replicaCount: 1
|
||||
# This sets the container image more information can be found here: https://kubernetes.io/docs/concepts/containers/images/
|
||||
image:
|
||||
repository: registry.gitlab.com/oceanbox/poseidon/codex
|
||||
repository: git.oceanbox.io/oceanbox/poseidon/codex
|
||||
# This sets the pull policy for images.
|
||||
pullPolicy: IfNotPresent
|
||||
# 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/
|
||||
imagePullSecrets:
|
||||
- name: gitlab-pull-secret
|
||||
|
||||
@@ -8,6 +8,7 @@ data:
|
||||
kind: Component
|
||||
metadata:
|
||||
name: statestore
|
||||
namespace: {{ .Values.statestore.namespace | default "default" }}
|
||||
scopes:
|
||||
- {{ .Values.statestore.scope }}
|
||||
spec:
|
||||
@@ -17,10 +18,10 @@ data:
|
||||
- name: redisUsername
|
||||
value: default
|
||||
- name: redisPassword
|
||||
value: secret
|
||||
value: {{ .Values.statestore.password | default "secret" }}
|
||||
- name: actorStateStore
|
||||
value: "true"
|
||||
- name: redisDB
|
||||
value: "1"
|
||||
value: "{{ .Values.statestore.redisDB | default "0" }}"
|
||||
type: state.redis
|
||||
version: v1
|
||||
|
||||
@@ -5,6 +5,9 @@
|
||||
statestore:
|
||||
scope: my-scope
|
||||
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/
|
||||
replicaCount: 1
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
# Patterns to ignore when building packages.
|
||||
# This supports shell glob matching, relative path matching, and
|
||||
# negation (prefixed with !). Only one pattern per line.
|
||||
.DS_Store
|
||||
# Common VCS dirs
|
||||
.git/
|
||||
.gitignore
|
||||
.bzr/
|
||||
.bzrignore
|
||||
.hg/
|
||||
.hgignore
|
||||
.svn/
|
||||
# Common backup files
|
||||
*.swp
|
||||
*.bak
|
||||
*.tmp
|
||||
*~
|
||||
# Various IDEs
|
||||
.project
|
||||
.idea/
|
||||
*.tmproj
|
||||
.vscode/
|
||||
base/
|
||||
prod/
|
||||
staging/
|
||||
review/
|
||||
@@ -0,0 +1,18 @@
|
||||
apiVersion: v2
|
||||
name: docs
|
||||
description: Oceanbox Documentation
|
||||
# A chart can be either an 'application' or a 'library' chart.
|
||||
#
|
||||
# Application charts are a collection of templates that can be packaged into versioned archives
|
||||
# to be deployed.
|
||||
#
|
||||
# Library charts provide useful utilities or functions for the chart developer. They're included as
|
||||
# a dependency of application charts to inject those utilities and functions into the rendering
|
||||
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
|
||||
type: application
|
||||
# This is the chart version. This version number should be incremented each time you make changes
|
||||
# to the chart and its templates, including the app version.
|
||||
version: v0.1.0
|
||||
# This is the version number of the application being deployed. This version number should be
|
||||
# incremented each time you make changes to the application.
|
||||
appVersion: v0.1.0
|
||||
Vendored
+22
@@ -0,0 +1,22 @@
|
||||
1. Get the application URL by running these commands:
|
||||
{{- if .Values.ingress.enabled }}
|
||||
{{- range $host := .Values.ingress.hosts }}
|
||||
{{- range .paths }}
|
||||
http{{ if $.Values.ingress.tls }}s{{ end }}://{{ $host.host }}{{ .path }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- else if contains "NodePort" .Values.service.type }}
|
||||
export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "docs.fullname" . }})
|
||||
export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
|
||||
echo http://$NODE_IP:$NODE_PORT
|
||||
{{- else if contains "LoadBalancer" .Values.service.type }}
|
||||
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
|
||||
You can watch the status of by running 'kubectl get --namespace {{ .Release.Namespace }} svc -w {{ include "docs.fullname" . }}'
|
||||
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "docs.fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}")
|
||||
echo http://$SERVICE_IP:{{ .Values.service.port }}
|
||||
{{- else if contains "ClusterIP" .Values.service.type }}
|
||||
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "docs.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
|
||||
export CONTAINER_PORT=$(kubectl get pod --namespace {{ .Release.Namespace }} $POD_NAME -o jsonpath="{.spec.containers[0].ports[0].containerPort}")
|
||||
echo "Visit http://127.0.0.1:8080 to use your application"
|
||||
kubectl --namespace {{ .Release.Namespace }} port-forward $POD_NAME 8080:$CONTAINER_PORT
|
||||
{{- end }}
|
||||
Vendored
+63
@@ -0,0 +1,63 @@
|
||||
{{/* vim: set filetype=mustache: */}}
|
||||
{{/*
|
||||
Expand the name of the chart.
|
||||
*/}}
|
||||
{{- define "docs.name" -}}
|
||||
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
|
||||
{{- end }}
|
||||
|
||||
{{/*
|
||||
Create a default fully qualified app name.
|
||||
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
|
||||
If release name contains chart name it will be used as a full name.
|
||||
*/}}
|
||||
{{- define "docs.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 "docs.chart" -}}
|
||||
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
|
||||
{{- end }}
|
||||
|
||||
{{/*
|
||||
Common labels
|
||||
*/}}
|
||||
{{- define "docs.labels" -}}
|
||||
helm.sh/chart: {{ include "docs.chart" . }}
|
||||
{{ include "docs.selectorLabels" . }}
|
||||
{{- if .Chart.AppVersion }}
|
||||
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
|
||||
{{- end }}
|
||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||
{{- end }}
|
||||
|
||||
{{/*
|
||||
Selector labels
|
||||
*/}}
|
||||
{{- define "docs.selectorLabels" -}}
|
||||
app.kubernetes.io/name: {{ include "docs.name" . }}
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
{{- end }}
|
||||
|
||||
{{/*
|
||||
Create the name of the service account to use
|
||||
*/}}
|
||||
{{- define "docs.serviceAccountName" -}}
|
||||
{{- if .Values.serviceAccount.create -}}
|
||||
{{ default (include "docs.fullname" .) .Values.serviceAccount.name }}
|
||||
{{- else -}}
|
||||
{{ default "default" .Values.serviceAccount.name }}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
Vendored
+24
@@ -0,0 +1,24 @@
|
||||
{{- if .Values.cluster.enabled -}}
|
||||
apiVersion: postgresql.cnpg.io/v1
|
||||
kind: Cluster
|
||||
metadata:
|
||||
name: {{ include "docs.fullname" . }}
|
||||
annotations:
|
||||
linkerd.io/inject: disabled
|
||||
labels:
|
||||
{{- include "docs.labels" . | nindent 4 }}
|
||||
spec:
|
||||
instances: {{ .Values.cluster.instances | default "2" }}
|
||||
|
||||
# Example of rolling update strategy:
|
||||
# - unsupervised: automated update of the primary once all
|
||||
# replicas have been upgraded (default)
|
||||
# - supervised: requires manual supervision to perform
|
||||
# the switchover of the primary
|
||||
primaryUpdateStrategy: unsupervised
|
||||
backup:
|
||||
retentionPolicy: {{ .Values.cluster.backupRetention | default "60d" }}
|
||||
|
||||
storage:
|
||||
size: {{ .Values.cluster.size | default "5Gi" }}
|
||||
{{- end }}
|
||||
+84
@@ -0,0 +1,84 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: {{ include "docs.fullname" . }}
|
||||
labels:
|
||||
{{- include "docs.labels" . | nindent 4 }}
|
||||
spec:
|
||||
{{- if not .Values.autoscaling.enabled }}
|
||||
replicas: {{ .Values.replicaCount }}
|
||||
{{- end }}
|
||||
selector:
|
||||
matchLabels:
|
||||
{{- include "docs.selectorLabels" . | nindent 6 }}
|
||||
template:
|
||||
metadata:
|
||||
{{- with .Values.podAnnotations }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
labels:
|
||||
{{- include "docs.selectorLabels" . | nindent 8 }}
|
||||
spec:
|
||||
{{- with .Values.imagePullSecrets }}
|
||||
imagePullSecrets:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
serviceAccountName: {{ include "docs.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:
|
||||
- name: LOG_LEVEL
|
||||
value: "3"
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /healthz
|
||||
port: http
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /healthz
|
||||
port: http
|
||||
resources:
|
||||
{{- toYaml .Values.resources | nindent 12 }}
|
||||
volumeMounts:
|
||||
- name: data
|
||||
mountPath: /data
|
||||
{{- if .Values.init.enabled }}
|
||||
initContainers:
|
||||
- name: init
|
||||
image: {{ .Values.init.image }}
|
||||
command: {{- toYaml .Values.init.command | nindent 10 }}
|
||||
volumeMounts:
|
||||
- name: data
|
||||
mountPath: /data
|
||||
{{- end }}
|
||||
volumes:
|
||||
- name: data
|
||||
{{- if .Values.persistence.enabled }}
|
||||
persistentVolumeClaim:
|
||||
claimName: {{ .Values.persistence.existingClaim | default (include "docs.fullname" .) }}
|
||||
{{- else }}
|
||||
emptyDir: {}
|
||||
{{- end }}
|
||||
{{- with .Values.nodeSelector }}
|
||||
nodeSelector:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.affinity }}
|
||||
affinity:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.tolerations }}
|
||||
tolerations:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
Vendored
+28
@@ -0,0 +1,28 @@
|
||||
{{- if .Values.autoscaling.enabled }}
|
||||
apiVersion: autoscaling/v2beta1
|
||||
kind: HorizontalPodAutoscaler
|
||||
metadata:
|
||||
name: {{ include "docs.fullname" . }}
|
||||
labels:
|
||||
{{- include "docs.labels" . | nindent 4 }}
|
||||
spec:
|
||||
scaleTargetRef:
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
name: {{ include "docs.fullname" . }}
|
||||
minReplicas: {{ .Values.autoscaling.minReplicas }}
|
||||
maxReplicas: {{ .Values.autoscaling.maxReplicas }}
|
||||
metrics:
|
||||
{{- if .Values.autoscaling.targetCPUUtilizationPercentage }}
|
||||
- type: Resource
|
||||
resource:
|
||||
name: cpu
|
||||
targetAverageUtilization: {{ .Values.autoscaling.targetCPUUtilizationPercentage }}
|
||||
{{- end }}
|
||||
{{- if .Values.autoscaling.targetMemoryUtilizationPercentage }}
|
||||
- type: Resource
|
||||
resource:
|
||||
name: memory
|
||||
targetAverageUtilization: {{ .Values.autoscaling.targetMemoryUtilizationPercentage }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
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 }}
|
||||
Vendored
+61
@@ -0,0 +1,61 @@
|
||||
{{- if .Values.ingress.enabled -}}
|
||||
{{- $fullName := include "docs.fullname" . -}}
|
||||
{{- $svcPort := .Values.service.port -}}
|
||||
{{- if and .Values.ingress.className (not (semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion)) }}
|
||||
{{- if not (hasKey .Values.ingress.annotations "kubernetes.io/ingress.class") }}
|
||||
{{- $_ := set .Values.ingress.annotations "kubernetes.io/ingress.class" .Values.ingress.className}}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion -}}
|
||||
apiVersion: networking.k8s.io/v1
|
||||
{{- else if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}}
|
||||
apiVersion: networking.k8s.io/v1beta1
|
||||
{{- else -}}
|
||||
apiVersion: extensions/v1beta1
|
||||
{{- end }}
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: {{ $fullName }}
|
||||
labels:
|
||||
{{- include "docs.labels" . | nindent 4 }}
|
||||
{{- with .Values.ingress.annotations }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- if and .Values.ingress.className (semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion) }}
|
||||
ingressClassName: {{ .Values.ingress.className }}
|
||||
{{- end }}
|
||||
{{- if .Values.ingress.tls }}
|
||||
tls:
|
||||
{{- range .Values.ingress.tls }}
|
||||
- hosts:
|
||||
{{- range .hosts }}
|
||||
- {{ . | quote }}
|
||||
{{- end }}
|
||||
secretName: {{ .secretName }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
rules:
|
||||
{{- range .Values.ingress.hosts }}
|
||||
- host: {{ .host | quote }}
|
||||
http:
|
||||
paths:
|
||||
{{- range .paths }}
|
||||
- path: {{ .path }}
|
||||
{{- if and .pathType (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion) }}
|
||||
pathType: {{ .pathType }}
|
||||
{{- end }}
|
||||
backend:
|
||||
{{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }}
|
||||
service:
|
||||
name: {{ $fullName }}
|
||||
port:
|
||||
number: {{ $svcPort }}
|
||||
{{- else }}
|
||||
serviceName: {{ $fullName }}
|
||||
servicePort: {{ $svcPort }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
Vendored
+25
@@ -0,0 +1,25 @@
|
||||
{{- if and .Values.persistence.enabled (not .Values.persistence.existingClaim) }}
|
||||
kind: PersistentVolumeClaim
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: {{ template "docs.fullname" . }}
|
||||
{{- with .Values.persistence.annotations }}
|
||||
annotations:
|
||||
{{ toYaml . | indent 4 }}
|
||||
{{- end }}
|
||||
labels:
|
||||
{{ include "docs.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 }}
|
||||
Vendored
+15
@@ -0,0 +1,15 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: {{ include "docs.fullname" . }}
|
||||
labels:
|
||||
{{- include "docs.labels" . | nindent 4 }}
|
||||
spec:
|
||||
type: {{ .Values.service.type }}
|
||||
ports:
|
||||
- port: {{ .Values.service.port }}
|
||||
targetPort: http
|
||||
protocol: TCP
|
||||
name: http
|
||||
selector:
|
||||
{{- include "docs.selectorLabels" . | nindent 4 }}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
{{- if .Values.serviceAccount.create -}}
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: {{ include "docs.serviceAccountName" . }}
|
||||
labels:
|
||||
{{- include "docs.labels" . | nindent 4 }}
|
||||
{{- with .Values.serviceAccount.annotations }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
@@ -0,0 +1,87 @@
|
||||
# Default values for docs.
|
||||
# This is a YAML-formatted file.
|
||||
# Declare variables to be passed into your templates.
|
||||
replicaCount: 1
|
||||
image:
|
||||
repository: git.oceanbox.io/oceanbox/documentation/docs
|
||||
tag: v0.1.0
|
||||
pullPolicy: IfNotPresent
|
||||
init:
|
||||
enabled: false
|
||||
image: ubuntu:rolling
|
||||
command: ["/bin/sh", "-c", "true"]
|
||||
env:
|
||||
- name: LOG_LEVEL
|
||||
value: "2"
|
||||
- name: APP_NAME
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: metadata.name
|
||||
- name: APP_NAMESPACE
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: metadata.namespace
|
||||
# imagePullSecrets:
|
||||
# - name: gitea-pull-secret
|
||||
nameOverride: ""
|
||||
fullnameOverride: ""
|
||||
serviceAccount:
|
||||
create: true
|
||||
# Annotations to add to the service account
|
||||
annotations: {}
|
||||
# The name of the service account to use.
|
||||
# If not set and create is true, a name is generated using the fullname template
|
||||
name: ""
|
||||
podAnnotations: {}
|
||||
podSecurityContext:
|
||||
fsGroup: 2000
|
||||
securityContext:
|
||||
capabilities:
|
||||
drop:
|
||||
- ALL
|
||||
readOnlyRootFilesystem: false
|
||||
runAsNonRoot: false
|
||||
runAsUser: 0
|
||||
service:
|
||||
type: ClusterIP
|
||||
port: 8080
|
||||
ingress:
|
||||
enabled: false
|
||||
className: nginx
|
||||
httpRoute:
|
||||
enabled: false
|
||||
parentRefs: []
|
||||
hostnames: []
|
||||
rules: []
|
||||
persistence:
|
||||
enabled: false
|
||||
size: 1G
|
||||
storageClass: ""
|
||||
accessMode: ReadWriteOnce
|
||||
cluster:
|
||||
enabled: false
|
||||
instances: 2
|
||||
backupEnabled: true
|
||||
backupRetention: 60d
|
||||
size: 5Gi
|
||||
resources: {}
|
||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
||||
# choice for the user. This also increases chances charts run on environments with little
|
||||
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
||||
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
||||
# limits:
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
# requests:
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
|
||||
autoscaling:
|
||||
enabled: false
|
||||
minReplicas: 1
|
||||
maxReplicas: 100
|
||||
targetCPUUtilizationPercentage: 80
|
||||
# targetMemoryUtilizationPercentage: 80
|
||||
nodeSelector: {}
|
||||
tolerations: []
|
||||
affinity: {}
|
||||
@@ -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 }}
|
||||
@@ -3,7 +3,7 @@
|
||||
# Declare variables to be passed into your templates.
|
||||
replicaCount: 1
|
||||
image:
|
||||
repository: registry.gitlab.com/oceanbox/makai
|
||||
repository: git.oceanbox.io/oceanbox/makai/makai
|
||||
tag: v0.1.0
|
||||
pullPolicy: IfNotPresent
|
||||
init:
|
||||
@@ -46,8 +46,13 @@ service:
|
||||
type: ClusterIP
|
||||
port: 8080
|
||||
ingress:
|
||||
enabled: true
|
||||
enabled: false
|
||||
className: nginx
|
||||
httpRoute:
|
||||
enabled: false
|
||||
parentRefs: []
|
||||
hostnames: []
|
||||
rules: []
|
||||
persistence:
|
||||
enabled: false
|
||||
size: 1G
|
||||
|
||||
@@ -4,7 +4,12 @@ description: A Helm chart for Kubernetes
|
||||
type: application
|
||||
# This is the chart version. This version number should be incremented each time you make changes
|
||||
# to the chart and its templates, including the app version.
|
||||
version: v1.6.7
|
||||
version: v1.6.13
|
||||
# This is the version number of the application being deployed. This version number should be
|
||||
# incremented each time you make changes to the application.
|
||||
appVersion: v1.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.
|
||||
replicaCount: 1
|
||||
image:
|
||||
repository: registry.gitlab.com/oceanbox/plume
|
||||
tag: v1.6.7
|
||||
repository: git.oceanbox.io/oceanbox/plume/plume
|
||||
tag: v1.6.13
|
||||
pullPolicy: IfNotPresent
|
||||
init:
|
||||
enabled: false
|
||||
@@ -90,3 +90,6 @@ serviceMonitor:
|
||||
nodeSelector: {}
|
||||
tolerations: []
|
||||
affinity: {}
|
||||
|
||||
diagrid-dashboard:
|
||||
enabled: false
|
||||
|
||||
@@ -4,10 +4,10 @@ description: A Helm chart for Kubernetes
|
||||
type: application
|
||||
# This is the chart version. This version number should be incremented each time you make changes
|
||||
# to the chart and its templates, including the app version.
|
||||
version: v1.35.2
|
||||
version: v1.46.5
|
||||
# This is the version number of the application being deployed. This version number should be
|
||||
# incremented each time you make changes to the application.
|
||||
appVersion: v1.35.2
|
||||
appVersion: v1.46.5
|
||||
dependencies:
|
||||
- name: diagrid-dashboard
|
||||
version: "0.1.0"
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
replicaCount: 1
|
||||
image:
|
||||
repository: registry.gitlab.com/oceanbox/poseidon/sorcerer
|
||||
tag: v1.35.2
|
||||
repository: git.oceanbox.io/oceanbox/poseidon/sorcerer
|
||||
tag: v1.46.5
|
||||
pullPolicy: IfNotPresent
|
||||
init:
|
||||
enabled: false
|
||||
@@ -108,7 +108,6 @@ serviceMonitor:
|
||||
nodeSelector: {}
|
||||
tolerations: []
|
||||
affinity: {}
|
||||
|
||||
diagrid-dashboard:
|
||||
enabled: false
|
||||
statestore:
|
||||
|
||||
@@ -20,4 +20,11 @@ environments:
|
||||
- ../values/*/env.yaml.gotmpl
|
||||
- ../values/*/env-{{ requiredEnv "ARGOCD_ENV_CLUSTER_NAME" }}.yaml.gotmpl
|
||||
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
|
||||
namespace: argocd
|
||||
chart: argo/argo-cd
|
||||
version: 7.9.1
|
||||
version: 9.4.10
|
||||
condition: argo.enabled
|
||||
values:
|
||||
- ../values/argo/values/argocd.yaml.gotmpl
|
||||
@@ -27,7 +27,7 @@ releases:
|
||||
- name: argocd-apps
|
||||
namespace: argocd
|
||||
chart: argo/argocd-apps
|
||||
version: 2.0.3
|
||||
version: 2.0.4
|
||||
condition: argo.apps.enabled
|
||||
values:
|
||||
- ../values/argo/values/apps.yaml.gotmpl
|
||||
@@ -35,7 +35,7 @@ releases:
|
||||
- name: argo-rollouts
|
||||
namespace: argocd
|
||||
chart: argo/argo-rollouts
|
||||
version: 2.40.5
|
||||
version: 2.40.6
|
||||
condition: argo.rollouts.enabled
|
||||
values:
|
||||
- ../values/argo/values/rollouts.yaml.gotmpl
|
||||
@@ -43,7 +43,7 @@ releases:
|
||||
- name: argo-workflows
|
||||
namespace: argocd
|
||||
chart: argo/argo-workflows
|
||||
version: 0.45.27
|
||||
version: 0.47.5
|
||||
condition: argo.workflows.enabled
|
||||
missingFileHandler: Info
|
||||
- name: manifests
|
||||
@@ -66,4 +66,3 @@ releases:
|
||||
- '{{`{{ .Environment.Name }}`}}'
|
||||
- ../values/argo/manifests
|
||||
- _argo
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ releases:
|
||||
- name: cert-manager
|
||||
namespace: cert-manager
|
||||
chart: cert-manager/cert-manager
|
||||
version: v1.19.2
|
||||
version: v1.19.4
|
||||
condition: cert_manager.enabled
|
||||
values:
|
||||
- ../values/cert-manager/values/cert-manager.yaml.gotmpl
|
||||
|
||||
@@ -3,7 +3,8 @@ bases:
|
||||
|
||||
repositories:
|
||||
- name: cilium
|
||||
url: 'https://helm.cilium.io'
|
||||
oci: true
|
||||
url: 'quay.io/cilium/charts'
|
||||
|
||||
commonLabels:
|
||||
tier: system
|
||||
@@ -15,11 +16,11 @@ releases:
|
||||
- name: cilium
|
||||
namespace: kube-system
|
||||
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
|
||||
values:
|
||||
- ../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
|
||||
- name: manifests
|
||||
namespace: cilium
|
||||
@@ -55,4 +56,3 @@ releases:
|
||||
- '{{`{{ .Environment.Name }}`}}'
|
||||
- ../values/cilium/cilium-manifests
|
||||
- manifests
|
||||
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
bases:
|
||||
- ../envs/environments.yaml.gotmpl
|
||||
|
||||
commonLabels:
|
||||
tier: oceanbox
|
||||
|
||||
releases:
|
||||
- name: docs
|
||||
namespace: docs
|
||||
chart: ../charts/docs
|
||||
condition: docs.enabled
|
||||
values:
|
||||
- ../values/docs/values/values.yaml
|
||||
- ../values/docs/values/values.yaml.gotmpl
|
||||
- ../values/docs/values/values-{{ .Environment.Name }}.yaml
|
||||
postRenderer: ../bin/kustomizer
|
||||
postRendererArgs:
|
||||
- ../values/docs/kustomize/{{ .Environment.Name }}
|
||||
missingFileHandler: Info
|
||||
- name: manifests
|
||||
namespace: docs
|
||||
chart: manifests
|
||||
condition: docs.enabled
|
||||
missingFileHandler: Info
|
||||
values:
|
||||
- ../values/env.yaml
|
||||
- ../values/env-{{ requiredEnv "ARGOCD_ENV_CLUSTER_NAME" }}.yaml
|
||||
- ../values/docs/env.yaml.gotmpl
|
||||
- ../values/docs/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/docs/manifests
|
||||
- manifests
|
||||
@@ -13,7 +13,7 @@ releases:
|
||||
- name: dragonfly
|
||||
namespace: dragonfly
|
||||
chart: dragonfly/dragonfly-operator
|
||||
version: v1.3.1
|
||||
version: v1.4.0
|
||||
condition: dragonfly.enabled
|
||||
values:
|
||||
- ../values/dragonfly/values/dragonfly.yaml.gotmpl
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
bases:
|
||||
- ../envs/environments.yaml.gotmpl
|
||||
|
||||
#repositories:
|
||||
#- name: drupal
|
||||
# url: "https://drupalwxt.github.io/helm-drupal/index.yaml"
|
||||
|
||||
commonLabels:
|
||||
tier: system
|
||||
|
||||
releases:
|
||||
- name: drupal
|
||||
namespace: drupal
|
||||
#chart: drupal/drupal
|
||||
#version: v1.3.0
|
||||
condition: drupal.enabled
|
||||
values:
|
||||
- ../values/drupal/values/drupal.yaml.gotmpl
|
||||
- ../values/drupal/values/drupal-{{ .Environment.Name }}.yaml.gotmpl
|
||||
postRenderer: ../bin/kustomizer
|
||||
postRendererArgs:
|
||||
- ../values/drupal/kustomize/{{ .Environment.Name }}
|
||||
missingFileHandler: Info
|
||||
- name: manifests
|
||||
namespace: drupal
|
||||
chart: manifests
|
||||
condition: drupal.enabled
|
||||
missingFileHandler: Info
|
||||
values:
|
||||
- ../values/env.yaml
|
||||
- ../values/env-{{ requiredEnv "ARGOCD_ENV_CLUSTER_NAME" }}.yaml
|
||||
- ../values/drupal/env.yaml.gotmpl
|
||||
- ../values/drupal/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/drupal/manifests
|
||||
- manifests
|
||||
@@ -12,7 +12,7 @@ releases:
|
||||
- name: gatus
|
||||
namespace: uptime
|
||||
chart: gatus/gatus
|
||||
version: 1.4.4
|
||||
version: 1.5.0
|
||||
condition: gatus.enabled
|
||||
values:
|
||||
- ../values/gatus/values/values.yaml
|
||||
|
||||
@@ -2,35 +2,37 @@ bases:
|
||||
- ../envs/environments.yaml.gotmpl
|
||||
|
||||
repositories:
|
||||
- name: stevehipwell
|
||||
url: 'https://stevehipwell.github.io/helm-charts/'
|
||||
- name: gitea
|
||||
oci: true
|
||||
url: docker.gitea.com/charts
|
||||
|
||||
commonLabels:
|
||||
tier: system
|
||||
|
||||
releases:
|
||||
- name: nexus3
|
||||
namespace: nexus
|
||||
chart: stevehipwell/nexus3
|
||||
version: 5.9.0
|
||||
condition: nexus.enabled
|
||||
- name: gitea
|
||||
namespace: gitea
|
||||
chart: gitea/gitea
|
||||
version: 12.5.0
|
||||
condition: gitea.enabled
|
||||
values:
|
||||
- ../values/nexus/values/nexus.yaml.gotmpl
|
||||
- ../values/nexus/values/nexus-{{ .Environment.Name }}.yaml.gotmpl
|
||||
- ../values/gitea/values/values.yaml
|
||||
- ../values/gitea/values/values.yaml.gotmpl
|
||||
- ../values/gitea/values/values-{{ .Environment.Name }}.yaml
|
||||
postRenderer: ../bin/kustomizer
|
||||
postRendererArgs:
|
||||
- ../values/nexus/kustomize/{{ .Environment.Name }}
|
||||
- ../values/gitea/kustomize/{{ .Environment.Name }}
|
||||
missingFileHandler: Info
|
||||
- name: manifests
|
||||
namespace: nexus
|
||||
namespace: gitea
|
||||
chart: manifests
|
||||
condition: nexus.enabled
|
||||
condition: gitea.enabled
|
||||
missingFileHandler: Info
|
||||
values:
|
||||
- ../values/env.yaml
|
||||
- ../values/env-{{ requiredEnv "ARGOCD_ENV_CLUSTER_NAME" }}.yaml
|
||||
- ../values/nexus/env.yaml.gotmpl
|
||||
- ../values/nexus/env-{{ requiredEnv "ARGOCD_ENV_CLUSTER_NAME" }}.yaml.gotmpl
|
||||
- ../values/gitea/env.yaml.gotmpl
|
||||
- ../values/gitea/env-{{ requiredEnv "ARGOCD_ENV_CLUSTER_NAME" }}.yaml.gotmpl
|
||||
hooks:
|
||||
- events: [ prepare, cleanup ]
|
||||
showlogs: true
|
||||
@@ -39,5 +41,5 @@ releases:
|
||||
- '{{`{{ if eq .Event.Name "prepare" }}build{{ else }}clean{{ end }}`}}'
|
||||
- '{{`{{ .Release.Chart }}`}}'
|
||||
- '{{`{{ .Environment.Name }}`}}'
|
||||
- ../values/nexus/manifests
|
||||
- ../values/gitea/manifests
|
||||
- manifests
|
||||
@@ -12,7 +12,7 @@ releases:
|
||||
- name: ingress-nginx
|
||||
namespace: ingress-nginx
|
||||
chart: ingress-nginx/ingress-nginx
|
||||
version: 4.14.1
|
||||
version: 4.14.3
|
||||
condition: nginx.enabled
|
||||
values:
|
||||
- ../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
|
||||
namespace: keycloak
|
||||
chart: bitnami/keycloak
|
||||
version: 24.0.2
|
||||
version: 24.9.0
|
||||
condition: keycloak.enabled
|
||||
values:
|
||||
- ../values/keycloak/values/values.yaml
|
||||
|
||||
@@ -15,7 +15,7 @@ releases:
|
||||
- name: kyverno
|
||||
namespace: kyverno
|
||||
chart: kyverno/kyverno
|
||||
version: 3.6.1
|
||||
version: 3.7.1
|
||||
condition: kyverno.enabled
|
||||
values:
|
||||
- ../values/kyverno/values/kyverno.yaml.gotmpl
|
||||
|
||||
@@ -12,7 +12,7 @@ releases:
|
||||
- name: loki
|
||||
namespace: loki
|
||||
chart: loki/loki
|
||||
version: 6.42.0
|
||||
version: 6.53.0
|
||||
condition: loki.enabled
|
||||
values:
|
||||
- ../values/loki/values/loki.yaml.gotmpl
|
||||
|
||||
@@ -6,18 +6,19 @@ commonLabels:
|
||||
|
||||
releases:
|
||||
- name: makai
|
||||
namespace: {{ .Environment.Name }}-makai
|
||||
namespace: makai
|
||||
chart: ../charts/makai
|
||||
condition: makai.enabled
|
||||
values:
|
||||
- ../values/makai/values/values.yaml
|
||||
- ../values/makai/values/values.yaml.gotmpl
|
||||
- ../values/makai/values/values-{{ .Environment.Name }}.yaml
|
||||
postRenderer: ../bin/kustomizer
|
||||
postRendererArgs:
|
||||
- ../values/makai/kustomize/{{ .Environment.Name }}
|
||||
missingFileHandler: Info
|
||||
- name: manifests
|
||||
namespace: {{ .Environment.Name }}-makai
|
||||
namespace: makai
|
||||
chart: manifests
|
||||
condition: makai.enabled
|
||||
missingFileHandler: Info
|
||||
|
||||
@@ -12,7 +12,7 @@ releases:
|
||||
- name: mariadb-operator
|
||||
namespace: mariadb-operator
|
||||
chart: mariadb-operator/mariadb-operator
|
||||
version: 25.10.3
|
||||
version: 25.10.4
|
||||
condition: mariadb_operator.enabled
|
||||
values:
|
||||
- ../values/mariadb-operator/values/mariadb-operator.yaml.gotmpl
|
||||
|
||||
@@ -16,7 +16,7 @@ releases:
|
||||
namespace: {{ .Environment.Name }}-openfga
|
||||
{{- end }}
|
||||
chart: openfga/openfga
|
||||
version: 0.2.50
|
||||
version: 0.2.55
|
||||
condition: openfga.enabled
|
||||
values:
|
||||
- ../values/openfga/values/values.yaml
|
||||
|
||||
@@ -12,7 +12,7 @@ releases:
|
||||
- name: opentelemetry-collector
|
||||
namespace: otel
|
||||
chart: open-telemetry/opentelemetry-collector
|
||||
version: 0.142.1
|
||||
version: 0.146.1
|
||||
condition: otel.enabled
|
||||
values:
|
||||
- ../values/opentelemetry-collector/values/values.yaml
|
||||
|
||||
@@ -2,36 +2,35 @@ bases:
|
||||
- ../envs/environments.yaml.gotmpl
|
||||
|
||||
repositories:
|
||||
- name: forgejo
|
||||
oci: true
|
||||
url: code.forgejo.org/forgejo-helm
|
||||
- name: postfix
|
||||
url: https://bokysan.github.io/docker-postfix
|
||||
|
||||
commonLabels:
|
||||
tier: system
|
||||
|
||||
releases:
|
||||
- name: forgejo
|
||||
namespace: forgejo
|
||||
chart: forgejo/forgejo
|
||||
version: 16.0.0
|
||||
condition: forgejo.enabled
|
||||
- name: postfix
|
||||
namespace: postfix
|
||||
chart: postfix/mail
|
||||
version: 5.1.0
|
||||
condition: postfix.enabled
|
||||
values:
|
||||
- ../values/forgejo/values/values.yaml
|
||||
- ../values/forgejo/values/values-{{ .Environment.Name }}.yaml
|
||||
- ../values/postfix/values/values.yaml
|
||||
- ../values/postfix/values/values-{{ .Environment.Name }}.yaml
|
||||
postRenderer: ../bin/kustomizer
|
||||
postRendererArgs:
|
||||
- ../values/forgejo/kustomize/{{ .Environment.Name }}
|
||||
- ../values/postfix/kustomize/{{ .Environment.Name }}
|
||||
missingFileHandler: Info
|
||||
- name: manifests
|
||||
namespace: forgejo
|
||||
namespace: postfix
|
||||
chart: manifests
|
||||
condition: forgejo.enabled
|
||||
condition: postfix.enabled
|
||||
missingFileHandler: Info
|
||||
values:
|
||||
- ../values/env.yaml
|
||||
- ../values/env-{{ requiredEnv "ARGOCD_ENV_CLUSTER_NAME" }}.yaml
|
||||
- ../values/forgejo/env.yaml.gotmpl
|
||||
- ../values/forgejo/env-{{ requiredEnv "ARGOCD_ENV_CLUSTER_NAME" }}.yaml.gotmpl
|
||||
- ../values/postfix/env.yaml.gotmpl
|
||||
- ../values/postfix/env-{{ requiredEnv "ARGOCD_ENV_CLUSTER_NAME" }}.yaml.gotmpl
|
||||
hooks:
|
||||
- events: [ prepare, cleanup ]
|
||||
showlogs: true
|
||||
@@ -40,5 +39,5 @@ releases:
|
||||
- '{{`{{ if eq .Event.Name "prepare" }}build{{ else }}clean{{ end }}`}}'
|
||||
- '{{`{{ .Release.Chart }}`}}'
|
||||
- '{{`{{ .Environment.Name }}`}}'
|
||||
- ../values/forgejo/manifests
|
||||
- ../values/postfix/manifests
|
||||
- manifests
|
||||
@@ -27,7 +27,7 @@ releases:
|
||||
- name: plugin-barman-cloud
|
||||
namespace: cnpg
|
||||
chart: cloudnative-pg/plugin-barman-cloud
|
||||
version: 0.3.1
|
||||
version: 0.5.0
|
||||
condition: postgres_operator.enabled
|
||||
values:
|
||||
- ../values/postgres-operator/values/plugin-barman-cloud.yaml.gotmpl
|
||||
|
||||
@@ -15,7 +15,7 @@ releases:
|
||||
- name: prometheus
|
||||
namespace: prometheus
|
||||
chart: prometheus/kube-prometheus-stack
|
||||
version: 72.7.0
|
||||
version: 82.10.1
|
||||
condition: prometheus.enabled
|
||||
values:
|
||||
- ../values/prometheus/values/prometheus.yaml.gotmpl
|
||||
|
||||
@@ -13,7 +13,7 @@ releases:
|
||||
- name: slurm-operator
|
||||
namespace: slinky
|
||||
chart: slurm-operator/slurm-operator
|
||||
version: 0.4.1
|
||||
version: 1.0.2
|
||||
condition: slurm_operator.enabled
|
||||
values:
|
||||
- ../values/slurm-operator/values/slurm-operator.yaml.gotmpl
|
||||
|
||||
@@ -13,7 +13,7 @@ releases:
|
||||
- name: slurm
|
||||
namespace: slurm
|
||||
chart: slurm/slurm
|
||||
version: 0.4.1
|
||||
version: 1.0.2
|
||||
condition: slurm.enabled
|
||||
values:
|
||||
- ../values/slurm/values/slurm.yaml.gotmpl
|
||||
|
||||
@@ -14,7 +14,7 @@ releases:
|
||||
- name: umami
|
||||
namespace: analytics
|
||||
chart: umami/umami
|
||||
version: 6.0.1
|
||||
version: 7.7.2
|
||||
condition: umami.enabled
|
||||
values:
|
||||
- ../values/umami/values/values.yaml
|
||||
|
||||
@@ -15,7 +15,7 @@ releases:
|
||||
- name: velero
|
||||
namespace: velero
|
||||
chart: velero/velero
|
||||
version: 11.3.2
|
||||
version: 11.4.0
|
||||
condition: velero.enabled
|
||||
values:
|
||||
- ../values/velero/values/velero.yaml.gotmpl
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
{
|
||||
"pins": {
|
||||
"git-hooks": {
|
||||
"type": "Git",
|
||||
"repository": {
|
||||
"type": "GitHub",
|
||||
"owner": "cachix",
|
||||
"repo": "git-hooks.nix"
|
||||
},
|
||||
"branch": "master",
|
||||
"submodules": false,
|
||||
"revision": "f0927703b7b1c8d97511c4116eb9b4ec6645a0fa",
|
||||
"url": "https://github.com/cachix/git-hooks.nix/archive/f0927703b7b1c8d97511c4116eb9b4ec6645a0fa.tar.gz",
|
||||
"hash": "sha256-6MkqajPICgugsuZ92OMoQcgSHnD6sJHwk8AxvMcIgTE="
|
||||
},
|
||||
"nixpkgs": {
|
||||
"type": "Channel",
|
||||
"name": "nixpkgs-unstable",
|
||||
"url": "https://releases.nixos.org/nixpkgs/nixpkgs-26.05pre927565.13868c071cc7/nixexprs.tar.xz",
|
||||
"hash": "sha256-wufp5c0nWh/87f9eK7xy1eZXms5zd4yl6S4SR+LfA08="
|
||||
}
|
||||
},
|
||||
"version": 7
|
||||
}
|
||||
@@ -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;
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"pins": {
|
||||
"git-hooks": {
|
||||
"type": "Git",
|
||||
"repository": {
|
||||
"type": "GitHub",
|
||||
"owner": "cachix",
|
||||
"repo": "git-hooks.nix"
|
||||
},
|
||||
"branch": "master",
|
||||
"submodules": false,
|
||||
"revision": "a1ef738813b15cf8ec759bdff5761b027e3e1d23",
|
||||
"url": "https://github.com/cachix/git-hooks.nix/archive/a1ef738813b15cf8ec759bdff5761b027e3e1d23.tar.gz",
|
||||
"hash": "sha256-Efs3VUPelRduf3PpfPP2ovEB4CXT7vHf8W+xc49RL/U="
|
||||
},
|
||||
"nixpkgs": {
|
||||
"type": "Channel",
|
||||
"name": "nixpkgs-unstable",
|
||||
"url": "https://releases.nixos.org/nixpkgs/nixpkgs-26.05pre930822.ed142ab1b3a0/nixexprs.tar.xz",
|
||||
"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
|
||||
}
|
||||
@@ -6,7 +6,6 @@
|
||||
"dependencyDashboard": true,
|
||||
"semanticCommits": "disabled",
|
||||
"ignorePaths": [
|
||||
"**/attic/**",
|
||||
"**/bootstrap/**"
|
||||
],
|
||||
"helmfile": {
|
||||
|
||||
@@ -1,67 +1,53 @@
|
||||
let
|
||||
sources = import ./nix;
|
||||
sources = import ./npins;
|
||||
system = builtins.currentSystem;
|
||||
pkgs = import sources.nixpkgs {
|
||||
inherit system;
|
||||
config = { };
|
||||
overlays = [ ];
|
||||
};
|
||||
checks = import ./nix/checks.nix;
|
||||
treefmt = import ./nix/treefmt.nix { };
|
||||
in
|
||||
pkgs.mkShellNoCC {
|
||||
name = "clstr";
|
||||
packages = [
|
||||
# dev tools
|
||||
pkgs.just
|
||||
pkgs.npins
|
||||
treefmt.config.build.wrapper
|
||||
|
||||
packages =
|
||||
with pkgs;
|
||||
[
|
||||
# dev tools
|
||||
just
|
||||
npins
|
||||
# helm
|
||||
pkgs.helmfile
|
||||
pkgs.kubernetes-helm
|
||||
|
||||
# helm
|
||||
helmfile
|
||||
kubernetes-helm
|
||||
# kubectl tools
|
||||
pkgs.kubectl-cnpg
|
||||
pkgs.kubectl-neat
|
||||
pkgs.kubectl-graph
|
||||
pkgs.kubectl-klock
|
||||
pkgs.kubectl-rook-ceph
|
||||
|
||||
# kubectl tools
|
||||
kubectl-cnpg
|
||||
kubectl-neat
|
||||
kubelogin
|
||||
kubelogin-oidc
|
||||
kubectl-rook-ceph
|
||||
kubectl-graph
|
||||
kubectl-klock
|
||||
graphviz
|
||||
|
||||
# other tools activate when needed
|
||||
# step-cli
|
||||
# linkerd
|
||||
# cmctl
|
||||
# rclone
|
||||
# velero
|
||||
# renovate
|
||||
|
||||
# dapr
|
||||
dapr-cli
|
||||
]
|
||||
++ checks.enabledPackages;
|
||||
# other tools activate when needed
|
||||
# pkgs.step-cli
|
||||
# pkgs.linkerd
|
||||
# pkgs.cmctl
|
||||
# pkgs.rclone
|
||||
# pkgs.velero
|
||||
# pkgs.renovate
|
||||
# pkgs.graphviz
|
||||
# pkgs.hubble
|
||||
# pkgs.dapr-cli
|
||||
];
|
||||
|
||||
# Environment variables
|
||||
ARGOCD_ENV_CLUSTER_NAME = "hel1";
|
||||
ARGOCD_ENV_CLUSTER_NAME = "ekman";
|
||||
HELM_GIT_ACCESS_TOKEN = "glpat-xxx";
|
||||
|
||||
shellHook = builtins.concatStringsSep "\n" [
|
||||
checks.shellHook
|
||||
];
|
||||
|
||||
# Alternative shells
|
||||
passthru = pkgs.lib.mapAttrs (name: value: pkgs.mkShellNoCC (value // { inherit name; })) {
|
||||
ci-shell = {
|
||||
packages = [
|
||||
pkgs.npins
|
||||
];
|
||||
shellHook = ''
|
||||
export NPINS_DIRECTORY="nix"
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -24,11 +24,7 @@ argocd:
|
||||
cpu: 250m
|
||||
repoServers:
|
||||
- name: "helmfile-cmp"
|
||||
image: "registry.gitlab.com/oceanbox/manifests/helmfile-cmp:latest"
|
||||
imagePullSecrets:
|
||||
- gitlab-pull-secret
|
||||
- name: "kustomize-helm-with-rewrite"
|
||||
image: "registry.gitlab.com/oceanbox/manifests/kustomize-helm-with-rewrite:latest"
|
||||
image: "git.oceanbox.io/platform/manifests/helmfile-cmp:latest"
|
||||
imagePullSecrets:
|
||||
- gitlab-pull-secret
|
||||
additional_rbac_settings:
|
||||
|
||||
@@ -28,6 +28,7 @@ spec:
|
||||
managedNamespaceMetadata:
|
||||
labels:
|
||||
component: sys
|
||||
shared-gateway-access: "true"
|
||||
syncOptions:
|
||||
- CreateNamespace=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 }}
|
||||
@@ -88,11 +88,17 @@ spec:
|
||||
server: https://kubernetes.default.svc
|
||||
- namespace: uptime
|
||||
server: https://kubernetes.default.svc
|
||||
- namespace: forgejo
|
||||
- namespace: gitea
|
||||
server: https://kubernetes.default.svc
|
||||
- namespace: postfix
|
||||
server: https://kubernetes.default.svc
|
||||
- namespace: jobset-system
|
||||
server: https://kubernetes.default.svc
|
||||
sourceRepos:
|
||||
- https://argoproj.github.io/argo-helm
|
||||
- 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://kubernetes.github.io/ingress-nginx
|
||||
- https://cloudnative-pg.github.io/charts
|
||||
@@ -120,12 +126,16 @@ spec:
|
||||
- https://open-telemetry.github.io/opentelemetry-helm-charts
|
||||
- https://ghcr.io/slinkyproject/charts/slurm-operator
|
||||
- https://ghcr.io/slinkyproject/charts/slurm-operator-crds
|
||||
- https://bokysan.github.io/docker-postfix/
|
||||
- ghcr.io/slinkyproject/charts
|
||||
- ghcr.io/slinkyproject/charts/slurm-operator
|
||||
- ghcr.io/slinkyproject/charts/slurm-operator-crds
|
||||
- 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
|
||||
- code.forgejo.org/forgejo-helm
|
||||
- docker.gitea.com
|
||||
- https://operator.mariadb.com/mariadb-enterprise-operator
|
||||
- https://operator.mariadb.com
|
||||
- https://ot-container-kit.github.io/helm-charts
|
||||
|
||||
@@ -4,18 +4,21 @@ global:
|
||||
## Ref: https://github.com/argoproj/argo-cd
|
||||
##
|
||||
configs:
|
||||
{{- if .Values.argocd.anyNamespaces.enabled }}
|
||||
params:
|
||||
{{- if .Values.clusterConfig.gatewayAPI.enabled }}
|
||||
server.insecure: "true"
|
||||
{{- end }}
|
||||
{{- if .Values.argocd.anyNamespaces.enabled }}
|
||||
applicationsetcontroller.namespaces: "{{ .Values.argocd.anyNamespaces.glob }}"
|
||||
# TODO(kai): anyapp will disable PR review apps. Look into anyapp settings to fix it
|
||||
applicationsetcontroller.enable.scm.providers: "false"
|
||||
application.namespaces: "{{ .Values.argocd.anyNamespaces.glob }}"
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
cm:
|
||||
application.resourceTrackingMethod: annotation+label
|
||||
application.instanceLabelKey: app.kubernetes.io/instance
|
||||
create: true
|
||||
# NOTE(kai): callback URL for dex
|
||||
# NOTE: callback URL for dex
|
||||
url: "https://argocd.{{ .Values.clusterConfig.domain }}"
|
||||
resource.compareoptions: |
|
||||
ignoreAggregatedRoles: true
|
||||
@@ -81,6 +84,7 @@ configs:
|
||||
p, role:org-admin, applications, *, */*, 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, clusters, get, *, allow
|
||||
p, role:org-admin, clusters, update, *, allow
|
||||
p, role:org-admin, repositories, get, *, allow
|
||||
@@ -167,7 +171,7 @@ repoServer:
|
||||
extraContainers:
|
||||
- command:
|
||||
- /var/run/argocd/argocd-cmp-server
|
||||
image: registry.gitlab.com/oceanbox/manifests/helmfile-cmp:latest
|
||||
image: {{ .image }}
|
||||
env:
|
||||
- name: HELM_GIT_ACCESS_TOKEN
|
||||
valueFrom:
|
||||
@@ -176,25 +180,6 @@ repoServer:
|
||||
name: oceanbox-gitops-repo
|
||||
optional: false
|
||||
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 }}
|
||||
securityContext:
|
||||
runAsNonRoot: true
|
||||
@@ -208,6 +193,8 @@ repoServer:
|
||||
name: plugins
|
||||
- mountPath: /tmp
|
||||
name: cmp-tmp
|
||||
- mountPath: /helm-working-dir
|
||||
name: helm-working-dir
|
||||
volumes:
|
||||
- name: cmp-tmp
|
||||
emptyDir: {}
|
||||
@@ -254,6 +241,9 @@ server:
|
||||
serviceMonitor:
|
||||
enabled: true
|
||||
ingress:
|
||||
{{- if .Values.clusterConfig.gatewayAPI.enabled }}
|
||||
enabled: false
|
||||
{{- else }}
|
||||
enabled: true
|
||||
ingressClassName: nginx
|
||||
annotations:
|
||||
@@ -270,6 +260,7 @@ server:
|
||||
- secretName: argocd-tls
|
||||
hosts:
|
||||
- "argocd.{{ .Values.clusterConfig.domain }}"
|
||||
{{- end }}
|
||||
applicationSet:
|
||||
metrics:
|
||||
enabled: true
|
||||
@@ -283,10 +274,6 @@ applicationSet:
|
||||
ingressClassName: nginx
|
||||
annotations:
|
||||
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 }}"
|
||||
tls:
|
||||
- secretName: argocd-applicationset-tls
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
atlantis:
|
||||
enabled: true
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
atlantis:
|
||||
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 }}
|
||||
|
||||
|
||||
@@ -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;",
|
||||
"sorcerer" : "https://sorcerer.data.oceanbox.io",
|
||||
"allowedOrigins": [
|
||||
"https://maps.oceanbox.io"
|
||||
"https://maps.oceanbox.io",
|
||||
"https://codex.adm.oceanbox.io"
|
||||
],
|
||||
"appName": "atlantis",
|
||||
"appEnv": "prod",
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
"cookieDomain": ".oceanbox.io",
|
||||
"cookieName": ".obx.staging",
|
||||
"ttl": 12.0,
|
||||
"signedOutRedirectUri": "https://atlantis.beta.oceanbox.io",
|
||||
"signedOutRedirectUri": "https://maps.dev.oceanbox.io",
|
||||
"realm": "atlantis",
|
||||
"environment": "staging",
|
||||
"keyStore": {
|
||||
@@ -76,7 +76,8 @@
|
||||
"https://atlantis.beta.oceanbox.io",
|
||||
"https://atlantis.dev.oceanbox.io",
|
||||
"https://atlantis.local.oceanbox.io:8080",
|
||||
"https://maps.dev.oceanbox.io"
|
||||
"https://maps.dev.oceanbox.io",
|
||||
"https://codex.dev.oceanbox.io"
|
||||
],
|
||||
"appName": "atlantis",
|
||||
"appEnv": "staging",
|
||||
|
||||
@@ -27,16 +27,24 @@ spec:
|
||||
value: {{ .Values.atlantis.env }}
|
||||
- name: HELMFILE_FILE_PATH
|
||||
value: atlantis.yaml.gotmpl
|
||||
{{- if ne .Values.atlantis.env "beta" }}
|
||||
- repoURL: https://charts.bitnami.com/bitnami
|
||||
targetRevision: 20.1.7
|
||||
chart: redis
|
||||
helm:
|
||||
valueFiles:
|
||||
- $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
|
||||
ref: values
|
||||
ignoreDifferences:
|
||||
- kind: Secret
|
||||
name: beta-atlantis-db-superuser
|
||||
jqPathExpressions:
|
||||
- '.data'
|
||||
- '.metadata.labels'
|
||||
- '.metadata.annotations'
|
||||
- kind: Secret
|
||||
name: azure-keyvault
|
||||
jqPathExpressions:
|
||||
@@ -67,6 +75,12 @@ spec:
|
||||
- '.data'
|
||||
- '.metadata.labels'
|
||||
- '.metadata.annotations'
|
||||
- kind: Secret
|
||||
name: slurm-access-token
|
||||
jqPathExpressions:
|
||||
- '.data'
|
||||
- '.metadata.labels'
|
||||
- '.metadata.annotations'
|
||||
syncPolicy:
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
|
||||
@@ -2,6 +2,14 @@ architecture: replication
|
||||
|
||||
replica:
|
||||
replicaCount: 2
|
||||
resources:
|
||||
limits:
|
||||
ephemeral-storage: 1024Mi
|
||||
memory: 192Mi
|
||||
requests:
|
||||
cpu: 150m
|
||||
ephemeral-storage: 50Mi
|
||||
memory: 128Mi
|
||||
|
||||
auth:
|
||||
enabled: true
|
||||
@@ -20,4 +28,3 @@ master:
|
||||
cpu: 150m
|
||||
ephemeral-storage: 50Mi
|
||||
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
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user