Merge pull request #2425 from hswong3i/ingress_nginx_configmap

Add Custom ConfigMap Support for ingress-nginx
pull/2433/head
Aivars Sterns 2018-03-07 19:02:03 +02:00 committed by GitHub
commit 569613f2a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 }}