codejjang / helm-microservices-example Goto Github PK
View Code? Open in Web Editor NEWDRY Helm Charts for Micro-Services
DRY Helm Charts for Micro-Services
After successfully running the command
./helm-dep-up-umbrella.sh helm-chart, when then attempt to execute the command, helm install helm-chart, I receive an error: "Error: must either provide a name or specify --generate-name.
Can you provide any guidance for how to properly execute this command?
Thank you!
I really like your approach, thanks for sharing.
At first everything seemed to work.
However, I've found a problem with merging booleans.
See this truth table:
case | common | specialized | result | correct? |
---|---|---|---|---|
1 | false |
true |
true |
yes |
2 | true |
true |
true |
yes |
3 | false |
false |
false |
yes |
4 | true |
false |
true |
no |
Case no. 4 is incorrect.
It seems like the merge function uses or
semantics.
However, the correct behaviour for our use case would be: Specialized value always wins.
Does anyone know how we could make this work?
I've noticed that in some use cases the following code will be used in multiple files:
{{- $common := dict "Values" .Values.common -}}
{{- $noCommon := omit .Values "common" -}}
{{- $overrides := dict "Values" $noCommon -}}
{{- $noValues := omit . "Values" -}}
{{- with merge $noValues $overrides $common -}}
In your git repo I can see it in _deployment and almost the same in _ingress
Is it possible to move it to the _helpers.tpl file and reuse it?
Tried doing it using files without any success.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.