fix: update sorcerer deploy manifests

This commit is contained in:
2024-02-20 10:23:15 +01:00
parent 92f4e65f19
commit a20a6cfa5c
13 changed files with 34 additions and 23 deletions
@@ -4,3 +4,6 @@
- op: replace - op: replace
path: /spec/template/spec/containers/0/readinessProbe/httpGet/path path: /spec/template/spec/containers/0/readinessProbe/httpGet/path
value: /healthz value: /healthz
- op: add
path: /spec/template/spec/containers/0/envFrom
value: []
-2
View File
@@ -1,12 +1,10 @@
apiVersion: kustomize.config.k8s.io/v1beta1 apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
namespace: sorcerer
patchesJson6902: patchesJson6902:
- target: - target:
version: v1 version: v1
group: apps group: apps
kind: Deployment kind: Deployment
name: sorcerer
path: deployment_patch.yaml path: deployment_patch.yaml
resources: resources:
- _manifest.yaml - _manifest.yaml
+1 -1
View File
@@ -6,7 +6,7 @@ replicaCount: 1
image: image:
repository: registry.gitlab.com/oceanbox/sorcerer repository: registry.gitlab.com/oceanbox/sorcerer
tag: latest tag: v4.3.0
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
init: init:
+3 -3
View File
@@ -2,7 +2,7 @@
"sso": { "sso": {
"cookieDomain": ".oceanbox.io", "cookieDomain": ".oceanbox.io",
"signedOutRedirectUri": "https://idp.oceanbox.io/dex/static/logout.html", "signedOutRedirectUri": "https://idp.oceanbox.io/dex/static/logout.html",
"redis": "10.1.30.100:30379,user=default,password=ymL4dlOBvU", "redis": "10.255.241.201:30379,user=default,password=secret",
"appDomain": "atlantis", "appDomain": "atlantis",
"dataProtectionKeys": "DataProtection-Keys" "dataProtectionKeys": "DataProtection-Keys"
}, },
@@ -18,5 +18,5 @@
"archiveSvc": "https://archmeister.svc.oceanbox.io", "archiveSvc": "https://archmeister.svc.oceanbox.io",
"cacheDir": "/data/archives/cache", "cacheDir": "/data/archives/cache",
"logService" : "https://seq.oceanbox.io", "logService" : "https://seq.oceanbox.io",
"logApiKey": "DkORuCih08QUGKVDNmwy" "logApiKey": ""
} }
+1
View File
@@ -0,0 +1 @@
SEQ_APIKEY=DkORuCih08QUGKVDNmwy
@@ -11,4 +11,9 @@
value: value:
name: ARCHMEISTER_AUTH name: ARCHMEISTER_AUTH
value: "admin:en-to-tre-fire" value: "admin:en-to-tre-fire"
- op: add
path: /spec/template/spec/containers/0/envFrom/-
value:
secretRef:
name: prod-sorcerer-env
+6 -6
View File
@@ -1,17 +1,17 @@
namePrefix: production-
namespace: sorcerer
generatorOptions: generatorOptions:
disableNameSuffixHash: true disableNameSuffixHash: true
secretGenerator: secretGenerator:
- name: sorcerer-appsettings - name: prod-sorcerer-appsettings
files: files:
- appsettings.json - appsettings.json
- name: prod-sorcerer-env
envs:
- default.env
patchesJson6902: patchesJson6902:
- target: - target:
group: apps group: apps
version: v1 version: v1
kind: Deployment kind: Deployment
name: sorcerer
path: deployment_patch.yaml path: deployment_patch.yaml
bases: bases:
- ../base - ../base
+2 -2
View File
@@ -2,7 +2,7 @@
"sso": { "sso": {
"cookieDomain": ".oceanbox.io", "cookieDomain": ".oceanbox.io",
"signedOutRedirectUri": "https://idp.oceanbox.io/dex/static/logout.html", "signedOutRedirectUri": "https://idp.oceanbox.io/dex/static/logout.html",
"redis": "10.1.8.60:30379,user=default,password=JICkoUKD0Y", "redis": "10.255.241.201:31379,user=default,password=secret",
"appDomain": "atlantis", "appDomain": "atlantis",
"dataProtectionKeys": "DataProtection-Keys" "dataProtectionKeys": "DataProtection-Keys"
}, },
@@ -22,5 +22,5 @@
"archiveSvc": "https://archmeister.dev.oceanbox.io", "archiveSvc": "https://archmeister.dev.oceanbox.io",
"cacheDir": "/data/archives/cache", "cacheDir": "/data/archives/cache",
"logService" : "https://seq.oceanbox.io", "logService" : "https://seq.oceanbox.io",
"logApiKey": "DkORuCih08QUGKVDNmwy" "logApiKey": ""
} }
+1
View File
@@ -0,0 +1 @@
SEQ_APIKEY=DkORuCih08QUGKVDNmwy
@@ -11,4 +11,9 @@
value: value:
name: ARCHMEISTER_AUTH name: ARCHMEISTER_AUTH
value: "admin:en-to-tre-fire" value: "admin:en-to-tre-fire"
- op: add
path: /spec/template/spec/containers/0/envFrom/-
value:
secretRef:
name: staging-sorcerer-env
+6 -6
View File
@@ -1,17 +1,17 @@
namePrefix: staging-
namespace: sorcerer
generatorOptions: generatorOptions:
disableNameSuffixHash: true disableNameSuffixHash: true
secretGenerator: secretGenerator:
- name: sorcerer-appsettings - name: staging-sorcerer-appsettings
files: files:
- appsettings.json - appsettings.json
- name: staging-sorcerer-env
envs:
- default.env
patchesJson6902: patchesJson6902:
- target: - target:
group: apps group: apps
version: v1 version: v1
kind: Deployment kind: Deployment
name: sorcerer
path: deployment_patch.yaml path: deployment_patch.yaml
bases: bases:
- ../base - ../base
-2
View File
@@ -1,5 +1,3 @@
fullnameOverride: "sorcerer"
ingress: ingress:
annotations: annotations:
cert-manager.io/cluster-issuer: letsencrypt-production cert-manager.io/cluster-issuer: letsencrypt-production
+1 -1
View File
@@ -1,5 +1,5 @@
image: image:
tag: latest tag: bede7682-debug
ingress: ingress:
annotations: annotations: