helm-external-val
helm-external-val copied to clipboard
examples for argocd
I could not find any example or documentation of how to use the plugin from an argocd application. Thx
heh good call, I described how to install it and some caveat but didn't actually show how to reference it. I'll whip up something 👍
@chicco785 until I get the example properly in the readme here's how you can use it
Note the valueFiles under the helm section. This will fetch a config map named go-fun-values in the kuuji namespace and use the content as values.
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: gofun
namespace: argocd
spec:
project: kuuji
source:
repoURL: https://charts.devspace.sh
targetRevision: 0.8.4
chart: component-chart
# helm specific config
helm:
releaseName: gofun
valueFiles:
- cm://kuuji/go-fun-values
values: |
containers:
- image: ghcr.io/kuuji/project/app:GaGhtgD
livenessProbe:
httpGet:
path: /
port: 8080
readinessProbe:
httpGet:
path: /
port: 8080
It's throwing this error:
error resolving value file path: the URL scheme 'cm' is not allowed