You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by dj...@apache.org on 2022/01/31 16:20:40 UTC

[camel-k] branch release-1.4.x updated (08b020c -> 822b729)

This is an automated email from the ASF dual-hosted git repository.

djencks pushed a change to branch release-1.4.x
in repository https://gitbox.apache.org/repos/asf/camel-k.git.


    from 08b020c  RI table setup
     new 5a9eedf  fix apparent typos in jsonschema_types.go
     new 2e59c98  Generate api documentation similarly to later versions.
     new 8544ac6  Switch to separate camel-k and kamelets API pages. Generated AsciiDoc API docs
     new 5c83604  newly generated files
     new ea804f4  generated modified resources.go file
     new 822b729  update templates to use exposed sanitizeId function

The 6 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .gitignore                                         |    1 +
 addons/tracing/zz_desc_generated.go                |    1 +
 addons/tracing/zz_generated_doc.go                 |    1 +
 .../bases/camel.apache.org_kameletbindings.yaml    |   12 +-
 config/crd/bases/camel.apache.org_kamelets.yaml    |    8 +-
 docs/modules/ROOT/nav-end.adoc                     |    3 +
 docs/modules/ROOT/pages/apis/camel-k.adoc          |    4 +
 docs/modules/ROOT/pages/apis/kamelets.adoc         |    3 +
 docs/modules/ROOT/partials/apis/camel-k-crds.adoc  | 2830 ++++++++++++++++++++
 docs/modules/ROOT/partials/apis/kamelets-crds.adoc | 1161 ++++++++
 helm/camel-k/crds/crd-kamelet-binding.yaml         |   12 +-
 helm/camel-k/crds/crd-kamelet.yaml                 |    8 +-
 pkg/apis/camel/v1alpha1/jsonschema_types.go        |    4 +-
 pkg/resources/resources.go                         |    8 +-
 script/gen_crd/gen-crd-api-config.json             |   22 +
 script/gen_crd/gen-kamelets-crd-api-config.json    |   26 +
 script/gen_crd/gen_crd_api.sh                      |   40 +
 script/gen_crd/template/members.tpl                |   30 +
 script/gen_crd/template/pkg.tpl                    |   32 +
 script/gen_crd/template/type.tpl                   |   32 +
 script/gen_doc.sh                                  |    6 +-
 21 files changed, 4217 insertions(+), 27 deletions(-)
 create mode 100644 addons/tracing/zz_desc_generated.go
 create mode 100644 addons/tracing/zz_generated_doc.go
 create mode 100644 docs/modules/ROOT/pages/apis/camel-k.adoc
 create mode 100644 docs/modules/ROOT/pages/apis/kamelets.adoc
 create mode 100644 docs/modules/ROOT/partials/apis/camel-k-crds.adoc
 create mode 100644 docs/modules/ROOT/partials/apis/kamelets-crds.adoc
 create mode 100644 script/gen_crd/gen-crd-api-config.json
 create mode 100644 script/gen_crd/gen-kamelets-crd-api-config.json
 create mode 100755 script/gen_crd/gen_crd_api.sh
 create mode 100644 script/gen_crd/template/members.tpl
 create mode 100644 script/gen_crd/template/pkg.tpl
 create mode 100644 script/gen_crd/template/type.tpl

[camel-k] 01/06: fix apparent typos in jsonschema_types.go

Posted by dj...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

djencks pushed a commit to branch release-1.4.x
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit 5a9eedf53e1f12b374991755b684a57602a5fd25
Author: David Jencks <dj...@apache.org>
AuthorDate: Wed Jan 19 16:40:26 2022 -0800

    fix apparent typos in jsonschema_types.go
    
    propagate typo fixes to generated yaml
---
 config/crd/bases/camel.apache.org_kameletbindings.yaml | 12 ++++++------
 config/crd/bases/camel.apache.org_kamelets.yaml        |  8 ++++----
 helm/camel-k/crds/crd-kamelet-binding.yaml             | 12 ++++++------
 helm/camel-k/crds/crd-kamelet.yaml                     |  8 ++++----
 pkg/apis/camel/v1alpha1/jsonschema_types.go            |  4 ++--
 5 files changed, 22 insertions(+), 22 deletions(-)

diff --git a/config/crd/bases/camel.apache.org_kameletbindings.yaml b/config/crd/bases/camel.apache.org_kameletbindings.yaml
index 60ac3ba..c463c9a 100644
--- a/config/crd/bases/camel.apache.org_kameletbindings.yaml
+++ b/config/crd/bases/camel.apache.org_kameletbindings.yaml
@@ -389,10 +389,10 @@ spec:
                                       with any non digit characters mixed in - ssn:
                                       a U.S. social security number following the
                                       regex ^\\\\d{3}[- ]?\\\\d{2}[- ]?\\\\d{4}$ -
-                                      hexcolor: an hexadecimal color code like \"#FFFFFF:
+                                      hexcolor: an hexadecimal color code like \"#FFFFFF\"
                                       following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$
                                       - rgbcolor: an RGB color code like rgb like
-                                      \"rgb(255,255,2559\" - byte: base64 encoded
+                                      \"rgb(255,255,255)\" - byte: base64 encoded
                                       binary data - password: any kind of string -
                                       date: a date string like \"2006-01-02\" as defined
                                       by full-date in RFC3339 - duration: a duration
@@ -603,10 +603,10 @@ spec:
                                       with any non digit characters mixed in - ssn:
                                       a U.S. social security number following the
                                       regex ^\\\\d{3}[- ]?\\\\d{2}[- ]?\\\\d{4}$ -
-                                      hexcolor: an hexadecimal color code like \"#FFFFFF:
+                                      hexcolor: an hexadecimal color code like \"#FFFFFF\"
                                       following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$
                                       - rgbcolor: an RGB color code like rgb like
-                                      \"rgb(255,255,2559\" - byte: base64 encoded
+                                      \"rgb(255,255,255)\" - byte: base64 encoded
                                       binary data - password: any kind of string -
                                       date: a date string like \"2006-01-02\" as defined
                                       by full-date in RFC3339 - duration: a duration
@@ -822,9 +822,9 @@ spec:
                                         a U.S. social security number following the
                                         regex ^\\\\d{3}[- ]?\\\\d{2}[- ]?\\\\d{4}$
                                         - hexcolor: an hexadecimal color code like
-                                        \"#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$
+                                        \"#FFFFFF\" following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$
                                         - rgbcolor: an RGB color code like rgb like
-                                        \"rgb(255,255,2559\" - byte: base64 encoded
+                                        \"rgb(255,255,255)\" - byte: base64 encoded
                                         binary data - password: any kind of string
                                         - date: a date string like \"2006-01-02\"
                                         as defined by full-date in RFC3339 - duration:
diff --git a/config/crd/bases/camel.apache.org_kamelets.yaml b/config/crd/bases/camel.apache.org_kamelets.yaml
index e8371f9..ee29c7e 100644
--- a/config/crd/bases/camel.apache.org_kamelets.yaml
+++ b/config/crd/bases/camel.apache.org_kamelets.yaml
@@ -143,8 +143,8 @@ spec:
                             with any non digit characters mixed in - ssn: a U.S. social
                             security number following the regex ^\\\\d{3}[- ]?\\\\d{2}[-
                             ]?\\\\d{4}$ - hexcolor: an hexadecimal color code like
-                            \"#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$
-                            - rgbcolor: an RGB color code like rgb like \"rgb(255,255,2559\"
+                            \"#FFFFFF\" following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$
+                            - rgbcolor: an RGB color code like rgb like \"rgb(255,255,255)\"
                             - byte: base64 encoded binary data - password: any kind
                             of string - date: a date string like \"2006-01-02\" as
                             defined by full-date in RFC3339 - duration: a duration
@@ -348,9 +348,9 @@ spec:
                                   with any non digit characters mixed in - ssn: a
                                   U.S. social security number following the regex
                                   ^\\\\d{3}[- ]?\\\\d{2}[- ]?\\\\d{4}$ - hexcolor:
-                                  an hexadecimal color code like \"#FFFFFF: following
+                                  an hexadecimal color code like \"#FFFFFF\" following
                                   the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ -
-                                  rgbcolor: an RGB color code like rgb like \"rgb(255,255,2559\"
+                                  rgbcolor: an RGB color code like rgb like \"rgb(255,255,255)\"
                                   - byte: base64 encoded binary data - password: any
                                   kind of string - date: a date string like \"2006-01-02\"
                                   as defined by full-date in RFC3339 - duration: a
diff --git a/helm/camel-k/crds/crd-kamelet-binding.yaml b/helm/camel-k/crds/crd-kamelet-binding.yaml
index 60ac3ba..c463c9a 100644
--- a/helm/camel-k/crds/crd-kamelet-binding.yaml
+++ b/helm/camel-k/crds/crd-kamelet-binding.yaml
@@ -389,10 +389,10 @@ spec:
                                       with any non digit characters mixed in - ssn:
                                       a U.S. social security number following the
                                       regex ^\\\\d{3}[- ]?\\\\d{2}[- ]?\\\\d{4}$ -
-                                      hexcolor: an hexadecimal color code like \"#FFFFFF:
+                                      hexcolor: an hexadecimal color code like \"#FFFFFF\"
                                       following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$
                                       - rgbcolor: an RGB color code like rgb like
-                                      \"rgb(255,255,2559\" - byte: base64 encoded
+                                      \"rgb(255,255,255)\" - byte: base64 encoded
                                       binary data - password: any kind of string -
                                       date: a date string like \"2006-01-02\" as defined
                                       by full-date in RFC3339 - duration: a duration
@@ -603,10 +603,10 @@ spec:
                                       with any non digit characters mixed in - ssn:
                                       a U.S. social security number following the
                                       regex ^\\\\d{3}[- ]?\\\\d{2}[- ]?\\\\d{4}$ -
-                                      hexcolor: an hexadecimal color code like \"#FFFFFF:
+                                      hexcolor: an hexadecimal color code like \"#FFFFFF\"
                                       following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$
                                       - rgbcolor: an RGB color code like rgb like
-                                      \"rgb(255,255,2559\" - byte: base64 encoded
+                                      \"rgb(255,255,255)\" - byte: base64 encoded
                                       binary data - password: any kind of string -
                                       date: a date string like \"2006-01-02\" as defined
                                       by full-date in RFC3339 - duration: a duration
@@ -822,9 +822,9 @@ spec:
                                         a U.S. social security number following the
                                         regex ^\\\\d{3}[- ]?\\\\d{2}[- ]?\\\\d{4}$
                                         - hexcolor: an hexadecimal color code like
-                                        \"#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$
+                                        \"#FFFFFF\" following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$
                                         - rgbcolor: an RGB color code like rgb like
-                                        \"rgb(255,255,2559\" - byte: base64 encoded
+                                        \"rgb(255,255,255)\" - byte: base64 encoded
                                         binary data - password: any kind of string
                                         - date: a date string like \"2006-01-02\"
                                         as defined by full-date in RFC3339 - duration:
diff --git a/helm/camel-k/crds/crd-kamelet.yaml b/helm/camel-k/crds/crd-kamelet.yaml
index e8371f9..ee29c7e 100644
--- a/helm/camel-k/crds/crd-kamelet.yaml
+++ b/helm/camel-k/crds/crd-kamelet.yaml
@@ -143,8 +143,8 @@ spec:
                             with any non digit characters mixed in - ssn: a U.S. social
                             security number following the regex ^\\\\d{3}[- ]?\\\\d{2}[-
                             ]?\\\\d{4}$ - hexcolor: an hexadecimal color code like
-                            \"#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$
-                            - rgbcolor: an RGB color code like rgb like \"rgb(255,255,2559\"
+                            \"#FFFFFF\" following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$
+                            - rgbcolor: an RGB color code like rgb like \"rgb(255,255,255)\"
                             - byte: base64 encoded binary data - password: any kind
                             of string - date: a date string like \"2006-01-02\" as
                             defined by full-date in RFC3339 - duration: a duration
@@ -348,9 +348,9 @@ spec:
                                   with any non digit characters mixed in - ssn: a
                                   U.S. social security number following the regex
                                   ^\\\\d{3}[- ]?\\\\d{2}[- ]?\\\\d{4}$ - hexcolor:
-                                  an hexadecimal color code like \"#FFFFFF: following
+                                  an hexadecimal color code like \"#FFFFFF\" following
                                   the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ -
-                                  rgbcolor: an RGB color code like rgb like \"rgb(255,255,2559\"
+                                  rgbcolor: an RGB color code like rgb like \"rgb(255,255,255)\"
                                   - byte: base64 encoded binary data - password: any
                                   kind of string - date: a date string like \"2006-01-02\"
                                   as defined by full-date in RFC3339 - duration: a
