Merge pull request #2419 from hswong3i/ingress_nginx_labels

Add labels for ingress_nginx_namespace
This commit is contained in:
Aivars Sterns 2018-03-06 08:01:13 +02:00 committed by GitHub
commit 6975cd1622
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View file

@ -21,7 +21,6 @@ spec:
k8s-app: ingress-nginx
version: v{{ ingress_nginx_controller_image_tag }}
spec:
serviceAccountName: ingress-nginx
containers:
- name: ingress-nginx-controller
image: {{ ingress_nginx_controller_image_repo }}:{{ ingress_nginx_controller_image_tag }}
@ -68,3 +67,6 @@ spec:
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
{% if rbac_enabled %}
serviceAccountName: ingress-nginx
{% endif %}

View file

@ -3,3 +3,5 @@ apiVersion: v1
kind: Namespace
metadata:
name: {{ ingress_nginx_namespace }}
labels:
name: {{ ingress_nginx_namespace }}