diff --git a/ingress/templates/deployment-ingress.yaml b/ingress/templates/deployment-ingress.yaml index 5e22f61713..75d253ede9 100644 --- a/ingress/templates/deployment-ingress.yaml +++ b/ingress/templates/deployment-ingress.yaml @@ -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: diff --git a/ingress/templates/service-error.yaml b/ingress/templates/service-error.yaml index 2e4de61f14..7a68959690 100644 --- a/ingress/templates/service-error.yaml +++ b/ingress/templates/service-error.yaml @@ -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 }} diff --git a/ingress/templates/service-ingress.yaml b/ingress/templates/service-ingress.yaml index f2d7166ec0..8231138ead 100644 --- a/ingress/templates/service-ingress.yaml +++ b/ingress/templates/service-ingress.yaml @@ -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