Merge "Ingress: Update labels"

This commit is contained in:
Jenkins 2017-09-05 22:25:10 +00:00 committed by Gerrit Code Review
commit 57a54ff1b9
3 changed files with 4 additions and 5 deletions

View File

@ -34,10 +34,9 @@ spec:
metadata:
labels:
{{ tuple $envAll "ingress" "api" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
app: ingress-api
annotations:
configmap-etc-hash: {{ tuple "configmap-etc.yaml" . | include "helm-toolkit.utils.hash" }}
labels:
app: ingress-api
spec:
{{- if eq .Values.deployment_type "Deployment" }}
affinity:

View File

@ -20,7 +20,7 @@ apiVersion: v1
kind: Service
metadata:
labels:
app: ingress-error-pages
{{ tuple $envAll "ingress" "error-pages" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }}
name: ingress-error-pages
spec:
clusterIP: None
@ -29,4 +29,4 @@ spec:
protocol: TCP
targetPort: 8080
selector:
app: ingress-error-pages
{{ tuple $envAll "ingress" "error-pages" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }}

View File

@ -33,4 +33,4 @@ spec:
protocol: TCP
targetPort: 443
selector:
{{ tuple $envAll "ingress" "error-pages" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }}
app: ingress-api