Comments (3)
I know it was weird of me to toJson
a .Chart
. I did so simply because I was passing an enormous dictionary as argument to another template, and I thought it was easier to format it as YAML and (include "internal-template" . | include "library-template")
, and I tried to write the .Chart
inside the YAML.
from helm.
@SOF3 do you have a complete, but minimal example which I can look at and test the failure scenario? It's a bit unclear (to me) what is happening here.
from helm.
$ cat templates/example.yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: abc
data:
release: {{include "show-keys" (toJson .Release) | toJson}}
chart: {{include "show-keys" (toJson .Chart) | toJson}}
{{- define "show-keys" -}}
{{keys (fromJson .)}}
{{- end}}
$ helm template .
---
# Source: demo/templates/example.yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: abc
data:
release: "[Revision Service IsInstall IsUpgrade Name Namespace]"
chart: "[version description apiVersion appVersion type IsRoot name]"
from helm.
Related Issues (20)
- Helm CLI should add "helm sink" to uninstall HOT 1
- Upgrade release with helm SDK got error: cannot patch "xxxx-deploy" with kind Deployment HOT 1
- Helm rollback with mismatch in resources with original and target revisions raises error. HOT 2
- can't use range inside library chart defined template in helm HOT 2
- helm upgrade --install Command Deletes All The Resources in Existing Release HOT 4
- Provide methods to disable OCI feature HOT 5
- In Helm 3.9, Default Values Were Used for Subcharts, But Helm 3.15 Raises Nil Pointer Error When Accessing Unset Values HOT 1
- wrong kubeversion detected HOT 7
- RFE: Support for multi-document values files HOT 8
- Warnings: Use tokens from the TokenRequest API or manually created secret-based tokens instead of auto-generated secret-based tokens. HOT 3
- Get more debug informations about why and upgrade failed with "release: already exists" HOT 4
- helm no strict version checking for dependencies HOT 2
- templating is slower when using dependencies with tagged version HOT 2
- Concurrent `helm dependency build` fail due to race condition
- bug: go HTTPS_PROXY/NO_PROXY env vars are not respected when mTLS args specified on `helm install/upgrade`
- How to properly mock Helm calls ? HOT 1
- Plan to introduce a dedicated HELM_PROXY_URL environment variable and --proxy HOT 4
- Bug: Using RunWithContext leaks go routines in Wait/WaitWithJobs HOT 4
- Helm panics with an unknown storage driver
- Custom burst limit settings don't apply to discovery
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.