From 4faeb864bd14a1efd3ff0273b8d5c5930263c2b1 Mon Sep 17 00:00:00 2001 From: Kenny Leung Date: Mon, 6 Nov 2023 09:37:45 -0800 Subject: [PATCH] remove duplicate additionalPrinterColumns (#192) * remove duplicate additionalPrinterColumns Signed-off-by: Kenny Leung * patch Signed-off-by: Kenny Leung --------- Signed-off-by: Kenny Leung --- .../100-resources/domain-mapping.yaml | 10 --------- hack/patches/14592.patch | 21 +++++++++++++++++++ .../core/300-resources/domain-mapping.yaml | 10 --------- 3 files changed, 21 insertions(+), 20 deletions(-) create mode 100644 hack/patches/14592.patch diff --git a/config/serving/200-imported/200-serving/100-resources/domain-mapping.yaml b/config/serving/200-imported/200-serving/100-resources/domain-mapping.yaml index 8fdeea65a..eacc8691d 100644 --- a/config/serving/200-imported/200-serving/100-resources/domain-mapping.yaml +++ b/config/serving/200-imported/200-serving/100-resources/domain-mapping.yaml @@ -150,16 +150,6 @@ spec: url: description: URL is the URL of this DomainMapping. type: string - additionalPrinterColumns: - - name: URL - type: string - jsonPath: .status.url - - name: Ready - type: string - jsonPath: ".status.conditions[?(@.type=='Ready')].status" - - name: Reason - type: string - jsonPath: ".status.conditions[?(@.type=='Ready')].reason" names: kind: DomainMapping plural: domainmappings diff --git a/hack/patches/14592.patch b/hack/patches/14592.patch new file mode 100644 index 000000000..6c823d207 --- /dev/null +++ b/hack/patches/14592.patch @@ -0,0 +1,21 @@ +diff --git a/vendor/knative.dev/serving/config/core/300-resources/domain-mapping.yaml b/vendor/knative.dev/serving/config/core/300-resources/domain-mapping.yaml +index 8fdeea6..eacc869 100644 +--- a/vendor/knative.dev/serving/config/core/300-resources/domain-mapping.yaml ++++ b/vendor/knative.dev/serving/config/core/300-resources/domain-mapping.yaml +@@ -150,16 +150,6 @@ spec: + url: + description: URL is the URL of this DomainMapping. + type: string +- additionalPrinterColumns: +- - name: URL +- type: string +- jsonPath: .status.url +- - name: Ready +- type: string +- jsonPath: ".status.conditions[?(@.type=='Ready')].status" +- - name: Reason +- type: string +- jsonPath: ".status.conditions[?(@.type=='Ready')].reason" + names: + kind: DomainMapping + plural: domainmappings diff --git a/vendor/knative.dev/serving/config/core/300-resources/domain-mapping.yaml b/vendor/knative.dev/serving/config/core/300-resources/domain-mapping.yaml index 8fdeea65a..eacc8691d 100644 --- a/vendor/knative.dev/serving/config/core/300-resources/domain-mapping.yaml +++ b/vendor/knative.dev/serving/config/core/300-resources/domain-mapping.yaml @@ -150,16 +150,6 @@ spec: url: description: URL is the URL of this DomainMapping. type: string - additionalPrinterColumns: - - name: URL - type: string - jsonPath: .status.url - - name: Ready - type: string - jsonPath: ".status.conditions[?(@.type=='Ready')].status" - - name: Reason - type: string - jsonPath: ".status.conditions[?(@.type=='Ready')].reason" names: kind: DomainMapping plural: domainmappings