Compare commits
3 Commits
6af5702148
...
1956ea17d7
Author | SHA1 | Date | |
---|---|---|---|
1956ea17d7 | |||
0dedc69547 | |||
90a5a86e4b |
@ -1,2 +1,6 @@
|
||||
resources:
|
||||
- https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.4.0/deploy/static/provider/cloud/deploy.yaml
|
||||
- https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.4.0/deploy/static/provider/cloud/deploy.yaml
|
||||
|
||||
patches:
|
||||
- path: patches/ingress-nginx-cm.yaml
|
||||
- path: patches/ingress-nginx-deploy.yaml
|
||||
|
8
base/nginx/patches/ingress-nginx-cm.yaml
Normal file
8
base/nginx/patches/ingress-nginx-cm.yaml
Normal file
@ -0,0 +1,8 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: ingress-nginx-controller
|
||||
namespace: ingress-nginx
|
||||
data:
|
||||
allow-snippet-annotations: "true"
|
||||
http-snippet: "proxy_cache_path /cache levels=1:2 keys_zone=nginx-cache:10m max_size=489m inactive=10m use_temp_path=off;"
|
17
base/nginx/patches/ingress-nginx-deploy.yaml
Normal file
17
base/nginx/patches/ingress-nginx-deploy.yaml
Normal file
@ -0,0 +1,17 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: ingress-nginx-controller
|
||||
namespace: ingress-nginx
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
containers:
|
||||
- name: controller
|
||||
volumeMounts:
|
||||
- mountPath: /cache
|
||||
name: cache
|
||||
volumes:
|
||||
- name: cache
|
||||
emptyDir:
|
||||
sizeLimit: 500M
|
Loading…
x
Reference in New Issue
Block a user