-
Notifications
You must be signed in to change notification settings - Fork 55
/
plugin.yaml
31 lines (30 loc) · 980 Bytes
/
plugin.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
apiVersion: argoproj.io/v1alpha1
kind: ConfigManagementPlugin
metadata:
name: helmfile
spec:
# To use the name instead of discovery, update the name in your application
# manifest to <metadata.name>-<spec.version> if version was mentioned in the
# ConfigManagementPlugin spec or else just use <metadata.name>
#version: v1.0
init:
command: ["argo-cd-helmfile.sh"]
args: ["init"]
generate:
command: ["argo-cd-helmfile.sh"]
args: ["generate"]
# discover is implied with sidecar-style plugins
# executed in the sidecar and with standard env vars like init and generate
discover:
find:
command: [argo-cd-helmfile.sh, discover]
parameters:
#static:
#- name: values-files
# title: Values Files
# collectionType: array
dynamic:
command: [argo-cd-helmfile.sh, parameters]
# https://github.com/argoproj/argo-cd/pull/12940
# https://github.com/travisghansen/argo-cd-helmfile/issues/37
preserveFileMode: true