fix: update (pre)prod atlantis manifests
This commit is contained in:
+61
-20
@@ -1,25 +1,66 @@
|
|||||||
apiVersion: argoproj.io/v1alpha1
|
apiVersion: argoproj.io/v1alpha1
|
||||||
kind: Application
|
kind: Application
|
||||||
metadata:
|
metadata:
|
||||||
name: prod-atlantis
|
name: rc-atlantis
|
||||||
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-atlantis
|
||||||
name: prod-atlantis
|
server: https://kubernetes.default.svc
|
||||||
spec:
|
project: atlantis
|
||||||
project: atlantis
|
sources:
|
||||||
destination:
|
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||||
namespace: atlantis
|
targetRevision: nixidy
|
||||||
server: https://kubernetes.default.svc
|
ref: values
|
||||||
sources:
|
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
||||||
- repoURL: https://gitlab.com/oceanbox/manifests.git
|
targetRevision: nixidy
|
||||||
targetRevision: nixidy
|
path: values/atlantis
|
||||||
path: values/atlantis
|
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: maps.beta.oceanbox.io
|
||||||
string: atlantis.beta.oceanbox.io
|
- repoURL: https://charts.bitnami.com/bitnami
|
||||||
|
targetRevision: 20.1.7
|
||||||
|
chart: redis
|
||||||
|
helm:
|
||||||
|
valueFiles:
|
||||||
|
- $values/values/redis/values-prod.yaml
|
||||||
|
ignoreDifferences:
|
||||||
|
- kind: Secret
|
||||||
|
name: azure-keyvault
|
||||||
|
jqPathExpressions:
|
||||||
|
- '.data'
|
||||||
|
- '.metadata.labels'
|
||||||
|
- '.metadata.annotations'
|
||||||
|
- kind: Secret
|
||||||
|
name: prod-atlantis-rabbitmq
|
||||||
|
jqPathExpressions:
|
||||||
|
- '.data'
|
||||||
|
- '.metadata.labels'
|
||||||
|
- '.metadata.annotations'
|
||||||
|
- kind: Secret
|
||||||
|
name: prod-archmeister-replication
|
||||||
|
jqPathExpressions:
|
||||||
|
- '.data'
|
||||||
|
- '.metadata.labels'
|
||||||
|
- '.metadata.annotations'
|
||||||
|
- kind: Secret
|
||||||
|
name: prod-archmeister-ca
|
||||||
|
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": "atlantis",
|
"clientId": "atlantis",
|
||||||
"clientSecret": "",
|
"clientSecret": "",
|
||||||
"scopes": [
|
"scopes": [
|
||||||
@@ -24,7 +25,7 @@
|
|||||||
"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.beta.oceanbox.io",
|
||||||
"realm": "atlantis",
|
"realm": "atlantis",
|
||||||
"environment": "prod",
|
"environment": "prod",
|
||||||
"keyStore": "azure",
|
"keyStore": "azure",
|
||||||
@@ -34,8 +35,8 @@
|
|||||||
"fga": {
|
"fga": {
|
||||||
"apiUrl": "http://prod-openfga.openfga.svc.cluster.local:8080",
|
"apiUrl": "http://prod-openfga.openfga.svc.cluster.local:8080",
|
||||||
"apiKey": "",
|
"apiKey": "",
|
||||||
"storeId": "01J6C1NBX36E1B928HFSB123XQ",
|
"storeId": "01JH65JAW80D06GYBN7A8TBZRG",
|
||||||
"modelId": "01JFA49B1JZF1MZ426HQTZ6WTJ"
|
"modelId": "01JH65JAY2R397SHAKE5MTHB0D"
|
||||||
},
|
},
|
||||||
"plainAuthUsers": [
|
"plainAuthUsers": [
|
||||||
{
|
{
|
||||||
@@ -51,12 +52,12 @@
|
|||||||
"sorcerer" : "https://sorcerer.ekman.oceanbox.io",
|
"sorcerer" : "https://sorcerer.ekman.oceanbox.io",
|
||||||
"allowedOrigins": [
|
"allowedOrigins": [
|
||||||
"https://maps.oceanbox.io",
|
"https://maps.oceanbox.io",
|
||||||
"https://atlantis.srv.oceanbox.io"
|
"https://maps.beta.oceanbox.io",
|
||||||
],
|
],
|
||||||
"appName": "atlantis",
|
"appName": "atlantis",
|
||||||
"appEnv": "prod",
|
"appEnv": "prod",
|
||||||
"appNamespace": "atlantis",
|
"appNamespace": "atlantis",
|
||||||
"appVersion": "2.90.0",
|
"appVersion": "2.92.0",
|
||||||
"otelCollector": "http://opentelemetry-collector.otel.svc:4317",
|
"otelCollector": "http://opentelemetry-collector.otel.svc:4317",
|
||||||
"pubsubName": "pubsub",
|
"pubsubName": "pubsub",
|
||||||
"pubsubTopic": "hipster-atlantis",
|
"pubsubTopic": "hipster-atlantis",
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ spec:
|
|||||||
name: prod-atlantis-rabbitmq
|
name: prod-atlantis-rabbitmq
|
||||||
key: connString
|
key: connString
|
||||||
- name: queueName
|
- name: queueName
|
||||||
value: prod-slurm-job-events
|
value: rc-slurm-job-events
|
||||||
- name: durable
|
- name: durable
|
||||||
value: true
|
value: true
|
||||||
- name: contentType
|
- name: contentType
|
||||||
@@ -19,4 +19,4 @@ spec:
|
|||||||
- name: route
|
- name: route
|
||||||
value: /events/slurm
|
value: /events/slurm
|
||||||
scopes:
|
scopes:
|
||||||
- prod-atlantis
|
- preprod-atlantis
|
||||||
|
|||||||
@@ -17,4 +17,4 @@ spec:
|
|||||||
- name: redisDB
|
- name: redisDB
|
||||||
value: "1"
|
value: "1"
|
||||||
scopes:
|
scopes:
|
||||||
- prod-atlantis
|
- preprod-atlantis
|
||||||
|
|||||||
@@ -1,2 +1 @@
|
|||||||
OIDC_CLIENT_SECRET=KOJ6bDHzE5vdyfSrzgwLjtM5PzA809Zm
|
OIDC_CLIENT_SECRET=KOJ6bDHzE5vdyfSrzgwLjtM5PzA809Zm
|
||||||
DEPLOY_NAME=prod-atlantis
|
|
||||||
|
|||||||
@@ -19,4 +19,4 @@ spec:
|
|||||||
- name: redisDB
|
- name: redisDB
|
||||||
value: "0"
|
value: "0"
|
||||||
scopes:
|
scopes:
|
||||||
- prod-atlantis
|
- preprod-atlantis
|
||||||
|
|||||||
@@ -24,4 +24,4 @@ spec:
|
|||||||
metadata:
|
metadata:
|
||||||
queueType: quorum
|
queueType: quorum
|
||||||
scopes:
|
scopes:
|
||||||
- prod-atlantis
|
-preprod-atlantis
|
||||||
|
|||||||
@@ -1,2 +1 @@
|
|||||||
OIDC_CLIENT_SECRET=3QjfSPmAemjn34XVA2o1fvoS7I4gKvOR
|
OIDC_CLIENT_SECRET=3QjfSPmAemjn34XVA2o1fvoS7I4gKvOR
|
||||||
DEPLOY_NAME=staging-atlantis
|
|
||||||
|
|||||||
@@ -1,15 +1,18 @@
|
|||||||
replicaCount: 2
|
replicaCount: 1
|
||||||
|
|
||||||
|
image:
|
||||||
|
tag: v2.92.0
|
||||||
|
|
||||||
podAnnotations:
|
podAnnotations:
|
||||||
dapr.io/app-id: "prod-atlantis"
|
dapr.io/app-id: "preprod-atlantis"
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- name: APP_NAMESPACE
|
- name: APP_NAMESPACE
|
||||||
value: prod-atlantis
|
value: prod-atlantis
|
||||||
- name: APP_VERSION
|
- name: APP_VERSION
|
||||||
value: "2.87.0"
|
value: "2.92.0"
|
||||||
- name: LOG_LEVEL
|
- name: LOG_LEVEL
|
||||||
value: "3"
|
value: "2"
|
||||||
- name: REDIS_USER
|
- name: REDIS_USER
|
||||||
value: default
|
value: default
|
||||||
- name: REDIS_PASSWORD
|
- name: REDIS_PASSWORD
|
||||||
@@ -43,24 +46,7 @@ ingress:
|
|||||||
cert-manager.io/cluster-issuer: letsencrypt-production
|
cert-manager.io/cluster-issuer: letsencrypt-production
|
||||||
nginx.ingress.kubernetes.io/proxy-buffer-size: 128k
|
nginx.ingress.kubernetes.io/proxy-buffer-size: 128k
|
||||||
hosts:
|
hosts:
|
||||||
- host: atlantis.srv.oceanbox.io
|
- host: maps.beta.oceanbox.io
|
||||||
paths:
|
|
||||||
- path: /
|
|
||||||
pathType: ImplementationSpecific
|
|
||||||
internal:
|
|
||||||
- path: /internal
|
|
||||||
pathType: ImplementationSpecific
|
|
||||||
- path: /dapr
|
|
||||||
pathType: ImplementationSpecific
|
|
||||||
- path: /actors
|
|
||||||
pathType: ImplementationSpecific
|
|
||||||
- path: /job
|
|
||||||
pathType: ImplementationSpecific
|
|
||||||
- path: /events
|
|
||||||
pathType: ImplementationSpecific
|
|
||||||
- path: /metrics
|
|
||||||
pathType: ImplementationSpecific
|
|
||||||
- host: maps.oceanbox.io
|
|
||||||
paths:
|
paths:
|
||||||
- path: /
|
- path: /
|
||||||
pathType: ImplementationSpecific
|
pathType: ImplementationSpecific
|
||||||
@@ -79,9 +65,16 @@ ingress:
|
|||||||
pathType: ImplementationSpecific
|
pathType: ImplementationSpecific
|
||||||
tls:
|
tls:
|
||||||
- hosts:
|
- hosts:
|
||||||
- atlantis.srv.oceanbox.io
|
- maps.beta.oceanbox.io
|
||||||
- maps.oceanbox.io
|
secretName: prod-atlantis-tls
|
||||||
secretName: atlantis-tls
|
|
||||||
|
cluster:
|
||||||
|
instances: 2
|
||||||
|
bootstrap:
|
||||||
|
enabled: true
|
||||||
|
source:
|
||||||
|
db: prod-archmeister
|
||||||
|
namespace: atlantis
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
@@ -90,4 +83,3 @@ resources:
|
|||||||
requests:
|
requests:
|
||||||
cpu: 250m
|
cpu: 250m
|
||||||
memory: 1Gi
|
memory: 1Gi
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
|
||||||
image:
|
image:
|
||||||
tag: 0d275b8b-debug
|
tag: e2257c92-debug
|
||||||
|
|
||||||
podAnnotations:
|
podAnnotations:
|
||||||
dapr.io/app-id: "staging-atlantis"
|
dapr.io/app-id: "staging-atlantis"
|
||||||
@@ -10,7 +10,7 @@ env:
|
|||||||
- name: APP_NAMESPACE
|
- name: APP_NAMESPACE
|
||||||
value: staging-atlantis
|
value: staging-atlantis
|
||||||
- name: APP_VERSION
|
- name: APP_VERSION
|
||||||
value: "2.87.0"
|
value: "2.92.0"
|
||||||
- name: LOG_LEVEL
|
- name: LOG_LEVEL
|
||||||
value: "3"
|
value: "3"
|
||||||
- name: REDIS_USER
|
- name: REDIS_USER
|
||||||
@@ -91,6 +91,14 @@ ingress:
|
|||||||
- atlas.oceanbox.io
|
- atlas.oceanbox.io
|
||||||
secretName: staging-atlantis-tls
|
secretName: staging-atlantis-tls
|
||||||
|
|
||||||
|
cluster:
|
||||||
|
instances: 1
|
||||||
|
bootstrap:
|
||||||
|
enabled: true
|
||||||
|
source:
|
||||||
|
db: prod-archmeister
|
||||||
|
namespace: atlantis
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 250m
|
cpu: 250m
|
||||||
|
|||||||
Reference in New Issue
Block a user