Starting to need an internal-only ingress.
This commit is contained in:
parent
e62bac521d
commit
1f9340110d
1 changed files with 54 additions and 0 deletions
54
everything-app/app-ingress-nginx-internal.yaml
Normal file
54
everything-app/app-ingress-nginx-internal.yaml
Normal file
|
@ -0,0 +1,54 @@
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: ingress-nginx
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
destination:
|
||||||
|
namespace: cluster-ingress
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
project: infra
|
||||||
|
source:
|
||||||
|
chart: ingress-nginx
|
||||||
|
repoURL: https://kubernetes.github.io/ingress-nginx
|
||||||
|
targetRevision: 4.12.1
|
||||||
|
helm:
|
||||||
|
parameters:
|
||||||
|
- name: controller.ingressClassResource.default
|
||||||
|
value: 'false'
|
||||||
|
- name: controller.ingressClassResource.name
|
||||||
|
value: 'internal-nginx'
|
||||||
|
- name: controller.config.annotations-risk-level
|
||||||
|
value: Critical
|
||||||
|
- name: controller.service.type
|
||||||
|
value: LoadBalancer
|
||||||
|
- name: controller.allowSnippetAnnotations
|
||||||
|
value: 'true'
|
||||||
|
- name: controller.resources.requests.cpu
|
||||||
|
value: 35m
|
||||||
|
- name: controller.resources.requests.memory
|
||||||
|
value: '351198544'
|
||||||
|
- name: controller.extraArgs.default-ssl-certificate
|
||||||
|
value: cluster-ingress/cluster-ingress-wildcard
|
||||||
|
- name: controller.config.http-snippet
|
||||||
|
value: 'more_set_headers -a "X-Robots-Tag: noai";
|
||||||
|
|
||||||
|
more_set_headers -a "X-Robots-Tag: Google-Extended: none";
|
||||||
|
|
||||||
|
more_set_headers -a "X-Robots-Tag: GPTBot: none";
|
||||||
|
|
||||||
|
more_set_headers -a "X-Robots-Tag: ChatGPT-User: none";
|
||||||
|
|
||||||
|
more_set_headers -a "X-Robots-Tag: anthropic-ai: none";
|
||||||
|
|
||||||
|
more_set_headers -a "X-Robots-Tag: CCBot: none";
|
||||||
|
|
||||||
|
more_set_headers -a "X-Robots-Tag: semrushbot: none";
|
||||||
|
|
||||||
|
more_set_headers -a "X-Robots-Tag: Amazonbot: none";
|
||||||
|
|
||||||
|
more_set_headers -a "X-Robots-Tag: dotbot: none";
|
||||||
|
|
||||||
|
more_set_headers -a "X-Robots-Tag: AhrefsBot: none";'
|
||||||
|
- name: controller.config.block-user-agents
|
||||||
|
value: ~*Amazonbot,~*SemrushBot,~*DotBot,~*Ahrefsbot,~*GPT
|
Loading…
Add table
Reference in a new issue