feat(data): 切换数据库镜像
这个提交包含在:
@@ -15,16 +15,13 @@ spec:
|
||||
- cn-hk
|
||||
weight: 1
|
||||
instances: 1
|
||||
imageName: ghcr.io/tensorchord/cloudnative-pgvecto.rs:17.5-v0.4.0
|
||||
imageName: ghcr.io/cloudnative-pg/postgresql:17-bookworm
|
||||
enableSuperuserAccess: true
|
||||
storage:
|
||||
size: 10Gi
|
||||
postgresql:
|
||||
parameters:
|
||||
archive_timeout: 30min
|
||||
# 启用向量扩展
|
||||
shared_preload_libraries:
|
||||
- "vectors.so"
|
||||
backup:
|
||||
retentionPolicy: "7d"
|
||||
barmanObjectStore:
|
||||
|
||||
@@ -15,7 +15,7 @@ spec:
|
||||
- cn-sh
|
||||
weight: 1
|
||||
instances: 1
|
||||
imageName: ghcr.io/tensorchord/cloudnative-pgvecto.rs:17.5-v0.4.0
|
||||
imageName: ghcr.io/cloudnative-pg/postgresql:17-bookworm
|
||||
enableSuperuserAccess: true
|
||||
storage:
|
||||
size: 10Gi
|
||||
|
||||
@@ -125,9 +125,11 @@ spec:
|
||||
# crowdsec插件配置
|
||||
extraInitContainers:
|
||||
- name: init-clone-crowdsec-bouncer
|
||||
image: devcm/lua-bouncer-plugin:v1.0.5
|
||||
image: crowdsecurity/lua-bouncer-plugin:v1.1.1
|
||||
imagePullPolicy: IfNotPresent
|
||||
env:
|
||||
- name: SHELL
|
||||
value: "/bin/sh"
|
||||
- name: API_URL
|
||||
value: "http://crowdsec-service.infra-net.svc.cluster.local:8080"
|
||||
- name: API_KEY
|
||||
@@ -150,7 +152,8 @@ spec:
|
||||
value: "0x4AAAAAAAxJ2dwFOaNg5ae3c6wYTmWH0bU"
|
||||
- name: CAPTCHA_TEMPLATE_PATH
|
||||
value: /etc/nginx/static/captcha.html
|
||||
command: ['sh', '-c', "bash /docker_start.sh; mkdir -p /lua_plugins/crowdsec/; cp -R /crowdsec/* /lua_plugins/crowdsec/"]
|
||||
command: ['/bin/sh', '-c']
|
||||
args: ['sh /docker_start.sh; mkdir -p /lua_plugins/crowdsec/; cp -R /crowdsec/* /lua_plugins/crowdsec/']
|
||||
volumeMounts:
|
||||
- name: crowdsec-bouncer-plugin
|
||||
mountPath: /lua_plugins
|
||||
|
||||
在新议题中引用
屏蔽一个用户