feat(infra-net): add new Secret for Infra Net credentials and configure HelmRelease dependencies
这个提交包含在:
@@ -15,6 +15,10 @@ spec:
|
||||
name: ingress-nginx
|
||||
namespace: infra-gitops
|
||||
interval: 12h
|
||||
valuesFrom:
|
||||
- kind: Secret
|
||||
name: infra-net-env
|
||||
valuesKey: ingress-nginx-values.yaml
|
||||
values:
|
||||
fullnameOverride: ingress-nginx
|
||||
controller:
|
||||
@@ -125,8 +129,6 @@ spec:
|
||||
# crowdsec插件配置
|
||||
plugins: "crowdsec"
|
||||
lua-shared-dicts: "crowdsec_cache: 50m"
|
||||
# 启用geoip2模块
|
||||
maxmindLicenseKey: ""
|
||||
extraArgs:
|
||||
default-ssl-certificate: "infra-net/dev-cm-crt"
|
||||
# crowdsec插件配置
|
||||
@@ -140,7 +142,10 @@ spec:
|
||||
- name: API_URL
|
||||
value: "http://crowdsec-service.infra-net.svc.cluster.local:8080"
|
||||
- name: API_KEY
|
||||
value: "ImxBThnyiNm224V5DHYPY63KPAcyJ+WF0rm18Gr4M80"
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: infra-net-env
|
||||
key: NET_CROWDSEC_BOUNCER_API_KEY
|
||||
- name: BOUNCER_CONFIG
|
||||
value: "/crowdsec/crowdsec-bouncer.conf"
|
||||
- name: MODE
|
||||
@@ -154,9 +159,15 @@ spec:
|
||||
- name: CAPTCHA_PROVIDER
|
||||
value: "turnstile"
|
||||
- name: SITE_KEY
|
||||
value: "0x4AAAAAAAxJ2RPNWzn2LCc-"
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: infra-net-env
|
||||
key: NET_TURNSTILE_SITE_KEY
|
||||
- name: SECRET_KEY
|
||||
value: "0x4AAAAAAAxJ2dwFOaNg5ae3c6wYTmWH0bU"
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: infra-net-env
|
||||
key: NET_TURNSTILE_SECRET_KEY
|
||||
- name: CAPTCHA_TEMPLATE_PATH
|
||||
value: /etc/nginx/static/captcha.html
|
||||
command: ['/bin/sh', '-c']
|
||||
|
||||
在新议题中引用
屏蔽一个用户