From cf9666c137d1f23aabdf0423ad196c62514825a9 Mon Sep 17 00:00:00 2001 From: emosbaugh <371319+emosbaugh@users.noreply.github.com> Date: Thu, 29 Aug 2024 04:07:50 +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