Add "labels" to MAAS ingress & ingress-errors deployments

Adding said label, that's already defined, to the deployments themselves.
This will enable Armada to properly wait for certain percentages of the
deployment replicas to be ready prior to proceeding. Prior to this change,
there wasn't a way to select these deployments via labels.

Change-Id: I4d8e479eb40e4395a4e3b79bbc9df651aa4e12e7
This commit is contained in:
DeJaeger, Darren (dd118r) 2021-04-30 16:58:31 -04:00
parent 35fa3175e3
commit 5a1866fb45
2 changed files with 4 additions and 0 deletions

View File

@ -28,6 +28,8 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: maas-ingress-errors
labels:
{{ $labels | indent 4 }}
spec:
replicas: {{ .Values.pod.replicas.ingress_errors }}
selector:

View File

@ -149,6 +149,8 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: maas-ingress
labels:
{{ $labels | indent 4 }}
annotations:
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }}
spec: