Comments (2)
Hi Keshav,
I just faced the same issue as you. This occurs because the .Values tree is populated based on the input provided through values.yaml, --values, --set, etc. It is not populated based on how the templates consume the input. If a value is not set, .Values has no knowledge of this sub-tree, and therefore it is evaluated as a nil object when rendered through text/template.
As you can see if you look into orion/templates/test/orion-test.yaml
, there is a value which is not found on orion/values.yaml
, the one triggering your error: <.Values.test.enabled>
. To solve this the maintainer should add the value into the chart, until that happens the workaround is to deploy orion broker with the helm sources locally, adding the value manually.
- Clone this repository, edit the file
orion/values.yaml
and add this at the end of the file (you can change it tofalse
):
test:
enabled: true
- Install the helm chart (from
helm-charts/charts
):
helm install orion-chart orion/ --values orion/values.yaml
- After this the orion broker should be deployed and running:
NAME READY STATUS RESTARTS AGE
pod/orion-chart-9f9c6b8f6-x6hz8 1/1 Running 0 2m22s
pod/orion-chart-mongo-5d46588547-wnz5q 1/1 Running 0 2m22s
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
service/kubernetes ClusterIP 10.96.0.1 <none> 443/TCP 11m
service/orion-chart ClusterIP 10.99.67.101 <none> 1026/TCP 2m22s
service/orion-chart-mongo ClusterIP 10.100.71.166 <none> 27017/TCP 2m22s
NAME READY UP-TO-DATE AVAILABLE AGE
deployment.apps/orion-chart 1/1 1 1 2m22s
deployment.apps/orion-chart-mongo 1/1 1 1 2m22s
NAME DESIRED CURRENT READY AGE
replicaset.apps/orion-chart-9f9c6b8f6 1 1 1 2m22s
replicaset.apps/orion-chart-mongo-5d46588547 1 1 1 2m22s
from helm-charts.
Hello,
sorry, I forgot to set the default-value. Its fixed in the new 1.0.10 chart. Thanks @lopdan for pointing out a solution.
Best
from helm-charts.
Related Issues (19)
- option '-lmtmp' not recognized HOT 2
- helm chart for orion HOT 1
- [iotagent-ul] How to enable NGSIv2 in iotagent-ul helmchart? HOT 3
- Keyrock PVC should allow configuration of the storage class HOT 1
- helm dependency build - can't get a valid version for repositories mongodb
- Allow to set ingressClassName
- Helm charts for IoT Agent JSON with more recent versions (e.g. >= 1.19) HOT 2
- Helm chart for Wilma PEP proxy HOT 1
- [api-umbrella] mongodb data persistence HOT 1
- regarding Deployment of helm charts HOT 13
- Unable to deploy Fiware Orion using helm chart HOT 4
- [keyrock] If themes are not enabled certificates' PVC is not mounted even if it is enabled in Values.yaml. HOT 1
- [iotagent-json]Cannot create new device in mongodb HOT 10
- [orion] Multitenacy config error HOT 1
- [orion] Replica Set only set with multihosts HOT 2
- Domibus HOT 4
- As an operator, I want to to deploy Canis Major via Helm Chart. HOT 2
- Misleading Orion-LD MongoDB Connection SSL-Config
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from helm-charts.