Comments (8)
I agree with @naseemkullah , extraEnv
is quite popular and understandable.
Adding deprecation notice with end of support date will be sufficient.
from helm-charts.
Hello @naseemkullah! Thanks for asking me, I really appreciate it.
Why we can't combine those approaches?
Let's say all of the env variables will be changed in env: {}, but extraEnvConfig: using toYaml.
If we combine two approaches it will not affect existed installations and upgrade from one version to another. Breaking changes could be really painful for someone.
from helm-charts.
Hi @Jasstkn, only Values.esIndexCleaner.env and .Values.schema.env are affected. And I think env and extraEnvConfig are very confusing
from helm-charts.
Yeah to today, on top of es-index-cleaner and schema-job other components using env: {}
as it is today are the any storage related env var for all components (i.e. anything beginning with ES_
or CASSANDRA_
) ... I'd like to avoid breaking that, but I'd also like avoid having two ways to use env:
in the various components of the charts.
So while extraEnvConfig
is verbose, the idea is right and extraEnv
could be a good way to introduce the improved way to add env vars.
extraEnv
has proven to be a widely used var name as per grepping for it in the stable repo: https://github.com/helm/charts/search?p=1&q=extraEnv
Also, extraEnv is actually accurate since we are adding env vars to some others that are added by other means (thats to say, env
sounds like it is authorative whereas extraEnv
sounds additive)
@cgroschupp @Jasstkn and everyone else WDYT?
from helm-charts.
Also, we could add alongside env:
of the schema, es index cleaner and storage components extraEnv
and add a notice in the notes that env:
is deprecated in favor of extraEnv
and in a few months, get rid of env:
.
from helm-charts.
I guess i was late to the party 😄
#121 now. 👍
from helm-charts.
@cgroschupp if I understand correct, @naseemkullah wants to extend this change to all of the environment variables..
from helm-charts.
@naseemkullah
I feel having both env
and extraEnv
is confusing.
I have some questions ?
-
READMe mentions
<component>.env
-Additional environment variables
-{}
.
but i don't see that value (.Values.collector.env
or .Values.query.env) being used for other components, like query or collector. Can we not pass in environment variables for those right now? -
If we use
env: {}
, How can we usevalueForm
approach to read from secrets or configMap objects in K8s ?? There are some examples where its helpful:
from helm-charts.
Related Issues (20)
- [Feature]: set the 'number_of_replicas' in elasticsearch to a variable HOT 3
- [Feature]: Support Jaeger-v2 HOT 3
- [Bug]: Jaeger Operator image tag is lagging behind
- [Bug]: extraObjects accepts only string as templates HOT 1
- [Feature]: Add appProtocol
- [Bug]: helm chart is not working with kafka . Both (kafka and exisitng kafka).
- [Feature]: Add toleration to cassandra-schema-job manifest file
- [Feature]: global.PullSecerts HOT 1
- [Bug]: failed to list v1.IngressClass is forbidden HOT 1
- [Bug]: Unstable Jaeger Deployment with Cassandra ; Cassandra STS is failing HOT 4
- [Bug]: Indents for imagePullSecrets in indexer and lookback cronjobs
- [Bug]: esRollover configured via Helm chart not working correctly
- [Bug]: Using ingress host starting with wildcard causes YAML parse error
- [Bug]: Spark no longer works with new charts that use elasticsearch 8+ HOT 5
- [Bug]: Jaeger Custom Resource not works HOT 4
- [Bug]: Unnecessary RBAC permissions in Helm Charts
- [Bug]: Jaeger resource creation not success as falling to call mutating webhook service HOT 3
- [Bug]: Helm Install with Elasticsearch fails due to missing directory
- [Feature]: Ability to edit edit port name in service for collector and query.
- [Bug]: failed to list v1.IngressClass is forbidden for apigroup networking.k8s.io HOT 1
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.