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
+3 -3
View File
@@ -1,7 +1,7 @@
apiVersion: argoproj.io/v1alpha1 apiVersion: argoproj.io/v1alpha1
kind: Application kind: Application
metadata: metadata:
name: preprod-atlantis name: prod-atlantis
namespace: argocd namespace: argocd
annotations: annotations:
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
@@ -25,7 +25,7 @@ spec:
- name: env - name: env
string: prod string: prod
- name: hostname - name: hostname
string: maps.beta.oceanbox.io string: maps.oceanbox.io
- repoURL: https://charts.bitnami.com/bitnami - repoURL: https://charts.bitnami.com/bitnami
targetRevision: 20.1.7 targetRevision: 20.1.7
chart: redis chart: redis
@@ -40,7 +40,7 @@ spec:
- '.metadata.labels' - '.metadata.labels'
- '.metadata.annotations' - '.metadata.annotations'
- kind: Secret - kind: Secret
name: preprod-atlantis-rabbitmq name: prod-atlantis-rabbitmq
jqPathExpressions: jqPathExpressions:
- '.data' - '.data'
- '.metadata.labels' - '.metadata.labels'
+1 -1
View File
@@ -53,7 +53,7 @@
"roles": [ "admin" ] "roles": [ "admin" ]
} }
], ],
"redis": "preprod-atlantis-redis-master:6379", "redis": "prod-atlantis-redis-master:6379",
"objectStore": "https://atlantis.blob.core.windows.net", "objectStore": "https://atlantis.blob.core.windows.net",
"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.ekman.oceanbox.io", "sorcerer" : "https://sorcerer.ekman.oceanbox.io",
+3 -3
View File
@@ -8,10 +8,10 @@ spec:
metadata: metadata:
- name: host - name: host
secretKeyRef: secretKeyRef:
name: preprod-atlantis-rabbitmq name: prod-atlantis-rabbitmq
key: connString key: connString
- name: queueName - name: queueName
value: preprod-slurm-job-events value: prod-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:
- preprod-atlantis - prod-atlantis
+3 -3
View File
@@ -7,14 +7,14 @@ spec:
version: v1 version: v1
metadata: metadata:
- name: redisHost - name: redisHost
value: preprod-atlantis-redis-master:6379 value: prod-atlantis-redis-master:6379
- name: redisUsername - name: redisUsername
value: default value: default
- name: redisPassword - name: redisPassword
secretKeyRef: secretKeyRef:
name: preprod-atlantis-redis name: prod-atlantis-redis
key: redis-password key: redis-password
- name: redisDB - name: redisDB
value: "1" value: "1"
scopes: scopes:
- preprod-atlantis - prod-atlantis
+1 -1
View File
@@ -1,7 +1,7 @@
generatorOptions: generatorOptions:
disableNameSuffixHash: true disableNameSuffixHash: true
configMapGenerator: configMapGenerator:
- name: preprod-atlantis-appsettings - name: prod-atlantis-appsettings
files: files:
- appsettings.json - appsettings.json
patches: patches:
+1 -1
View File
@@ -12,7 +12,7 @@ spec:
value: user value: user
- name: password - name: password
secretKeyRef: secretKeyRef:
name: preprod-atlantis-rabbitmq name: prod-atlantis-rabbitmq
key: rabbitmq-password key: rabbitmq-password
- name: protocol - name: protocol
value: amqp value: amqp
+6 -6
View File
@@ -1,13 +1,13 @@
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
kind: Role kind: Role
metadata: metadata:
name: preprod-atlantis name: prod-atlantis
namespace: prod-atlantis namespace: prod-atlantis
rules: rules:
- apiGroups: - apiGroups:
- "" - ""
resourceNames: resourceNames:
- preprod-atlantis-appsettings - prod-atlantis-appsettings
resources: resources:
- configmaps - configmaps
verbs: verbs:
@@ -17,7 +17,7 @@ rules:
- "" - ""
resourceNames: resourceNames:
- azure-keyvault - azure-keyvault
- preprod-atlantis-redis - prod-atlantis-redis
resources: resources:
- secrets - secrets
verbs: verbs:
@@ -27,13 +27,13 @@ rules:
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding kind: RoleBinding
metadata: metadata:
name: preprod-atlantis name: prod-atlantis
namespace: prod-atlantis namespace: prod-atlantis
roleRef: roleRef:
apiGroup: rbac.authorization.k8s.io apiGroup: rbac.authorization.k8s.io
kind: Role kind: Role
name: preprod-atlantis name: prod-atlantis
subjects: subjects:
- kind: ServiceAccount - kind: ServiceAccount
name: preprod-atlantis name: prod-atlantis
namespace: prod-atlantis namespace: prod-atlantis
+1 -1
View File
@@ -9,7 +9,7 @@ auth:
password: "" password: ""
usePasswordFiles: false usePasswordFiles: false
existingSecretPasswordKey: "" existingSecretPasswordKey: ""
existingSecret: preprod-atlantis-redis existingSecret: prod-atlantis-redis
master: master:
resources: resources:
+1 -1
View File
@@ -4,6 +4,6 @@ metadata:
annotations: annotations:
kyverno/clone: "true" kyverno/clone: "true"
kyverno/env: "prod" kyverno/env: "prod"
name: preprod-atlantis-rabbitmq name: prod-atlantis-rabbitmq
type: Opaque type: Opaque
data: data:
+3 -3
View File
@@ -7,16 +7,16 @@ spec:
version: v1 version: v1
metadata: metadata:
- name: redisHost - name: redisHost
value: preprod-atlantis-redis-master:6379 value: prod-atlantis-redis-master:6379
- name: redisUsername - name: redisUsername
value: default value: default
- name: redisPassword - name: redisPassword
secretKeyRef: secretKeyRef:
name: preprod-atlantis-redis name: prod-atlantis-redis
key: redis-password key: redis-password
- name: actorStateStore - name: actorStateStore
value: "true" value: "true"
- name: redisDB - name: redisDB
value: "0" value: "0"
scopes: scopes:
- preprod-atlantis - prod-atlantis
+2 -2
View File
@@ -10,7 +10,7 @@ spec:
metadata: metadata:
queueType: quorum queueType: quorum
scopes: scopes:
- preprod-atlantis - prod-atlantis
--- ---
apiVersion: dapr.io/v2alpha1 apiVersion: dapr.io/v2alpha1
kind: Subscription kind: Subscription
@@ -24,4 +24,4 @@ spec:
metadata: metadata:
queueType: quorum queueType: quorum
scopes: scopes:
- preprod-atlantis - prod-atlantis
+11 -11
View File
@@ -1,16 +1,16 @@
replicaCount: 1 replicaCount: 1
image: image:
tag: v2.97.3 tag: v2.97.4
podAnnotations: podAnnotations:
dapr.io/app-id: "preprod-atlantis" dapr.io/app-id: "prod-atlantis"
env: env:
- name: APP_NAMESPACE - name: APP_NAMESPACE
value: prod-atlantis value: prod-atlantis
- name: APP_VERSION - name: APP_VERSION
value: "2.94.0" value: "2.97.4"
- name: LOG_LEVEL - name: LOG_LEVEL
value: "2" value: "2"
- name: REDIS_USER - name: REDIS_USER
@@ -18,22 +18,22 @@ env:
- name: REDIS_PASSWORD - name: REDIS_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: preprod-atlantis-redis name: prod-atlantis-redis
key: redis-password key: redis-password
- name: DB_HOST - name: DB_HOST
value: prod-archmeister-rw.atlantis value: prod-archmeister-rw.atlantis
#value: preprod-atlantis-db-rw #value: prod-atlantis-db-rw
- name: DB_PORT - name: DB_PORT
value: "5432" value: "5432"
- name: DB_USER - name: DB_USER
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: preprod-atlantis-db-superuser name: prod-atlantis-db-superuser
key: username key: username
- name: DB_PASSWORD - name: DB_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: preprod-atlantis-db-superuser name: prod-atlantis-db-superuser
key: password key: password
- name: DAPR_API_TOKEN - name: DAPR_API_TOKEN
valueFrom: valueFrom:
@@ -47,7 +47,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: maps.beta.oceanbox.io - host: maps.oceanbox.io
paths: paths:
- path: / - path: /
pathType: ImplementationSpecific pathType: ImplementationSpecific
@@ -66,7 +66,7 @@ ingress:
pathType: ImplementationSpecific pathType: ImplementationSpecific
tls: tls:
- hosts: - hosts:
- maps.beta.oceanbox.io - maps.oceanbox.io
secretName: prod-atlantis-tls secretName: prod-atlantis-tls
cluster: cluster:
@@ -74,8 +74,8 @@ cluster:
bootstrap: bootstrap:
enabled: true enabled: true
source: source:
db: prod-archmeister db: staging-atlantis-db
namespace: atlantis namespace: staging-atlantis
resources: resources:
limits: limits: