Comments (7)
Never used it but looks cool. The idea would be to pass the entire output through vals as a post processing pass?
from argo-cd-helmfile.
I didn't even read that, but this works as well:
# both syntaxes below work for me
releases:
- name: grafana
namespace: monitoring
chart: stable/grafana
set:
- name: adminPassword
value: ref+envsubst://$VAR1
...
values:
- adminPassword: ref+envsubst://$VAR1
from argo-cd-helmfile.
https://github.com/travisghansen/argo-cd-helmfile/blob/master/src/argo-cd-helmfile.sh#L406
from argo-cd-helmfile.
Yes, in my specific use case I'm interested in fetching data directly from terraform statefile on an S3 bucket into the environment helmfile so it's available as a .StateValue
, but it seems there's no real difference as the processing can only happen after helmfile template output.
from argo-cd-helmfile.
Yeah, so basically all we need to do would be something like this:
export HELMFILE_POST_PROCESS=" | vals eval -f - "
${helmfile} \
template \
--skip-deps ${INTERNAL_HELMFILE_TEMPLATE_OPTIONS} \
--args "${INTERNAL_HELM_TEMPLATE_OPTIONS} ${HELM_TEMPLATE_OPTIONS}" \
${HELMFILE_TEMPLATE_OPTIONS} ${HELMFILE_POST_PROCESS}
;;
from argo-cd-helmfile.
From what I can tell helmfile
already has support for this built-in. My testing shows the refs/values being rendered without even installing the vals
binary independently.
from argo-cd-helmfile.
Oh my, you are right, I just searched their documentation by ref
keyword and found this: https://helmfile.readthedocs.io/en/latest/remote-secrets/
Sorry 😄
Thanks for the very quick response!
from argo-cd-helmfile.
Related Issues (20)
- Helmfile is moved HOT 2
- Error: unknown flag: --skip-crds HOT 10
- Passing args to helm HOT 11
- Issues related to sidecar CMP mode HOT 13
- Autodiscover with apps in app HOT 10
- Helm repository not found HOT 13
- adding kustomize transformers: causes breakage HOT 3
- Namespaces not taken into account HOT 11
- Not allow helm valuesFiles path or Values file as block file with plugin helmfile
- Create Application per Helmfile Release HOT 1
- argo-cd-helmfile.sh discover` failed exit status 1 HOT 1
- Fail to fetch OCI private Helm registry HOT 1
- Integrated ArgoCD plugin parameters support ? HOT 3
- Setting --skip-deps as optional HOT 2
- Not installing crds in folder of helm chart HOT 2
- What about ExternalSecrets instead of sops? HOT 1
- Not able to use secretref+k8s to fetch secrets from Kubernetes Secret object HOT 2
- kubectl context support HOT 3
- Pass helm values from separate repo 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 argo-cd-helmfile.