Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e4d8a55871 |
@@ -1,16 +1,13 @@
|
|||||||
#!/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 npins/sources.json
|
watch_file nix/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
|
||||||
if type lorri &>/dev/null; then
|
use nix
|
||||||
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,4 +1,4 @@
|
|||||||
FROM ghcr.io/helmfile/helmfile:v1.3.1
|
FROM ghcr.io/helmfile/helmfile:v1.1.9
|
||||||
|
|
||||||
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,3 +0,0 @@
|
|||||||
FROM busybox
|
|
||||||
|
|
||||||
COPY keycloak-themes/oceanbox /theme
|
|
||||||
@@ -1,109 +0,0 @@
|
|||||||
/* Oceanbox Keycloak Login Theme
|
|
||||||
*
|
|
||||||
* Branding aligned with oceanbox.io:
|
|
||||||
* Primary teal: #0bb4aa
|
|
||||||
* Dark teal: #37746F
|
|
||||||
* Deep blue: #031275
|
|
||||||
* Background: #f9fafd
|
|
||||||
* Text: #101010
|
|
||||||
*/
|
|
||||||
|
|
||||||
:root {
|
|
||||||
--pf-v5-global--primary-color--100: #0bb4aa;
|
|
||||||
--pf-v5-global--primary-color--200: #099e95;
|
|
||||||
--pf-v5-global--link--Color: #0bb4aa;
|
|
||||||
--pf-v5-global--link--Color--hover: #031275;
|
|
||||||
}
|
|
||||||
|
|
||||||
.login-pf body {
|
|
||||||
background: #f9fafd url("../img/oceanbox-bg.png") no-repeat center bottom fixed;
|
|
||||||
background-size: cover;
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Login container layout */
|
|
||||||
.pf-v5-c-login__container {
|
|
||||||
grid-template-columns: 34rem;
|
|
||||||
grid-template-areas: "header"
|
|
||||||
"main";
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Logo */
|
|
||||||
div.kc-logo-text {
|
|
||||||
background-image: url('../img/oceanbox-logo-text.png');
|
|
||||||
height: 80px;
|
|
||||||
width: 360px;
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
background-size: contain;
|
|
||||||
background-position: center;
|
|
||||||
margin: 0 auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.kc-logo-text span {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Header */
|
|
||||||
#kc-header-wrapper {
|
|
||||||
font-size: 29px;
|
|
||||||
text-transform: uppercase;
|
|
||||||
letter-spacing: 3px;
|
|
||||||
line-height: 1.2em;
|
|
||||||
white-space: normal;
|
|
||||||
color: #37746F !important;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Login card */
|
|
||||||
.pf-v5-c-login__main {
|
|
||||||
border-radius: 8px;
|
|
||||||
box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Primary button */
|
|
||||||
.pf-v5-c-button.pf-m-primary {
|
|
||||||
--pf-v5-c-button--m-primary--BackgroundColor: #0bb4aa;
|
|
||||||
--pf-v5-c-button--m-primary--hover--BackgroundColor: #099e95;
|
|
||||||
--pf-v5-c-button--m-primary--active--BackgroundColor: #37746F;
|
|
||||||
--pf-v5-c-button--m-primary--focus--BackgroundColor: #099e95;
|
|
||||||
border-radius: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Links */
|
|
||||||
.pf-v5-c-button.pf-m-link {
|
|
||||||
--pf-v5-c-button--m-link--Color: #0bb4aa;
|
|
||||||
--pf-v5-c-button--m-link--hover--Color: #031275;
|
|
||||||
}
|
|
||||||
|
|
||||||
a {
|
|
||||||
color: #0bb4aa;
|
|
||||||
}
|
|
||||||
|
|
||||||
a:hover {
|
|
||||||
color: #031275;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Form inputs */
|
|
||||||
.pf-v5-c-form-control > input,
|
|
||||||
.pf-v5-c-form-control > textarea {
|
|
||||||
border-radius: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#kc-recovery-codes-list {
|
|
||||||
columns: 2;
|
|
||||||
}
|
|
||||||
|
|
||||||
#certificate_subjectDN {
|
|
||||||
overflow-wrap: break-word;
|
|
||||||
}
|
|
||||||
|
|
||||||
hr {
|
|
||||||
margin-top: var(--pf-v5-global--spacer--sm);
|
|
||||||
margin-bottom: var(--pf-v5-global--spacer--md);
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 768px) {
|
|
||||||
div.pf-v5-c-login__main-header {
|
|
||||||
grid-template-columns: 70% 30%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 2.4 MiB |
BIN
Binary file not shown.
|
Before Width: | Height: | Size: 57 KiB |
@@ -1,5 +0,0 @@
|
|||||||
parent=keycloak.v2
|
|
||||||
import=common/keycloak
|
|
||||||
|
|
||||||
stylesCommon=vendor/patternfly-v5/patternfly.min.css vendor/patternfly-v5/patternfly-addons.css
|
|
||||||
styles=css/styles.css css/oceanbox.css
|
|
||||||
@@ -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.46.5
|
version: v1.42.2
|
||||||
# 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.46.5
|
appVersion: v1.42.2
|
||||||
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: git.oceanbox.io/oceanbox/poseidon/atlantis
|
repository: registry.gitlab.com/oceanbox/poseidon/atlantis
|
||||||
tag: v1.46.5
|
tag: v1.42.2
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
init:
|
init:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|||||||
@@ -13,9 +13,9 @@ type: application
|
|||||||
# This is the chart version. This version number should be incremented each time you make changes
|
# This is the chart version. This version number should be incremented each time you make changes
|
||||||
# to the chart and its templates, including the app version.
|
# to the chart and its templates, including the app version.
|
||||||
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
||||||
version: v1.46.5
|
version: v1.42.2
|
||||||
# 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.46.5"
|
appVersion: "v1.42.2"
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ image:
|
|||||||
# This sets the pull policy for images.
|
# This sets the pull policy for images.
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
# Overrides the image tag whose default is the chart appVersion.
|
# Overrides the image tag whose default is the chart appVersion.
|
||||||
tag: v1.46.5
|
tag: v1.42.2
|
||||||
# This is for the secrets for pulling an image from a private repository more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
|
# 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,7 +8,6 @@ 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:
|
||||||
@@ -18,10 +17,10 @@ data:
|
|||||||
- name: redisUsername
|
- name: redisUsername
|
||||||
value: default
|
value: default
|
||||||
- name: redisPassword
|
- name: redisPassword
|
||||||
value: {{ .Values.statestore.password | default "secret" }}
|
value: secret
|
||||||
- name: actorStateStore
|
- name: actorStateStore
|
||||||
value: "true"
|
value: "true"
|
||||||
- name: redisDB
|
- name: redisDB
|
||||||
value: "{{ .Values.statestore.redisDB | default "0" }}"
|
value: "1"
|
||||||
type: state.redis
|
type: state.redis
|
||||||
version: v1
|
version: v1
|
||||||
|
|||||||
@@ -5,9 +5,6 @@
|
|||||||
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: /healthz
|
path: /
|
||||||
port: http
|
port: http
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /healthz
|
path: /
|
||||||
port: http
|
port: http
|
||||||
resources:
|
resources:
|
||||||
{{- toYaml .Values.resources | nindent 12 }}
|
{{- toYaml .Values.resources | nindent 12 }}
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
@@ -8,8 +8,3 @@ 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.13
|
appVersion: v1.6.13
|
||||||
dependencies:
|
|
||||||
- name: diagrid-dashboard
|
|
||||||
version: "0.1.0"
|
|
||||||
repository: "file://../diagrid-dashboard"
|
|
||||||
condition: diagrid-dashboard.enabled
|
|
||||||
|
|||||||
@@ -90,6 +90,3 @@ 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.46.5
|
version: v1.42.2
|
||||||
# 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.46.5
|
appVersion: v1.42.2
|
||||||
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: git.oceanbox.io/oceanbox/poseidon/sorcerer
|
repository: registry.gitlab.com/oceanbox/poseidon/sorcerer
|
||||||
tag: v1.46.5
|
tag: v1.42.2
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
init:
|
init:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ releases:
|
|||||||
- name: argocd
|
- name: argocd
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
chart: argo/argo-cd
|
chart: argo/argo-cd
|
||||||
version: 9.4.10
|
version: 7.9.1
|
||||||
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.6
|
version: 2.40.5
|
||||||
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.47.5
|
version: 0.45.27
|
||||||
condition: argo.workflows.enabled
|
condition: argo.workflows.enabled
|
||||||
missingFileHandler: Info
|
missingFileHandler: Info
|
||||||
- name: manifests
|
- name: manifests
|
||||||
@@ -66,3 +66,4 @@ 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.4
|
version: v1.19.3
|
||||||
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
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ releases:
|
|||||||
- name: cilium
|
- name: cilium
|
||||||
namespace: kube-system
|
namespace: kube-system
|
||||||
chart: cilium/cilium
|
chart: cilium/cilium
|
||||||
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 }}
|
version: {{ if eq (requiredEnv "ARGOCD_ENV_CLUSTER_NAME") "hel1" }}1.18.6{{ 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
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ releases:
|
|||||||
- name: gatus
|
- name: gatus
|
||||||
namespace: uptime
|
namespace: uptime
|
||||||
chart: gatus/gatus
|
chart: gatus/gatus
|
||||||
version: 1.5.0
|
version: 1.4.5
|
||||||
condition: gatus.enabled
|
condition: gatus.enabled
|
||||||
values:
|
values:
|
||||||
- ../values/gatus/values/values.yaml
|
- ../values/gatus/values/values.yaml
|
||||||
|
|||||||
@@ -1,41 +0,0 @@
|
|||||||
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: 25.2.0
|
version: 24.0.2
|
||||||
condition: keycloak.enabled
|
condition: keycloak.enabled
|
||||||
values:
|
values:
|
||||||
- ../values/keycloak/values/values.yaml
|
- ../values/keycloak/values/values.yaml
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ releases:
|
|||||||
- name: kueue
|
- name: kueue
|
||||||
namespace: kueue-system
|
namespace: kueue-system
|
||||||
chart: oci://registry.k8s.io/kueue/charts/kueue
|
chart: oci://registry.k8s.io/kueue/charts/kueue
|
||||||
version: 0.16.2
|
version: 0.15.0
|
||||||
condition: kueue.enabled
|
condition: kueue.enabled
|
||||||
values:
|
values:
|
||||||
- ../values/kueue/values/values.yaml
|
- ../values/kueue/values/values.yaml
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ releases:
|
|||||||
- name: kyverno
|
- name: kyverno
|
||||||
namespace: kyverno
|
namespace: kyverno
|
||||||
chart: kyverno/kyverno
|
chart: kyverno/kyverno
|
||||||
version: 3.7.1
|
version: 3.6.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.53.0
|
version: 6.42.0
|
||||||
condition: loki.enabled
|
condition: loki.enabled
|
||||||
values:
|
values:
|
||||||
- ../values/loki/values/loki.yaml.gotmpl
|
- ../values/loki/values/loki.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.56
|
version: 0.2.54
|
||||||
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.146.1
|
version: 0.145.0
|
||||||
condition: otel.enabled
|
condition: otel.enabled
|
||||||
values:
|
values:
|
||||||
- ../values/opentelemetry-collector/values/values.yaml
|
- ../values/opentelemetry-collector/values/values.yaml
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ releases:
|
|||||||
- name: prometheus
|
- name: prometheus
|
||||||
namespace: prometheus
|
namespace: prometheus
|
||||||
chart: prometheus/kube-prometheus-stack
|
chart: prometheus/kube-prometheus-stack
|
||||||
version: 82.10.3
|
version: 72.7.0
|
||||||
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: {{ .Environment.Name }}-rabbitmq
|
- name: {{ .Environment.Name }}-rabbitmq
|
||||||
namespace: rabbitmq
|
namespace: rabbitmq
|
||||||
chart: bitnami/rabbitmq
|
chart: bitnami/rabbitmq
|
||||||
version: 16.0.14
|
version: 13.0.3
|
||||||
condition: rabbitmq.enabled
|
condition: rabbitmq.enabled
|
||||||
values:
|
values:
|
||||||
- ../values/rabbitmq/values/values.yaml
|
- ../values/rabbitmq/values/values.yaml
|
||||||
|
|||||||
@@ -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: 1.0.2
|
version: 0.4.1
|
||||||
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: 1.0.2
|
version: 0.4.1
|
||||||
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: 7.7.3
|
version: 6.0.1
|
||||||
condition: umami.enabled
|
condition: umami.enabled
|
||||||
values:
|
values:
|
||||||
- ../values/umami/values/values.yaml
|
- ../values/umami/values/values.yaml
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ releases:
|
|||||||
- name: velero
|
- name: velero
|
||||||
namespace: velero
|
namespace: velero
|
||||||
chart: velero/velero
|
chart: velero/velero
|
||||||
version: 12.0.0
|
version: 11.3.2
|
||||||
condition: velero.enabled
|
condition: velero.enabled
|
||||||
values:
|
values:
|
||||||
- ../values/velero/values/velero.yaml.gotmpl
|
- ../values/velero/values/velero.yaml.gotmpl
|
||||||
|
|||||||
@@ -1,19 +0,0 @@
|
|||||||
{
|
|
||||||
buildGoModule,
|
|
||||||
fetchFromGitHub,
|
|
||||||
}:
|
|
||||||
buildGoModule rec {
|
|
||||||
pname = "kueuectl";
|
|
||||||
version = "0.16.3";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "kubernetes-sigs";
|
|
||||||
repo = "kueue";
|
|
||||||
rev = "v${version}";
|
|
||||||
hash = "sha256-JbU+ZoQ+YriaiIbbVCe45OTYycxYRanLhmQAdpE+xQ4=";
|
|
||||||
};
|
|
||||||
|
|
||||||
vendorHash = null;
|
|
||||||
|
|
||||||
subPackages = [ "cmd/kueuectl" ];
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
{
|
||||||
|
"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="
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"version": 7
|
||||||
|
}
|
||||||
@@ -1,71 +0,0 @@
|
|||||||
{
|
|
||||||
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;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
{
|
|
||||||
"pins": {
|
|
||||||
"nixpkgs": {
|
|
||||||
"type": "Channel",
|
|
||||||
"name": "nixpkgs-unstable",
|
|
||||||
"url": "https://releases.nixos.org/nixpkgs/nixpkgs-26.05pre961788.75690239f08f/nixexprs.tar.xz",
|
|
||||||
"hash": "sha256-p0h/nSeqzIkbn/2uFC4keoIPwmqXGHsX0gkCXM7km00="
|
|
||||||
},
|
|
||||||
"treefmt-nix": {
|
|
||||||
"type": "Git",
|
|
||||||
"repository": {
|
|
||||||
"type": "GitHub",
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "treefmt-nix"
|
|
||||||
},
|
|
||||||
"branch": "main",
|
|
||||||
"submodules": false,
|
|
||||||
"revision": "71b125cd05fbfd78cab3e070b73544abe24c5016",
|
|
||||||
"url": "https://github.com/numtide/treefmt-nix/archive/71b125cd05fbfd78cab3e070b73544abe24c5016.tar.gz",
|
|
||||||
"hash": "sha256-6E/yhXP7Oy/NbXtf1ktzmU8SdVqJQ09HC/48ebEGBpk="
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"version": 7
|
|
||||||
}
|
|
||||||
@@ -1,51 +1,58 @@
|
|||||||
let
|
let
|
||||||
sources = import ./npins;
|
sources = import ./nix;
|
||||||
system = builtins.currentSystem;
|
system = builtins.currentSystem;
|
||||||
pkgs = import sources.nixpkgs {
|
pkgs = import sources.nixpkgs {
|
||||||
inherit system;
|
inherit system;
|
||||||
config = { };
|
config = { };
|
||||||
overlays = [ ];
|
overlays = [ ];
|
||||||
};
|
};
|
||||||
treefmt = import ./nix/treefmt.nix { };
|
checks = import ./nix/checks.nix;
|
||||||
kueuectl = pkgs.callPackage ./nix/kueuectl.nix { };
|
|
||||||
in
|
in
|
||||||
pkgs.mkShellNoCC {
|
pkgs.mkShellNoCC {
|
||||||
packages = [
|
name = "clstr";
|
||||||
# dev tools
|
|
||||||
pkgs.just
|
|
||||||
pkgs.npins
|
|
||||||
treefmt.config.build.wrapper
|
|
||||||
|
|
||||||
# helm
|
packages =
|
||||||
pkgs.helmfile
|
with pkgs;
|
||||||
pkgs.kubernetes-helm
|
[
|
||||||
|
# dev tools
|
||||||
|
just
|
||||||
|
npins
|
||||||
|
|
||||||
# kubectl tools
|
# helm
|
||||||
pkgs.kubectl-cnpg
|
helmfile
|
||||||
pkgs.kubectl-neat
|
kubernetes-helm
|
||||||
pkgs.kubectl-graph
|
|
||||||
pkgs.kubectl-klock
|
|
||||||
pkgs.kubectl-rook-ceph
|
|
||||||
|
|
||||||
# other tools activate when needed
|
# kubectl tools
|
||||||
kueuectl
|
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
|
hubble
|
||||||
pkgs.cilium-cli
|
|
||||||
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 = "oceanbox";
|
||||||
HELM_GIT_ACCESS_TOKEN = "glpat-xxx";
|
HELM_GIT_ACCESS_TOKEN = "glpat-xxx";
|
||||||
API_SERVER_IP = "localhost";
|
|
||||||
API_SERVER_PORT = "7445";
|
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; })) {
|
||||||
@@ -53,6 +60,9 @@ pkgs.mkShellNoCC {
|
|||||||
packages = [
|
packages = [
|
||||||
pkgs.npins
|
pkgs.npins
|
||||||
];
|
];
|
||||||
|
shellHook = ''
|
||||||
|
export NPINS_DIRECTORY="nix"
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -24,7 +24,11 @@ argocd:
|
|||||||
cpu: 250m
|
cpu: 250m
|
||||||
repoServers:
|
repoServers:
|
||||||
- name: "helmfile-cmp"
|
- name: "helmfile-cmp"
|
||||||
image: "git.oceanbox.io/platform/manifests/helmfile-cmp:latest"
|
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"
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
- gitlab-pull-secret
|
- gitlab-pull-secret
|
||||||
additional_rbac_settings:
|
additional_rbac_settings:
|
||||||
|
|||||||
@@ -92,10 +92,6 @@ 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
|
|
||||||
- namespace: dex
|
|
||||||
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/
|
||||||
@@ -135,11 +131,9 @@ spec:
|
|||||||
- ghcr.io/spegel-org/helm-charts
|
- ghcr.io/spegel-org/helm-charts
|
||||||
- quay.io/cilium/charts
|
- quay.io/cilium/charts
|
||||||
- quay.io/jetstack/charts
|
- quay.io/jetstack/charts
|
||||||
- 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
|
||||||
- https://operator.mariadb.com
|
- https://operator.mariadb.com
|
||||||
- https://ot-container-kit.github.io/helm-charts
|
- https://ot-container-kit.github.io/helm-charts
|
||||||
- https://twin.github.io/helm-charts
|
- https://twin.github.io/helm-charts
|
||||||
- https://charts.dexidp.io
|
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ configs:
|
|||||||
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: callback URL for dex
|
# NOTE(kai): 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,7 +81,6 @@ 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
|
||||||
@@ -168,7 +167,7 @@ repoServer:
|
|||||||
extraContainers:
|
extraContainers:
|
||||||
- command:
|
- command:
|
||||||
- /var/run/argocd/argocd-cmp-server
|
- /var/run/argocd/argocd-cmp-server
|
||||||
image: {{ .image }}
|
image: registry.gitlab.com/oceanbox/manifests/helmfile-cmp:latest
|
||||||
env:
|
env:
|
||||||
- name: HELM_GIT_ACCESS_TOKEN
|
- name: HELM_GIT_ACCESS_TOKEN
|
||||||
valueFrom:
|
valueFrom:
|
||||||
@@ -177,7 +176,7 @@ repoServer:
|
|||||||
name: oceanbox-gitops-repo
|
name: oceanbox-gitops-repo
|
||||||
optional: false
|
optional: false
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
name: {{ .name }}
|
name: helmfile-cmp
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsNonRoot: true
|
runAsNonRoot: true
|
||||||
runAsUser: 999
|
runAsUser: 999
|
||||||
@@ -192,6 +191,23 @@ repoServer:
|
|||||||
name: cmp-tmp
|
name: cmp-tmp
|
||||||
- mountPath: /helm-working-dir
|
- mountPath: /helm-working-dir
|
||||||
name: helm-working-dir
|
name: helm-working-dir
|
||||||
|
- command:
|
||||||
|
- /var/run/argocd/argocd-cmp-server
|
||||||
|
image: {{ .image }}
|
||||||
|
imagePullPolicy: Always
|
||||||
|
name: {{ .name }}
|
||||||
|
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
|
||||||
volumes:
|
volumes:
|
||||||
- name: cmp-tmp
|
- name: cmp-tmp
|
||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
@@ -267,6 +283,10 @@ 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
|
||||||
|
|||||||
@@ -73,8 +73,7 @@
|
|||||||
"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://maps.dev.oceanbox.io",
|
"signedOutRedirectUri": "https://atlantis.beta.oceanbox.io",
|
||||||
"realm": "atlantis",
|
"realm": "atlantis",
|
||||||
"environment": "staging",
|
"environment": "staging",
|
||||||
"keyStore": {
|
"keyStore": {
|
||||||
@@ -76,8 +76,7 @@
|
|||||||
"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",
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ spec:
|
|||||||
valueFiles:
|
valueFiles:
|
||||||
- $values/values/atlantis/values/redis-{{ .Values.atlantis.env }}.yaml
|
- $values/values/atlantis/values/redis-{{ .Values.atlantis.env }}.yaml
|
||||||
{{- end }}
|
{{- end }}
|
||||||
- repoURL: https://git.oceanbox.io/platform/manifests.git
|
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
ref: values
|
ref: values
|
||||||
ignoreDifferences:
|
ignoreDifferences:
|
||||||
|
|||||||
@@ -2,14 +2,6 @@ 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
|
||||||
@@ -28,3 +20,4 @@ master:
|
|||||||
cpu: 150m
|
cpu: 150m
|
||||||
ephemeral-storage: 50Mi
|
ephemeral-storage: 50Mi
|
||||||
memory: 128Mi
|
memory: 128Mi
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ replicaCount: 1
|
|||||||
|
|
||||||
image:
|
image:
|
||||||
repository: git.oceanbox.io/oceanbox/poseidon/atlantis
|
repository: git.oceanbox.io/oceanbox/poseidon/atlantis
|
||||||
tag: v1.46.2
|
tag: v1.42.2
|
||||||
|
|
||||||
podAnnotations:
|
podAnnotations:
|
||||||
dapr.io/app-id: "beta-atlantis"
|
dapr.io/app-id: "beta-atlantis"
|
||||||
|
|||||||
@@ -73,6 +73,9 @@ cluster:
|
|||||||
enabled: false
|
enabled: false
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
|
limits:
|
||||||
|
cpu: 1
|
||||||
|
memory: 1Gi
|
||||||
requests:
|
requests:
|
||||||
cpu: 500m
|
cpu: 500m
|
||||||
memory: 1Gi
|
memory: 1Gi
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
image:
|
image:
|
||||||
repository: git.oceanbox.io/oceanbox/poseidon/atlantis
|
repository: git.oceanbox.io/oceanbox/poseidon/atlantis
|
||||||
tag: 23006866-debug
|
tag: bc9dccaa-debug
|
||||||
podAnnotations:
|
podAnnotations:
|
||||||
dapr.io/app-id: "staging-atlantis"
|
dapr.io/app-id: "staging-atlantis"
|
||||||
env:
|
env:
|
||||||
@@ -50,6 +50,23 @@ 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: /
|
||||||
@@ -67,8 +84,27 @@ 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,22 +0,0 @@
|
|||||||
cilium:
|
|
||||||
enabled: true
|
|
||||||
clustermesh:
|
|
||||||
enabled: false
|
|
||||||
clusterId: 2
|
|
||||||
# NodePort until L2LB is available (kubeproxyless)
|
|
||||||
apiserverServiceType: NodePort
|
|
||||||
# TODO: WireGuard blocks all traffic on ekman -- disable until root cause is found.
|
|
||||||
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
|
|
||||||
@@ -1,7 +1,5 @@
|
|||||||
cilium:
|
cilium:
|
||||||
enabled: true
|
enabled: true
|
||||||
envoy:
|
|
||||||
enabled: true
|
|
||||||
nodePort:
|
nodePort:
|
||||||
enabled: true
|
enabled: true
|
||||||
l2announcement:
|
l2announcement:
|
||||||
|
|||||||
@@ -1,8 +1,5 @@
|
|||||||
cilium:
|
cilium:
|
||||||
enabled: true
|
enabled: true
|
||||||
clustermesh:
|
|
||||||
enabled: false
|
|
||||||
clusterId: 1
|
|
||||||
nodePort:
|
nodePort:
|
||||||
enabled: true
|
enabled: true
|
||||||
l2announcement:
|
l2announcement:
|
||||||
|
|||||||
@@ -1,10 +0,0 @@
|
|||||||
cilium:
|
|
||||||
enabled: true
|
|
||||||
nodePort:
|
|
||||||
enabled: true
|
|
||||||
l2announcement:
|
|
||||||
enabled: true
|
|
||||||
loadbalancerPool:
|
|
||||||
enabled: false
|
|
||||||
cidr:
|
|
||||||
- 10.255.241.11/32
|
|
||||||
@@ -30,8 +30,4 @@ cilium:
|
|||||||
loadbalancerPool:
|
loadbalancerPool:
|
||||||
enabled: false
|
enabled: false
|
||||||
cidr: []
|
cidr: []
|
||||||
clustermesh:
|
|
||||||
enabled: false
|
|
||||||
clusterId: 0
|
|
||||||
apiserverServiceType: LoadBalancer
|
|
||||||
cluster: {{ requiredEnv "ARGOCD_ENV_CLUSTER_NAME" }}
|
cluster: {{ requiredEnv "ARGOCD_ENV_CLUSTER_NAME" }}
|
||||||
|
|||||||
@@ -1,33 +0,0 @@
|
|||||||
# 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
|
|
||||||
@@ -1,16 +1,3 @@
|
|||||||
cluster:
|
|
||||||
name: {{ .Values.cilium.cluster }}
|
|
||||||
id: {{ .Values.cilium.clustermesh.clusterId }}
|
|
||||||
{{- if .Values.cilium.clustermesh.enabled }}
|
|
||||||
clustermesh:
|
|
||||||
useAPIServer: true
|
|
||||||
apiserver:
|
|
||||||
service:
|
|
||||||
type: {{ .Values.cilium.clustermesh.apiserverServiceType }}
|
|
||||||
tls:
|
|
||||||
auto:
|
|
||||||
method: helm
|
|
||||||
{{- end }}
|
|
||||||
authentication:
|
authentication:
|
||||||
mutual:
|
mutual:
|
||||||
spire:
|
spire:
|
||||||
@@ -28,14 +15,6 @@ encryption:
|
|||||||
type: {{ .Values.cilium.encryption.type}}
|
type: {{ .Values.cilium.encryption.type}}
|
||||||
envoy:
|
envoy:
|
||||||
enabled: {{ .Values.cilium.envoy.enabled }}
|
enabled: {{ .Values.cilium.envoy.enabled }}
|
||||||
securityContext:
|
|
||||||
capabilities:
|
|
||||||
keepCapNetBindService: true
|
|
||||||
envoy:
|
|
||||||
- SYS_ADMIN
|
|
||||||
- NET_ADMIN
|
|
||||||
- BPF
|
|
||||||
- NET_BIND_SERVICE
|
|
||||||
prometheus:
|
prometheus:
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
enabled: {{ .Values.cilium.envoy.enabled }}
|
enabled: {{ .Values.cilium.envoy.enabled }}
|
||||||
@@ -91,6 +70,15 @@ gatewayAPI:
|
|||||||
nodes:
|
nodes:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
ingresshost: "cilium"
|
ingresshost: "cilium"
|
||||||
|
envoy:
|
||||||
|
enabled: true
|
||||||
|
securityContext:
|
||||||
|
capabilities:
|
||||||
|
keepCapNetBindService: true
|
||||||
|
envoy:
|
||||||
|
- NET_ADMIN
|
||||||
|
- BPF
|
||||||
|
- NET_BIND_SERVICE
|
||||||
{{- end}}
|
{{- end}}
|
||||||
ingressController:
|
ingressController:
|
||||||
enabled: {{ .Values.cilium.ingressController.enabled }}
|
enabled: {{ .Values.cilium.ingressController.enabled }}
|
||||||
@@ -103,7 +91,7 @@ operator:
|
|||||||
prometheus:
|
prometheus:
|
||||||
enabled: true
|
enabled: true
|
||||||
port: 12301
|
port: 12301
|
||||||
serviceMonitor:
|
serviceMointor:
|
||||||
enabled: true
|
enabled: true
|
||||||
port: 12302
|
port: 12302
|
||||||
rollOutPods: true
|
rollOutPods: true
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
"cookieDomain": ".oceanbox.io",
|
"cookieDomain": ".oceanbox.io",
|
||||||
"cookieName": ".obx.prod",
|
"cookieName": ".obx.prod",
|
||||||
"ttl": 12.0,
|
"ttl": 12.0,
|
||||||
"signedOutRedirectUri": "https://codex.adm.oceanbox.io/",
|
"signedOutRedirectUri": "https://maps.oceanbox.io/",
|
||||||
"realm": "atlantis",
|
"realm": "atlantis",
|
||||||
"environment": "prod",
|
"environment": "prod",
|
||||||
"keyStore": {
|
"keyStore": {
|
||||||
@@ -55,14 +55,13 @@
|
|||||||
"key": "dataencryption-keys"
|
"key": "dataencryption-keys"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"PlainAuthUsers": [
|
"plainAuthUsers": [
|
||||||
{
|
{
|
||||||
"username": "admin",
|
"username": "admin",
|
||||||
"password": "en-to-tre-fire",
|
"password": "en-to-tre-fire",
|
||||||
"groups": [ "/oceanbox" ],
|
"groups": [ "/oceanbox" ],
|
||||||
"roles": [ "admin" ]
|
"roles": [ "admin" ]
|
||||||
}
|
}
|
||||||
],
|
]
|
||||||
"ArchiveSvc": "https://maps.oceanbox.io"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -64,8 +64,3 @@
|
|||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: prod-openfga-db-app
|
name: prod-openfga-db-app
|
||||||
key: password
|
key: password
|
||||||
- name: DAPR_API_TOKEN
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: dapr-api-token
|
|
||||||
key: token
|
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
"cookieDomain": ".oceanbox.io",
|
"cookieDomain": ".oceanbox.io",
|
||||||
"cookieName": ".obx.staging",
|
"cookieName": ".obx.staging",
|
||||||
"ttl": 12.0,
|
"ttl": 12.0,
|
||||||
"signedOutRedirectUri": "https://codex.dev.oceanbox.io/",
|
"signedOutRedirectUri": "https://atlantis.dev.oceanbox.io/",
|
||||||
"realm": "atlantis",
|
"realm": "atlantis",
|
||||||
"environment": "staging",
|
"environment": "staging",
|
||||||
"keyStore": {
|
"keyStore": {
|
||||||
@@ -55,13 +55,12 @@
|
|||||||
"key": "dataencryption-keys"
|
"key": "dataencryption-keys"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"PlainAuthUsers": [
|
"plainAuthUsers": [
|
||||||
{
|
{
|
||||||
"username": "admin",
|
"username": "admin",
|
||||||
"password": "en-to-tre-fire",
|
"password": "en-to-tre-fire",
|
||||||
"groups": [ "/oceanbox" ],
|
"groups": [ "/oceanbox" ],
|
||||||
"roles": [ "admin" ]
|
"roles": [ "admin" ]
|
||||||
}
|
}
|
||||||
],
|
]
|
||||||
"ArchiveSvc": "https://maps.dev.oceanbox.io"
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -62,8 +62,3 @@
|
|||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: staging-openfga-db-app
|
name: staging-openfga-db-app
|
||||||
key: password
|
key: password
|
||||||
- name: DAPR_API_TOKEN
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: dapr-api-token
|
|
||||||
key: token
|
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ spec:
|
|||||||
value: {{ .Values.codex.env }}
|
value: {{ .Values.codex.env }}
|
||||||
- name: HELMFILE_FILE_PATH
|
- name: HELMFILE_FILE_PATH
|
||||||
value: codex.yaml.gotmpl
|
value: codex.yaml.gotmpl
|
||||||
- repoURL: https://git.oceanbox.io/platform/manifests.git
|
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
ref: values
|
ref: values
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
@@ -40,3 +40,4 @@ spec:
|
|||||||
selfHeal: false
|
selfHeal: false
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
|
|||||||
@@ -1,11 +1,4 @@
|
|||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
podAnnotations:
|
|
||||||
dapr.io/enabled: "true"
|
|
||||||
dapr.io/app-id: "prod-codex"
|
|
||||||
dapr.io/app-port: "8085"
|
|
||||||
dapr.io/api-token-secret: "dapr-api-token"
|
|
||||||
dapr.io/config: "tracing"
|
|
||||||
dapr.io/app-protocol: "http"
|
|
||||||
ingress:
|
ingress:
|
||||||
enabled: true
|
enabled: true
|
||||||
className: "nginx"
|
className: "nginx"
|
||||||
|
|||||||
@@ -1,11 +1,4 @@
|
|||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
podAnnotations:
|
|
||||||
dapr.io/enabled: "true"
|
|
||||||
dapr.io/app-id: "staging-codex"
|
|
||||||
dapr.io/app-port: "8085"
|
|
||||||
dapr.io/api-token-secret: "dapr-api-token"
|
|
||||||
dapr.io/config: "tracing"
|
|
||||||
dapr.io/app-protocol: "http"
|
|
||||||
ingress:
|
ingress:
|
||||||
enabled: true
|
enabled: true
|
||||||
className: "nginx"
|
className: "nginx"
|
||||||
@@ -38,4 +31,4 @@ volumeMounts:
|
|||||||
readOnly: true
|
readOnly: true
|
||||||
subPath: appsettings.json
|
subPath: appsettings.json
|
||||||
image:
|
image:
|
||||||
tag: 38eeb4cc-debug
|
tag: d34652dd-debug
|
||||||
|
|||||||
@@ -27,7 +27,8 @@ spec:
|
|||||||
- name: HELMFILE_FILE_PATH
|
- name: HELMFILE_FILE_PATH
|
||||||
value: dapr.yaml.gotmpl
|
value: dapr.yaml.gotmpl
|
||||||
- repoURL: https://dapr.github.io/helm-charts
|
- repoURL: https://dapr.github.io/helm-charts
|
||||||
targetRevision: 1.16.9
|
# NOTE: DONT BUMP EKMAN TO 1.15 it is broken
|
||||||
|
targetRevision: {{- if eq .Values.dapr.cluster "ekman" }} 1.16.1 {{- else }} 1.16.0 {{- end }}
|
||||||
chart: dapr
|
chart: dapr
|
||||||
helm:
|
helm:
|
||||||
valueFiles:
|
valueFiles:
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
image:
|
image:
|
||||||
tag: "0d279bb9-debug"
|
tag: "5c4cda2e-debug"
|
||||||
env:
|
env:
|
||||||
- name: APP_VERSION
|
- name: APP_VERSION
|
||||||
value: "0.0.0"
|
value: "0.0.0"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
clusterConfig:
|
clusterConfig:
|
||||||
manifests: https://git.oceanbox.io/platform/manifests.git
|
manifests: https://git.oceanbox.io/platform/manifests.git
|
||||||
cilium:
|
cilium:
|
||||||
enabled: true
|
enabled: false
|
||||||
env: "prod"
|
env: "prod"
|
||||||
distro: "nixos"
|
distro: "nixos"
|
||||||
domain: "ekman.oceanbox.io"
|
domain: "ekman.oceanbox.io"
|
||||||
|
|||||||
@@ -27,5 +27,3 @@ clusterConfig:
|
|||||||
- 192.168.0.0/16
|
- 192.168.0.0/16
|
||||||
- 172.19.255.0/24
|
- 172.19.255.0/24
|
||||||
- 100.64.0.0/12
|
- 100.64.0.0/12
|
||||||
# hel1
|
|
||||||
- 37.27.203.38/28
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
image:
|
image:
|
||||||
repository: twinproduction/gatus
|
repository: twinproduction/gatus
|
||||||
tag: v5.35.0
|
tag: v5.34.0
|
||||||
|
|
||||||
# Does envFrom secret named gatus
|
# Does envFrom secret named gatus
|
||||||
secrets: true
|
secrets: true
|
||||||
@@ -93,13 +93,6 @@ config:
|
|||||||
alerts:
|
alerts:
|
||||||
- type: custom
|
- type: custom
|
||||||
|
|
||||||
- name: Atlantis Beta TOS
|
|
||||||
<<: *https-endpoint
|
|
||||||
group: "Primary Services"
|
|
||||||
url: https://maps.beta.oceanbox.io/healthz
|
|
||||||
alerts:
|
|
||||||
- type: custom
|
|
||||||
|
|
||||||
# NOTE: Ingress is down
|
# NOTE: Ingress is down
|
||||||
# - name: Sorcerer VTN
|
# - name: Sorcerer VTN
|
||||||
# <<: *https-endpoint
|
# <<: *https-endpoint
|
||||||
@@ -122,16 +115,16 @@ config:
|
|||||||
alerts:
|
alerts:
|
||||||
- type: custom
|
- type: custom
|
||||||
|
|
||||||
- name: Atlantis Dev TOS
|
- name: Atlantis Beta
|
||||||
<<: *https-endpoint
|
<<: *https-endpoint
|
||||||
group: "Experimental Services"
|
group: "Experimental Services"
|
||||||
url: https://maps.dev.oceanbox.io/healthz
|
url: https://atlantis.beta.oceanbox.io/healthz
|
||||||
extra-labels:
|
extra-labels:
|
||||||
environment: staging
|
environment: staging
|
||||||
alerts:
|
alerts:
|
||||||
- type: custom
|
- type: custom
|
||||||
|
|
||||||
- name: Sorcerer Dev TOS
|
- name: Sorcerer Beta
|
||||||
<<: *https-endpoint
|
<<: *https-endpoint
|
||||||
group: "Experimental Services"
|
group: "Experimental Services"
|
||||||
url: https://sorcerer.ekman.oceanbox.io/healthz
|
url: https://sorcerer.ekman.oceanbox.io/healthz
|
||||||
@@ -140,7 +133,7 @@ config:
|
|||||||
alerts:
|
alerts:
|
||||||
- type: custom
|
- type: custom
|
||||||
|
|
||||||
- name: Plume Dev TOS
|
- name: Plume Beta
|
||||||
<<: *https-endpoint
|
<<: *https-endpoint
|
||||||
group: "Experimental Services"
|
group: "Experimental Services"
|
||||||
url: https://plume.ekman.oceanbox.io/healthz
|
url: https://plume.ekman.oceanbox.io/healthz
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ replicaCount: 1
|
|||||||
image:
|
image:
|
||||||
registry: "docker.gitea.com"
|
registry: "docker.gitea.com"
|
||||||
repository: gitea
|
repository: gitea
|
||||||
tag: "1.25.5"
|
tag: "1.25.4"
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
|
|||||||
@@ -49,9 +49,11 @@ spec:
|
|||||||
image: grafana/pdc-agent:latest
|
image: grafana/pdc-agent:latest
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
resources:
|
resources:
|
||||||
|
limits:
|
||||||
|
memory: 1Gi
|
||||||
requests:
|
requests:
|
||||||
cpu: 200m
|
cpu: 1
|
||||||
memory: 250Mi
|
memory: 1Gi
|
||||||
securityContext:
|
securityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
privileged: false
|
privileged: false
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
image:
|
image:
|
||||||
repository: ghcr.io/juanfont/headscale
|
repository: ghcr.io/juanfont/headscale
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
tag: v0.27.1
|
tag: v0.28.0
|
||||||
|
|
||||||
args: [ "serve" ]
|
args: [ "serve" ]
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,164 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
data:
|
||||||
|
policy: |
|
||||||
|
{
|
||||||
|
// groups are collections of users having a common scope. A user can be in multiple groups
|
||||||
|
// groups cannot be composed of groups
|
||||||
|
"groups": {
|
||||||
|
"group:admin": [
|
||||||
|
"jonas.juselius@oceanbox.io",
|
||||||
|
"Moritz.Jorg@oceanbox.io",
|
||||||
|
"simen.kirkvik@oceanbox.io",
|
||||||
|
"stig.r.jensen@oceanbox.io",
|
||||||
|
"system-tos",
|
||||||
|
],
|
||||||
|
"group:devops": [
|
||||||
|
"jonas.juselius@oceanbox.io",
|
||||||
|
"Moritz.Jorg@oceanbox.io",
|
||||||
|
"stig.r.jensen@oceanbox.io",
|
||||||
|
"radovan.bast@oceanbox.io",
|
||||||
|
"simen.kirkvik@oceanbox.io",
|
||||||
|
"Ole.Tytlandsvik@tromso.serit.no",
|
||||||
|
],
|
||||||
|
"group:oceanographer": [
|
||||||
|
"frank.gaardsted@oceanbox.io",
|
||||||
|
"ole.anders.nost@oceanbox.io",
|
||||||
|
"helge.avlesen@oceanbox.io",
|
||||||
|
"isa.rosso@oceanbox.io",
|
||||||
|
"jonathan.lilly@oceanbox.io",
|
||||||
|
],
|
||||||
|
"group:manager": [
|
||||||
|
"svenn.hanssen@oceanbox.io",
|
||||||
|
"hilde.iversen@oceanbox.io",
|
||||||
|
],
|
||||||
|
"group:dev": [],
|
||||||
|
"group:intern": [],
|
||||||
|
},
|
||||||
|
// tagOwners in tailscale is an association between a TAG and the people allowed to set this TAG on a server.
|
||||||
|
// This is documented [here](https://tailscale.com/kb/1068/acl-tags#defining-a-tag)
|
||||||
|
// and explained [here](https://tailscale.com/blog/rbac-like-it-was-meant-to-be/)
|
||||||
|
"tagOwners": {
|
||||||
|
"tag:k8s": [ "group:admin" ],
|
||||||
|
"tag:hpc": [ "group:admin" ],
|
||||||
|
},
|
||||||
|
// hosts should be defined using its IP addresses and a subnet mask.
|
||||||
|
// to define a single host, use a /32 mask. You cannot use DNS entries here,
|
||||||
|
// as they're prone to be hijacked by replacing their IP addresses.
|
||||||
|
// see https://github.com/tailscale/tailscale/issues/3800 for more information.
|
||||||
|
"hosts": {
|
||||||
|
"ingress.ekman.tos": "10.255.241.99/32",
|
||||||
|
"ingress.ceph.tos": "10.255.241.10/32",
|
||||||
|
"ingress.ceph.vtn": "172.16.239.50/32",
|
||||||
|
"ingress.adm.ceph.vtn": "172.16.239.51/32",
|
||||||
|
"ingress.oceanbox.tos": "10.255.241.11/32",
|
||||||
|
"manage.ekman.tos": "10.255.241.99/32",
|
||||||
|
"k8s.oceanbox.tos": "10.255.241.200/32",
|
||||||
|
"k8s.ekman.tos": "10.255.241.99/32",
|
||||||
|
"k8s.ceph.tos": "10.255.241.29/32",
|
||||||
|
"printer.office.tos": "10.132.46.108/32",
|
||||||
|
"net.office.tos": "10.132.46.0/24",
|
||||||
|
"net.dc.tos": "10.255.241.0/24",
|
||||||
|
"net.100gbe.tos": "10.255.244.0/24",
|
||||||
|
"net.mgmt.tos": "10.255.240.0/24",
|
||||||
|
"net.dc.vtn": "172.16.239.0/24",
|
||||||
|
"net.mgmt.vtn": "172.16.238.0/24",
|
||||||
|
},
|
||||||
|
"acls": [
|
||||||
|
{
|
||||||
|
"action": "accept",
|
||||||
|
"src": [
|
||||||
|
"group:admin",
|
||||||
|
"group:devops",
|
||||||
|
"group:oceanographer",
|
||||||
|
"group:manager",
|
||||||
|
"group:dev",
|
||||||
|
],
|
||||||
|
"dst": [
|
||||||
|
"100.64.0.0/24:0",
|
||||||
|
"100.64.0.0/24:22",
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "accept",
|
||||||
|
"src": [ "ekman", "net.dc.tos" ],
|
||||||
|
"dst": [
|
||||||
|
"net.dc.vtn:*",
|
||||||
|
"100.64.0.0/24:0",
|
||||||
|
"100.64.0.0/24:22",
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "accept",
|
||||||
|
"src": [ "rossby", "net.dc.vtn" ],
|
||||||
|
"dst": [
|
||||||
|
"net.dc.tos:*",
|
||||||
|
"100.64.0.0/24:0",
|
||||||
|
"100.64.0.0/24:22",
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "accept",
|
||||||
|
"src": [ "group:admin" ],
|
||||||
|
"dst": [
|
||||||
|
"net.dc.tos:*",
|
||||||
|
"net.mgmt.tos:*",
|
||||||
|
"net.100gbe.tos:*",
|
||||||
|
"net.office.tos:*",
|
||||||
|
"net.dc.vtn:*",
|
||||||
|
"net.mgmt.vtn:*",
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "accept",
|
||||||
|
"src": [ "group:devops" ],
|
||||||
|
"dst": [
|
||||||
|
"k8s.oceanbox.tos:6443",
|
||||||
|
"k8s.ekman.tos:4443",
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "accept",
|
||||||
|
"src": [
|
||||||
|
"group:admin",
|
||||||
|
"group:devops",
|
||||||
|
"group:oceanographer",
|
||||||
|
"group:manager",
|
||||||
|
"group:dev",
|
||||||
|
],
|
||||||
|
"dst": [
|
||||||
|
"ingress.oceanbox.tos:443",
|
||||||
|
"ingress.ekman.tos:443",
|
||||||
|
"printer.office.tos:631",
|
||||||
|
"10.255.241.99/32:22",
|
||||||
|
"10.255.241.100/32:22",
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "accept",
|
||||||
|
"src": [
|
||||||
|
"group:admin",
|
||||||
|
"group:devops",
|
||||||
|
"group:oceanographer",
|
||||||
|
"group:manager",
|
||||||
|
"group:dev",
|
||||||
|
],
|
||||||
|
"dst": [
|
||||||
|
"100.64.0.0/24:*",
|
||||||
|
"autogroup:internet:*",
|
||||||
|
]
|
||||||
|
},
|
||||||
|
]
|
||||||
|
}
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
argocd.argoproj.io/tracking-id: headscale:/ConfigMap:headscale/headscale-acl
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/instance: headscale
|
||||||
|
app.kubernetes.io/managed-by: Helm
|
||||||
|
app.kubernetes.io/name: headscale
|
||||||
|
app.kubernetes.io/version: v0.25.0
|
||||||
|
helm.sh/chart: headscale-0.16.0
|
||||||
|
name: headscale-acl
|
||||||
|
namespace: headscale
|
||||||
|
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
image:
|
image:
|
||||||
repository: ghcr.io/juanfont/headscale
|
repository: ghcr.io/juanfont/headscale
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
tag: v0.27.1
|
tag: v0.28.0
|
||||||
|
|
||||||
args: ["serve"]
|
args: ["serve"]
|
||||||
|
|
||||||
@@ -253,8 +253,6 @@ configMaps:
|
|||||||
{ "action": "accept", "src": [ "hilde.iversen@oceanbox.io" ], "dst": [ "hilde.iversen@oceanbox.io:*" ] },
|
{ "action": "accept", "src": [ "hilde.iversen@oceanbox.io" ], "dst": [ "hilde.iversen@oceanbox.io:*" ] },
|
||||||
{ "action": "accept", "src": [ "pal.herstad@oceanbox.io" ], "dst": [ "pal.herstad@oceanbox.io:*" ] },
|
{ "action": "accept", "src": [ "pal.herstad@oceanbox.io" ], "dst": [ "pal.herstad@oceanbox.io:*" ] },
|
||||||
{ "action": "accept", "src": [ "faith.iha@oceanbox.io" ], "dst": [ "faith.iha@oceanbox.io:*" ] },
|
{ "action": "accept", "src": [ "faith.iha@oceanbox.io" ], "dst": [ "faith.iha@oceanbox.io:*" ] },
|
||||||
{ "action": "accept", "src": [ "elianne.ersdal@oceanbox.io" ], "dst": [ "elianne.ersdal@oceanbox.io:*" ] },
|
|
||||||
{ "action": "accept", "src": [ "hanskristian.djuve@oceanbox.io" ], "dst": [ "hanskristian.djuve@oceanbox.io:*" ] },
|
|
||||||
// s/"\([^"]*\)"/{ "action": "accept", "src": [ "\1" ], "dst": [ "\1:*" ] },
|
// s/"\([^"]*\)"/{ "action": "accept", "src": [ "\1" ], "dst": [ "\1:*" ] },
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -266,6 +264,7 @@ configMaps:
|
|||||||
{ "name": "maps.oceanbox.io", "type": "A", "value": "10.255.241.11" },
|
{ "name": "maps.oceanbox.io", "type": "A", "value": "10.255.241.11" },
|
||||||
{ "name": "maps.beta.oceanbox.io", "type": "A", "value": "10.255.241.11" },
|
{ "name": "maps.beta.oceanbox.io", "type": "A", "value": "10.255.241.11" },
|
||||||
{ "name": "maps.dev.oceanbox.io", "type": "A", "value": "10.255.241.11" },
|
{ "name": "maps.dev.oceanbox.io", "type": "A", "value": "10.255.241.11" },
|
||||||
|
{ "name": "atlantis.beta.oceanbox.io", "type": "A", "value": "10.255.241.11" },
|
||||||
{ "name": "codex.adm.oceanbox.io", "type": "A", "value": "10.255.241.11" },
|
{ "name": "codex.adm.oceanbox.io", "type": "A", "value": "10.255.241.11" },
|
||||||
{ "name": "codex.dev.oceanbox.io", "type": "A", "value": "10.255.241.11" },
|
{ "name": "codex.dev.oceanbox.io", "type": "A", "value": "10.255.241.11" },
|
||||||
|
|
||||||
@@ -353,7 +352,6 @@ configMaps:
|
|||||||
{ "name": "mrtz-sorcerer.ekman.oceanbox.io", "type": "A", "value": "10.255.241.99" },
|
{ "name": "mrtz-sorcerer.ekman.oceanbox.io", "type": "A", "value": "10.255.241.99" },
|
||||||
{ "name": "mrtz-sorcerer.dev.vtn.obx", "type": "A", "value": "172.16.239.221" },
|
{ "name": "mrtz-sorcerer.dev.vtn.obx", "type": "A", "value": "172.16.239.221" },
|
||||||
{ "name": "mrtz-plume.ekman.oceanbox.io", "type": "A", "value": "10.255.241.99" },
|
{ "name": "mrtz-plume.ekman.oceanbox.io", "type": "A", "value": "10.255.241.99" },
|
||||||
{ "name": "mrtz-diadash.ekman.oceanbox.io", "type": "A", "value": "10.255.241.99" },
|
|
||||||
{ "name": "simkir-atlantis.dev.oceanbox.io", "type": "A", "value": "10.255.241.11" },
|
{ "name": "simkir-atlantis.dev.oceanbox.io", "type": "A", "value": "10.255.241.11" },
|
||||||
{ "name": "simkir-maps.dev.oceanbox.io", "type": "A", "value": "10.255.241.11" },
|
{ "name": "simkir-maps.dev.oceanbox.io", "type": "A", "value": "10.255.241.11" },
|
||||||
{ "name": "simkir-codex.dev.oceanbox.io", "type": "A", "value": "10.255.241.11" },
|
{ "name": "simkir-codex.dev.oceanbox.io", "type": "A", "value": "10.255.241.11" },
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
jobset:
|
|
||||||
enabled: false
|
|
||||||
autosync: false
|
|
||||||
@@ -1,44 +0,0 @@
|
|||||||
{{- if .Values.clusterConfig.argo.enabled }}
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: jobset
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
destination:
|
|
||||||
namespace: jobset-system
|
|
||||||
server: 'https://kubernetes.default.svc'
|
|
||||||
sources:
|
|
||||||
- repoURL: {{ .Values.clusterConfig.manifests }}
|
|
||||||
targetRevision: HEAD
|
|
||||||
path: helmfile.d
|
|
||||||
plugin:
|
|
||||||
name: helmfile-cmp
|
|
||||||
env:
|
|
||||||
- name: CLUSTER_NAME
|
|
||||||
value: {{ .Values.clusterConfig.cluster }}
|
|
||||||
- name: HELMFILE_ENVIRONMENT
|
|
||||||
value: default
|
|
||||||
- name: HELMFILE_FILE_PATH
|
|
||||||
value: jobset.yaml.gotmpl
|
|
||||||
project: sys
|
|
||||||
syncPolicy:
|
|
||||||
managedNamespaceMetadata:
|
|
||||||
labels:
|
|
||||||
component: sys
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
- ApplyOutOfSyncOnly=true
|
|
||||||
- ServerSideApply=true
|
|
||||||
{{- if .Values.jobset.autosync }}
|
|
||||||
automated:
|
|
||||||
prune: true
|
|
||||||
{{- end }}
|
|
||||||
ignoreDifferences:
|
|
||||||
- group: ""
|
|
||||||
kind: Secret
|
|
||||||
name: jobset-webhook-server-cert
|
|
||||||
namespace: jobset-system
|
|
||||||
jsonPointers:
|
|
||||||
- /data
|
|
||||||
{{- end }}
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
prometheus:
|
|
||||||
enable: false
|
|
||||||
certManager:
|
|
||||||
enable: false
|
|
||||||
@@ -8,7 +8,6 @@ kubectl cp -n keycloak oceanbox-realm.json prod-keycloak-0:/tmp/backup/oceanbox-
|
|||||||
kubectl cp -n keycloak oceanbox-users-0.json prod-keycloak-0:/tmp/backup/oceanbox-users-0.json
|
kubectl cp -n keycloak oceanbox-users-0.json prod-keycloak-0:/tmp/backup/oceanbox-users-0.json
|
||||||
kc.sh -Djgroups.bind.port=7801 import --dir /tmp/backup
|
kc.sh -Djgroups.bind.port=7801 import --dir /tmp/backup
|
||||||
```
|
```
|
||||||
|
|
||||||
## Theme
|
## Theme
|
||||||
|
|
||||||
The keycloak theme is maintained at [git.oceanbox.io/platform/keycloak-theme](https://git.oceanbox.io/platform/keycloak-theme) and is deployed via an init container using the `git.oceanbox.io/platform/keycloak-theme` image.
|
Our keycloak theme is inserted using the image provided [here](https://gitlab.com/oceanbox/keycloak-theme)
|
||||||
|
|||||||
@@ -33,8 +33,10 @@ spec:
|
|||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
- ApplyOutOfSyncOnly=true
|
- ApplyOutOfSyncOnly=true
|
||||||
|
# - ServerSideApply=true
|
||||||
{{- if .Values.keycloak.autosync }}
|
{{- if .Values.keycloak.autosync }}
|
||||||
automated:
|
automated:
|
||||||
prune: true
|
prune: true
|
||||||
|
# selfHeal: false
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
@@ -1,14 +1,26 @@
|
|||||||
replicaCount: 2
|
replicaCount: 2
|
||||||
|
|
||||||
|
# NOTE(mrtz): Hack for working with bitnami legacy registry
|
||||||
|
global:
|
||||||
|
security:
|
||||||
|
allowInsecureImages: true
|
||||||
|
image:
|
||||||
|
repository: bitnamilegacy/keycloak
|
||||||
|
|
||||||
|
production: true
|
||||||
|
|
||||||
|
proxy: edge
|
||||||
|
|
||||||
auth:
|
auth:
|
||||||
adminPassword: en to tre fire
|
adminPassword: en to tre fire
|
||||||
|
adminUser: admin
|
||||||
existingSecret: ""
|
existingSecret: ""
|
||||||
managementPassword: ""
|
managementPassword: ""
|
||||||
|
managementUser: manager
|
||||||
|
|
||||||
postgresql:
|
postgresql:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
||||||
resourcesPreset: "none"
|
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 750m
|
cpu: 750m
|
||||||
@@ -36,7 +48,37 @@ extraVolumes:
|
|||||||
name: theme
|
name: theme
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
|
annotations:
|
||||||
|
cert-manager.io/cluster-issuer: letsencrypt-production
|
||||||
|
nginx.ingress.kubernetes.io/enable-cors: "true"
|
||||||
|
nginx.ingress.kubernetes.io/backend-protocol: HTTP
|
||||||
|
nginx.ingress.kubernetes.io/proxy-buffer-size: 128k
|
||||||
|
nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
||||||
|
enabled: true
|
||||||
hostname: auth.oceanbox.io
|
hostname: auth.oceanbox.io
|
||||||
|
ingressClassName: nginx
|
||||||
|
path: /
|
||||||
|
pathType: ImplementationSpecific
|
||||||
|
selfSigned: false
|
||||||
|
servicePort: http
|
||||||
|
tls: true
|
||||||
|
|
||||||
|
adminIngress:
|
||||||
|
enabled: false
|
||||||
|
annotations:
|
||||||
|
cert-manager.io/cluster-issuer: letsencrypt-production
|
||||||
|
nginx.ingress.kubernetes.io/enable-cors: "true"
|
||||||
|
nginx.ingress.kubernetes.io/backend-protocol: HTTP
|
||||||
|
nginx.ingress.kubernetes.io/proxy-buffer-size: 128k
|
||||||
|
nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
||||||
|
oceanbox.io/expose: internal
|
||||||
|
hostname: keycloak.adm.oceanbox.io
|
||||||
|
ingressClassName: nginx
|
||||||
|
path: /
|
||||||
|
pathType: ImplementationSpecific
|
||||||
|
selfSigned: false
|
||||||
|
servicePort: http
|
||||||
|
tls: true
|
||||||
|
|
||||||
keycloakConfigCli:
|
keycloakConfigCli:
|
||||||
enabled: false
|
enabled: false
|
||||||
@@ -51,8 +93,8 @@ keycloakConfigCli:
|
|||||||
|
|
||||||
initContainers: |
|
initContainers: |
|
||||||
- name: keycloak-theme-provider
|
- name: keycloak-theme-provider
|
||||||
image: git.oceanbox.io/platform/keycloak-theme:latest
|
image: docker.io/juselius/oceanbox-theme:1.2
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: Always
|
||||||
command:
|
command:
|
||||||
- sh
|
- sh
|
||||||
args:
|
args:
|
||||||
|
|||||||
@@ -1,7 +1,22 @@
|
|||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
|
||||||
|
# NOTE(mrtz): Hack for working with bitnami legacy registry
|
||||||
|
global:
|
||||||
|
security:
|
||||||
|
allowInsecureImages: true
|
||||||
|
image:
|
||||||
|
repository: bitnamilegacy/keycloak
|
||||||
|
|
||||||
|
production: true
|
||||||
|
|
||||||
|
proxy: edge
|
||||||
|
|
||||||
auth:
|
auth:
|
||||||
adminPassword: en to tre fire
|
adminPassword: en to tre fire
|
||||||
|
adminUser: admin
|
||||||
|
existingSecret: ""
|
||||||
|
managementPassword: ""
|
||||||
|
managementUser: manager
|
||||||
|
|
||||||
postgresql:
|
postgresql:
|
||||||
enabled: true
|
enabled: true
|
||||||
@@ -9,5 +24,58 @@ postgresql:
|
|||||||
postgresPassword: "avatar mustiness economic"
|
postgresPassword: "avatar mustiness economic"
|
||||||
password: "punctured abstain facility"
|
password: "punctured abstain facility"
|
||||||
|
|
||||||
|
extraVolumeMounts:
|
||||||
|
- mountPath: /opt/bitnami/keycloak/themes/oceanbox
|
||||||
|
name: theme
|
||||||
|
|
||||||
|
extraVolumes:
|
||||||
|
- emptyDir: {}
|
||||||
|
name: theme
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
|
annotations:
|
||||||
|
cert-manager.io/cluster-issuer: letsencrypt-production
|
||||||
|
nginx.ingress.kubernetes.io/enable-cors: "true"
|
||||||
|
nginx.ingress.kubernetes.io/backend-protocol: HTTP
|
||||||
|
nginx.ingress.kubernetes.io/proxy-buffer-size: 128k
|
||||||
|
nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
||||||
|
enabled: true
|
||||||
hostname: auth.srv.oceanbox.io
|
hostname: auth.srv.oceanbox.io
|
||||||
|
ingressClassName: nginx
|
||||||
|
path: /
|
||||||
|
pathType: ImplementationSpecific
|
||||||
|
selfSigned: false
|
||||||
|
servicePort: http
|
||||||
|
tls: true
|
||||||
|
|
||||||
|
adminIngress:
|
||||||
|
enabled: false
|
||||||
|
annotations:
|
||||||
|
cert-manager.io/cluster-issuer: letsencrypt-production
|
||||||
|
nginx.ingress.kubernetes.io/enable-cors: "true"
|
||||||
|
nginx.ingress.kubernetes.io/backend-protocol: HTTP
|
||||||
|
nginx.ingress.kubernetes.io/proxy-buffer-size: 128k
|
||||||
|
nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
||||||
|
oceanbox.io/expose: internal
|
||||||
|
hostname: auth.adm.oceanbox.io
|
||||||
|
ingressClassName: nginx
|
||||||
|
path: /
|
||||||
|
pathType: ImplementationSpecific
|
||||||
|
selfSigned: false
|
||||||
|
servicePort: http
|
||||||
|
tls: true
|
||||||
|
|
||||||
|
initContainers: |
|
||||||
|
- name: keycloak-theme-provider
|
||||||
|
image: docker.io/juselius/oceanbox-theme:1.2
|
||||||
|
imagePullPolicy: Always
|
||||||
|
command:
|
||||||
|
- sh
|
||||||
|
args:
|
||||||
|
- -c
|
||||||
|
- |
|
||||||
|
echo "Copying theme..."
|
||||||
|
cp -R /theme/* /keycloak/themes/oceanbox
|
||||||
|
volumeMounts:
|
||||||
|
- name: theme
|
||||||
|
mountPath: /keycloak/themes/oceanbox
|
||||||
|
|||||||
@@ -1,29 +0,0 @@
|
|||||||
# NOTE(mrtz): Hack for working with bitnami legacy registry
|
|
||||||
global:
|
|
||||||
security:
|
|
||||||
allowInsecureImages: true
|
|
||||||
image:
|
|
||||||
repository: bitnamilegacy/keycloak
|
|
||||||
|
|
||||||
production: true
|
|
||||||
|
|
||||||
proxyHeaders: xforwarded
|
|
||||||
|
|
||||||
auth:
|
|
||||||
adminUser: admin
|
|
||||||
managementUser: manager
|
|
||||||
|
|
||||||
ingress:
|
|
||||||
annotations:
|
|
||||||
cert-manager.io/cluster-issuer: letsencrypt-production
|
|
||||||
nginx.ingress.kubernetes.io/enable-cors: "true"
|
|
||||||
nginx.ingress.kubernetes.io/backend-protocol: HTTP
|
|
||||||
nginx.ingress.kubernetes.io/proxy-buffer-size: 128k
|
|
||||||
nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
|
||||||
enabled: true
|
|
||||||
ingressClassName: nginx
|
|
||||||
path: /
|
|
||||||
pathType: ImplementationSpecific
|
|
||||||
selfSigned: false
|
|
||||||
servicePort: http
|
|
||||||
tls: true
|
|
||||||
@@ -1,3 +1,3 @@
|
|||||||
jobset:
|
kueue:
|
||||||
enabled: true
|
enabled: true
|
||||||
autosync: false
|
autosync: false
|
||||||
@@ -1,68 +1,51 @@
|
|||||||
apiVersion: kueue.x-k8s.io/v1beta2
|
apiVersion: kueue.x-k8s.io/v1beta1
|
||||||
kind: ResourceFlavor
|
kind: ResourceFlavor
|
||||||
metadata:
|
metadata:
|
||||||
name: compute # Just needs to exist, can be managed with tains/tolerations
|
name: compute # Just needs to exist, can be managed with tains/tolerations
|
||||||
annotations:
|
|
||||||
argocd.argoproj.io/sync-wave: "2"
|
|
||||||
spec:
|
|
||||||
nodeLabels:
|
|
||||||
node-role.kubernetes.io/compute: compute
|
|
||||||
topology.kubernetes.io/group: c1 # Only run on C1 for now
|
|
||||||
---
|
---
|
||||||
apiVersion: kueue.x-k8s.io/v1beta2
|
apiVersion: kueue.x-k8s.io/v1beta1
|
||||||
kind: ClusterQueue
|
kind: ClusterQueue
|
||||||
metadata:
|
metadata:
|
||||||
name: cluster-queue
|
name: jobs
|
||||||
annotations:
|
|
||||||
argocd.argoproj.io/sync-wave: "2"
|
|
||||||
spec:
|
spec:
|
||||||
|
cohort: general
|
||||||
namespaceSelector: {} # Accept workloads from any namespace
|
namespaceSelector: {} # Accept workloads from any namespace
|
||||||
queueingStrategy: BestEffortFIFO
|
preemption:
|
||||||
# preemption:
|
withinClusterQueue: "LowerPriority" # Allow higher priority to preempt lower
|
||||||
# withinClusterQueue: "LowerPriority" # Allow higher priority to preempt lower
|
|
||||||
resourceGroups:
|
resourceGroups:
|
||||||
- coveredResources: ["cpu", "memory"] # Cover both memory and cpu resources
|
- coveredResources: ["cpu", "memory"] # Cover both memory and cpu resources
|
||||||
flavors:
|
flavors:
|
||||||
- name: compute
|
- name: compute
|
||||||
resources:
|
resources:
|
||||||
- name: "cpu"
|
- name: "cpu"
|
||||||
nominalQuota: '32'
|
nominalQuota: '4'
|
||||||
- name: "memory"
|
- name: "memory"
|
||||||
nominalQuota: 64Gi
|
nominalQuota: 8Gi
|
||||||
# ---
|
|
||||||
# apiVersion: kueue.x-k8s.io/v1beta2
|
|
||||||
# kind: LocalQueue
|
|
||||||
# metadata:
|
|
||||||
# name: prod-queue
|
|
||||||
# namespace: prod-queue
|
|
||||||
# spec:
|
|
||||||
# clusterQueue: cluster-queue
|
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: kueue.x-k8s.io/v1beta1
|
||||||
kind: Namespace
|
kind: LocalQueue
|
||||||
metadata:
|
metadata:
|
||||||
name: dev-queue
|
name: prod-queue
|
||||||
annotations:
|
namespace: prod-sorcerer
|
||||||
argocd.argoproj.io/sync-wave: "2"
|
spec:
|
||||||
|
clusterQueue: jobs
|
||||||
---
|
---
|
||||||
apiVersion: kueue.x-k8s.io/v1beta2
|
apiVersion: kueue.x-k8s.io/v1beta1
|
||||||
kind: LocalQueue
|
kind: LocalQueue
|
||||||
metadata:
|
metadata:
|
||||||
name: staging-queue
|
name: staging-queue
|
||||||
namespace: dev-queue
|
namespace: staging-sorcerer
|
||||||
annotations:
|
|
||||||
argocd.argoproj.io/sync-wave: "2"
|
|
||||||
spec:
|
spec:
|
||||||
clusterQueue: cluster-queue
|
clusterQueue: jobs
|
||||||
# ---
|
---
|
||||||
# apiVersion: kueue.x-k8s.io/v1beta2
|
apiVersion: kueue.x-k8s.io/v1beta1
|
||||||
# kind: WorkloadPriorityClass
|
kind: WorkloadPriorityClass
|
||||||
# metadata:
|
metadata:
|
||||||
# name: "normal"
|
name: "normal"
|
||||||
# value: 100
|
value: 100
|
||||||
# ---
|
---
|
||||||
# apiVersion: kueue.x-k8s.io/v1beta2
|
apiVersion: kueue.x-k8s.io/v1beta1
|
||||||
# kind: WorkloadPriorityClass
|
kind: WorkloadPriorityClass
|
||||||
# metadata:
|
metadata:
|
||||||
# name: "high"
|
name: "high"
|
||||||
# value: 200 # Higher value = higher priority
|
value: 200 # Higher value = higher priority
|
||||||
|
|||||||
@@ -0,0 +1,89 @@
|
|||||||
|
{{- if eq .Values.clusterConfig.cluster "ekman"}}
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: kueueviz-ingress
|
||||||
|
namespace: kueue-system
|
||||||
|
annotations:
|
||||||
|
cert-manager.io/cluster-issuer: ca-issuer
|
||||||
|
nginx.ingress.kubernetes.io/backend-protocol: HTTP
|
||||||
|
nginx.ingress.kubernetes.io/proxy-buffer-size: 128k
|
||||||
|
nginx.ingress.kubernetes.io/proxy-read-timeout: "3600"
|
||||||
|
nginx.ingress.kubernetes.io/proxy-send-timeout: "3600"
|
||||||
|
nginx.ingress.kubernetes.io/ssl-passthrough: "true"
|
||||||
|
nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
||||||
|
nginx.ingress.kubernetes.io/websocket-services: kueue-kueueviz-backend
|
||||||
|
spec:
|
||||||
|
rules:
|
||||||
|
- host: kueue.dev.tos.obx
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /ws
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: kueue-kueueviz-backend
|
||||||
|
port:
|
||||||
|
number: 8080
|
||||||
|
- path: /api(/|$)(.*)
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: kueue-kueueviz-backend
|
||||||
|
port:
|
||||||
|
number: 8080
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: kueue-kueueviz-frontend
|
||||||
|
port:
|
||||||
|
number: 8080
|
||||||
|
tls:
|
||||||
|
- hosts:
|
||||||
|
- kueue.dev.tos.obx
|
||||||
|
secretName: kueueviz-tls
|
||||||
|
{{- end}}
|
||||||
|
---
|
||||||
|
{{- if eq .Values.clusterConfig.cluster "rossby"}}
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: kueueviz-ingress
|
||||||
|
namespace: kueue-system
|
||||||
|
annotations:
|
||||||
|
cert-manager.io/cluster-issuer: ca-issuer
|
||||||
|
nginx.ingress.kubernetes.io/websocket-services: kueue-kueueviz-backend
|
||||||
|
nginx.ingress.kubernetes.io/proxy-read-timeout: "3600"
|
||||||
|
nginx.ingress.kubernetes.io/proxy-send-timeout: "3600"
|
||||||
|
spec:
|
||||||
|
rules:
|
||||||
|
- host: kueue.dev.vtn.obx
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /ws
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: kueue-kueueviz-backend
|
||||||
|
port:
|
||||||
|
number: 8080
|
||||||
|
- path: /api(/|$)(.*)
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: kueue-kueueviz-backend
|
||||||
|
port:
|
||||||
|
number: 8080
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: kueue-kueueviz-frontend
|
||||||
|
port:
|
||||||
|
number: 8080
|
||||||
|
tls:
|
||||||
|
- hosts:
|
||||||
|
- kueue.dev.vtn.obx
|
||||||
|
secretName: kueueviz-tls
|
||||||
|
{{- end}}
|
||||||
@@ -5,7 +5,6 @@ metadata:
|
|||||||
name: kueue
|
name: kueue
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
annotations:
|
annotations:
|
||||||
argocd.argoproj.io/sync-wave: "1"
|
|
||||||
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
|
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
|
||||||
argocd.argoproj.io/compare-options: ServerSideDiff=true
|
argocd.argoproj.io/compare-options: ServerSideDiff=true
|
||||||
finalizers:
|
finalizers:
|
||||||
@@ -28,7 +27,7 @@ spec:
|
|||||||
value: {{ .Values.kueue.env }}
|
value: {{ .Values.kueue.env }}
|
||||||
- name: HELMFILE_FILE_PATH
|
- name: HELMFILE_FILE_PATH
|
||||||
value: kueue.yaml.gotmpl
|
value: kueue.yaml.gotmpl
|
||||||
- repoURL: {{ .Values.clusterConfig.manifests }}
|
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
ref: values
|
ref: values
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
@@ -42,3 +41,4 @@ spec:
|
|||||||
selfHeal: false
|
selfHeal: false
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,9 @@
|
|||||||
|
kueueViz:
|
||||||
|
backend:
|
||||||
|
env:
|
||||||
|
- name: KUEUEVIZ_ALLOWED_ORIGINS
|
||||||
|
value: "https://kueue.dev.tos.obx"
|
||||||
|
frontend:
|
||||||
|
env:
|
||||||
|
- name: REACT_APP_WEBSOCKET_URL
|
||||||
|
value: "wss://kueue.dev.tos.obx"
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
kueueViz:
|
||||||
|
backend:
|
||||||
|
env:
|
||||||
|
- name: KUEUEVIZ_ALLOWED_ORIGINS
|
||||||
|
value: "https://kueue.dev.vtn.obx"
|
||||||
|
frontend:
|
||||||
|
env:
|
||||||
|
- name: REACT_APP_WEBSOCKET_URL
|
||||||
|
value: "wss://kueue.dev.vtn.obx"
|
||||||
@@ -1,14 +1,21 @@
|
|||||||
managerConfig:
|
controllerManager:
|
||||||
controllerManagerConfigYaml: |
|
featureGates:
|
||||||
apiVersion: config.kueue.x-k8s.io/v1beta2
|
- name: TopologyAwareScheduling
|
||||||
kind: Configuration
|
enabled: true
|
||||||
integrations:
|
- name: LocalQueueMetrics
|
||||||
frameworks:
|
enabled: true
|
||||||
- batch/job
|
managerConfig:
|
||||||
- jobset.x-k8s.io/jobset
|
controllerManagerConfigYaml: |
|
||||||
internalCertManagement:
|
apiVersion: config.kueue.x-k8s.io/v1beta1
|
||||||
enable: false
|
kind: Configuration
|
||||||
enableCertManager: true
|
integrations:
|
||||||
|
frameworks:
|
||||||
|
- batch/job
|
||||||
|
- jobset.x-k8s.io/jobset
|
||||||
|
internalCertManagement:
|
||||||
|
enable: false
|
||||||
|
enableCertManager: false
|
||||||
enablePrometheus: true
|
enablePrometheus: true
|
||||||
metrics:
|
metrics:
|
||||||
prometheusNamespace: prometheus
|
prometheusNamespace: prometheus
|
||||||
|
enableKueueViz: true
|
||||||
|
|||||||
@@ -36,13 +36,6 @@ spec:
|
|||||||
# selfHeal: false
|
# selfHeal: false
|
||||||
{{- end }}
|
{{- end }}
|
||||||
ignoreDifferences:
|
ignoreDifferences:
|
||||||
- group: apiextensions.k8s.io
|
|
||||||
kind: CustomResourceDefinition
|
|
||||||
jsonPointers:
|
|
||||||
- /metadata/managedFields
|
|
||||||
- /metadata/generation
|
|
||||||
- /metadata/annotations
|
|
||||||
- /metadata/labels
|
|
||||||
- group: batch
|
- group: batch
|
||||||
kind: CronJob
|
kind: CronJob
|
||||||
jqPathExpressions:
|
jqPathExpressions:
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
image:
|
image:
|
||||||
tag: "d5e61949-debug"
|
tag: "436608af-debug"
|
||||||
env:
|
env:
|
||||||
- name: APP_VERSION
|
- name: APP_VERSION
|
||||||
value: "0.0.0"
|
value: "0.0.0"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"archmaesterUrl": "https://maps.dev.oceanbox.io",
|
"archmaesterUrl": "https://atlantis.beta.oceanbox.io",
|
||||||
"appName": "plume",
|
"appName": "plume",
|
||||||
"appEnv": "staging",
|
"appEnv": "staging",
|
||||||
"appNamespace": "staging-plume",
|
"appNamespace": "staging-plume",
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
image:
|
image:
|
||||||
repository: "git.oceanbox.io/oceanbox/plume/plume"
|
repository: "git.oceanbox.io/oceanbox/plume/plume"
|
||||||
tag: v1.6.13
|
tag: 9d99f7cf-debug
|
||||||
podAnnotations:
|
podAnnotations:
|
||||||
dapr.io/enabled: "true"
|
dapr.io/enabled: "true"
|
||||||
dapr.io/app-id: "staging-plume"
|
dapr.io/app-id: "staging-plume"
|
||||||
|
|||||||
@@ -1,2 +1,3 @@
|
|||||||
prometheus:
|
prometheus:
|
||||||
snitchUrl: "https://nosnch.in/bceb803932"
|
snitchUrl: "https://nosnch.in/bceb803932"
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ prometheus:
|
|||||||
- marcusolsson-static-datasource
|
- marcusolsson-static-datasource
|
||||||
- marcusolsson-calendar-panel
|
- marcusolsson-calendar-panel
|
||||||
- grafana-clock-panel
|
- grafana-clock-panel
|
||||||
- redis-datasource
|
|
||||||
thanos:
|
thanos:
|
||||||
enabled: true
|
enabled: true
|
||||||
coredns:
|
coredns:
|
||||||
|
|||||||
@@ -36,5 +36,4 @@ prometheus:
|
|||||||
thanos:
|
thanos:
|
||||||
enabled: false
|
enabled: false
|
||||||
datasource:
|
datasource:
|
||||||
enabled: false
|
enabled: false
|
||||||
cluster: {{ requiredEnv "ARGOCD_ENV_CLUSTER_NAME" }}
|
|
||||||
@@ -68,7 +68,7 @@ spec:
|
|||||||
server: 'https://kubernetes.default.svc'
|
server: 'https://kubernetes.default.svc'
|
||||||
source:
|
source:
|
||||||
repoURL: 'https://prometheus-community.github.io/helm-charts'
|
repoURL: 'https://prometheus-community.github.io/helm-charts'
|
||||||
targetRevision: '27.0.0'
|
targetRevision: '14.0.0'
|
||||||
chart: prometheus-operator-crds
|
chart: prometheus-operator-crds
|
||||||
project: sys
|
project: sys
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user