From ea43b75911dc664c4dcdb5a24d51fb029d2637f9 Mon Sep 17 00:00:00 2001 From: "Richard-Robert.Reitz" Date: Mon, 30 Sep 2024 13:57:11 +0000 Subject: [PATCH 1/2] Update content/en/docs/solution/tools/idpbuilder/installation/_index.md Fixed a bug and added next steps --- .../docs/solution/tools/idpbuilder/installation/_index.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/content/en/docs/solution/tools/idpbuilder/installation/_index.md b/content/en/docs/solution/tools/idpbuilder/installation/_index.md index 9bb482f..f30b4b5 100644 --- a/content/en/docs/solution/tools/idpbuilder/installation/_index.md +++ b/content/en/docs/solution/tools/idpbuilder/installation/_index.md @@ -14,6 +14,7 @@ Windows and Mac users already utilize a virtual machine for the Docker Linux env - Docker Engine - Go - kubectl +- kind ### Build process @@ -32,7 +33,7 @@ The idpbuilder binary will be created in the current directory. To start the idpbuilder binary execute the following command: ``` -./idpbuilder create --use-path-routing --log-level debug --package-dir https://github.com/cnoe-io/stacks//ref-implementation +./idpbuilder create --use-path-routing --log-level debug --package https://github.com/cnoe-io/stacks//ref-implementation ``` ### Logging into ArgoCD @@ -59,6 +60,10 @@ To see all running pods: kubectl get pods -o wide ``` +### Next steps + +Follow this documentation: https://github.com/cnoe-io/stacks/tree/main/ref-implementation + ### Delete the idpbuilder KIND cluster The cluster can be deleted by executing: From 2ce9423caff502d7bee2b2b0e72b7679e4e21f5c Mon Sep 17 00:00:00 2001 From: Stephan Lo Date: Mon, 30 Sep 2024 19:25:51 +0200 Subject: [PATCH 2/2] doc(conceptual-onbording): added some content of local cnoe hacking --- .../6_cnoe-showtime/_index.md | 42 ++++++++++++++++++- 1 file changed, 40 insertions(+), 2 deletions(-) diff --git a/content/en/docs/project/conceptual-onboarding/6_cnoe-showtime/_index.md b/content/en/docs/project/conceptual-onboarding/6_cnoe-showtime/_index.md index 6832cf2..7a4da19 100644 --- a/content/en/docs/project/conceptual-onboarding/6_cnoe-showtime/_index.md +++ b/content/en/docs/project/conceptual-onboarding/6_cnoe-showtime/_index.md @@ -31,13 +31,51 @@ idpbuilder is /usr/local/bin/idpbuilder idpbuilder version idpbuilder 0.8.0-nightly.20240914 go1.22.7 linux/amd64 +# do some completion and aliasing +source <(idpbuilder completion bash) +alias ib=idpbuilder +complete -F __start_idpbuilder ib + # run -$idpbuilder create --use-path-routing --log-level debug --package-dir https://github.com/cnoe-io/stacks//ref-implementation +$ib create --use-path-routing --log-level debug --package-dir https://github.com/cnoe-io/stacks//ref-implementation ``` ## Show time steps -tbc +> Goto https://cnoe.io/docs/reference-implementation/installations/idpbuilder/usage, and follow the flow + +### Just run idpbuilder + + +```bash +cat << EOF | kind create cluster --name localdev --config=- +# Kind kubernetes release images https://github.com/kubernetes-sigs/kind/releases +kind: Cluster +apiVersion: kind.x-k8s.io/v1alpha4 +nodes: +- role: control-plane + image: "kindest/node:v1.30.0" + labels: + ingress-ready: "true" + extraPortMappings: + - containerPort: 443 + hostPort: 8443 + protocol: TCP + +containerdConfigPatches: +- |- + [plugins."io.containerd.grpc.v1.cri".registry.mirrors."gitea.cnoe.localtest.me:8443"] + endpoint = ["https://gitea.cnoe.localtest.me"] + [plugins."io.containerd.grpc.v1.cri".registry.configs."gitea.cnoe.localtest.me".tls] + insecure_skip_verify = true +``` + +``` +kind create cluster --name localdev --config kind-config.yaml + +# now idpbuilder reuses the already existing cluster +ib create +``` {{% pageinfo color="info" %}} ### What comes next?