Skip to content

Commit

Permalink
Fix missing role in helm chart
Browse files Browse the repository at this point in the history
Fix #4629

- Also improve doc about helm and minikube installation
  • Loading branch information
claudio4j committed Jul 31, 2023
1 parent 11a0f05 commit 4ecf01d
Show file tree
Hide file tree
Showing 5 changed files with 99 additions and 41 deletions.
2 changes: 1 addition & 1 deletion docs/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
node_modules/*
build
build
Binary file added docs/charts/camel-k-2.1.0-SNAPSHOT.tgz
Binary file not shown.
93 changes: 60 additions & 33 deletions docs/charts/index.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,36 @@
apiVersion: v1
entries:
camel-k:
- apiVersion: v2
appVersion: 2.1.0-SNAPSHOT
created: "2023-07-31T17:46:56.016330732-03:00"
description: A lightweight integration platform, born on Kubernetes, with serverless
superpowers
digest: 50fbb3b5c66c6d38be30c3358197be856090967f887f806516e3cd122aeda6af
home: https://camel.apache.org/camel-k/latest/
icon: https://github.com/apache/camel/raw/main/docs/img/logo64-d.png
keywords:
- serverless
- integration
- patterns
maintainers:
- email: pcongiusti@apache.org
name: pcongiusti
- email: acosentino@apache.org
name: acosentino
name: camel-k
sources:
- https://github.com/apache/camel-k
- https://github.com/apache/camel-k-runtime
- https://github.com/apache/camel-quarkus
- https://github.com/apache/camel
type: application
urls:
- https://apache.github.io/camel-k/charts/camel-k-2.1.0-SNAPSHOT.tgz
version: 2.1.0-SNAPSHOT
- apiVersion: v2
appVersion: 2.0.0
created: "2023-07-24T11:02:50.459739966+02:00"
created: "2023-07-31T17:46:56.003507076-03:00"
description: A lightweight integration platform, born on Kubernetes, with serverless
superpowers
digest: 4b77a1590376f7e5b0a95e767ffc06528800e99753a3ad0ab376086fab0539fc
Expand All @@ -30,7 +57,7 @@ entries:
version: 2.0.0
- apiVersion: v2
appVersion: 1.12.1
created: "2023-07-24T11:02:50.423822241+02:00"
created: "2023-07-31T17:46:55.966940557-03:00"
description: A lightweight integration platform, born on Kubernetes, with serverless
superpowers
digest: cc5682a0d6cd8f0c475803ac7e142278682a14478dc1a907cf3e36e4dd0ecfb7
Expand All @@ -57,7 +84,7 @@ entries:
version: 0.13.1
- apiVersion: v2
appVersion: 1.12.0
created: "2023-07-24T11:02:50.419068491+02:00"
created: "2023-07-31T17:46:55.96389849-03:00"
description: A lightweight integration platform, born on Kubernetes, with serverless
superpowers
digest: 394402fd476570978214a1288a883db9f2e1186780322cf3c47503ce27d2c117
Expand All @@ -84,7 +111,7 @@ entries:
version: 0.13.0
- apiVersion: v2
appVersion: 1.11.1
created: "2023-07-24T11:02:50.414029382+02:00"
created: "2023-07-31T17:46:55.959970726-03:00"
description: A lightweight integration platform, born on Kubernetes, with serverless
superpowers
digest: 2f4a9e0fa5c4adbb16a7795f6ccc1387537ea13b67b1ee2e5f505c0eab349ec6
Expand All @@ -111,7 +138,7 @@ entries:
version: 0.12.1
- apiVersion: v2
appVersion: 1.11.0
created: "2023-07-24T11:02:50.40925295+02:00"
created: "2023-07-31T17:46:55.956317104-03:00"
description: A lightweight integration platform, born on Kubernetes, with serverless
superpowers
digest: 487e987dbf332d61745d4a8888ed5be116eb1e370d3ebd8cbb095eda470401d1
Expand All @@ -138,7 +165,7 @@ entries:
version: 0.12.0
- apiVersion: v2
appVersion: 1.10.4
created: "2023-07-24T11:02:50.404184105+02:00"
created: "2023-07-31T17:46:55.952598592-03:00"
description: A lightweight integration platform, born on Kubernetes, with serverless
superpowers
digest: e3708a8a36fde9f85c33a819de5531ed03cdc9331c594e34861fdaea65b3e537
Expand All @@ -165,7 +192,7 @@ entries:
version: 0.11.4
- apiVersion: v2
appVersion: 1.10.3
created: "2023-07-24T11:02:50.399577157+02:00"
created: "2023-07-31T17:46:55.949162766-03:00"
description: A lightweight integration platform, born on Kubernetes, with serverless
superpowers
digest: 59ddb87112b9b7ccd3db621f5987afe6f61006b5638a2e83eed14c1ba06dfca6
Expand All @@ -192,7 +219,7 @@ entries:
version: 0.11.3
- apiVersion: v2
appVersion: 1.10.2
created: "2023-07-24T11:02:50.394998578+02:00"
created: "2023-07-31T17:46:55.94600215-03:00"
description: A lightweight integration platform, born on Kubernetes, with serverless
superpowers
digest: 02daa47b4984d9273a3f68854ad4dbc54b40d344fa1167d17954e2e960f54d7e
Expand All @@ -219,7 +246,7 @@ entries:
version: 0.11.2
- apiVersion: v2
appVersion: 1.10.1
created: "2023-07-24T11:02:50.39048311+02:00"
created: "2023-07-31T17:46:55.942219351-03:00"
description: A lightweight integration platform, born on Kubernetes, with serverless
superpowers
digest: f1e8d2405b146b5e7e9a17e2b5f69a456fb7f1e4aa06964f010a88a014ded4e5
Expand All @@ -246,7 +273,7 @@ entries:
version: 0.11.1
- apiVersion: v2
appVersion: 1.10.0
created: "2023-07-24T11:02:50.385135117+02:00"
created: "2023-07-31T17:46:55.938848637-03:00"
description: A lightweight integration platform, born on Kubernetes, with serverless
superpowers
digest: 14fb0780b934ac871f5dfc473ddb7db1e1a70df257faedf33bd62c99e0eaa980
Expand All @@ -273,7 +300,7 @@ entries:
version: 0.11.0
- apiVersion: v2
appVersion: 1.9.2
created: "2023-07-24T11:02:50.380161845+02:00"
created: "2023-07-31T17:46:55.935405298-03:00"
description: A lightweight integration platform, born on Kubernetes, with serverless
superpowers
digest: 90ea439bb18596657e6e93b4b07a41a5da499f77d7233d661677a0463b8d5f52
Expand All @@ -298,7 +325,7 @@ entries:
version: 0.10.3
- apiVersion: v2
appVersion: 1.9.2
created: "2023-07-24T11:02:50.377047672+02:00"
created: "2023-07-31T17:46:55.933154528-03:00"
description: A lightweight integration platform, born on Kubernetes, with serverless
superpowers
digest: bbf1187380da9a5c9725e8c1a94ea49dd858d4dab7da7ea13345a04aa24911d3
Expand All @@ -323,7 +350,7 @@ entries:
version: 0.10.2
- apiVersion: v2
appVersion: 1.9.1
created: "2023-07-24T11:02:50.373160106+02:00"
created: "2023-07-31T17:46:55.930085307-03:00"
description: A lightweight integration platform, born on Kubernetes, with serverless
superpowers
digest: 0cba3a300eed89997102d6e82a53b4b898cb20b2d89c0c9b75cff58886ac7ac8
Expand All @@ -348,7 +375,7 @@ entries:
version: 0.10.1
- apiVersion: v2
appVersion: 1.9.0
created: "2023-07-24T11:02:50.368801903+02:00"
created: "2023-07-31T17:46:55.927410636-03:00"
description: A lightweight integration platform, born on Kubernetes, with serverless
superpowers
digest: 6e6cb47f1bbcaf2e0269ee92b8cf3c5d88255681633a53ef61a925536aa9b073
Expand All @@ -373,7 +400,7 @@ entries:
version: 0.10.0
- apiVersion: v2
appVersion: 1.8.2
created: "2023-07-24T11:02:50.452953678+02:00"
created: "2023-07-31T17:46:55.995257175-03:00"
description: A lightweight integration platform, born on Kubernetes, with serverless
superpowers
digest: 4ada6d477897adb993d6e08e665cdf6eb94ebf71d2503b5cb0921016837021eb
Expand All @@ -398,7 +425,7 @@ entries:
version: 0.9.2
- apiVersion: v2
appVersion: 1.8.1
created: "2023-07-24T11:02:50.449598742+02:00"
created: "2023-07-31T17:46:55.991966492-03:00"
description: A lightweight integration platform, born on Kubernetes, with serverless
superpowers
digest: ec85e315b224177021660106e375de7990b1f4c9594a10d668ade5e998e40bff
Expand All @@ -423,7 +450,7 @@ entries:
version: 0.9.1
- apiVersion: v2
appVersion: 1.8.0
created: "2023-07-24T11:02:50.446819034+02:00"
created: "2023-07-31T17:46:55.98821939-03:00"
description: A lightweight integration platform, born on Kubernetes, with serverless
superpowers
digest: 9c7ec4fceec32adbf281562a9a61aa612a4ac52df358a9a6f4903896ee7a7684
Expand All @@ -448,7 +475,7 @@ entries:
version: 0.9.0
- apiVersion: v2
appVersion: 1.7.0
created: "2023-07-24T11:02:50.443305973+02:00"
created: "2023-07-31T17:46:55.984594191-03:00"
description: A lightweight integration platform, born on Kubernetes, with serverless
superpowers
digest: efccc4fab8d7f8b4e5ad129d9117e8a8d8fb5f65c7c3141eb07a63481eb7a4a7
Expand All @@ -473,7 +500,7 @@ entries:
version: 0.8.0
- apiVersion: v2
appVersion: 1.6.1
created: "2023-07-24T11:02:50.440375472+02:00"
created: "2023-07-31T17:46:55.980443664-03:00"
description: A lightweight integration platform, born on Kubernetes, with serverless
superpowers
digest: 949d4e2d12f3a7667ec5dcd924788ba38b955b75cdcf2b9c9fd8bda30d491b20
Expand All @@ -498,7 +525,7 @@ entries:
version: 0.7.1
- apiVersion: v2
appVersion: 1.5.0
created: "2023-07-24T11:02:50.437092211+02:00"
created: "2023-07-31T17:46:55.977263824-03:00"
description: A lightweight integration platform, born on Kubernetes, with serverless
superpowers
digest: 226251d742edff0f1a71d0068de67de348e0be0a8b29a411cad073ceb7d48535
Expand All @@ -523,7 +550,7 @@ entries:
version: 0.7.0
- apiVersion: v2
appVersion: 1.4.1
created: "2023-07-24T11:02:50.433567871+02:00"
created: "2023-07-31T17:46:55.974630449-03:00"
description: A lightweight integration platform, born on Kubernetes, with serverless
superpowers
digest: a3f32e2e2d73361b9d4cda028c9c549ba5dfd5cbf1f0224a1badcff295292818
Expand All @@ -548,7 +575,7 @@ entries:
version: 0.6.1
- apiVersion: v2
appVersion: 1.4.0
created: "2023-07-24T11:02:50.432877647+02:00"
created: "2023-07-31T17:46:55.974153678-03:00"
description: A lightweight integration platform, born on Kubernetes, with serverless
superpowers
digest: a011dd36bbfb07a23ca18baabec945274d2ac1164e08414147ecf683cccf8a21
Expand All @@ -573,7 +600,7 @@ entries:
version: 0.6.0
- apiVersion: v2
appVersion: 1.3.2-SNAPSHOT
created: "2023-07-24T11:02:50.432181619+02:00"
created: "2023-07-31T17:46:55.973645359-03:00"
description: A lightweight integration platform, born on Kubernetes, with serverless
superpowers
digest: 30d999fb1a24c741829cd3ad1c1ba3c8ac4d0571a9ad1258c327c426913312d7
Expand All @@ -598,7 +625,7 @@ entries:
version: 0.5.2
- apiVersion: v2
appVersion: 1.3.1
created: "2023-07-24T11:02:50.430776334+02:00"
created: "2023-07-31T17:46:55.972570471-03:00"
description: A lightweight integration platform, born on Kubernetes, with serverless
superpowers
digest: 222b6b51ac7c836e1a7cfe44228de3666cb2b4c559c64bee35afaef9cbfe2449
Expand All @@ -623,7 +650,7 @@ entries:
version: 0.5.1
- apiVersion: v2
appVersion: 1.2.1
created: "2023-07-24T11:02:50.429340131+02:00"
created: "2023-07-31T17:46:55.970964274-03:00"
description: A lightweight integration platform, born on Kubernetes, with serverless
superpowers
digest: 393f4e4b32119824442ee2abdfc34a34bc49ec0fc6e957057e955cb5dd63aece
Expand All @@ -648,7 +675,7 @@ entries:
version: 0.4.1
- apiVersion: v2
appVersion: 1.2.0
created: "2023-07-24T11:02:50.427514127+02:00"
created: "2023-07-31T17:46:55.970031803-03:00"
description: A lightweight integration platform, born on Kubernetes, with serverless
superpowers
digest: c47863e13644340b857acf5c688004927e0ad126a9c39e8c90fa6d84e2c445b9
Expand All @@ -673,7 +700,7 @@ entries:
version: 0.4.0
- apiVersion: v2
appVersion: 1.1.1
created: "2023-07-24T11:02:50.426026137+02:00"
created: "2023-07-31T17:46:55.969070818-03:00"
description: A lightweight integration platform, born on Kubernetes, with serverless
superpowers
digest: 46771bd1c0e52097f07e9c17e657690872716ed845b196cd0c981c97b984b573
Expand All @@ -698,7 +725,7 @@ entries:
version: 0.3.2
- apiVersion: v2
appVersion: 1.0.1
created: "2023-07-24T11:02:50.424860572+02:00"
created: "2023-07-31T17:46:55.967699334-03:00"
description: A lightweight integration platform, born on Kubernetes, with serverless
superpowers
digest: d7453b9b6281355caad37896c6760be64735f69009bc312a54cbc17e8a1f6697
Expand All @@ -723,7 +750,7 @@ entries:
version: 0.3.1
- apiVersion: v2
appVersion: 1.0.0
created: "2023-07-24T11:02:50.424515222+02:00"
created: "2023-07-31T17:46:55.967438803-03:00"
description: A lightweight integration platform, born on Kubernetes, with serverless
superpowers
digest: 610a2b024d539451ee278b72179f34c242a67b7949e2a4eae7b0fa2d8d3630e3
Expand All @@ -748,7 +775,7 @@ entries:
version: 0.3.0
- apiVersion: v2
appVersion: 1.0.0-RC2
created: "2023-07-24T11:02:50.424174611+02:00"
created: "2023-07-31T17:46:55.967203988-03:00"
description: A lightweight integration platform, born on Kubernetes, with serverless
superpowers
digest: 3d5397e111004a8735849dcebd55c9827e687aa3ab28b5c28de8fe69595e1b8f
Expand All @@ -773,7 +800,7 @@ entries:
version: 0.2.1
- apiVersion: v2
appVersion: 1.0.0-RC2
created: "2023-07-24T11:02:50.364293808+02:00"
created: "2023-07-31T17:46:55.923176338-03:00"
description: A lightweight integration platform, born on Kubernetes, with serverless
superpowers
digest: 43fa5d9563ce76d25695e4132c5870279541b26be2ac8023537b587483853260
Expand All @@ -798,7 +825,7 @@ entries:
version: 0.1.1
- apiVersion: v2
appVersion: 1.0.0-RC2
created: "2023-07-24T11:02:50.363896512+02:00"
created: "2023-07-31T17:46:55.922696134-03:00"
description: A lightweight integration platform, born on Kubernetes, with serverless
superpowers
digest: 3bc8c53c4d781c4b4e4aac254d291339b348c2d8b4cf24b579ceb4330a48edd5
Expand All @@ -821,4 +848,4 @@ entries:
urls:
- https://apache.github.io/camel-k/charts/camel-k-0.1.0.tgz
version: 0.1.0
generated: "2023-07-24T11:02:50.363405376+02:00"
generated: "2023-07-31T17:46:55.92204931-03:00"
25 changes: 21 additions & 4 deletions docs/modules/ROOT/pages/contributing/developers.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ This executes a full build of the Go code. If you need to build the components s

Currently the build is not entirely supported on Windows. If you're building on a Windows system, here's a temporary workaround:

1. Copy the `script/Makefile` to the root of the project.
2. Run `make -f script/Makefile`.
1. Copy the `script/Makefile` to the root of the project.
2. Run `make -f script/Makefile`.
3. If the above command fails, run `make build-kamel`.
4. Rename the `kamel` binary in the root to `kamel.exe`.

Expand Down Expand Up @@ -135,9 +135,12 @@ The commands assume you have an already running CRC instance and logged in corre

=== For Minikube

* Run `make install-minikube`: to build the project and install it in the current namespace on Minikube
First remove any camel k operator you may have installed, otherwise it will conflict with the new one we will build and install.

This command assumes you have an already running Minikube instance with registry enabled (can be enabled with `minikube addons enable registry`) and no previous Camel K instance installed.
* Enable the `registry` minikube addon: `minikube addons enable registry`
* Set the access to the internal minikube registry: `eval $(minikube docker-env)`
* Run `make images`: to build the project and install the image in the internal minikube registry
* Install camel-k-operator: `./kamel install`

=== For remote Kubernetes/OpenShift clusters

Expand All @@ -150,6 +153,20 @@ kamel install --operator-image=docker.io/myrepo/camel-k:1.5.0-SNAPSHOT --operato

Note `--olm=false` is necessary as otherwise the OLM bundle version is preferred.

=== Local Helm installation

If you want to test Helm installation

* Build the Helm chart `make release-helm`
* Build the project and the image: `make images`
* Set the internal registry `export REGISTRY_ADDRESS=$(kubectl -n kube-system get service registry -o jsonpath='{.spec.clusterIP}')`
* Install with Helm (look at the latest version produced by `make release-helm`)
```
helm install camel-k-dev docs/charts/camel-k-2.1.0-SNAPSHOT.tgz --set platform.build.registry.address=${REGISTRY_ADDRESS} --set platform.build.registry.insecure=true --set operator.image=apache/camel-k:2.1.0-SNAPSHOT
```

To uninstall: `helm uninstall camel-k-dev`

=== Use

Now you can play with Camel K:
Expand Down
Loading

0 comments on commit 4ecf01d

Please sign in to comment.