feat(nginx): 修改验证码模版

这个提交包含在:
2024-10-14 11:21:17 +08:00 未验证
父节点 1e2d68f4a6
当前提交 c3899dbdce
修改 4 个文件,包含 317 行新增753 行删除
+12 -14
查看文件
@@ -101,9 +101,6 @@ spec:
extraArgs:
default-ssl-certificate: "infra-net/dev-cm-crt"
# crowdsec插件配置
extraVolumes:
- name: crowdsec-bouncer-plugin
emptyDir: {}
extraInitContainers:
- name: init-clone-crowdsec-bouncer
image: devcm/lua-bouncer-plugin
@@ -127,23 +124,24 @@ spec:
volumeMounts:
- name: crowdsec-bouncer-plugin
mountPath: /lua_plugins
extraVolumeMounts:
- name: crowdsec-bouncer-plugin
mountPath: /etc/nginx/lua/plugins/crowdsec
subPath: crowdsec
defaultBackend:
enabled: true
image:
registry: registry.k8s.io
image: ingress-nginx/custom-error-pages
tag: v1.0.1
extraVolumes:
- name: crowdsec-bouncer-plugin
emptyDir: {}
- name: custom-html
configMap:
name: custom-html
extraVolumeMounts:
- name: crowdsec-bouncer-plugin
mountPath: /etc/nginx/lua/plugins/crowdsec
subPath: crowdsec
- name: custom-html
mountPath: /www
mountPath: /etc/nginx/lua/plugins/crowdsec/templates
defaultBackend:
enabled: true
image:
registry: docker.io
image: devcm/default-backend
tag: latest
# 和controller部署同一节点
nodeSelector:
svccontroller.k3s.cattle.io/enablelb: "true"