From acf571a7e4a24e65465c2720c8e59a5c9960c39c Mon Sep 17 00:00:00 2001 From: emosbaugh <371319+emosbaugh@users.noreply.github.com> Date: Wed, 25 Sep 2024 04:08:21 +0000 Subject: [PATCH] Create new Contour version --- addons/contour/1.30.0/contour.yaml | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/addons/contour/1.30.0/contour.yaml b/addons/contour/1.30.0/contour.yaml index 2438de5fac..32325449bc 100644 --- a/addons/contour/1.30.0/contour.yaml +++ b/addons/contour/1.30.0/contour.yaml @@ -16,8 +16,6 @@ # examples/contour/02-service-envoy.yaml # examples/contour/03-contour.yaml # examples/contour/03-envoy.yaml -# -# 'x-kubernetes-validations' entries were manually removed. --- apiVersion: v1 @@ -5323,6 +5321,10 @@ spec: - caSecret - subjectName type: object + x-kubernetes-validations: + - message: subjectNames[0] must equal subjectName if set + rule: 'has(self.subjectNames) ? self.subjectNames[0] == self.subjectName + : true' required: - services type: object @@ -6975,6 +6977,10 @@ spec: - caSecret - subjectName type: object + x-kubernetes-validations: + - message: subjectNames[0] must equal subjectName if set + rule: 'has(self.subjectNames) ? self.subjectNames[0] + == self.subjectName : true' weight: description: Weight defines percentage of traffic to balance traffic @@ -7379,6 +7385,10 @@ spec: - caSecret - subjectName type: object + x-kubernetes-validations: + - message: subjectNames[0] must equal subjectName if set + rule: 'has(self.subjectNames) ? self.subjectNames[0] == + self.subjectName : true' weight: description: Weight defines percentage of traffic to balance traffic @@ -7728,6 +7738,11 @@ spec: - caSecret - subjectName type: object + x-kubernetes-validations: + - message: subjectNames[0] must equal subjectName if + set + rule: 'has(self.subjectNames) ? self.subjectNames[0] + == self.subjectName : true' required: - uri type: object