fix: update archmeister

This commit is contained in:
Jonas Juselius
2024-02-01 10:36:42 +01:00
parent efdec26433
commit 042cb58841
30 changed files with 997 additions and 2 deletions
+43
View File
@@ -0,0 +1,43 @@
{
"connString": "Username=app;Password=123;Host=x-review-archmeister-rw;Port=5432;Database=app;Pooling=true;",
"oidc": {
"issuer": "https://idp.oceanbox.io/dex",
"authorization_endpoint": "https://idp.oceanbox.io/dex/auth",
"token_endpoint": "https://idp.oceanbox.io/dex/token",
"jwks_uri": "https://idp.oceanbox.io/dex/keys",
"userinfo_endpoint": "https://idp.oceanbox.io/dex/userinfo",
"device_authorization_endpoint": "https://idp.oceanbox.io/dex/device/code",
"clientId": "archmeister_dev",
"clientSecret": "Dae1eekeedeuKaoCiesh1Jei6aishe8I",
"scopes": [
"openid",
"email",
"offline_access",
"profile"
]
},
"sso": {
"cookieDomain": ".oceanbox.io",
"signedOutRedirectUri": "https://idp.oceanbox.io/dex/static/logout.html",
"redis": "redis-master,user=default,password=JICkoUKD0Y",
"appDomain": "atlantis",
"dataProtectionKeys": "DataProtection-Keys"
},
"allowedOrigins": [
"https://beta.sorcerer.ekman.oceanbox.io",
"https://sorcerer.ekman.oceanbox.io",
"https://sorcerer.hpc.oceanbox.io",
"https://s.local.oceanbox.io:8080",
"https://maps.oceanbox.io",
"https://atlantis.beta.oceanbox.io",
"https://jonas-atlantis.beta.oceanbox.io",
"https://stig-atlantis.beta.oceanbox.io",
"https://simkir-atlantis.beta.oceanbox.io",
"https://atlantis.local.oceanbox.io:8080"
],
"logService" : "https://seq.oceanbox.io",
"logApiKey": "WmZplDeFoxIHpJQ5BiDk",
"cliUsers": [
"admin:en-to-tre-fire"
]
}
+22
View File
@@ -0,0 +1,22 @@
- op: add
path: /spec/bootstrap
value:
pg_basebackup:
source: staging-archmeister
- op: add
path: /spec/externalClusters
value:
- name: staging-archmeister
connectionParameters:
host: staging-archmeister-rw.oceanbox
user: streaming_replica
sslmode: verify-full
sslKey:
name: staging-archmeister-replication
key: tls.key
sslCert:
name: staging-archmeister-replication
key: tls.crt
sslRootCert:
name: staging-archmeister-ca
key: ca.crt
+33
View File
@@ -0,0 +1,33 @@
- op: add
path: /spec/template/metadata/annotations
value:
dapr.io/enabled: "true"
dapr.io/app-id: "x-review-archmeister"
dapr.io/app-port: "8000"
dapr.io/config: "tracing"
- op: replace
path: /spec/template/spec/containers/0/env/0
value:
name: LOG_LEVEL
value: "4"
- op: add
path: /spec/template/spec/containers/0/env/-
value:
name: DB_PASSWORD
valueFrom:
secretKeyRef:
name: staging-archmeister-app
key: password
- op: add
path: /spec/template/spec/containers/0/env/-
value:
name: DB_USERNAME
valueFrom:
secretKeyRef:
name: staging-archmeister-app
key: username
- op: add
path: /spec/template/spec/containers/0/env/-
value:
name: DB_HOST
value: x-review-archmeister-rw
+24
View File
@@ -0,0 +1,24 @@
namePrefix: x-review-
generatorOptions:
disableNameSuffixHash: true
secretGenerator:
- files:
- appsettings.json
name: archmeister-appsettings
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../base
patches:
- path: deployment_patch.yaml
target:
group: apps
kind: Deployment
name: archmeister
version: v1
- path: cluster_patch.yaml
target:
group: postgresql.cnpg.io
kind: Cluster
name: archmeister
version: v1