Comments (5)
Here's a snippet of values.yaml for the argocd deploy itself:
repoServer:
## Use init containers to configure custom tooling
## https://argoproj.github.io/argo-cd/operator-manual/custom_tools/
## When using the volumes & volumeMounts section bellow, please comment out those above.
volumes:
- name: custom-tools
emptyDir: {}
initContainers:
- name: download-tools
#image: alpine:3.12
image: debian:sid-slim
command: [sh, -c]
args:
- apt-get update && apt-get install -y curl wget &&
curl -o /custom-tools/argo-cd-helmfile.sh https://raw.githubusercontent.com/travisghansen/argo-cd-helmfile/master/src/argo-cd-helmfile.sh &&
chmod +x /custom-tools/argo-cd-helmfile.sh &&
wget -qO /custom-tools/helmfile https://github.com/roboll/helmfile/releases/download/v0.130.0/helmfile_linux_amd64 &&
chmod +x /custom-tools/helmfile &&
wget -qO- https://get.helm.sh/helm-v3.3.4-linux-amd64.tar.gz | tar -xvzf - &&
mv linux-amd64/helm /custom-tools/helm-v3 &&
wget -qO- https://get.helm.sh/helm-v2.16.12-linux-amd64.tar.gz | tar -xvzf - &&
mv linux-amd64/helm /custom-tools/helm-v2
volumeMounts:
- mountPath: /custom-tools
name: custom-tools
volumeMounts:
- mountPath: /usr/local/bin/argo-cd-helmfile.sh
name: custom-tools
subPath: argo-cd-helmfile.sh
- mountPath: /usr/local/bin/helmfile
name: custom-tools
subPath: helmfile
- mountPath: /usr/local/bin/helm-v3
name: custom-tools
subPath: helm-v3
- mountPath: /usr/local/bin/helm-v2
name: custom-tools
subPath: helm-v2
from argo-cd-helmfile.
I'm guessing when you created the project you must have selected the wrong plugin. The UI can be a bit confusing (or at least was, I haven't updated argo-cd in a while) about how to select this.
In the spec it's here:
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
...
spec:
...
source:
...
plugin:
name: helmfile
env:
- name: HELMFILE_GLOBAL_OPTIONS
value: --selector name!=kapacitor,name!=elasticsearch,name!=elasticsearch-curator
I'll update argo-cd to the latest to see if they've cleaned the UI up a bit.
from argo-cd-helmfile.
The syntax is correct. But new error appears:
Unable to create application: application spec is invalid: InvalidSpecError: Unable to generate manifests in <App-name>: rpc error: code = Unknown desc = exec: "argo-cd-helmfile.sh": executable file not found in $PATH
from argo-cd-helmfile.
Are you deploying argo-cd itself via helm? You need to be sure to download the script from this project to make it available to argo-cd for execution.
from argo-cd-helmfile.
Thank you @travisghansen . This is awesome
from argo-cd-helmfile.
Related Issues (20)
- Helm secrets support HOT 6
- helmfile diff - invalid ownership metadata HOT 5
- Cant read .Capabilities.APIVersions.Has HOT 7
- context deadline exceeded / unknown sync HOT 16
- application spec for testapp is invalid: InvalidSpecError: Unable to generate manifests HOT 6
- How to use helmfile apply option instead of helmfile sync HOT 1
- HOME var overide HOT 7
- set -x eats etcd space
- Support for ArgoCD v2.5.1 HOT 22
- kubectl rollout restart interrupted ? HOT 4
- Mask helm repository password in ArgoCD UI HOT 2
- Private OCI repositories HOT 2
- 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
- helmfile/vals integration HOT 7
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.