camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lburgazz...@apache.org
Subject [camel-k] 04/10: Fix #921: fix yaml formatting
Date Thu, 19 Dec 2019 09:50:03 GMT
This is an automated email from the ASF dual-hosted git repository.

lburgazzoli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit f5b3b30f83f9c81b8bc3311499d4827821604107
Author: Nicola Ferraro <ni.ferraro@gmail.com>
AuthorDate: Wed Dec 18 18:13:43 2019 +0100

    Fix #921: fix yaml formatting
---
 deploy/crd-build.yaml                | 12 ++++----
 deploy/crd-camel-catalog.yaml        | 12 ++++----
 deploy/crd-integration-kit.yaml      | 12 ++++----
 deploy/crd-integration-platform.yaml | 12 ++++----
 deploy/crd-integration.yaml          | 14 ++++-----
 deploy/resources.go                  | 58 ++++++++++++++++++++----------------
 6 files changed, 63 insertions(+), 57 deletions(-)

diff --git a/deploy/crd-build.yaml b/deploy/crd-build.yaml
index 73404d3..29e3276 100644
--- a/deploy/crd-build.yaml
+++ b/deploy/crd-build.yaml
@@ -25,12 +25,12 @@ spec:
   group: camel.apache.org
   scope: Namespaced
   versions:
-    - name: v1alpha1
-      served: true
-      storage: false
-    - name: v1
-      served: true
-      storage: true
+  - name: v1alpha1
+    served: true
+    storage: false
+  - name: v1
+    served: true
+    storage: true
   names:
     kind: Build
     listKind: BuildList
diff --git a/deploy/crd-camel-catalog.yaml b/deploy/crd-camel-catalog.yaml
index 512042c..8a67c6d 100644
--- a/deploy/crd-camel-catalog.yaml
+++ b/deploy/crd-camel-catalog.yaml
@@ -32,12 +32,12 @@ spec:
       - cc
   scope: Namespaced
   versions:
-    - name: v1alpha1
-      served: true
-      storage: false
-    - name: v1
-      served: true
-      storage: true
+  - name: v1alpha1
+    served: true
+    storage: false
+  - name: v1
+    served: true
+    storage: true
   subresources:
     status: {}
   additionalPrinterColumns:
diff --git a/deploy/crd-integration-kit.yaml b/deploy/crd-integration-kit.yaml
index c8ccac5..59a34da 100644
--- a/deploy/crd-integration-kit.yaml
+++ b/deploy/crd-integration-kit.yaml
@@ -25,12 +25,12 @@ spec:
   group: camel.apache.org
   scope: Namespaced
   versions:
-    - name: v1alpha1
-      served: true
-      storage: false
-    - name: v1
-      served: true
-      storage: true
+  - name: v1alpha1
+    served: true
+    storage: false
+  - name: v1
+    served: true
+    storage: true
   subresources:
     status: {}
   names:
diff --git a/deploy/crd-integration-platform.yaml b/deploy/crd-integration-platform.yaml
index 8f8e30b..7b581d0 100644
--- a/deploy/crd-integration-platform.yaml
+++ b/deploy/crd-integration-platform.yaml
@@ -25,12 +25,12 @@ spec:
   group: camel.apache.org
   scope: Namespaced
   versions:
-    - name: v1alpha1
-      served: true
-      storage: false
-    - name: v1
-      served: true
-      storage: true
+  - name: v1alpha1
+    served: true
+    storage: false
+  - name: v1
+    served: true
+    storage: true
   subresources:
     status: {}
   names:
diff --git a/deploy/crd-integration.yaml b/deploy/crd-integration.yaml
index c22703c..9a63ac4 100644
--- a/deploy/crd-integration.yaml
+++ b/deploy/crd-integration.yaml
@@ -25,12 +25,12 @@ spec:
   group: camel.apache.org
   scope: Namespaced
   versions:
-    - name: v1alpha1
-      served: true
-      storage: false
-    - name: v1
-      served: true
-      storage: true
+  - name: v1alpha1
+    served: true
+    storage: false
+  - name: v1
+    served: true
+    storage: true
   subresources:
     status: {}
     scale:
@@ -42,7 +42,7 @@ spec:
     plural: integrations
     singular: integration
     shortNames:
-      - it
+    - it
   additionalPrinterColumns:
     - name: Phase
       type: string
diff --git a/deploy/resources.go b/deploy/resources.go
index de26ccf..eb90634 100644
--- a/deploy/resources.go
+++ b/deploy/resources.go
@@ -3814,7 +3814,13 @@ metadata:
 spec:
   group: camel.apache.org
   scope: Namespaced
-  version: v1alpha1
+  versions:
+  - name: v1alpha1
+    served: true
+    storage: false
+  - name: v1
+    served: true
+    storage: true
   names:
     kind: Build
     listKind: BuildList
@@ -3884,12 +3890,12 @@ spec:
       - cc
   scope: Namespaced
   versions:
-    - name: v1alpha1
-      served: true
-      storage: false
-    - name: v1
-      served: true
-      storage: true
+  - name: v1alpha1
+    served: true
+    storage: false
+  - name: v1
+    served: true
+    storage: true
   subresources:
     status: {}
   additionalPrinterColumns:
@@ -3933,12 +3939,12 @@ spec:
   group: camel.apache.org
   scope: Namespaced
   versions:
-    - name: v1alpha1
-      served: true
-      storage: false
-    - name: v1
-      served: true
-      storage: true
+  - name: v1alpha1
+    served: true
+    storage: false
+  - name: v1
+    served: true
+    storage: true
   subresources:
     status: {}
   names:
@@ -3992,12 +3998,12 @@ spec:
   group: camel.apache.org
   scope: Namespaced
   versions:
-    - name: v1alpha1
-      served: true
-      storage: false
-    - name: v1
-      served: true
-      storage: true
+  - name: v1alpha1
+    served: true
+    storage: false
+  - name: v1
+    served: true
+    storage: true
   subresources:
     status: {}
   names:
@@ -4043,12 +4049,12 @@ spec:
   group: camel.apache.org
   scope: Namespaced
   versions:
-    - name: v1alpha1
-      served: true
-        storage: false
-    - name: v1
-      served: true
-      storage: true
+  - name: v1alpha1
+    served: true
+    storage: false
+  - name: v1
+    served: true
+    storage: true
   subresources:
     status: {}
     scale:
@@ -4060,7 +4066,7 @@ spec:
     plural: integrations
     singular: integration
     shortNames:
-      - it
+    - it
   additionalPrinterColumns:
     - name: Phase
       type: string


Mime
View raw message