feat: add new prod-sorcerer
This commit is contained in:
+48
-25
@@ -3,29 +3,52 @@ kind: Application
|
|||||||
metadata:
|
metadata:
|
||||||
name: prod-sorcerer
|
name: prod-sorcerer
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
|
annotations:
|
||||||
|
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
|
||||||
|
finalizers:
|
||||||
|
- resources-finalizer.argocd.argoproj.io
|
||||||
spec:
|
spec:
|
||||||
template:
|
destination:
|
||||||
metadata:
|
namespace: prod-sorcerer
|
||||||
name: prod-sorcerer
|
server: https://10.255.241.99:4443
|
||||||
spec:
|
project: atlantis
|
||||||
project: atlantis
|
sources:
|
||||||
destination:
|
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||||
namespace: sorcerer
|
targetRevision: nixidy
|
||||||
server: https://10.255.241.99:4443
|
ref: values
|
||||||
sources:
|
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||||
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
targetRevision: nixidy
|
||||||
targetRevision: main
|
path: values/sorcerer
|
||||||
path: values/sorcerer
|
plugin:
|
||||||
plugin:
|
name: kustomize-helm-with-rewrite
|
||||||
name: kustomize-helm-with-rewrite
|
parameters:
|
||||||
parameters:
|
- name: env
|
||||||
- name: env
|
string: prod
|
||||||
string: prod
|
- name: hostname
|
||||||
- name: hostname
|
string: sorcerer.data.oceanbox.io
|
||||||
string: sorcerer.data.oceanbox.io
|
- repoURL: https://charts.bitnami.com/bitnami
|
||||||
templatePatch: |
|
targetRevision: 20.1.7
|
||||||
spec:
|
chart: redis
|
||||||
syncPolicy:
|
helm:
|
||||||
automated:
|
valueFiles:
|
||||||
prune: true
|
- $values/values/sorcerer/prod/redis.yaml
|
||||||
selfHeal: false
|
ignoreDifferences:
|
||||||
|
- kind: Secret
|
||||||
|
name: azure-keyvault
|
||||||
|
jqPathExpressions:
|
||||||
|
- '.data'
|
||||||
|
- '.metadata.labels'
|
||||||
|
- '.metadata.annotations'
|
||||||
|
- kind: Secret
|
||||||
|
name: prod-atlantis-rabbitmq
|
||||||
|
jqPathExpressions:
|
||||||
|
- '.data'
|
||||||
|
- '.metadata.labels'
|
||||||
|
- '.metadata.annotations'
|
||||||
|
syncPolicy:
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
|
- ApplyOutOfSyncOnly=true
|
||||||
|
# automated:
|
||||||
|
# prune: true
|
||||||
|
# selfHeal: false
|
||||||
|
|||||||
@@ -1,11 +1,12 @@
|
|||||||
{
|
{
|
||||||
"oidc": {
|
"oidc": {
|
||||||
"issuer": "https://idp.oceanbox.io/dex",
|
"issuer": "https://auth.oceanbox.io/realms/oceanbox",
|
||||||
"authorization_endpoint": "https://idp.oceanbox.io/dex/auth",
|
"authorization_endpoint": "https://auth.oceanbox.io/realms/oceanbox/protocol/openid-connect/auth",
|
||||||
"token_endpoint": "https://idp.oceanbox.io/dex/token",
|
"token_endpoint": "https://auth.oceanbox.io/realms/oceanbox/protocol/openid-connect/token",
|
||||||
"jwks_uri": "https://idp.oceanbox.io/dex/keys",
|
"jwks_uri": "https://auth.oceanbox.io/realms/oceanbox/protocol/openid-connect/certs",
|
||||||
"userinfo_endpoint": "https://idp.oceanbox.io/dex/userinfo",
|
"userinfo_endpoint": "https://auth.oceanbox.io/realms/oceanbox/protocol/openid-connect/userinfo",
|
||||||
"device_authorization_endpoint": "https://idp.oceanbox.io/dex/device/code",
|
"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": "sorcerer",
|
"clientId": "sorcerer",
|
||||||
"clientSecret": "",
|
"clientSecret": "",
|
||||||
"scopes": [
|
"scopes": [
|
||||||
@@ -24,33 +25,43 @@
|
|||||||
"sso": {
|
"sso": {
|
||||||
"cookieDomain": ".oceanbox.io",
|
"cookieDomain": ".oceanbox.io",
|
||||||
"cookieName": ".obx.prod",
|
"cookieName": ".obx.prod",
|
||||||
"signedOutRedirectUri": "https://idp.oceanbox.io/dex/static/logout.html",
|
"signedOutRedirectUri": "https://maps.oceanbox.io",
|
||||||
"realm": "atlantis",
|
"realm": "atlantis",
|
||||||
"environment": "prod",
|
"environment": "prod",
|
||||||
"keyStore": "azure",
|
"keyStore": {
|
||||||
"certStore": "https://atlantis.blob.core.windows.net",
|
"kind": "azure",
|
||||||
"dataProtectionKeys": "https://atlantisvault.vault.azure.net/keys/dataprotection"
|
"uri": "https://atlantis.blob.core.windows.net",
|
||||||
|
"key": "dataprotection-keys"
|
||||||
|
},
|
||||||
|
"keyVault": {
|
||||||
|
"kind": "azure",
|
||||||
|
"uri": "https://atlantisvault.vault.azure.net",
|
||||||
|
"key": "dataencryption-keys"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"plainAuthUsers": [],
|
"plainAuthUsers": [],
|
||||||
"fga": {
|
"fga": {
|
||||||
"apiUrl": "https://openfga.srv.oceanbox.io",
|
"apiUrl": "https://openfga.srv.oceanbox.io",
|
||||||
"apiKey": "",
|
"apiKey": "",
|
||||||
"storeId": "01J6C1NBX36E1B928HFSB123XQ",
|
"storeId": "01JH65JAW80D06GYBN7A8TBZRG",
|
||||||
"modelId": "01JHMSEB0WJGHGNAZ47NVW8Z3A"
|
"modelId": ""
|
||||||
},
|
},
|
||||||
"redis": "localhost:6379,user=default,password=secret",
|
"redis": "localhost:6379,user=default,password=secret",
|
||||||
"allowedOrigins": [
|
"allowedOrigins": [
|
||||||
"http://localhost:8085",
|
"http://localhost:8085",
|
||||||
"http://localhost:8080",
|
"http://localhost:8080",
|
||||||
"https://localhost:8080",
|
"https://localhost:8080",
|
||||||
|
"https://sorcerer.data.oceanbox.io",
|
||||||
|
"https://sorcerer.ekman.oceanbox.io",
|
||||||
"https://sorcerer.local.oceanbox.io:8080",
|
"https://sorcerer.local.oceanbox.io:8080",
|
||||||
"https://atlantis.local.oceanbox.io:8080",
|
"https://atlantis.local.oceanbox.io:8080",
|
||||||
"https://maps.oceanbox.io",
|
"https://maps.oceanbox.io",
|
||||||
"https://atlantis.srv.oceanbox.io",
|
"https://maps.beta.oceanbox.io",
|
||||||
|
"https://atlantis.beta.oceanbox.io",
|
||||||
"https://jonas-atlantis.dev.oceanbox.io",
|
"https://jonas-atlantis.dev.oceanbox.io",
|
||||||
"https://stig-atlantis.dev.oceanbox.io",
|
"https://stig-atlantis.dev.oceanbox.io",
|
||||||
"https://sorcerer.data.oceanbox.io",
|
"https://prod-sorcerer.ekman.oceanbox.io",
|
||||||
"http://sorcerer.data.oceanbox.io"
|
"http://prod-sorcerer.ekman.oceanbox.io"
|
||||||
],
|
],
|
||||||
"appName": "sorcerer",
|
"appName": "sorcerer",
|
||||||
"appEnv": "prod",
|
"appEnv": "prod",
|
||||||
@@ -59,6 +70,5 @@
|
|||||||
"otelCollector": "http://10.255.241.12:4317",
|
"otelCollector": "http://10.255.241.12:4317",
|
||||||
"archiveSvc": "https://maps.oceanbox.io",
|
"archiveSvc": "https://maps.oceanbox.io",
|
||||||
"dataDir": "/data/archives",
|
"dataDir": "/data/archives",
|
||||||
"cacheDir": "/data/archives/cache",
|
"cacheDir": "/data/archives/cache"
|
||||||
"authDomain": "prod"
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
|
||||||
image:
|
image:
|
||||||
tag: latest
|
tag: v4.16.3
|
||||||
|
|
||||||
podAnnotations:
|
podAnnotations:
|
||||||
dapr.io/enabled: "true"
|
dapr.io/enabled: "true"
|
||||||
@@ -18,7 +18,7 @@ podAnnotations:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
- name: APP_VERSION
|
- name: APP_VERSION
|
||||||
value: "0.0.0"
|
value: "4.16.3"
|
||||||
- name: LOG_LEVEL
|
- name: LOG_LEVEL
|
||||||
value: "2"
|
value: "2"
|
||||||
- name: REDIS_USER
|
- name: REDIS_USER
|
||||||
@@ -26,7 +26,7 @@ env:
|
|||||||
- name: REDIS_PASSWORD
|
- name: REDIS_PASSWORD
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: prod-redis
|
name: prod-sorcerer-redis
|
||||||
key: redis-password
|
key: redis-password
|
||||||
- name: DAPR_API_TOKEN
|
- name: DAPR_API_TOKEN
|
||||||
valueFrom:
|
valueFrom:
|
||||||
@@ -42,7 +42,6 @@ ingress:
|
|||||||
nginx.ingress.kubernetes.io/session-cookie-name: "http-affinity"
|
nginx.ingress.kubernetes.io/session-cookie-name: "http-affinity"
|
||||||
nginx.ingress.kubernetes.io/session-cookie-expires: "86400"
|
nginx.ingress.kubernetes.io/session-cookie-expires: "86400"
|
||||||
nginx.ingress.kubernetes.io/session-cookie-max-age: "86400"
|
nginx.ingress.kubernetes.io/session-cookie-max-age: "86400"
|
||||||
atlantis.oceanbox.io/expose: internal
|
|
||||||
hosts:
|
hosts:
|
||||||
- host: sorcerer.data.oceanbox.io
|
- host: sorcerer.data.oceanbox.io
|
||||||
paths:
|
paths:
|
||||||
|
|||||||
Reference in New Issue
Block a user