Comments (6)
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: testapp
namespace: default
spec:
destination:
namespace: default
server: https://kubernetes.default.svc
project: default
source:
repoURL: https://github.com/abrarcv170/helmfiletest.git
#targetRevision: main
path: new/
plugin:
env:
- name: HELMFILE_GLOBAL_OPTIONS
value: --file new/helmfile.yaml
name: helmfile
```
from argo-cd-helmfile.
I’ll need more info. Can you send over the deployment and also the application yaml you’re attempting to use?
from argo-cd-helmfile.
https://github.com/abrarcv170/helmfiletest.git ,this is a public repo you can check the helmfile .
from argo-cd-helmfile.
kubeVersionOverride: "1.16.15"
repoServer:
initContainers:
- name: download-tools
image: alpine:3.8
command: [sh, -c]
args:
- wget -qO /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.138.7/helmfile_linux_amd64 &&
chmod +x /custom-tools/helmfile
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
volumes:
- name: custom-tools
emptyDir: {}
This is the helm value file of argocd
from argo-cd-helmfile.
ok, and in the server config you'll need something like this:
configManagementPlugins: |
- name: helmfile
init: # Optional command to initialize application source directory
command: ["argo-cd-helmfile.sh"]
args: ["init"]
generate: # Command to generate manifests YAML
command: ["argo-cd-helmfile.sh"]
args: ["generate"]
do you have that?
from argo-cd-helmfile.
yes i have .
[[ -v HELMFILE_HELMFILE ]]\n+ [[ ! -d .__argo-cd-helmfile.sh__helmfile.d ]]\n+ mkdir -p /tmp/argo-cd-helmfile.sh/apps/testapp\n+ [[ 3 -eq 2 ]]\n+ [[ 3 -eq 3 ]]\n+ export HELMFILE_HELM3=1\n+ HELMFILE_HELM3=1\n+ '[' '!' -z '' ']'\n+ /usr/local/bin/helmfile --helm-binary /usr/local/bin/helm --no-color --allow-no-matching-release --namespace default --file new/helmfile.yaml**repos\nspecified state file new/helmfile.yaml is not found"**
grpc.code=Unknown grpc.method=GenerateManifest grpc.request.deadline="2022-08-31T08:31:47Z" grpc.service=repository.RepoServerService grpc.start_time="2022-08-31T08:30:47Z" grpc.time_ms=3.066 span.kind=server system=grpc
this is the logs from repo server pod
from argo-cd-helmfile.
Related Issues (20)
- 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
- 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
- kustomize patches support for dependencies
- Image tag version based on helmfile version
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.