Add Custom ConfigMap Support for ingress-nginx

pull/2425/head
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_namespace: "ingress-nginx"
# ingress_nginx_insecure_port: 80 # ingress_nginx_insecure_port: 80
# ingress_nginx_secure_port: 443 # 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 ) # Add Persistent Volumes Storage Class for corresponding cloud provider ( OpenStack is only supported now )
persistent_volumes_enabled: false 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_namespace: "ingress-nginx"
ingress_nginx_insecure_port: 80 ingress_nginx_insecure_port: 80
ingress_nginx_secure_port: 443 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 }} namespace: {{ ingress_nginx_namespace }}
labels: labels:
k8s-app: ingress-nginx k8s-app: ingress-nginx
data:
{{ ingress_nginx_configmap | to_nice_yaml }}

View File

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

View File

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