squakez commented on code in PR #4839:
URL: https://github.com/apache/camel-k/pull/4839#discussion_r1368272333
##
install/overlays/README.md:
##
@@ -0,0 +1,98 @@
+
+# Kustomize Camel K
+
+Kustomize provides a declarative approach to the configuration customization
of a Camel-K installation. Kustomize works either with a standalone executable
or as a built-in to kubectl.
+
+Basic overlays are provided for easy usage.
+
+## HOW-TO
+
+### Initialize
+
+First create a new kustomization from the wanted version (kubernetes or
openshift) in the repository:
+```sh
+kustomize create --resources
https://github.com/apache/camel-k.git/install/overlays/kubernetes\?ref\=exp/kustomize_structure
+```
+
+You can also clone the camel-k repository and reference the local folder :
+```sh
+kubectl kustomize https://github.com/apache/camel-k.git/install/overlays/kubernetes\?ref\=exp/kustomize_structure
Review Comment:
IMO, this one should be a separate chapter for user customization. We should
not require anything but `kubectl` for a immediate user experiente. We miss a
quickstart where the user run something like: ` # Build from github
kubectl kustomize
https://github.com/kubernetes-sigs/kustomize.git/examples/helloWorld?ref=v1.0.6
| kubectl create -f` where, if it's the case the use can choose between
Kubernetes and Openshift, withouth knowing anything about overlays. What I mean
is that we provide 2 procedures:
* Kubernetes installation: `kubectl kustomize
https://github.com/apache/camel-k.git/install/overlays/kubernetes | kubectl
create -f`
* Openshift installation: `kubectl kustomize
https://github.com/apache/camel-k.git/install/overlays/openshift | kubectl
create -f`
##
install/overlays/kubernetes/README.md:
##
@@ -0,0 +1,50 @@
+# Kubernetes overlay
+
+## Pre-requise
+
+This is an overlay intended for Minkube with the following configuration:
+* Cluster-admin privileges are required
+* Namespace is `default`
+* Operator id is `camel-k`
+* An available registry
+
+## Usage
+
+The following env variable are expected
+
+
+To run from local folder :
+```sh
+kubectl kustomize kustomize/overlays/kubernetes | kubectl create -f -
+```
+
+To run from remote github repository:
+```sh
+kubectl kustomize
https://github.com/apache/camel-k/kustomize/overlays/kubernetes | kubectl
create -f -
Review Comment:
With all examples, we should specify the ref in order to point to the latest
released version. We need to update the release script in order to update the
documentation when we release (could be a follow up issue though).
##
install/overlays/kubernetes/README.md:
##
@@ -0,0 +1,50 @@
+# Kubernetes overlay
+
+## Pre-requise
+
+This is an overlay intended for Minkube with the following configuration:
+* Cluster-admin privileges are required
+* Namespace is `default`
+* Operator id is `camel-k`
+* An available registry
+
+## Usage
+
+The following env variable are expected
+
+
+To run from local folder :
+```sh
+kubectl kustomize kustomize/overlays/kubernetes | kubectl create -f -
+```
+
+To run from remote github repository:
+```sh
+kubectl kustomize
https://github.com/apache/camel-k/kustomize/overlays/kubernetes | kubectl
create -f -
+```
+
+NOTE: to use a different branch add the parameter "ref" to the github
repository URL.
Review Comment:
put an example like
`https://github.com/apache/camel-k/kustomize/overlays/kubernetes?ref=main`
##
install/overlays/kubernetes/README.md:
##
@@ -0,0 +1,50 @@
+# Kubernetes overlay
+
+## Pre-requise
+
+This is an overlay intended for Minkube with the following configuration:
+* Cluster-admin privileges are required
+* Namespace is `default`
+* Operator id is `camel-k`
+* An available registry
+
+## Usage
+
+The following env variable are expected
+
+
+To run from local folder :
+```sh
+kubectl kustomize kustomize/overlays/kubernetes | kubectl create -f -
+```
+
+To run from remote github repository:
+```sh
+kubectl kustomize
https://github.com/apache/camel-k/kustomize/overlays/kubernetes | kubectl
create -f -
+```
+
+NOTE: to use a different branch add the parameter "ref" to the github
repository URL.
+
+
+### Minikube
+
+You can easilly configure minikube with the registry addon.
Review Comment:
We miss the instruction to enable the addon on the minikube.
##
install/overlays/README.md:
##
@@ -0,0 +1,98 @@
+
+# Kustomize Camel K
+
+Kustomize provides a declarative approach to the configuration customization
of a Camel-K installation. Kustomize works either with a standalone executable
or as a built-in to kubectl.
+
+Basic overlays are provided for easy usage.
+
+## HOW-TO
+
+### Initialize
+
+First create a new kustomization from the wanted version (kubernetes or
openshift) in the repository:
+```sh
+kustomize create --resources
https://github.com/apache/camel-k.git/install/overlays/kubernetes\?ref\=exp/kustomize_structure
+```
+
+You can also c