Add Custom ConfigMap Support for ingress-nginx

This commit is contained in:
Wong Hoi Sing Edison 2018-03-07 01:18:42 +08:00
parent f94a7c6d82
commit 3f96b2da7a
5 changed files with 16 additions and 0 deletions

View file

@ -192,6 +192,13 @@ ingress_nginx_enabled: false
# ingress_nginx_namespace: "ingress-nginx"
# ingress_nginx_insecure_port: 80
# ingress_nginx_secure_port: 443
# ingress_nginx_configmap:
# map-hash-bucket-size: "128"
# ssl-protocols: "SSLv2"
# ingress_nginx_configmap_tcp_services:
# 9000: "default/example-go:8080"
# ingress_nginx_configmap_udp_services:
# 53: "kube-system/kube-dns:53"
# Add Persistent Volumes Storage Class for corresponding cloud provider ( OpenStack is only supported now )
persistent_volumes_enabled: false

View file

@ -8,3 +8,6 @@ ingress_nginx_controller_image_tag: 0.11.0
ingress_nginx_namespace: "ingress-nginx"
ingress_nginx_insecure_port: 80
ingress_nginx_secure_port: 443
ingress_nginx_configmap: {}
ingress_nginx_configmap_tcp_services: {}
ingress_nginx_configmap_udp_services: {}

View file

@ -6,3 +6,5 @@ metadata:
namespace: {{ ingress_nginx_namespace }}
labels:
k8s-app: ingress-nginx
data:
{{ ingress_nginx_configmap | to_nice_yaml }}

View file

@ -6,3 +6,5 @@ metadata:
namespace: {{ ingress_nginx_namespace }}
labels:
k8s-app: ingress-nginx
data:
{{ ingress_nginx_configmap_tcp_services | to_nice_yaml }}

View file

@ -6,3 +6,5 @@ metadata:
namespace: {{ ingress_nginx_namespace }}
labels:
k8s-app: ingress-nginx
data:
{{ ingress_nginx_configmap_udp_services | to_nice_yaml }}