fix: use unified external redis for sorcerer and atlantis
This commit is contained in:
@@ -28,7 +28,7 @@ spec:
|
|||||||
chart: redis
|
chart: redis
|
||||||
helm:
|
helm:
|
||||||
valueFiles:
|
valueFiles:
|
||||||
- $values/values/atlantis/staging/redis.yaml
|
- $values/values/redis/values-staging.yaml
|
||||||
ignoreDifferences:
|
ignoreDifferences:
|
||||||
- kind: Secret
|
- kind: Secret
|
||||||
name: azure-keyvault
|
name: azure-keyvault
|
||||||
|
|||||||
@@ -23,6 +23,12 @@ spec:
|
|||||||
string: staging
|
string: staging
|
||||||
- name: hostname
|
- name: hostname
|
||||||
string: sorcerer.ekman.oceanbox.io
|
string: sorcerer.ekman.oceanbox.io
|
||||||
|
- repoURL: https://charts.bitnami.com/bitnami
|
||||||
|
targetRevision: 20.1.7
|
||||||
|
chart: redis
|
||||||
|
helm:
|
||||||
|
valueFiles:
|
||||||
|
- $values/values/redis/values-staging.yaml
|
||||||
ignoreDifferences:
|
ignoreDifferences:
|
||||||
- kind: Secret
|
- kind: Secret
|
||||||
name: azure-keyvault
|
name: azure-keyvault
|
||||||
|
|||||||
@@ -4,9 +4,3 @@ description: A Helm chart for Kubernetes
|
|||||||
type: application
|
type: application
|
||||||
version: v4.9.0
|
version: v4.9.0
|
||||||
appVersion: v4.9.0
|
appVersion: v4.9.0
|
||||||
dependencies:
|
|
||||||
- name: redis
|
|
||||||
version: 20.1.7
|
|
||||||
repository: https://charts.bitnami.com/bitnami
|
|
||||||
condition: redis.enabled
|
|
||||||
alias: redis
|
|
||||||
|
|||||||
@@ -89,41 +89,6 @@ cluster:
|
|||||||
backupRetention: 60d
|
backupRetention: 60d
|
||||||
size: 5Gi
|
size: 5Gi
|
||||||
|
|
||||||
redis:
|
|
||||||
enabled: true
|
|
||||||
image:
|
|
||||||
repository: redis/redis-stack-server
|
|
||||||
tag: 7.2.0-v10
|
|
||||||
architecture: standalone
|
|
||||||
replica:
|
|
||||||
replicaCount: 1
|
|
||||||
command:
|
|
||||||
- "/opt/redis-stack/bin/redis-server"
|
|
||||||
- "--loadmodule"
|
|
||||||
- "/opt/redis-stack/lib/redisearch.so"
|
|
||||||
- "MAXSEARCHRESULTS"
|
|
||||||
- "10000"
|
|
||||||
- "MAXAGGREGATERESULTS"
|
|
||||||
- "10000"
|
|
||||||
- "--loadmodule"
|
|
||||||
- "/opt/redis-stack/lib/rejson.so"
|
|
||||||
auth:
|
|
||||||
enabled: true
|
|
||||||
sentinel: true
|
|
||||||
password: ""
|
|
||||||
usePasswordFiles: false
|
|
||||||
existingSecretPasswordKey: ""
|
|
||||||
# existingSecret: staging-redis
|
|
||||||
master:
|
|
||||||
resources:
|
|
||||||
limits:
|
|
||||||
ephemeral-storage: 1024Mi
|
|
||||||
memory: 192Mi
|
|
||||||
requests:
|
|
||||||
cpu: 150m
|
|
||||||
ephemeral-storage: 50Mi
|
|
||||||
memory: 128Mi
|
|
||||||
|
|
||||||
resources: {}
|
resources: {}
|
||||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
# We usually recommend not to specify default resources and to leave this as a conscious
|
||||||
# choice for the user. This also increases chances charts run on environments with little
|
# choice for the user. This also increases chances charts run on environments with little
|
||||||
|
|||||||
@@ -1,37 +0,0 @@
|
|||||||
image:
|
|
||||||
repository: redis/redis-stack-server
|
|
||||||
tag: 7.2.0-v10
|
|
||||||
|
|
||||||
architecture: replication
|
|
||||||
|
|
||||||
replica:
|
|
||||||
replicaCount: 2
|
|
||||||
command:
|
|
||||||
- "/opt/redis-stack/bin/redis-server"
|
|
||||||
- "--loadmodule"
|
|
||||||
- "/opt/redis-stack/lib/redisearch.so"
|
|
||||||
- "MAXSEARCHRESULTS"
|
|
||||||
- "10000"
|
|
||||||
- "MAXAGGREGATERESULTS"
|
|
||||||
- "10000"
|
|
||||||
- "--loadmodule"
|
|
||||||
- "/opt/redis-stack/lib/rejson.so"
|
|
||||||
|
|
||||||
auth:
|
|
||||||
enabled: true
|
|
||||||
sentinel: true
|
|
||||||
password: ""
|
|
||||||
usePasswordFiles: false
|
|
||||||
existingSecretPasswordKey: ""
|
|
||||||
# existingSecret: staging-redis
|
|
||||||
|
|
||||||
master:
|
|
||||||
resources:
|
|
||||||
limits:
|
|
||||||
ephemeral-storage: 1024Mi
|
|
||||||
memory: 192Mi
|
|
||||||
requests:
|
|
||||||
cpu: 150m
|
|
||||||
ephemeral-storage: 50Mi
|
|
||||||
memory: 128Mi
|
|
||||||
|
|
||||||
@@ -1,37 +0,0 @@
|
|||||||
image:
|
|
||||||
repository: redis/redis-stack-server
|
|
||||||
tag: 7.2.0-v10
|
|
||||||
|
|
||||||
architecture: standalone
|
|
||||||
|
|
||||||
replica:
|
|
||||||
replicaCount: 1
|
|
||||||
command:
|
|
||||||
- "/opt/redis-stack/bin/redis-server"
|
|
||||||
- "--loadmodule"
|
|
||||||
- "/opt/redis-stack/lib/redisearch.so"
|
|
||||||
- "MAXSEARCHRESULTS"
|
|
||||||
- "10000"
|
|
||||||
- "MAXAGGREGATERESULTS"
|
|
||||||
- "10000"
|
|
||||||
- "--loadmodule"
|
|
||||||
- "/opt/redis-stack/lib/rejson.so"
|
|
||||||
|
|
||||||
auth:
|
|
||||||
enabled: true
|
|
||||||
sentinel: true
|
|
||||||
password: ""
|
|
||||||
usePasswordFiles: false
|
|
||||||
existingSecretPasswordKey: ""
|
|
||||||
# existingSecret: staging-redis
|
|
||||||
|
|
||||||
master:
|
|
||||||
resources:
|
|
||||||
limits:
|
|
||||||
ephemeral-storage: 1024Mi
|
|
||||||
memory: 192Mi
|
|
||||||
requests:
|
|
||||||
cpu: 150m
|
|
||||||
ephemeral-storage: 50Mi
|
|
||||||
memory: 128Mi
|
|
||||||
|
|
||||||
@@ -1,17 +1,33 @@
|
|||||||
|
image:
|
||||||
|
repository: redis/redis-stack-server
|
||||||
|
tag: 7.2.0-v10
|
||||||
|
|
||||||
architecture: replication
|
architecture: replication
|
||||||
|
|
||||||
|
replica:
|
||||||
|
replicaCount: 2
|
||||||
|
command:
|
||||||
|
- "/opt/redis-stack/bin/redis-server"
|
||||||
|
- "--loadmodule"
|
||||||
|
- "/opt/redis-stack/lib/redisearch.so"
|
||||||
|
- "MAXSEARCHRESULTS"
|
||||||
|
- "10000"
|
||||||
|
- "MAXAGGREGATERESULTS"
|
||||||
|
- "10000"
|
||||||
|
- "--loadmodule"
|
||||||
|
- "/opt/redis-stack/lib/rejson.so"
|
||||||
|
|
||||||
auth:
|
auth:
|
||||||
enabled: true
|
enabled: true
|
||||||
sentinel: true
|
sentinel: true
|
||||||
password: ""
|
password: ""
|
||||||
usePasswordFiles: false
|
usePasswordFiles: false
|
||||||
existingSecretPasswordKey: ""
|
existingSecretPasswordKey: ""
|
||||||
existingSecret: prod-redis
|
# existingSecret: staging-redis
|
||||||
|
|
||||||
master:
|
master:
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: null
|
|
||||||
ephemeral-storage: 1024Mi
|
ephemeral-storage: 1024Mi
|
||||||
memory: 192Mi
|
memory: 192Mi
|
||||||
requests:
|
requests:
|
||||||
@@ -19,14 +35,3 @@ master:
|
|||||||
ephemeral-storage: 50Mi
|
ephemeral-storage: 50Mi
|
||||||
memory: 128Mi
|
memory: 128Mi
|
||||||
|
|
||||||
replica:
|
|
||||||
replicaCount: 2
|
|
||||||
resources:
|
|
||||||
limits:
|
|
||||||
cpu: null
|
|
||||||
ephemeral-storage: 1024Mi
|
|
||||||
memory: 192Mi
|
|
||||||
requests:
|
|
||||||
cpu: 150m
|
|
||||||
ephemeral-storage: 50Mi
|
|
||||||
memory: 128Mi
|
|
||||||
|
|||||||
@@ -1,7 +1,21 @@
|
|||||||
|
image:
|
||||||
|
repository: redis/redis-stack-server
|
||||||
|
tag: 7.2.0-v10
|
||||||
|
|
||||||
architecture: standalone
|
architecture: standalone
|
||||||
|
|
||||||
replica:
|
replica:
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
command:
|
||||||
|
- "/opt/redis-stack/bin/redis-server"
|
||||||
|
- "--loadmodule"
|
||||||
|
- "/opt/redis-stack/lib/redisearch.so"
|
||||||
|
- "MAXSEARCHRESULTS"
|
||||||
|
- "10000"
|
||||||
|
- "MAXAGGREGATERESULTS"
|
||||||
|
- "10000"
|
||||||
|
- "--loadmodule"
|
||||||
|
- "/opt/redis-stack/lib/rejson.so"
|
||||||
|
|
||||||
auth:
|
auth:
|
||||||
enabled: true
|
enabled: true
|
||||||
@@ -9,15 +23,15 @@ auth:
|
|||||||
password: ""
|
password: ""
|
||||||
usePasswordFiles: false
|
usePasswordFiles: false
|
||||||
existingSecretPasswordKey: ""
|
existingSecretPasswordKey: ""
|
||||||
existingSecret: staging-redis
|
# existingSecret: staging-redis
|
||||||
|
|
||||||
master:
|
master:
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: null
|
|
||||||
ephemeral-storage: 1024Mi
|
ephemeral-storage: 1024Mi
|
||||||
memory: 192Mi
|
memory: 192Mi
|
||||||
requests:
|
requests:
|
||||||
cpu: 150m
|
cpu: 150m
|
||||||
ephemeral-storage: 50Mi
|
ephemeral-storage: 50Mi
|
||||||
memory: 128Mi
|
memory: 128Mi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user