diff --git a/apps/apps/fillcode/helmchart.yaml b/apps/apps/fillcode/helmchart.yaml new file mode 100644 index 0000000..4cadcc1 --- /dev/null +++ b/apps/apps/fillcode/helmchart.yaml @@ -0,0 +1,24 @@ +apiVersion: helm.cattle.io/v1 +kind: HelmChart +metadata: + name: fillcode + namespace: apps +spec: + repo: https://cowboysysop.github.io/charts/ + chart: whoami + targetNamespace: apps + version: 5.1.2 + valuesContent: |- + ingress: + enabled: true + ingressClassName: nginx + tls: + - hosts: + - fillcode.com + secretName: fillcode-com-crt + hosts: + - host: fillcode.com + paths: + - /whoami + + diff --git a/apps/apps/fillcode/ingress-http.yaml b/apps/apps/fillcode/ingress-http.yaml deleted file mode 100644 index ba89a61..0000000 --- a/apps/apps/fillcode/ingress-http.yaml +++ /dev/null @@ -1,22 +0,0 @@ -apiVersion: networking.k8s.io/v1 -kind: Ingress -metadata: - name: fillcode - namespace: apps -spec: - ingressClassName: nginx - tls: - - hosts: - - fillcode.com - secretName: fillcode-com-crt - rules: - - host: fillcode.com - http: - paths: - - path: / - pathType: Prefix - backend: - service: - name: fillcode - port: - number: 80 diff --git a/apps/infra/net/nginx/helmchart.yaml b/apps/infra/net/nginx/helmchart.yaml index ebf18ac..cf279b1 100644 --- a/apps/infra/net/nginx/helmchart.yaml +++ b/apps/infra/net/nginx/helmchart.yaml @@ -115,6 +115,14 @@ spec: value: "rgILO2mh/t+30LMvzyyMXbfHRmDfBkDDkhEflzHaoQ0" - name: BOUNCER_CONFIG value: "/crowdsec/crowdsec-bouncer.conf" + - name: CAPTCHA_PROVIDER + value: "turnstile" + - name: SITE_KEY + value: "0x4AAAAAAAxJ2RPNWzn2LCc-" + - name: SECRET_KEY + value: "0x4AAAAAAAxJ2dwFOaNg5ae3c6wYTmWH0bU" + - name: CAPTCHA_TEMPLATE_PATH + value: /etc/nginx/lua/plugins/crowdsec/templates/captcha.html command: ['sh', '-c', "bash /docker_start.sh; mkdir -p /lua_plugins/crowdsec/; cp -R /crowdsec/* /lua_plugins/crowdsec/"] volumeMounts: - name: crowdsec-bouncer-plugin