feat: change preprod to prod!

This commit is contained in:
2025-01-30 20:45:33 +01:00
parent 265f188f66
commit 5d86e81fb0
12 changed files with 36 additions and 36 deletions
+1 -1
View File
@@ -53,7 +53,7 @@
"roles": [ "admin" ]
}
],
"redis": "preprod-atlantis-redis-master:6379",
"redis": "prod-atlantis-redis-master:6379",
"objectStore": "https://atlantis.blob.core.windows.net",
"connString": "Username=postgres;Password=secret;Host=localhost;Port=5432;Database=app;Pooling=true;",
"sorcerer" : "https://sorcerer.ekman.oceanbox.io",
+3 -3
View File
@@ -8,10 +8,10 @@ spec:
metadata:
- name: host
secretKeyRef:
name: preprod-atlantis-rabbitmq
name: prod-atlantis-rabbitmq
key: connString
- name: queueName
value: preprod-slurm-job-events
value: prod-slurm-job-events
- name: durable
value: true
- name: contentType
@@ -19,4 +19,4 @@ spec:
- name: route
value: /events/slurm
scopes:
- preprod-atlantis
- prod-atlantis
+3 -3
View File
@@ -7,14 +7,14 @@ spec:
version: v1
metadata:
- name: redisHost
value: preprod-atlantis-redis-master:6379
value: prod-atlantis-redis-master:6379
- name: redisUsername
value: default
- name: redisPassword
secretKeyRef:
name: preprod-atlantis-redis
name: prod-atlantis-redis
key: redis-password
- name: redisDB
value: "1"
scopes:
- preprod-atlantis
- prod-atlantis
+1 -1
View File
@@ -1,7 +1,7 @@
generatorOptions:
disableNameSuffixHash: true
configMapGenerator:
- name: preprod-atlantis-appsettings
- name: prod-atlantis-appsettings
files:
- appsettings.json
patches:
+1 -1
View File
@@ -12,7 +12,7 @@ spec:
value: user
- name: password
secretKeyRef:
name: preprod-atlantis-rabbitmq
name: prod-atlantis-rabbitmq
key: rabbitmq-password
- name: protocol
value: amqp
+6 -6
View File
@@ -1,13 +1,13 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: preprod-atlantis
name: prod-atlantis
namespace: prod-atlantis
rules:
- apiGroups:
- ""
resourceNames:
- preprod-atlantis-appsettings
- prod-atlantis-appsettings
resources:
- configmaps
verbs:
@@ -17,7 +17,7 @@ rules:
- ""
resourceNames:
- azure-keyvault
- preprod-atlantis-redis
- prod-atlantis-redis
resources:
- secrets
verbs:
@@ -27,13 +27,13 @@ rules:
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: preprod-atlantis
name: prod-atlantis
namespace: prod-atlantis
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: preprod-atlantis
name: prod-atlantis
subjects:
- kind: ServiceAccount
name: preprod-atlantis
name: prod-atlantis
namespace: prod-atlantis
+1 -1
View File
@@ -9,7 +9,7 @@ auth:
password: ""
usePasswordFiles: false
existingSecretPasswordKey: ""
existingSecret: preprod-atlantis-redis
existingSecret: prod-atlantis-redis
master:
resources:
+1 -1
View File
@@ -4,6 +4,6 @@ metadata:
annotations:
kyverno/clone: "true"
kyverno/env: "prod"
name: preprod-atlantis-rabbitmq
name: prod-atlantis-rabbitmq
type: Opaque
data:
+3 -3
View File
@@ -7,16 +7,16 @@ spec:
version: v1
metadata:
- name: redisHost
value: preprod-atlantis-redis-master:6379
value: prod-atlantis-redis-master:6379
- name: redisUsername
value: default
- name: redisPassword
secretKeyRef:
name: preprod-atlantis-redis
name: prod-atlantis-redis
key: redis-password
- name: actorStateStore
value: "true"
- name: redisDB
value: "0"
scopes:
- preprod-atlantis
- prod-atlantis
+2 -2
View File
@@ -10,7 +10,7 @@ spec:
metadata:
queueType: quorum
scopes:
- preprod-atlantis
- prod-atlantis
---
apiVersion: dapr.io/v2alpha1
kind: Subscription
@@ -24,4 +24,4 @@ spec:
metadata:
queueType: quorum
scopes:
- preprod-atlantis
- prod-atlantis
+11 -11
View File
@@ -1,16 +1,16 @@
replicaCount: 1
image:
tag: v2.97.3
tag: v2.97.4
podAnnotations:
dapr.io/app-id: "preprod-atlantis"
dapr.io/app-id: "prod-atlantis"
env:
- name: APP_NAMESPACE
value: prod-atlantis
- name: APP_VERSION
value: "2.94.0"
value: "2.97.4"
- name: LOG_LEVEL
value: "2"
- name: REDIS_USER
@@ -18,22 +18,22 @@ env:
- name: REDIS_PASSWORD
valueFrom:
secretKeyRef:
name: preprod-atlantis-redis
name: prod-atlantis-redis
key: redis-password
- name: DB_HOST
value: prod-archmeister-rw.atlantis
#value: preprod-atlantis-db-rw
#value: prod-atlantis-db-rw
- name: DB_PORT
value: "5432"
- name: DB_USER
valueFrom:
secretKeyRef:
name: preprod-atlantis-db-superuser
name: prod-atlantis-db-superuser
key: username
- name: DB_PASSWORD
valueFrom:
secretKeyRef:
name: preprod-atlantis-db-superuser
name: prod-atlantis-db-superuser
key: password
- name: DAPR_API_TOKEN
valueFrom:
@@ -47,7 +47,7 @@ ingress:
cert-manager.io/cluster-issuer: letsencrypt-production
nginx.ingress.kubernetes.io/proxy-buffer-size: 128k
hosts:
- host: maps.beta.oceanbox.io
- host: maps.oceanbox.io
paths:
- path: /
pathType: ImplementationSpecific
@@ -66,7 +66,7 @@ ingress:
pathType: ImplementationSpecific
tls:
- hosts:
- maps.beta.oceanbox.io
- maps.oceanbox.io
secretName: prod-atlantis-tls
cluster:
@@ -74,8 +74,8 @@ cluster:
bootstrap:
enabled: true
source:
db: prod-archmeister
namespace: atlantis
db: staging-atlantis-db
namespace: staging-atlantis
resources:
limits: