1
0
Fork 0
This repository has been archived on 2025-08-23. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
mareshq-cthulhunetes-gitops-v2/apps/system/ingress-nginx.yaml

53 lines
1.5 KiB
YAML

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: ingress-nginx
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "-1000"
spec:
project: system
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
destination:
server: "https://kubernetes.default.svc"
namespace: ingress-nginx
source:
chart: ingress-nginx
repoURL: https://kubernetes.github.io/ingress-nginx
targetRevision: 4.11.2
helm:
releaseName: ingress-nginx
valuesObject:
ingressClassResource:
default: "true"
controller:
healthCheckPath: /healthz
kind: DaemonSet
updateStrategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 1
service:
externalTrafficPolicy: Local
type: NodePort
nodePorts:
http: "32080"
https: "32443"
externalIPs:
- 49.12.16.159
config:
allow-snippet-annotations: "true"
generate-request-id: "true"
use-proxy-protocol: "true"
use-forwarded-headers: "true"
enable-real-ip: "true"
http-snippet: |
proxy_cache_path /tmp/nginx-cache levels=1:2 keys_zone=static-cache:2m max_size=100m inactive=7d use_temp_path=off;
proxy_cache_key $scheme$proxy_host$request_uri;
proxy_cache_lock on;
proxy_cache_use_stale updating;