diff --git a/pkg/apis/camel/v1alpha1/jsonschema_types.go b/pkg/apis/camel/v1alpha1/jsonschema_types.go
index db3b10a..bf5b613 100644
--- a/pkg/apis/camel/v1alpha1/jsonschema_types.go
+++ b/pkg/apis/camel/v1alpha1/jsonschema_types.go
@@ -47,8 +47,8 @@ type JSONSchemaProp struct {
 	// - isbn13: an ISBN13 number string like "978-0321751041"
 	// - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\d{3})\\d{11})$ with any non digit characters mixed in
 	// - ssn: a U.S. social security number following the regex ^\\d{3}[- ]?\\d{2}[- ]?\\d{4}$
-	// - hexcolor: an hexadecimal color code like "#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$
-	// - rgbcolor: an RGB color code like rgb like "rgb(255,255,2559"
+	// - hexcolor: an hexadecimal color code like "#FFFFFF" following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$
+	// - rgbcolor: an RGB color code like rgb like "rgb(255,255,255)"
 	// - byte: base64 encoded binary data
 	// - password: any kind of string
 	// - date: a date string like "2006-01-02" as defined by full-date in RFC3339

[camel-k] 05/06: generated modified resources.go file

Posted by dj...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

djencks pushed a commit to branch release-1.4.x
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit ea804f4ce7aa9fefee08306355d6d40c62549894
Author: David Jencks <dj...@apache.org>
AuthorDate: Fri Jan 28 14:02:35 2022 -0800

    generated modified resources.go file
---
 pkg/resources/resources.go | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/pkg/resources/resources.go b/pkg/resources/resources.go
index f8b5c62..2d82fab 100644
--- a/pkg/resources/resources.go
+++ b/pkg/resources/resources.go
@@ -113,16 +113,16 @@ var assets = func() http.FileSystem {
 		"/crd/bases/camel.apache.org_kameletbindings.yaml": &vfsgen۰CompressedFileInfo{
 			name:             "camel.apache.org_kameletbindings.yaml",
 			modTime:          time.Time{},
-			uncompressedSize: 55429,
+			uncompressedSize: 55432,
 
-			compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x7d\x7f\x6f\xdb\x38\xf2\xf7\xff\x79\x15\x83\xe4\x80\xb6\x40\x64\xc7\x49\xda\xdd\xf5\xf3\x47\x91\x26\xdb\xfb\xfa\x69\x37\x2d\x92\xf4\x0e\xf7\xb4\x3d\x80\x96\xc6\x36\x2f\x12\xa9\x23\xa9\x38\x7e\xb6\x7d\xef\x5f\xf0\x87\x64\xd9\xb1\x64\xca\xb1\xbb\x29\x20\x02\x8b\xad\x2d\x6a\x38\x33\x1c\x0e\x67\x86\xfc\x38\x07\x10\x6c\xaf\xed\x1d\xc0\x7b\x1a\x22\x93\x18\x81\xe2\xa0\x26\x08\x67\x29\x09\x27\x08\xd7\x7c\xa4\xa6\x44\x20\x [...]
+			compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x7d\x7f\x6f\xdb\x38\xf2\xf7\xff\x79\x15\x83\xe4\x80\xb6\x40\x64\xc7\x49\xda\xdd\xf5\xf3\x47\x91\x26\xdb\xfb\xfa\x69\x37\x2d\x92\xf4\x0e\xf7\xb4\x3d\x80\x96\xc6\x36\x2f\x12\xa9\x23\xa9\x38\x7e\xb6\x7d\xef\x5f\xf0\x87\x64\xd9\xb1\x64\xca\xb1\xbb\x29\x20\x02\x8b\xad\x2d\x6a\x38\x33\x1c\x0e\x67\x86\xfc\x38\x07\x10\x6c\xaf\xed\x1d\xc0\x7b\x1a\x22\x93\x18\x81\xe2\xa0\x26\x08\x67\x29\x09\x27\x08\xd7\x7c\xa4\xa6\x44\x20\x [...]
 		},
 		"/crd/bases/camel.apache.org_kamelets.yaml": &vfsgen۰CompressedFileInfo{
 			name:             "camel.apache.org_kamelets.yaml",
 			modTime:          time.Time{},
-			uncompressedSize: 24017,
+			uncompressedSize: 24019,
 
-			compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x5c\x7d\x4f\xeb\x38\xba\xff\xbf\x9f\xe2\x11\x8c\x34\x1c\x89\x94\x96\xc2\x99\x73\x7a\xff\x40\x0c\x1c\xf6\xf6\x0e\x03\x88\xc2\xae\xe6\xc2\x59\xc9\x4d\x9e\xb6\x5e\x12\x3b\x6b\x3b\x14\x76\xe0\xbb\x5f\xd9\x4e\xda\xf4\x25\x89\x53\x0a\x7b\x74\xb5\x96\x46\x43\x52\xfb\xe7\xe7\xcd\x8f\xdf\x7e\x27\xdb\xe0\x6d\xae\x34\xb6\xe1\x9c\xfa\xc8\x24\x06\xa0\x38\xa8\x31\xc2\x71\x4c\xfc\x31\x42\x9f\x0f\xd5\x84\x08\x84\x33\x9e\xb0\x80\x [...]
+			compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x5c\x7d\x4f\xeb\x38\xba\xff\xbf\x9f\xe2\x11\x8c\x34\x1c\x89\x94\x96\xc2\x99\x73\x7a\xff\x40\x0c\x1c\xf6\xf6\x0e\x03\x88\xc2\xae\xe6\xc2\x59\xc9\x4d\x9e\xb6\x5e\x12\x3b\x6b\x3b\x14\x76\xe0\xbb\x5f\xd9\x4e\xda\xf4\x25\x89\x53\x0a\x7b\x74\xb5\x96\x46\x43\x52\xfb\xe7\xe7\xcd\x8f\xdf\x7e\x27\xdb\xe0\x6d\xae\x34\xb6\xe1\x9c\xfa\xc8\x24\x06\xa0\x38\xa8\x31\xc2\x71\x4c\xfc\x31\x42\x9f\x0f\xd5\x84\x08\x84\x33\x9e\xb0\x80\x [...]
 		},
 		"/default": &vfsgen۰DirInfo{
 			name:    "default",

[camel-k] 04/06: newly generated files

Posted by dj...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

djencks pushed a commit to branch release-1.4.x
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit 5c83604ab470014e05c11c8ecdfc4d443f47f988
Author: David Jencks <dj...@apache.org>
AuthorDate: Fri Jan 28 13:54:24 2022 -0800

    newly generated files
---
 addons/tracing/zz_desc_generated.go | 1 +
 addons/tracing/zz_generated_doc.go  | 1 +
 2 files changed, 2 insertions(+)

diff --git a/addons/tracing/zz_desc_generated.go b/addons/tracing/zz_desc_generated.go
new file mode 100644
index 0000000..5881eae
--- /dev/null
+++ b/addons/tracing/zz_desc_generated.go
@@ -0,0 +1 @@
+package tracing
diff --git a/addons/tracing/zz_generated_doc.go b/addons/tracing/zz_generated_doc.go
new file mode 100644
index 0000000..5881eae
--- /dev/null
+++ b/addons/tracing/zz_generated_doc.go
@@ -0,0 +1 @@
+package tracing

[camel-k] 02/06: Generate api documentation similarly to later versions.

Posted by dj...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

djencks pushed a commit to branch release-1.4.x
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit 2e59c983b5c95e7e8954e1d7b34af15139023eb6
Author: David Jencks <dj...@apache.org>
AuthorDate: Thu Jan 20 20:47:52 2022 -0800

    Generate api documentation similarly to later versions.
    
    update gen_crd_api script/config to use go run and asciidoc config
    
    add /github.com to .gitignore, it's similar to /vendor
    
    use AsciiDoc API templates
---
 .gitignore                                      |  1 +
 script/gen_crd/gen-crd-api-config.json          | 22 ++++++++++++++
 script/gen_crd/gen-kamelets-crd-api-config.json | 26 +++++++++++++++++
 script/gen_crd/gen_crd_api.sh                   | 39 +++++++++++++++++++++++++
 script/gen_crd/template/members.tpl             | 30 +++++++++++++++++++
 script/gen_crd/template/pkg.tpl                 | 32 ++++++++++++++++++++
 script/gen_crd/template/type.tpl                | 32 ++++++++++++++++++++
 script/gen_doc.sh                               |  6 +++-
 8 files changed, 187 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore
index 4698207..0d4d8b1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,6 @@
 # Go vendor
 /vendor
+/github.com
 
 # Binary files
 /kamel
diff --git a/script/gen_crd/gen-crd-api-config.json b/script/gen_crd/gen-crd-api-config.json
new file mode 100644
index 0000000..1a6ae0d
--- /dev/null
+++ b/script/gen_crd/gen-crd-api-config.json
@@ -0,0 +1,22 @@
+{
+    "hideMemberFields": [
+        "TypeMeta",
+        "baseErrorHandler"
+    ],
+    "hideTypePatterns": [
+        "ParseError$",
+        "List$"
+    ],
+    "externalPackages": [
+        {
+            "typeMatchPrefix": "^k8s\\.io/(api|apimachinery/pkg/apis)/",
+            "docsURLTemplate": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#{{lower .TypeIdentifier}}-{{arrIndex .PackageSegments -1}}-{{arrIndex .PackageSegments -2}}"
+        }
+    ],
+    "typeDisplayNamePrefixOverrides": {
+        "k8s.io/api/": "Kubernetes ",
+        "k8s.io/apimachinery/pkg/apis/": "Kubernetes "
+    },
+    "markdownDisabled": true,
+    "asciiDoc": true
+}
diff --git a/script/gen_crd/gen-kamelets-crd-api-config.json b/script/gen_crd/gen-kamelets-crd-api-config.json
new file mode 100644
index 0000000..0e67016
--- /dev/null
+++ b/script/gen_crd/gen-kamelets-crd-api-config.json
@@ -0,0 +1,26 @@
+{
+    "hideMemberFields": [
+        "TypeMeta",
+        "baseErrorHandler"
+    ],
+    "hideTypePatterns": [
+        "ParseError$",
+        "List$"
+    ],
+    "externalPackages": [
+        {
+            "typeMatchPrefix": "^k8s\\.io/(api|apimachinery/pkg/apis)/",
+            "docsURLTemplate": "https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#{{lower .TypeIdentifier}}-{{arrIndex .PackageSegments -1}}-{{arrIndex .PackageSegments -2}}"
+        },
+        {
+          "typeMatchPrefix": "^github\\.com/apache/camel-k/pkg/apis/camel/v1\\.",
+          "docsURLTemplate": "xref:apis/camel-k.adoc#_camel_apache_org_v1_{{.TypeIdentifier}}"
+        }
+    ],
+    "typeDisplayNamePrefixOverrides": {
+        "k8s.io/api/": "Kubernetes ",
+        "k8s.io/apimachinery/pkg/apis/": "Kubernetes "
+    },
+    "markdownDisabled": true,
+    "asciiDoc": true
+}
diff --git a/script/gen_crd/gen_crd_api.sh b/script/gen_crd/gen_crd_api.sh
new file mode 100755
index 0000000..f4d696f
--- /dev/null
+++ b/script/gen_crd/gen_crd_api.sh
@@ -0,0 +1,39 @@
+#!/bin/sh
+
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+location=$(dirname $0)
+rootdir=$location/../..
+crd_file_camel=$rootdir/docs/modules/ROOT/partials/apis/camel-k-crds.adoc
+crd_file_kamelets=$rootdir/docs/modules/ROOT/partials/apis/kamelets-crds.adoc
+
+echo "Generating CRD API documentation..."
+# to run a local copy use something like
+#go run /Users/david/projects/camel/gen-crd-api-reference-docs/main.go \
+#you will probably need to comment out use of blackfriday.
+go run github.com/djencks/gen-crd-api-reference-docs@7400a10b36d7cfa7563ea48ce0df15a9d4c2de87 \
+    -config $location/gen-crd-api-config.json \
+    -template-dir $location/template \
+    -api-dir "github.com/apache/camel-k/pkg/apis/camel/v1" \
+    -out-file $crd_file_camel
+
+go run github.com/djencks/gen-crd-api-reference-docs@7400a10b36d7cfa7563ea48ce0df15a9d4c2de87 \
+    -config $location/gen-kamelets-crd-api-config.json \
+    -template-dir $location/template \
+    -api-dir "github.com/apache/camel-k/pkg/apis/camel/v1alpha1" \
+    -out-file $crd_file_kamelets
+
+echo "Generating CRD API documentation... Done."
diff --git a/script/gen_crd/template/members.tpl b/script/gen_crd/template/members.tpl
new file mode 100644
index 0000000..5771f11
--- /dev/null
+++ b/script/gen_crd/template/members.tpl
@@ -0,0 +1,30 @@
+{{ define "members" -}}
+
+{{ range .Members -}}
+  {{- if not (hiddenMember .) -}}
+|`{{ fieldName . }}` +
+{{ if linkForType .Type -}}
+  {{- if isLocalType .Type -}}
+*xref:{{ linkForType .Type}}[{{ asciiDocAttributeEscape (typeDisplayName .Type) }}]*
+  {{- else -}}
+*{{ linkForType .Type}}[{{ asciiDocAttributeEscape (typeDisplayName .Type) }}]*
+  {{- end -}}
+{{- else -}}
+  {{- typeDisplayName .Type -}}
+{{- end }}
+|{{ if fieldEmbedded . -}}
+(Members of `{{ fieldName . }}` are embedded into this type.)
+{{- end }}
+{{ if isOptionalMember . -}}
+*(Optional)*
+{{- end }}
+
+{{ renderComments .CommentLines }}
+
+{{ if and (eq (.Type.Name.Name) "ObjectMeta") -}}
+Refer to the Kubernetes API documentation for the fields of the `metadata` field.
+{{ end -}}
+{{- end -}}
+{{- end -}}
+
+{{- end }}
diff --git a/script/gen_crd/template/pkg.tpl b/script/gen_crd/template/pkg.tpl
new file mode 100644
index 0000000..c0cb3b4
--- /dev/null
+++ b/script/gen_crd/template/pkg.tpl
@@ -0,0 +1,32 @@
+{{ define "packages" -}}
+{{ range .packages -}}
+
+[#{{ packageAnchorID . }}]
+== {{ packageDisplayName . }}
+
+    {{- with (index .GoPackages 0 ) -}}
+        {{- with .DocComments }}
+
+{{ renderComments . }}
+        {{- end -}}
+    {{- end }}
+
+==  Resource Types
+
+    {{- range (visibleTypes (sortedTypes .Types)) -}}
+        {{- if isExportedType . -}}
+            {{- template "type" .  }}
+        {{- end -}}
+    {{- end }}
+
+== Internal Types
+
+    {{- range (visibleTypes (sortedTypes .Types)) -}}
+        {{- if not (isExportedType .) -}}
+            {{- template "type" .  }}
+        {{- end -}}
+    {{- end -}}
+
+{{- end -}}
+
+{{- end }}
diff --git a/script/gen_crd/template/type.tpl b/script/gen_crd/template/type.tpl
new file mode 100644
index 0000000..d6f0dcf
--- /dev/null
+++ b/script/gen_crd/template/type.tpl
@@ -0,0 +1,32 @@
+{{ define "type" }}
+
+[#{{ anchorIDForType . }}]
+=== {{ .Name.Name }}{{ if eq .Kind "Alias" }}(`{{.Underlying}}` alias){{ end }}
+{{- with (typeReferences .) }}
+
+*Appears on:*
+{{ range . }}
+* <<{{ linkForType . }}, {{ typeDisplayName . }}>>
+{{- end -}}
+{{- end }}
+
+{{ renderComments .CommentLines }}
+{{ if .Members }}
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+{{ if isExportedType . }}
+|`apiVersion` +
+string
+|`{{apiGroup .}}`
+
+|`kind` +
+string
+|`{{.Name.Name}}`
+{{- end }}
+{{ template "members" . }}
+|===
+{{- end -}}
+
+{{- end -}}
diff --git a/script/gen_doc.sh b/script/gen_doc.sh
index 95ad4c9..d5f8371 100755
--- a/script/gen_doc.sh
+++ b/script/gen_doc.sh
@@ -18,7 +18,11 @@
 location=$(dirname $0)
 rootdir=$location/..
 
-echo "Generating traits documentation..."
+echo "Generating API documentation..."
+$location/gen_crd/gen_crd_api.sh
+echo "Generating API documentation... done!"
 
+echo "Generating traits documentation..."
 cd $rootdir
 go run ./cmd/util/doc-gen --input-dirs ./pkg/trait --input-dirs ./addons/master --input-dirs ./addons/threescale --input-dirs ./addons/tracing
+echo "Generating traits documentation... done!"
\ No newline at end of file

[camel-k] 03/06: Switch to separate camel-k and kamelets API pages. Generated AsciiDoc API docs

Posted by dj...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

djencks pushed a commit to branch release-1.4.x
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit 8544ac677fb93e6317a679714170f35bde6ceff2
Author: David Jencks <dj...@apache.org>
AuthorDate: Thu Jan 20 20:56:57 2022 -0800

    Switch to separate camel-k and kamelets API pages.
    Generated AsciiDoc API docs
---
 docs/modules/ROOT/nav-end.adoc                     |    3 +
 docs/modules/ROOT/pages/apis/camel-k.adoc          |    4 +
 docs/modules/ROOT/pages/apis/kamelets.adoc         |    3 +
 docs/modules/ROOT/partials/apis/camel-k-crds.adoc  | 2830 ++++++++++++++++++++
 docs/modules/ROOT/partials/apis/kamelets-crds.adoc | 1161 ++++++++
 5 files changed, 4001 insertions(+)

diff --git a/docs/modules/ROOT/nav-end.adoc b/docs/modules/ROOT/nav-end.adoc
index 2929ab5..977cb34 100644
--- a/docs/modules/ROOT/nav-end.adoc
+++ b/docs/modules/ROOT/nav-end.adoc
@@ -15,6 +15,9 @@
 ** xref:architecture/runtime.adoc[Runtime]
 ** xref:architecture/traits.adoc[Traits]
 ** xref:architecture/sources.adoc[Sources]
+* API
+** xref:apis/camel-k.adoc[Camel-K API]
+** xref:apis/kamelets.adoc[Kamelets API]
 * xref:uninstalling.adoc[Uninstalling]
 * xref:contributing/developers.adoc[Contributing]
 ** xref:contributing/local-development.adoc[Local development]
diff --git a/docs/modules/ROOT/pages/apis/camel-k.adoc b/docs/modules/ROOT/pages/apis/camel-k.adoc
new file mode 100644
index 0000000..be64b8c
--- /dev/null
+++ b/docs/modules/ROOT/pages/apis/camel-k.adoc
@@ -0,0 +1,4 @@
+= Camel K API
+:page-aliases: camel.adoc
+
+include::partial$apis/camel-k-crds.adoc[]
diff --git a/docs/modules/ROOT/pages/apis/kamelets.adoc b/docs/modules/ROOT/pages/apis/kamelets.adoc
new file mode 100644
index 0000000..f9139da
--- /dev/null
+++ b/docs/modules/ROOT/pages/apis/kamelets.adoc
@@ -0,0 +1,3 @@
+= Kamelets API
+
+include::partial$apis/kamelets-crds.adoc[]
diff --git a/docs/modules/ROOT/partials/apis/camel-k-crds.adoc b/docs/modules/ROOT/partials/apis/camel-k-crds.adoc
new file mode 100644
index 0000000..c276ec1
--- /dev/null
+++ b/docs/modules/ROOT/partials/apis/camel-k-crds.adoc
@@ -0,0 +1,2830 @@
+[#_camel_apache_org_v1]
+== camel.apache.org/v1
+
+Package v1 contains API Schema definitions for the camel v1 API group
+
+==  Resource Types
+
+[#_camel_apache_org_v1_Build]
+=== Build
+
+Build is the Schema for the builds API
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`apiVersion` +
+string
+|`camel.apache.org/v1`
+
+|`kind` +
+string
+|`Build`
+|`metadata` +
+*https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#objectmeta-v1-meta[Kubernetes meta/v1.ObjectMeta]*
+|
+
+
+
+
+Refer to the Kubernetes API documentation for the fields of the `metadata` field.
+|`spec` +
+*xref:#_camel_apache_org_v1_BuildSpec[BuildSpec]*
+|
+
+
+
+
+|`status` +
+*xref:#_camel_apache_org_v1_BuildStatus[BuildStatus]*
+|
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1_CamelCatalog]
+=== CamelCatalog
+
+CamelCatalog is the Schema for the camelcatalogs API
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`apiVersion` +
+string
+|`camel.apache.org/v1`
+
+|`kind` +
+string
+|`CamelCatalog`
+|`metadata` +
+*https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#objectmeta-v1-meta[Kubernetes meta/v1.ObjectMeta]*
+|
+
+
+
+
+Refer to the Kubernetes API documentation for the fields of the `metadata` field.
+|`status` +
+*xref:#_camel_apache_org_v1_CamelCatalogStatus[CamelCatalogStatus]*
+|
+
+
+
+
+|`spec` +
+*xref:#_camel_apache_org_v1_CamelCatalogSpec[CamelCatalogSpec]*
+|
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1_Integration]
+=== Integration
+
+Integration is the Schema for the integrations API
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`apiVersion` +
+string
+|`camel.apache.org/v1`
+
+|`kind` +
+string
+|`Integration`
+|`metadata` +
+*https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#objectmeta-v1-meta[Kubernetes meta/v1.ObjectMeta]*
+|
+
+
+
+
+Refer to the Kubernetes API documentation for the fields of the `metadata` field.
+|`spec` +
+*xref:#_camel_apache_org_v1_IntegrationSpec[IntegrationSpec]*
+|
+
+
+
+
+|`status` +
+*xref:#_camel_apache_org_v1_IntegrationStatus[IntegrationStatus]*
+|
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1_IntegrationKit]
+=== IntegrationKit
+
+IntegrationKit is the Schema for the integrationkits API
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`apiVersion` +
+string
+|`camel.apache.org/v1`
+
+|`kind` +
+string
+|`IntegrationKit`
+|`metadata` +
+*https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#objectmeta-v1-meta[Kubernetes meta/v1.ObjectMeta]*
+|
+
+
+
+
+Refer to the Kubernetes API documentation for the fields of the `metadata` field.
+|`spec` +
+*xref:#_camel_apache_org_v1_IntegrationKitSpec[IntegrationKitSpec]*
+|
+
+
+
+
+|`status` +
+*xref:#_camel_apache_org_v1_IntegrationKitStatus[IntegrationKitStatus]*
+|
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1_IntegrationPlatform]
+=== IntegrationPlatform
+
+IntegrationPlatform is the Schema for the integrationplatforms API
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`apiVersion` +
+string
+|`camel.apache.org/v1`
+
+|`kind` +
+string
+|`IntegrationPlatform`
+|`metadata` +
+*https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#objectmeta-v1-meta[Kubernetes meta/v1.ObjectMeta]*
+|
+
+
+
+
+Refer to the Kubernetes API documentation for the fields of the `metadata` field.
+|`spec` +
+*xref:#_camel_apache_org_v1_IntegrationPlatformSpec[IntegrationPlatformSpec]*
+|
+
+
+
+
+|`status` +
+*xref:#_camel_apache_org_v1_IntegrationPlatformStatus[IntegrationPlatformStatus]*
+|
+
+
+
+
+
+|===
+
+== Internal Types
+
+[#_camel_apache_org_v1_Artifact]
+=== Artifact
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_BuildStatus, BuildStatus>>
+* <<#_camel_apache_org_v1_IntegrationKitStatus, IntegrationKitStatus>>
+
+Artifact --
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`id` +
+string
+|
+
+
+
+
+|`location` +
+string
+|
+
+
+
+
+|`target` +
+string
+|
+
+
+
+
+|`checksum` +
+string
+|
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1_BaseTask]
+=== BaseTask
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_BuildahTask, BuildahTask>>
+* <<#_camel_apache_org_v1_BuilderTask, BuilderTask>>
+* <<#_camel_apache_org_v1_KanikoTask, KanikoTask>>
+* <<#_camel_apache_org_v1_S2iTask, S2iTask>>
+* <<#_camel_apache_org_v1_SpectrumTask, SpectrumTask>>
+
+BaseTask --
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`name` +
+string
+|
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1_BuildCondition]
+=== BuildCondition
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_BuildStatus, BuildStatus>>
+
+BuildCondition describes the state of a resource at a certain point.
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`type` +
+*xref:#_camel_apache_org_v1_BuildConditionType[BuildConditionType]*
+|
+
+
+Type of integration condition.
+
+|`status` +
+*https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#conditionstatus-v1-core[Kubernetes core/v1.ConditionStatus]*
+|
+
+
+Status of the condition, one of True, False, Unknown.
+
+|`lastUpdateTime` +
+*https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#time-v1-meta[Kubernetes meta/v1.Time]*
+|
+
+
+The last time this condition was updated.
+
+|`lastTransitionTime` +
+*https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#time-v1-meta[Kubernetes meta/v1.Time]*
+|
+
+
+Last time the condition transitioned from one status to another.
+
+|`reason` +
+string
+|
+
+
+The reason for the condition's last transition.
+
+|`message` +
+string
+|
+
+
+A human readable message indicating details about the transition.
+
+
+|===
+
+[#_camel_apache_org_v1_BuildConditionType]
+=== BuildConditionType(`string` alias)
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_BuildCondition, BuildCondition>>
+
+BuildConditionType --
+
+
+[#_camel_apache_org_v1_BuildPhase]
+=== BuildPhase(`string` alias)
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_BuildStatus, BuildStatus>>
+
+BuildPhase --
+
+
+[#_camel_apache_org_v1_BuildSpec]
+=== BuildSpec
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_Build, Build>>
+
+BuildSpec defines the desired state of Build
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`tasks` +
+*xref:#_camel_apache_org_v1_Task[[\]Task]*
+|
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1_BuildStatus]
+=== BuildStatus
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_Build, Build>>
+
+BuildStatus defines the observed state of Build
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`phase` +
+*xref:#_camel_apache_org_v1_BuildPhase[BuildPhase]*
+|
+
+
+
+
+|`image` +
+string
+|
+
+
+
+
+|`digest` +
+string
+|
+
+
+
+
+|`baseImage` +
+string
+|
+
+
+
+
+|`artifacts` +
+*xref:#_camel_apache_org_v1_Artifact[[\]Artifact]*
+|
+
+
+
+
+|`error` +
+string
+|
+
+
+
+
+|`failure` +
+*xref:#_camel_apache_org_v1_Failure[Failure]*
+|
+
+
+
+
+|`startedAt` +
+*https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#time-v1-meta[Kubernetes meta/v1.Time]*
+|
+
+
+
+
+|`platform` +
+string
+|
+
+
+
+
+|`conditions` +
+*xref:#_camel_apache_org_v1_BuildCondition[[\]BuildCondition]*
+|
+
+
+
+
+|`duration` +
+string
+|
+
+
+Change to Duration / ISO 8601 when CRD uses OpenAPI spec v3
+https://github.com/OAI/OpenAPI-Specification/issues/845
+
+
+|===
+
+[#_camel_apache_org_v1_BuildahTask]
+=== BuildahTask
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_Task, Task>>
+
+BuildahTask --
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`BaseTask` +
+*xref:#_camel_apache_org_v1_BaseTask[BaseTask]*
+|(Members of `BaseTask` are embedded into this type.)
+
+
+
+
+|`PublishTask` +
+*xref:#_camel_apache_org_v1_PublishTask[PublishTask]*
+|(Members of `PublishTask` are embedded into this type.)
+
+
+
+
+|`verbose` +
+bool
+|
+
+
+
+
+|`httpProxySecret` +
+string
+|
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1_BuilderTask]
+=== BuilderTask
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_Task, Task>>
+
+BuilderTask --
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`BaseTask` +
+*xref:#_camel_apache_org_v1_BaseTask[BaseTask]*
+|(Members of `BaseTask` are embedded into this type.)
+
+
+
+
+|`baseImage` +
+string
+|
+
+
+
+
+|`runtime` +
+*xref:#_camel_apache_org_v1_RuntimeSpec[RuntimeSpec]*
+|
+
+
+
+
+|`sources` +
+*xref:#_camel_apache_org_v1_SourceSpec[[\]SourceSpec]*
+|
+
+
+
+
+|`resources` +
+*xref:#_camel_apache_org_v1_ResourceSpec[[\]ResourceSpec]*
+|
+
+
+
+
+|`dependencies` +
+[]string
+|
+
+
+
+
+|`steps` +
+[]string
+|
+
+
+
+
+|`maven` +
+*xref:#_camel_apache_org_v1_MavenSpec[MavenSpec]*
+|
+
+
+
+
+|`buildDir` +
+string
+|
+
+
+
+
+|`properties` +
+map[string]string
+|
+
+
+
+
+|`timeout` +
+*https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#duration-v1-meta[Kubernetes meta/v1.Duration]*
+|
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1_CamelArtifact]
+=== CamelArtifact
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_CamelCatalogSpec, CamelCatalogSpec>>
+
+CamelArtifact --
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`CamelArtifactDependency` +
+*xref:#_camel_apache_org_v1_CamelArtifactDependency[CamelArtifactDependency]*
+|(Members of `CamelArtifactDependency` are embedded into this type.)
+
+
+
+
+|`schemes` +
+*xref:#_camel_apache_org_v1_CamelScheme[[\]CamelScheme]*
+|
+
+
+
+
+|`languages` +
+[]string
+|
+
+
+
+
+|`dataformats` +
+[]string
+|
+
+
+
+
+|`dependencies` +
+*xref:#_camel_apache_org_v1_CamelArtifactDependency[[\]CamelArtifactDependency]*
+|
+
+
+
+
+|`javaTypes` +
+[]string
+|
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1_CamelArtifactDependency]
+=== CamelArtifactDependency
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_CamelArtifact, CamelArtifact>>
+* <<#_camel_apache_org_v1_CamelSchemeScope, CamelSchemeScope>>
+
+CamelArtifactDependency represent a maven's dependency
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`MavenArtifact` +
+*xref:#_camel_apache_org_v1_MavenArtifact[MavenArtifact]*
+|(Members of `MavenArtifact` are embedded into this type.)
+
+
+
+
+|`exclusions` +
+*xref:#_camel_apache_org_v1_CamelArtifactExclusion[[\]CamelArtifactExclusion]*
+|
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1_CamelArtifactExclusion]
+=== CamelArtifactExclusion
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_CamelArtifactDependency, CamelArtifactDependency>>
+
+CamelArtifactExclusion --
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`groupId` +
+string
+|
+
+
+
+
+|`artifactId` +
+string
+|
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1_CamelCatalogSpec]
+=== CamelCatalogSpec
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_CamelCatalog, CamelCatalog>>
+
+CamelCatalogSpec defines the desired state of CamelCatalog
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`runtime` +
+*xref:#_camel_apache_org_v1_RuntimeSpec[RuntimeSpec]*
+|
+
+
+
+
+|`artifacts` +
+*xref:#_camel_apache_org_v1_CamelArtifact[map[string\]github.com/apache/camel-k/pkg/apis/camel/v1.CamelArtifact]*
+|
+
+
+
+
+|`loaders` +
+*xref:#_camel_apache_org_v1_CamelLoader[map[string\]github.com/apache/camel-k/pkg/apis/camel/v1.CamelLoader]*
+|
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1_CamelCatalogStatus]
+=== CamelCatalogStatus
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_CamelCatalog, CamelCatalog>>
+
+CamelCatalogStatus defines the observed state of CamelCatalog
+
+
+[#_camel_apache_org_v1_CamelLoader]
+=== CamelLoader
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_CamelCatalogSpec, CamelCatalogSpec>>
+
+CamelLoader --
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`MavenArtifact` +
+*xref:#_camel_apache_org_v1_MavenArtifact[MavenArtifact]*
+|(Members of `MavenArtifact` are embedded into this type.)
+
+
+
+
+|`languages` +
+[]string
+|
+
+
+
+
+|`dependencies` +
+*xref:#_camel_apache_org_v1_MavenArtifact[[\]MavenArtifact]*
+|
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1_CamelScheme]
+=== CamelScheme
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_CamelArtifact, CamelArtifact>>
+
+CamelScheme --
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`id` +
+string
+|
+
+
+
+
+|`passive` +
+bool
+|
+
+
+
+
+|`http` +
+bool
+|
+
+
+
+
+|`consumer` +
+*xref:#_camel_apache_org_v1_CamelSchemeScope[CamelSchemeScope]*
+|
+
+
+
+
+|`producer` +
+*xref:#_camel_apache_org_v1_CamelSchemeScope[CamelSchemeScope]*
+|
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1_CamelSchemeScope]
+=== CamelSchemeScope
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_CamelScheme, CamelScheme>>
+
+CamelSchemeScope contains scoped information about a scheme
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`dependencies` +
+*xref:#_camel_apache_org_v1_CamelArtifactDependency[[\]CamelArtifactDependency]*
+|
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1_Capability]
+=== Capability
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_RuntimeSpec, RuntimeSpec>>
+
+Capability --
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`dependencies` +
+*xref:#_camel_apache_org_v1_MavenArtifact[[\]MavenArtifact]*
+|
+
+
+
+
+|`metadata` +
+map[string]string
+|
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1_Configurable]
+=== Configurable
+
+Configurable --
+
+
+[#_camel_apache_org_v1_ConfigurationSpec]
+=== ConfigurationSpec
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_IntegrationKitSpec, IntegrationKitSpec>>
+* <<#_camel_apache_org_v1_IntegrationPlatformSpec, IntegrationPlatformSpec>>
+* <<#_camel_apache_org_v1_IntegrationSpec, IntegrationSpec>>
+* <<#_camel_apache_org_v1_IntegrationStatus, IntegrationStatus>>
+
+ConfigurationSpec --
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`type` +
+string
+|
+
+
+
+
+|`value` +
+string
+|
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1_DataSpec]
+=== DataSpec
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_ResourceSpec, ResourceSpec>>
+* <<#_camel_apache_org_v1_SourceSpec, SourceSpec>>
+
+DataSpec --
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`name` +
+string
+|
+
+
+
+
+|`content` +
+string
+|
+
+
+
+
+|`rawContent` +
+[]byte
+|
+
+
+
+
+|`contentRef` +
+string
+|
+
+
+
+
+|`contentKey` +
+string
+|
+
+
+
+
+|`contentType` +
+string
+|
+
+
+
+
+|`compression` +
+bool
+|
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1_Failure]
+=== Failure
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_BuildStatus, BuildStatus>>
+* <<#_camel_apache_org_v1_IntegrationKitStatus, IntegrationKitStatus>>
+* <<#_camel_apache_org_v1_IntegrationStatus, IntegrationStatus>>
+
+Failure --
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`reason` +
+string
+|
+
+
+
+
+|`time` +
+*https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#time-v1-meta[Kubernetes meta/v1.Time]*
+|
+
+
+
+
+|`recovery` +
+*xref:#_camel_apache_org_v1_FailureRecovery[FailureRecovery]*
+|
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1_FailureRecovery]
+=== FailureRecovery
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_Failure, Failure>>
+
+FailureRecovery --
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`attempt` +
+int
+|
+
+
+
+
+|`attemptMax` +
+int
+|
+
+
+
+
+|`attemptTime` +
+*https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#time-v1-meta[Kubernetes meta/v1.Time]*
+|
+*(Optional)*
+
+
+
+
+|===
+
+[#_camel_apache_org_v1_Flow]
+=== Flow
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_IntegrationSpec, IntegrationSpec>>
+
+Flow is an unstructured object representing a Camel Flow in YAML/JSON DSL
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`RawMessage` +
+*xref:#_camel_apache_org_v1_RawMessage[RawMessage]*
+|(Members of `RawMessage` are embedded into this type.)
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1_IntegrationCondition]
+=== IntegrationCondition
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_IntegrationStatus, IntegrationStatus>>
+
+IntegrationCondition describes the state of a resource at a certain point.
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`type` +
+*xref:#_camel_apache_org_v1_IntegrationConditionType[IntegrationConditionType]*
+|
+
+
+Type of integration condition.
+
+|`status` +
+*https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#conditionstatus-v1-core[Kubernetes core/v1.ConditionStatus]*
+|
+
+
+Status of the condition, one of True, False, Unknown.
+
+|`lastUpdateTime` +
+*https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#time-v1-meta[Kubernetes meta/v1.Time]*
+|
+
+
+The last time this condition was updated.
+
+|`lastTransitionTime` +
+*https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#time-v1-meta[Kubernetes meta/v1.Time]*
+|
+
+
+Last time the condition transitioned from one status to another.
+
+|`firstTruthyTime` +
+*https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#time-v1-meta[Kubernetes meta/v1.Time]*
+|
+
+
+First time the condition status transitioned to True.
+
+|`reason` +
+string
+|
+
+
+The reason for the condition's last transition.
+
+|`message` +
+string
+|
+
+
+A human readable message indicating details about the transition.
+
+
+|===
+
+[#_camel_apache_org_v1_IntegrationConditionType]
+=== IntegrationConditionType(`string` alias)
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_IntegrationCondition, IntegrationCondition>>
+
+IntegrationConditionType --
+
+
+[#_camel_apache_org_v1_IntegrationKitCondition]
+=== IntegrationKitCondition
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_IntegrationKitStatus, IntegrationKitStatus>>
+
+IntegrationKitCondition describes the state of a resource at a certain point.
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`type` +
+*xref:#_camel_apache_org_v1_IntegrationKitConditionType[IntegrationKitConditionType]*
+|
+
+
+Type of integration condition.
+
+|`status` +
+*https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#conditionstatus-v1-core[Kubernetes core/v1.ConditionStatus]*
+|
+
+
+Status of the condition, one of True, False, Unknown.
+
+|`lastUpdateTime` +
+*https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#time-v1-meta[Kubernetes meta/v1.Time]*
+|
+
+
+The last time this condition was updated.
+
+|`lastTransitionTime` +
+*https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#time-v1-meta[Kubernetes meta/v1.Time]*
+|
+
+
+Last time the condition transitioned from one status to another.
+
+|`reason` +
+string
+|
+
+
+The reason for the condition's last transition.
+
+|`message` +
+string
+|
+
+
+A human readable message indicating details about the transition.
+
+
+|===
+
+[#_camel_apache_org_v1_IntegrationKitConditionType]
+=== IntegrationKitConditionType(`string` alias)
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_IntegrationKitCondition, IntegrationKitCondition>>
+
+IntegrationKitConditionType --
+
+
+[#_camel_apache_org_v1_IntegrationKitPhase]
+=== IntegrationKitPhase(`string` alias)
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_IntegrationKitStatus, IntegrationKitStatus>>
+
+IntegrationKitPhase --
+
+
+[#_camel_apache_org_v1_IntegrationKitSpec]
+=== IntegrationKitSpec
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_IntegrationKit, IntegrationKit>>
+
+IntegrationKitSpec defines the desired state of IntegrationKit
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`image` +
+string
+|
+
+
+
+
+|`dependencies` +
+[]string
+|
+
+
+
+
+|`profile` +
+*xref:#_camel_apache_org_v1_TraitProfile[TraitProfile]*
+|
+
+
+
+
+|`traits` +
+*xref:#_camel_apache_org_v1_TraitSpec[map[string\]github.com/apache/camel-k/pkg/apis/camel/v1.TraitSpec]*
+|
+
+
+
+
+|`configuration` +
+*xref:#_camel_apache_org_v1_ConfigurationSpec[[\]ConfigurationSpec]*
+|
+
+
+
+
+|`repositories` +
+[]string
+|
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1_IntegrationKitStatus]
+=== IntegrationKitStatus
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_IntegrationKit, IntegrationKit>>
+
+IntegrationKitStatus defines the observed state of IntegrationKit
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`phase` +
+*xref:#_camel_apache_org_v1_IntegrationKitPhase[IntegrationKitPhase]*
+|
+
+
+
+
+|`baseImage` +
+string
+|
+
+
+
+
+|`image` +
+string
+|
+
+
+
+
+|`digest` +
+string
+|
+
+
+
+
+|`artifacts` +
+*xref:#_camel_apache_org_v1_Artifact[[\]Artifact]*
+|
+
+
+
+
+|`failure` +
+*xref:#_camel_apache_org_v1_Failure[Failure]*
+|
+
+
+
+
+|`runtimeVersion` +
+string
+|
+
+
+
+
+|`runtimeProvider` +
+*xref:#_camel_apache_org_v1_RuntimeProvider[RuntimeProvider]*
+|
+
+
+
+
+|`platform` +
+string
+|
+
+
+
+
+|`conditions` +
+*xref:#_camel_apache_org_v1_IntegrationKitCondition[[\]IntegrationKitCondition]*
+|
+
+
+
+
+|`version` +
+string
+|
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1_IntegrationPhase]
+=== IntegrationPhase(`string` alias)
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_IntegrationStatus, IntegrationStatus>>
+
+IntegrationPhase --
+
+
+[#_camel_apache_org_v1_IntegrationPlatformBuildPublishStrategy]
+=== IntegrationPlatformBuildPublishStrategy(`string` alias)
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_IntegrationPlatformBuildSpec, IntegrationPlatformBuildSpec>>
+
+IntegrationPlatformBuildPublishStrategy enumerates all implemented publish strategies
+
+
+[#_camel_apache_org_v1_IntegrationPlatformBuildSpec]
+=== IntegrationPlatformBuildSpec
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_IntegrationPlatformSpec, IntegrationPlatformSpec>>
+
+IntegrationPlatformBuildSpec contains platform related build information
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`buildStrategy` +
+*xref:#_camel_apache_org_v1_IntegrationPlatformBuildStrategy[IntegrationPlatformBuildStrategy]*
+|
+
+
+
+
+|`publishStrategy` +
+*xref:#_camel_apache_org_v1_IntegrationPlatformBuildPublishStrategy[IntegrationPlatformBuildPublishStrategy]*
+|
+
+
+
+
+|`runtimeVersion` +
+string
+|
+
+
+
+
+|`runtimeProvider` +
+*xref:#_camel_apache_org_v1_RuntimeProvider[RuntimeProvider]*
+|
+
+
+
+
+|`baseImage` +
+string
+|
+
+
+
+
+|`properties` +
+map[string]string
+|
+
+
+
+
+|`registry` +
+*xref:#_camel_apache_org_v1_IntegrationPlatformRegistrySpec[IntegrationPlatformRegistrySpec]*
+|
+
+
+
+
+|`timeout` +
+*https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#duration-v1-meta[Kubernetes meta/v1.Duration]*
+|
+
+
+
+
+|`persistentVolumeClaim` +
+string
+|
+
+
+
+
+|`maven` +
+*xref:#_camel_apache_org_v1_MavenSpec[MavenSpec]*
+|
+
+
+
+
+|`httpProxySecret` +
+string
+|
+
+
+
+
+|`kanikoBuildCache` +
+bool
+|
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1_IntegrationPlatformBuildStrategy]
+=== IntegrationPlatformBuildStrategy(`string` alias)
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_IntegrationPlatformBuildSpec, IntegrationPlatformBuildSpec>>
+
+IntegrationPlatformBuildStrategy enumerates all implemented build strategies
+
+
+[#_camel_apache_org_v1_IntegrationPlatformCluster]
+=== IntegrationPlatformCluster(`string` alias)
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_IntegrationPlatformSpec, IntegrationPlatformSpec>>
+
+IntegrationPlatformCluster is the kind of orchestration cluster the platform is installed into
+
+
+[#_camel_apache_org_v1_IntegrationPlatformCondition]
+=== IntegrationPlatformCondition
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_IntegrationPlatformStatus, IntegrationPlatformStatus>>
+
+IntegrationPlatformCondition describes the state of a resource at a certain point.
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`type` +
+*xref:#_camel_apache_org_v1_IntegrationPlatformConditionType[IntegrationPlatformConditionType]*
+|
+
+
+Type of integration condition.
+
+|`status` +
+*https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#conditionstatus-v1-core[Kubernetes core/v1.ConditionStatus]*
+|
+
+
+Status of the condition, one of True, False, Unknown.
+
+|`lastUpdateTime` +
+*https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#time-v1-meta[Kubernetes meta/v1.Time]*
+|
+
+
+The last time this condition was updated.
+
+|`lastTransitionTime` +
+*https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#time-v1-meta[Kubernetes meta/v1.Time]*
+|
+
+
+Last time the condition transitioned from one status to another.
+
+|`reason` +
+string
+|
+
+
+The reason for the condition's last transition.
+
+|`message` +
+string
+|
+
+
+A human readable message indicating details about the transition.
+
+
+|===
+
+[#_camel_apache_org_v1_IntegrationPlatformConditionType]
+=== IntegrationPlatformConditionType(`string` alias)
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_IntegrationPlatformCondition, IntegrationPlatformCondition>>
+
+IntegrationPlatformConditionType --
+
+
+[#_camel_apache_org_v1_IntegrationPlatformKameletRepositorySpec]
+=== IntegrationPlatformKameletRepositorySpec
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_IntegrationPlatformKameletSpec, IntegrationPlatformKameletSpec>>
+
+IntegrationPlatformKameletRepositorySpec --
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`uri` +
+string
+|
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1_IntegrationPlatformKameletSpec]
+=== IntegrationPlatformKameletSpec
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_IntegrationPlatformSpec, IntegrationPlatformSpec>>
+
+IntegrationPlatformKameletSpec --
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`repositories` +
+*xref:#_camel_apache_org_v1_IntegrationPlatformKameletRepositorySpec[[\]IntegrationPlatformKameletRepositorySpec]*
+|
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1_IntegrationPlatformPhase]
+=== IntegrationPlatformPhase(`string` alias)
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_IntegrationPlatformStatus, IntegrationPlatformStatus>>
+
+IntegrationPlatformPhase --
+
+
+[#_camel_apache_org_v1_IntegrationPlatformRegistrySpec]
+=== IntegrationPlatformRegistrySpec
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_IntegrationPlatformBuildSpec, IntegrationPlatformBuildSpec>>
+* <<#_camel_apache_org_v1_PublishTask, PublishTask>>
+
+IntegrationPlatformRegistrySpec --
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`insecure` +
+bool
+|
+
+
+
+
+|`address` +
+string
+|
+
+
+
+
+|`secret` +
+string
+|
+
+
+
+
+|`ca` +
+string
+|
+
+
+
+
+|`organization` +
+string
+|
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1_IntegrationPlatformResourcesSpec]
+=== IntegrationPlatformResourcesSpec
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_IntegrationPlatformSpec, IntegrationPlatformSpec>>
+
+IntegrationPlatformResourcesSpec contains platform related resources
+
+
+[#_camel_apache_org_v1_IntegrationPlatformSpec]
+=== IntegrationPlatformSpec
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_IntegrationPlatform, IntegrationPlatform>>
+* <<#_camel_apache_org_v1_IntegrationPlatformStatus, IntegrationPlatformStatus>>
+
+IntegrationPlatformSpec defines the desired state of IntegrationPlatform
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`cluster` +
+*xref:#_camel_apache_org_v1_IntegrationPlatformCluster[IntegrationPlatformCluster]*
+|
+
+
+
+
+|`profile` +
+*xref:#_camel_apache_org_v1_TraitProfile[TraitProfile]*
+|
+
+
+
+
+|`build` +
+*xref:#_camel_apache_org_v1_IntegrationPlatformBuildSpec[IntegrationPlatformBuildSpec]*
+|
+
+
+
+
+|`resources` +
+*xref:#_camel_apache_org_v1_IntegrationPlatformResourcesSpec[IntegrationPlatformResourcesSpec]*
+|
+
+
+
+
+|`traits` +
+*xref:#_camel_apache_org_v1_TraitSpec[map[string\]github.com/apache/camel-k/pkg/apis/camel/v1.TraitSpec]*
+|
+
+
+
+
+|`configuration` +
+*xref:#_camel_apache_org_v1_ConfigurationSpec[[\]ConfigurationSpec]*
+|
+
+
+
+
+|`kamelet` +
+*xref:#_camel_apache_org_v1_IntegrationPlatformKameletSpec[IntegrationPlatformKameletSpec]*
+|
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1_IntegrationPlatformStatus]
+=== IntegrationPlatformStatus
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_IntegrationPlatform, IntegrationPlatform>>
+
+IntegrationPlatformStatus defines the observed state of IntegrationPlatform
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`IntegrationPlatformSpec` +
+*xref:#_camel_apache_org_v1_IntegrationPlatformSpec[IntegrationPlatformSpec]*
+|(Members of `IntegrationPlatformSpec` are embedded into this type.)
+
+
+
+
+|`phase` +
+*xref:#_camel_apache_org_v1_IntegrationPlatformPhase[IntegrationPlatformPhase]*
+|
+
+
+
+
+|`conditions` +
+*xref:#_camel_apache_org_v1_IntegrationPlatformCondition[[\]IntegrationPlatformCondition]*
+|
+
+
+
+
+|`version` +
+string
+|
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1_IntegrationSpec]
+=== IntegrationSpec
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_Integration, Integration>>
+
+IntegrationSpec defines the desired state of Integration
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`replicas` +
+int32
+|
+
+
+
+
+|`sources` +
+*xref:#_camel_apache_org_v1_SourceSpec[[\]SourceSpec]*
+|
+
+
+
+
+|`flows` +
+*xref:#_camel_apache_org_v1_Flow[[\]Flow]*
+|
+
+
+
+
+|`resources` +
+*xref:#_camel_apache_org_v1_ResourceSpec[[\]ResourceSpec]*
+|
+
+
+
+
+|`kit` +
+string
+|
+
+
+Deprecated: use the IntegrationKit field
+
+|`integrationKit` +
+*https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#objectreference-v1-core[Kubernetes core/v1.ObjectReference]*
+|
+
+
+
+
+|`dependencies` +
+[]string
+|
+
+
+
+
+|`profile` +
+*xref:#_camel_apache_org_v1_TraitProfile[TraitProfile]*
+|
+
+
+
+
+|`traits` +
+*xref:#_camel_apache_org_v1_TraitSpec[map[string\]github.com/apache/camel-k/pkg/apis/camel/v1.TraitSpec]*
+|
+
+
+
+
+|`configuration` +
+*xref:#_camel_apache_org_v1_ConfigurationSpec[[\]ConfigurationSpec]*
+|
+
+
+
+
+|`repositories` +
+[]string
+|
+
+
+
+
+|`serviceAccountName` +
+string
+|
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1_IntegrationStatus]
+=== IntegrationStatus
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_Integration, Integration>>
+
+IntegrationStatus defines the observed state of Integration
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`phase` +
+*xref:#_camel_apache_org_v1_IntegrationPhase[IntegrationPhase]*
+|
+
+
+
+
+|`digest` +
+string
+|
+
+
+
+
+|`image` +
+string
+|
+
+
+
+
+|`dependencies` +
+[]string
+|
+
+
+
+
+|`profile` +
+*xref:#_camel_apache_org_v1_TraitProfile[TraitProfile]*
+|
+
+
+
+
+|`kit` +
+string
+|
+
+
+Deprecated: use the IntegrationKit field
+
+|`integrationKit` +
+*https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#objectreference-v1-core[Kubernetes core/v1.ObjectReference]*
+|
+
+
+
+
+|`platform` +
+string
+|
+
+
+
+
+|`generatedSources` +
+*xref:#_camel_apache_org_v1_SourceSpec[[\]SourceSpec]*
+|
+
+
+
+
+|`generatedResources` +
+*xref:#_camel_apache_org_v1_ResourceSpec[[\]ResourceSpec]*
+|
+
+
+
+
+|`failure` +
+*xref:#_camel_apache_org_v1_Failure[Failure]*
+|
+
+
+
+
+|`runtimeVersion` +
+string
+|
+
+
+
+
+|`runtimeProvider` +
+*xref:#_camel_apache_org_v1_RuntimeProvider[RuntimeProvider]*
+|
+
+
+
+
+|`configuration` +
+*xref:#_camel_apache_org_v1_ConfigurationSpec[[\]ConfigurationSpec]*
+|
+
+
+
+
+|`conditions` +
+*xref:#_camel_apache_org_v1_IntegrationCondition[[\]IntegrationCondition]*
+|
+
+
+
+
+|`version` +
+string
+|
+
+
+
+
+|`replicas` +
+int32
+|
+
+
+
+
+|`selector` +
+string
+|
+
+
+
+
+|`capabilities` +
+[]string
+|
+
+
+
+
+|`lastInitTimestamp` +
+*https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#time-v1-meta[Kubernetes meta/v1.Time]*
+|
+
+
+The timestamp representing the last time when this integration was initialized.
+
+
+|===
+
+[#_camel_apache_org_v1_KanikoTask]
+=== KanikoTask
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_Task, Task>>
+
+KanikoTask --
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`BaseTask` +
+*xref:#_camel_apache_org_v1_BaseTask[BaseTask]*
+|(Members of `BaseTask` are embedded into this type.)
+
+
+
+
+|`PublishTask` +
+*xref:#_camel_apache_org_v1_PublishTask[PublishTask]*
+|(Members of `PublishTask` are embedded into this type.)
+
+
+
+
+|`verbose` +
+bool
+|
+
+
+
+
+|`httpProxySecret` +
+string
+|
+
+
+
+
+|`cache` +
+*xref:#_camel_apache_org_v1_KanikoTaskCache[KanikoTaskCache]*
+|
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1_KanikoTaskCache]
+=== KanikoTaskCache
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_KanikoTask, KanikoTask>>
+
+KanikoTaskCache
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`enabled` +
+bool
+|
+
+
+
+
+|`persistentVolumeClaim` +
+string
+|
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1_Language]
+=== Language(`string` alias)
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_SourceSpec, SourceSpec>>
+
+Language --
+
+
+[#_camel_apache_org_v1_MavenArtifact]
+=== MavenArtifact
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_CamelArtifactDependency, CamelArtifactDependency>>
+* <<#_camel_apache_org_v1_CamelLoader, CamelLoader>>
+* <<#_camel_apache_org_v1_Capability, Capability>>
+* <<#_camel_apache_org_v1_RuntimeSpec, RuntimeSpec>>
+
+MavenArtifact --
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`groupId` +
+string
+|
+
+
+
+
+|`artifactId` +
+string
+|
+
+
+
+
+|`version` +
+string
+|
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1_MavenSpec]
+=== MavenSpec
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_BuilderTask, BuilderTask>>
+* <<#_camel_apache_org_v1_IntegrationPlatformBuildSpec, IntegrationPlatformBuildSpec>>
+
+MavenSpec --
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`localRepository` +
+string
+|
+
+
+
+
+|`settings` +
+*xref:#_camel_apache_org_v1_ValueSource[ValueSource]*
+|
+
+
+
+
+|`caSecret` +
+*https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#secretkeyselector-v1-core[Kubernetes core/v1.SecretKeySelector]*
+|
+
+
+The Secret name and key, containing the CA certificate(s) used to connect
+to remote Maven repositories.
+It can contain X.509 certificates, and PKCS#7 formatted certificate chains.
+A JKS formatted keystore is automatically created to store the CA certificate(s),
+and configured to be used as a trusted certificate(s) by the Maven commands.
+Note that the root CA certificates are also imported into the created keystore.
+
+|`timeout` +
+*https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#duration-v1-meta[Kubernetes meta/v1.Duration]*
+|
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1_PlatformInjectable]
+=== PlatformInjectable
+
+PlatformInjectable --
+
+
+[#_camel_apache_org_v1_PublishTask]
+=== PublishTask
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_BuildahTask, BuildahTask>>
+* <<#_camel_apache_org_v1_KanikoTask, KanikoTask>>
+* <<#_camel_apache_org_v1_SpectrumTask, SpectrumTask>>
+
+PublishTask --
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`contextDir` +
+string
+|
+
+
+
+
+|`baseImage` +
+string
+|
+
+
+
+
+|`image` +
+string
+|
+
+
+
+
+|`registry` +
+*xref:#_camel_apache_org_v1_IntegrationPlatformRegistrySpec[IntegrationPlatformRegistrySpec]*
+|
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1_RawMessage]
+=== RawMessage(`[]byte` alias)
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_Flow, Flow>>
+* <<#_camel_apache_org_v1_TraitConfiguration, TraitConfiguration>>
+
+RawMessage is a raw encoded JSON value.
+It implements Marshaler and Unmarshaler and can
+be used to delay JSON decoding or precompute a JSON encoding.
+
+
+[#_camel_apache_org_v1_ResourceCondition]
+=== ResourceCondition
+
+ResourceCondition is a common type for all conditions
+
+
+[#_camel_apache_org_v1_ResourceSpec]
+=== ResourceSpec
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_BuilderTask, BuilderTask>>
+* <<#_camel_apache_org_v1_IntegrationSpec, IntegrationSpec>>
+* <<#_camel_apache_org_v1_IntegrationStatus, IntegrationStatus>>
+
+ResourceSpec --
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`DataSpec` +
+*xref:#_camel_apache_org_v1_DataSpec[DataSpec]*
+|(Members of `DataSpec` are embedded into this type.)
+
+
+
+
+|`type` +
+*xref:#_camel_apache_org_v1_ResourceType[ResourceType]*
+|
+
+
+
+
+|`mountPath` +
+string
+|
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1_ResourceType]
+=== ResourceType(`string` alias)
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_ResourceSpec, ResourceSpec>>
+
+ResourceType --
+
+
+[#_camel_apache_org_v1_RuntimeProvider]
+=== RuntimeProvider(`string` alias)
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_IntegrationKitStatus, IntegrationKitStatus>>
+* <<#_camel_apache_org_v1_IntegrationPlatformBuildSpec, IntegrationPlatformBuildSpec>>
+* <<#_camel_apache_org_v1_IntegrationStatus, IntegrationStatus>>
+* <<#_camel_apache_org_v1_RuntimeSpec, RuntimeSpec>>
+
+RuntimeProvider --
+
+
+[#_camel_apache_org_v1_RuntimeSpec]
+=== RuntimeSpec
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_BuilderTask, BuilderTask>>
+* <<#_camel_apache_org_v1_CamelCatalogSpec, CamelCatalogSpec>>
+
+RuntimeSpec --
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`version` +
+string
+|
+
+
+
+
+|`provider` +
+*xref:#_camel_apache_org_v1_RuntimeProvider[RuntimeProvider]*
+|
+
+
+
+
+|`applicationClass` +
+string
+|
+
+
+
+
+|`dependencies` +
+*xref:#_camel_apache_org_v1_MavenArtifact[[\]MavenArtifact]*
+|
+
+
+
+
+|`metadata` +
+map[string]string
+|
+
+
+
+
+|`capabilities` +
+*xref:#_camel_apache_org_v1_Capability[map[string\]github.com/apache/camel-k/pkg/apis/camel/v1.Capability]*
+|
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1_S2iTask]
+=== S2iTask
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_Task, Task>>
+
+S2iTask --
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`BaseTask` +
+*xref:#_camel_apache_org_v1_BaseTask[BaseTask]*
+|(Members of `BaseTask` are embedded into this type.)
+
+
+
+
+|`contextDir` +
+string
+|
+
+
+
+
+|`tag` +
+string
+|
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1_SourceSpec]
+=== SourceSpec
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_BuilderTask, BuilderTask>>
+* <<#_camel_apache_org_v1_IntegrationSpec, IntegrationSpec>>
+* <<#_camel_apache_org_v1_IntegrationStatus, IntegrationStatus>>
+
+SourceSpec --
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`DataSpec` +
+*xref:#_camel_apache_org_v1_DataSpec[DataSpec]*
+|(Members of `DataSpec` are embedded into this type.)
+
+
+
+
+|`language` +
+*xref:#_camel_apache_org_v1_Language[Language]*
+|
+
+
+
+
+|`loader` +
+string
+|
+
+
+Loader is an optional id of the org.apache.camel.k.RoutesLoader that will
+interpret this source at runtime
+
+|`interceptors` +
+[]string
+|
+
+
+Interceptors are optional identifiers the org.apache.camel.k.RoutesLoader
+uses to pre/post process sources
+
+|`type` +
+*xref:#_camel_apache_org_v1_SourceType[SourceType]*
+|
+
+
+Type defines the kind of source described by this object
+
+|`property-names` +
+[]string
+|
+
+
+List of property names defined in the source (e.g. if type is "template")
+
+
+|===
+
+[#_camel_apache_org_v1_SourceType]
+=== SourceType(`string` alias)
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_SourceSpec, SourceSpec>>
+
+
+
+
+[#_camel_apache_org_v1_SpectrumTask]
+=== SpectrumTask
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_Task, Task>>
+
+SpectrumTask --
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`BaseTask` +
+*xref:#_camel_apache_org_v1_BaseTask[BaseTask]*
+|(Members of `BaseTask` are embedded into this type.)
+
+
+
+
+|`PublishTask` +
+*xref:#_camel_apache_org_v1_PublishTask[PublishTask]*
+|(Members of `PublishTask` are embedded into this type.)
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1_Task]
+=== Task
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_BuildSpec, BuildSpec>>
+
+Task --
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`builder` +
+*xref:#_camel_apache_org_v1_BuilderTask[BuilderTask]*
+|
+
+
+
+
+|`buildah` +
+*xref:#_camel_apache_org_v1_BuildahTask[BuildahTask]*
+|
+
+
+
+
+|`kaniko` +
+*xref:#_camel_apache_org_v1_KanikoTask[KanikoTask]*
+|
+
+
+
+
+|`spectrum` +
+*xref:#_camel_apache_org_v1_SpectrumTask[SpectrumTask]*
+|
+
+
+
+
+|`s2i` +
+*xref:#_camel_apache_org_v1_S2iTask[S2iTask]*
+|
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1_TraitConfiguration]
+=== TraitConfiguration
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_TraitSpec, TraitSpec>>
+
+
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`RawMessage` +
+*xref:#_camel_apache_org_v1_RawMessage[RawMessage]*
+|(Members of `RawMessage` are embedded into this type.)
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1_TraitProfile]
+=== TraitProfile(`string` alias)
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_IntegrationKitSpec, IntegrationKitSpec>>
+* <<#_camel_apache_org_v1_IntegrationPlatformSpec, IntegrationPlatformSpec>>
+* <<#_camel_apache_org_v1_IntegrationSpec, IntegrationSpec>>
+* <<#_camel_apache_org_v1_IntegrationStatus, IntegrationStatus>>
+
+TraitProfile represents lists of traits that are enabled for the specific installation/integration
+
+
+[#_camel_apache_org_v1_TraitSpec]
+=== TraitSpec
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_IntegrationKitSpec, IntegrationKitSpec>>
+* <<#_camel_apache_org_v1_IntegrationPlatformSpec, IntegrationPlatformSpec>>
+* <<#_camel_apache_org_v1_IntegrationSpec, IntegrationSpec>>
+
+A TraitSpec contains the configuration of a trait
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`configuration` +
+*xref:#_camel_apache_org_v1_TraitConfiguration[TraitConfiguration]*
+|
+
+
+TraitConfiguration --
+
+
+|===
+
+[#_camel_apache_org_v1_ValueSource]
+=== ValueSource
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1_MavenSpec, MavenSpec>>
+
+ValueSource --
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`configMapKeyRef` +
+*https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#configmapkeyselector-v1-core[Kubernetes core/v1.ConfigMapKeySelector]*
+|
+
+
+Selects a key of a ConfigMap.
+
+|`secretKeyRef` +
+*https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#secretkeyselector-v1-core[Kubernetes core/v1.SecretKeySelector]*
+|
+
+
+Selects a key of a secret.
+
+
+|===
\ No newline at end of file
diff --git a/docs/modules/ROOT/partials/apis/kamelets-crds.adoc b/docs/modules/ROOT/partials/apis/kamelets-crds.adoc
new file mode 100644
index 0000000..8ed48a7
--- /dev/null
+++ b/docs/modules/ROOT/partials/apis/kamelets-crds.adoc
@@ -0,0 +1,1161 @@
+[#_camel_apache_org_v1alpha1]
+== camel.apache.org/v1alpha1
+
+Package v1alpha1 contains API Schema definitions for the camel v1alpha1 API group
+
+==  Resource Types
+
+[#_camel_apache_org_v1alpha1_Kamelet]
+=== Kamelet
+
+Kamelet is the Schema for the kamelets API
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`apiVersion` +
+string
+|`camel.apache.org/v1alpha1`
+
+|`kind` +
+string
+|`Kamelet`
+|`metadata` +
+*https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#objectmeta-v1-meta[Kubernetes meta/v1.ObjectMeta]*
+|
+
+
+
+
+Refer to the Kubernetes API documentation for the fields of the `metadata` field.
+|`spec` +
+*xref:#_camel_apache_org_v1alpha1_KameletSpec[KameletSpec]*
+|
+
+
+
+
+|`status` +
+*xref:#_camel_apache_org_v1alpha1_KameletStatus[KameletStatus]*
+|
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1alpha1_KameletBinding]
+=== KameletBinding
+
+KameletBinding is the Schema for the kamelets binding API
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`apiVersion` +
+string
+|`camel.apache.org/v1alpha1`
+
+|`kind` +
+string
+|`KameletBinding`
+|`metadata` +
+*https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#objectmeta-v1-meta[Kubernetes meta/v1.ObjectMeta]*
+|
+
+
+
+
+Refer to the Kubernetes API documentation for the fields of the `metadata` field.
+|`spec` +
+*xref:#_camel_apache_org_v1alpha1_KameletBindingSpec[KameletBindingSpec]*
+|
+
+
+
+
+|`status` +
+*xref:#_camel_apache_org_v1alpha1_KameletBindingStatus[KameletBindingStatus]*
+|
+
+
+
+
+
+|===
+
+== Internal Types
+
+[#_camel_apache_org_v1alpha1_AuthorizationSpec]
+=== AuthorizationSpec
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1alpha1_KameletSpec, KameletSpec>>
+
+AuthorizationSpec is TODO (oauth information)
+
+
+[#_camel_apache_org_v1alpha1_BeanProperties]
+=== BeanProperties
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1alpha1_ErrorHandlerBean, ErrorHandlerBean>>
+
+BeanProperties represent an unstructured object properties to be set on a bean
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`RawMessage` +
+*xref:apis/camel-k.adoc#_camel_apache_org_v1_RawMessage[github.com/apache/camel-k/pkg/apis/camel/v1.RawMessage]*
+|
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1alpha1_Endpoint]
+=== Endpoint
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1alpha1_ErrorHandlerDeadLetterChannel, ErrorHandlerDeadLetterChannel>>
+* <<#_camel_apache_org_v1alpha1_KameletBindingSpec, KameletBindingSpec>>
+
+Endpoint represents a source/sink external entity
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`ref` +
+*https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#objectreference-v1-core[Kubernetes core/v1.ObjectReference]*
+|
+
+
+Ref can be used to declare a Kubernetes resource as source/sink endpoint
+
+|`uri` +
+string
+|
+
+
+URI can alternatively be used to specify the (Camel) endpoint explicitly
+
+|`properties` +
+*xref:#_camel_apache_org_v1alpha1_EndpointProperties[EndpointProperties]*
+|
+
+
+Properties are a key value representation of endpoint properties
+
+|`types` +
+*xref:#_camel_apache_org_v1alpha1_EventTypeSpec[map[github.com/apache/camel-k/pkg/apis/camel/v1alpha1.EventSlot\]github.com/apache/camel-k/pkg/apis/camel/v1alpha1.EventTypeSpec]*
+|
+
+
+Types defines the schema of the data produced/consumed by the endpoint
+
+
+|===
+
+[#_camel_apache_org_v1alpha1_EndpointProperties]
+=== EndpointProperties
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1alpha1_Endpoint, Endpoint>>
+
+EndpointProperties is a key/value struct represented as JSON raw to allow numeric/boolean values
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`RawMessage` +
+*xref:apis/camel-k.adoc#_camel_apache_org_v1_RawMessage[github.com/apache/camel-k/pkg/apis/camel/v1.RawMessage]*
+|(Members of `RawMessage` are embedded into this type.)
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1alpha1_EndpointType]
+=== EndpointType(`string` alias)
+
+
+
+
+[#_camel_apache_org_v1alpha1_ErrorHandler]
+=== ErrorHandler
+
+ErrorHandler is a generic interface that represent any type of error handler specification
+
+
+[#_camel_apache_org_v1alpha1_ErrorHandlerBean]
+=== ErrorHandlerBean
+
+ErrorHandlerBean represents a bean error handler type
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`ErrorHandlerNone` +
+*xref:#_camel_apache_org_v1alpha1_ErrorHandlerNone[ErrorHandlerNone]*
+|
+
+
+
+
+|`type` +
+string
+|
+
+
+
+
+|`properties` +
+*xref:#_camel_apache_org_v1alpha1_BeanProperties[BeanProperties]*
+|
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1alpha1_ErrorHandlerDeadLetterChannel]
+=== ErrorHandlerDeadLetterChannel
+
+ErrorHandlerDeadLetterChannel represents a dead letter channel error handler type
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`ErrorHandlerLog` +
+*xref:#_camel_apache_org_v1alpha1_ErrorHandlerLog[ErrorHandlerLog]*
+|
+
+
+
+
+|`endpoint` +
+*xref:#_camel_apache_org_v1alpha1_Endpoint[Endpoint]*
+|
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1alpha1_ErrorHandlerLog]
+=== ErrorHandlerLog
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1alpha1_ErrorHandlerDeadLetterChannel, ErrorHandlerDeadLetterChannel>>
+
+ErrorHandlerLog represent a default (log) error handler type
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`ErrorHandlerNone` +
+*xref:#_camel_apache_org_v1alpha1_ErrorHandlerNone[ErrorHandlerNone]*
+|
+
+
+
+
+|`parameters` +
+*xref:#_camel_apache_org_v1alpha1_ErrorHandlerParameters[ErrorHandlerParameters]*
+|
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1alpha1_ErrorHandlerNone]
+=== ErrorHandlerNone
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1alpha1_ErrorHandlerBean, ErrorHandlerBean>>
+* <<#_camel_apache_org_v1alpha1_ErrorHandlerLog, ErrorHandlerLog>>
+
+ErrorHandlerNone --
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+
+|===
+
+[#_camel_apache_org_v1alpha1_ErrorHandlerParameters]
+=== ErrorHandlerParameters
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1alpha1_ErrorHandlerLog, ErrorHandlerLog>>
+
+ErrorHandlerParameters represent an unstructured object for error handler parameters
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`RawMessage` +
+*xref:apis/camel-k.adoc#_camel_apache_org_v1_RawMessage[github.com/apache/camel-k/pkg/apis/camel/v1.RawMessage]*
+|
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1alpha1_ErrorHandlerRef]
+=== ErrorHandlerRef
+
+ErrorHandlerRef represents a reference to an error handler builder available in the registry
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`RawMessage` +
+*xref:apis/camel-k.adoc#_camel_apache_org_v1_RawMessage[github.com/apache/camel-k/pkg/apis/camel/v1.RawMessage]*
+|
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1alpha1_ErrorHandlerSpec]
+=== ErrorHandlerSpec
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1alpha1_KameletBindingSpec, KameletBindingSpec>>
+
+ErrorHandlerSpec represents an unstructured object for an error handler
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`RawMessage` +
+*xref:apis/camel-k.adoc#_camel_apache_org_v1_RawMessage[github.com/apache/camel-k/pkg/apis/camel/v1.RawMessage]*
+|
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1alpha1_ErrorHandlerType]
+=== ErrorHandlerType(`string` alias)
+
+ErrorHandlerType --
+
+
+[#_camel_apache_org_v1alpha1_EventSlot]
+=== EventSlot(`string` alias)
+
+
+
+
+[#_camel_apache_org_v1alpha1_EventTypeSpec]
+=== EventTypeSpec
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1alpha1_Endpoint, Endpoint>>
+* <<#_camel_apache_org_v1alpha1_KameletSpec, KameletSpec>>
+
+
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`mediaType` +
+string
+|
+
+
+
+
+|`schema` +
+*xref:#_camel_apache_org_v1alpha1_JSONSchemaProps[JSONSchemaProps]*
+|
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1alpha1_ExternalDocumentation]
+=== ExternalDocumentation
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1alpha1_JSONSchemaProps, JSONSchemaProps>>
+
+ExternalDocumentation allows referencing an external resource for extended documentation.
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`description` +
+string
+|
+
+
+
+
+|`url` +
+string
+|
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1alpha1_JSON]
+=== JSON
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1alpha1_JSONSchemaProp, JSONSchemaProp>>
+* <<#_camel_apache_org_v1alpha1_JSONSchemaProps, JSONSchemaProps>>
+
+JSON represents any valid JSON value.
+These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil.
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`RawMessage` +
+*xref:#_camel_apache_org_v1alpha1_RawMessage[RawMessage]*
+|(Members of `RawMessage` are embedded into this type.)
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1alpha1_JSONSchemaProp]
+=== JSONSchemaProp
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1alpha1_JSONSchemaProps, JSONSchemaProps>>
+
+
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`id` +
+string
+|
+
+
+
+
+|`description` +
+string
+|
+
+
+
+
+|`type` +
+string
+|
+
+
+
+
+|`format` +
+string
+|
+
+
+format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated:
+
+- bsonobjectid: a bson object ID, i.e. a 24 characters hex string
+- uri: an URI as parsed by Golang net/url.ParseRequestURI
+- email: an email address as parsed by Golang net/mail.ParseAddress
+- hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034].
+- ipv4: an IPv4 IP as parsed by Golang net.ParseIP
+- ipv6: an IPv6 IP as parsed by Golang net.ParseIP
+- cidr: a CIDR as parsed by Golang net.ParseCIDR
+- mac: a MAC address as parsed by Golang net.ParseMAC
+- uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]\{8}-?[0-9a-f]\{4}-?[0-9a-f]\{4}-?[0-9a-f]\{4}-?[0-9a-f]\{12}$
+- uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]\{8}-?[0-9a-f]\{4}-?3[0-9a-f]\{3}-?[0-9a-f]\{4}-?[0-9a-f]\{12}$
+- uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]\{8}-?[0-9a-f]\{4}-?4[0-9a-f]\{3}-?[89ab][0-9a-f]\{3}-?[0-9a-f]\{12}$
+- uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]\{8}-?[0-9a-f]\{4}-?5[0-9a-f]\{3}-?[89ab][0-9a-f]\{3}-?[0-9a-f]\{12}$
+- isbn: an ISBN10 or ISBN13 number string like "0321751043" or "978-0321751041"
+- isbn10: an ISBN10 number string like "0321751043"
+- isbn13: an ISBN13 number string like "978-0321751041"
+- creditcard: a credit card number defined by the regex ^(?:4[0-9]\{12}(?:[0-9]\{3})?{vbar}5[1-5][0-9]\{14}{vbar}6(?:011{vbar}5[0-9][0-9])[0-9]\{12}{vbar}3[47][0-9]\{13}{vbar}3(?:0[0-5]{vbar}[68][0-9])[0-9]\{11}{vbar}(?:2131{vbar}1800{vbar}35\\d\{3})\\d\{11})$ with any non digit characters mixed in
+- ssn: a U.S. social security number following the regex ^\\d\{3}[- ]?\\d\{2}[- ]?\\d\{4}$
+- hexcolor: an hexadecimal color code like "\#FFFFFF" following the regex ^#?([0-9a-fA-F]\{3}{vbar}[0-9a-fA-F]\{6})$
+- rgbcolor: an RGB color code like rgb like "rgb(255,255,255)"
+- byte: base64 encoded binary data
+- password: any kind of string
+- date: a date string like "2006-01-02" as defined by full-date in RFC3339
+- duration: a duration string like "22 ns" as parsed by Golang time.ParseDuration or compatible with Scala duration format
+- datetime: a date time string like "2014-12-15T19:30:20.000Z" as defined by date-time in RFC3339.
+
+|`title` +
+string
+|
+
+
+
+
+|`default` +
+*xref:#_camel_apache_org_v1alpha1_JSON[JSON]*
+|
+
+
+default is a default value for undefined object fields.
+
+|`maximum` +
+encoding/json.Number
+|
+
+
+
+
+|`exclusiveMaximum` +
+bool
+|
+
+
+
+
+|`minimum` +
+encoding/json.Number
+|
+
+
+
+
+|`exclusiveMinimum` +
+bool
+|
+
+
+
+
+|`maxLength` +
+int64
+|
+
+
+
+
+|`minLength` +
+int64
+|
+
+
+
+
+|`pattern` +
+string
+|
+
+
+
+
+|`maxItems` +
+int64
+|
+
+
+
+
+|`minItems` +
+int64
+|
+
+
+
+
+|`uniqueItems` +
+bool
+|
+
+
+
+
+|`maxProperties` +
+int64
+|
+
+
+
+
+|`minProperties` +
+int64
+|
+
+
+
+
+|`multipleOf` +
+encoding/json.Number
+|
+
+
+
+
+|`enum` +
+*xref:#_camel_apache_org_v1alpha1_JSON[[\]JSON]*
+|
+
+
+
+
+|`example` +
+*xref:#_camel_apache_org_v1alpha1_JSON[JSON]*
+|
+
+
+
+
+|`nullable` +
+bool
+|
+
+
+
+
+|`x-descriptors` +
+[]string
+|
+
+
+The list of descriptors that determine which UI components to use on different views
+
+
+|===
+
+[#_camel_apache_org_v1alpha1_JSONSchemaProps]
+=== JSONSchemaProps
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1alpha1_EventTypeSpec, EventTypeSpec>>
+* <<#_camel_apache_org_v1alpha1_KameletSpec, KameletSpec>>
+
+JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/).
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`id` +
+string
+|
+
+
+
+
+|`description` +
+string
+|
+
+
+
+
+|`title` +
+string
+|
+
+
+
+
+|`properties` +
+*xref:#_camel_apache_org_v1alpha1_JSONSchemaProp[map[string\]github.com/apache/camel-k/pkg/apis/camel/v1alpha1.JSONSchemaProp]*
+|
+
+
+
+
+|`required` +
+[]string
+|
+
+
+
+
+|`example` +
+*xref:#_camel_apache_org_v1alpha1_JSON[JSON]*
+|
+
+
+
+
+|`externalDocs` +
+*xref:#_camel_apache_org_v1alpha1_ExternalDocumentation[ExternalDocumentation]*
+|
+
+
+
+
+|`$schema` +
+*xref:#_camel_apache_org_v1alpha1_JSONSchemaURL[JSONSchemaURL]*
+|
+
+
+
+
+|`type` +
+string
+|
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1alpha1_JSONSchemaURL]
+=== JSONSchemaURL(`string` alias)
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1alpha1_JSONSchemaProps, JSONSchemaProps>>
+
+JSONSchemaURL represents a schema url.
+
+
+[#_camel_apache_org_v1alpha1_KameletBindingCondition]
+=== KameletBindingCondition
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1alpha1_KameletBindingStatus, KameletBindingStatus>>
+
+KameletBindingCondition describes the state of a resource at a certain point.
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`type` +
+*xref:#_camel_apache_org_v1alpha1_KameletBindingConditionType[KameletBindingConditionType]*
+|
+
+
+Type of kameletBinding condition.
+
+|`status` +
+*https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#conditionstatus-v1-core[Kubernetes core/v1.ConditionStatus]*
+|
+
+
+Status of the condition, one of True, False, Unknown.
+
+|`lastUpdateTime` +
+*https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#time-v1-meta[Kubernetes meta/v1.Time]*
+|
+
+
+The last time this condition was updated.
+
+|`lastTransitionTime` +
+*https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#time-v1-meta[Kubernetes meta/v1.Time]*
+|
+
+
+Last time the condition transitioned from one status to another.
+
+|`reason` +
+string
+|
+
+
+The reason for the condition's last transition.
+
+|`message` +
+string
+|
+
+
+A human readable message indicating details about the transition.
+
+
+|===
+
+[#_camel_apache_org_v1alpha1_KameletBindingConditionType]
+=== KameletBindingConditionType(`string` alias)
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1alpha1_KameletBindingCondition, KameletBindingCondition>>
+
+
+
+
+[#_camel_apache_org_v1alpha1_KameletBindingPhase]
+=== KameletBindingPhase(`string` alias)
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1alpha1_KameletBindingStatus, KameletBindingStatus>>
+
+
+
+
+[#_camel_apache_org_v1alpha1_KameletBindingSpec]
+=== KameletBindingSpec
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1alpha1_KameletBinding, KameletBinding>>
+
+KameletBindingSpec --
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`integration` +
+*xref:apis/camel-k.adoc#_camel_apache_org_v1_IntegrationSpec[github.com/apache/camel-k/pkg/apis/camel/v1.IntegrationSpec]*
+|
+
+
+Integration is an optional integration used to specify custom parameters
+
+|`source` +
+*xref:#_camel_apache_org_v1alpha1_Endpoint[Endpoint]*
+|
+
+
+Source is the starting point of the integration defined by this binding
+
+|`sink` +
+*xref:#_camel_apache_org_v1alpha1_Endpoint[Endpoint]*
+|
+
+
+Sink is the destination of the integration defined by this binding
+
+|`errorHandler` +
+*xref:#_camel_apache_org_v1alpha1_ErrorHandlerSpec[ErrorHandlerSpec]*
+|
+
+
+ErrorHandler is an optional handler called upon an error occuring in the integration
+
+|`steps` +
+*xref:#_camel_apache_org_v1alpha1_Endpoint[[\]Endpoint]*
+|
+
+
+Steps contains an optional list of intermediate steps that are executed between the Source and the Sink
+
+
+|===
+
+[#_camel_apache_org_v1alpha1_KameletBindingStatus]
+=== KameletBindingStatus
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1alpha1_KameletBinding, KameletBinding>>
+
+KameletBindingStatus --
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`phase` +
+*xref:#_camel_apache_org_v1alpha1_KameletBindingPhase[KameletBindingPhase]*
+|
+
+
+Phase --
+
+|`conditions` +
+*xref:#_camel_apache_org_v1alpha1_KameletBindingCondition[[\]KameletBindingCondition]*
+|
+
+
+Conditions --
+
+
+|===
+
+[#_camel_apache_org_v1alpha1_KameletCondition]
+=== KameletCondition
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1alpha1_KameletStatus, KameletStatus>>
+
+KameletCondition describes the state of a resource at a certain point.
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`type` +
+*xref:#_camel_apache_org_v1alpha1_KameletConditionType[KameletConditionType]*
+|
+
+
+Type of kamelet condition.
+
+|`status` +
+*https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#conditionstatus-v1-core[Kubernetes core/v1.ConditionStatus]*
+|
+
+
+Status of the condition, one of True, False, Unknown.
+
+|`lastUpdateTime` +
+*https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#time-v1-meta[Kubernetes meta/v1.Time]*
+|
+
+
+The last time this condition was updated.
+
+|`lastTransitionTime` +
+*https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#time-v1-meta[Kubernetes meta/v1.Time]*
+|
+
+
+Last time the condition transitioned from one status to another.
+
+|`reason` +
+string
+|
+
+
+The reason for the condition's last transition.
+
+|`message` +
+string
+|
+
+
+A human readable message indicating details about the transition.
+
+
+|===
+
+[#_camel_apache_org_v1alpha1_KameletConditionType]
+=== KameletConditionType(`string` alias)
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1alpha1_KameletCondition, KameletCondition>>
+
+
+
+
+[#_camel_apache_org_v1alpha1_KameletPhase]
+=== KameletPhase(`string` alias)
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1alpha1_KameletStatus, KameletStatus>>
+
+
+
+
+[#_camel_apache_org_v1alpha1_KameletProperty]
+=== KameletProperty
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1alpha1_KameletStatus, KameletStatus>>
+
+
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`name` +
+string
+|
+
+
+
+
+|`default` +
+string
+|
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1alpha1_KameletSpec]
+=== KameletSpec
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1alpha1_Kamelet, Kamelet>>
+
+KameletSpec defines the desired state of Kamelet
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`definition` +
+*xref:#_camel_apache_org_v1alpha1_JSONSchemaProps[JSONSchemaProps]*
+|
+
+
+
+
+|`sources` +
+*xref:apis/camel-k.adoc#_camel_apache_org_v1_SourceSpec[[\]github.com/apache/camel-k/pkg/apis/camel/v1.SourceSpec]*
+|
+
+
+
+
+|`flow` +
+*xref:apis/camel-k.adoc#_camel_apache_org_v1_Flow[github.com/apache/camel-k/pkg/apis/camel/v1.Flow]*
+|
+
+
+
+
+|`authorization` +
+*xref:#_camel_apache_org_v1alpha1_AuthorizationSpec[AuthorizationSpec]*
+|
+
+
+
+
+|`types` +
+*xref:#_camel_apache_org_v1alpha1_EventTypeSpec[map[github.com/apache/camel-k/pkg/apis/camel/v1alpha1.EventSlot\]github.com/apache/camel-k/pkg/apis/camel/v1alpha1.EventTypeSpec]*
+|
+
+
+
+
+|`dependencies` +
+[]string
+|
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1alpha1_KameletStatus]
+=== KameletStatus
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1alpha1_Kamelet, Kamelet>>
+
+KameletStatus defines the observed state of Kamelet
+
+[cols="2,2a",options="header"]
+|===
+|Field
+|Description
+
+|`phase` +
+*xref:#_camel_apache_org_v1alpha1_KameletPhase[KameletPhase]*
+|
+
+
+
+
+|`conditions` +
+*xref:#_camel_apache_org_v1alpha1_KameletCondition[[\]KameletCondition]*
+|
+
+
+
+
+|`properties` +
+*xref:#_camel_apache_org_v1alpha1_KameletProperty[[\]KameletProperty]*
+|
+
+
+
+
+
+|===
+
+[#_camel_apache_org_v1alpha1_RawMessage]
+=== RawMessage(`[]byte` alias)
+
+*Appears on:*
+
+* <<#_camel_apache_org_v1alpha1_JSON, JSON>>
+
+RawMessage is a raw encoded JSON value.
+It implements Marshaler and Unmarshaler and can
+be used to delay JSON decoding or precompute a JSON encoding.

[camel-k] 06/06: update templates to use exposed sanitizeId function

Posted by dj...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

djencks pushed a commit to branch release-1.4.x
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit 822b729209739dac4b44adcee10f42f14be749bb
Author: David Jencks <dj...@apache.org>
AuthorDate: Sun Jan 30 19:26:39 2022 -0800

    update templates to use exposed sanitizeId function
---
 script/gen_crd/gen_crd_api.sh       | 5 +++--
 script/gen_crd/template/members.tpl | 2 +-
 script/gen_crd/template/pkg.tpl     | 2 +-
 script/gen_crd/template/type.tpl    | 4 ++--
 4 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/script/gen_crd/gen_crd_api.sh b/script/gen_crd/gen_crd_api.sh
index f4d696f..696d21e 100755
--- a/script/gen_crd/gen_crd_api.sh
+++ b/script/gen_crd/gen_crd_api.sh
@@ -24,13 +24,14 @@ echo "Generating CRD API documentation..."
 # to run a local copy use something like
 #go run /Users/david/projects/camel/gen-crd-api-reference-docs/main.go \
 #you will probably need to comment out use of blackfriday.
-go run github.com/djencks/gen-crd-api-reference-docs@7400a10b36d7cfa7563ea48ce0df15a9d4c2de87 \
+go run github.com/djencks/gen-crd-api-reference-docs@e63530f10b55be5f2d82e223d83f86c13e5158e5 \
     -config $location/gen-crd-api-config.json \
     -template-dir $location/template \
     -api-dir "github.com/apache/camel-k/pkg/apis/camel/v1" \
     -out-file $crd_file_camel
 
-go run github.com/djencks/gen-crd-api-reference-docs@7400a10b36d7cfa7563ea48ce0df15a9d4c2de87 \
+#go run /Users/david/projects/camel/gen-crd-api-reference-docs/main.go \
+go run github.com/djencks/gen-crd-api-reference-docs@e63530f10b55be5f2d82e223d83f86c13e5158e5 \
     -config $location/gen-kamelets-crd-api-config.json \
     -template-dir $location/template \
     -api-dir "github.com/apache/camel-k/pkg/apis/camel/v1alpha1" \
diff --git a/script/gen_crd/template/members.tpl b/script/gen_crd/template/members.tpl
index 5771f11..23afa37 100644
--- a/script/gen_crd/template/members.tpl
+++ b/script/gen_crd/template/members.tpl
@@ -5,7 +5,7 @@
 |`{{ fieldName . }}` +
 {{ if linkForType .Type -}}
   {{- if isLocalType .Type -}}
-*xref:{{ linkForType .Type}}[{{ asciiDocAttributeEscape (typeDisplayName .Type) }}]*
+*xref:#{{ sanitizeId (anchorIDForType .Type) }}[{{ asciiDocAttributeEscape (typeDisplayName .Type) }}]*
   {{- else -}}
 *{{ linkForType .Type}}[{{ asciiDocAttributeEscape (typeDisplayName .Type) }}]*
   {{- end -}}
diff --git a/script/gen_crd/template/pkg.tpl b/script/gen_crd/template/pkg.tpl
index c0cb3b4..e539cdc 100644
--- a/script/gen_crd/template/pkg.tpl
+++ b/script/gen_crd/template/pkg.tpl
@@ -1,7 +1,7 @@
 {{ define "packages" -}}
 {{ range .packages -}}
 
-[#{{ packageAnchorID . }}]
+[#{{ sanitizeId (packageAnchorID .) }}]
 == {{ packageDisplayName . }}
 
     {{- with (index .GoPackages 0 ) -}}
diff --git a/script/gen_crd/template/type.tpl b/script/gen_crd/template/type.tpl
index d6f0dcf..d52c4c3 100644
--- a/script/gen_crd/template/type.tpl
+++ b/script/gen_crd/template/type.tpl
@@ -1,12 +1,12 @@
 {{ define "type" }}
 
-[#{{ anchorIDForType . }}]
+[#{{ sanitizeId (anchorIDForType .) }}]
 === {{ .Name.Name }}{{ if eq .Kind "Alias" }}(`{{.Underlying}}` alias){{ end }}
 {{- with (typeReferences .) }}
 
 *Appears on:*
 {{ range . }}
-* <<{{ linkForType . }}, {{ typeDisplayName . }}>>
+* <<#{{ sanitizeId (anchorIDForType .) }}, {{ typeDisplayName . }}>>
 {{- end -}}
 {{- end }}