-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathplugin.yaml
More file actions
64 lines (64 loc) · 1.92 KB
/
plugin.yaml
File metadata and controls
64 lines (64 loc) · 1.92 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
apiVersion: argoproj.io/v1alpha1
kind: ConfigManagementPlugin
metadata:
name: cuelang
spec:
version: v0.0.17
generate:
command:
- cue
args:
- cmd
- generate
- github.com/deepbrook/argocd-cmp-cuelang@v0.0.17:plugin
discover:
fileName: ./*.cue
find:
glob: '**/*.cue'
parameters:
static:
- collectionType: string
title: CUE sub-command
name: cue-command
tooltip: 'CUE sub-command to invoke (default: `eval`)'
required: false
string: eval
- collectionType: string
title: CUE Package
name: package
tooltip: CUE Package to pass to `cue` command.
required: false
string: ""
- collectionType: array
title: Injections
name: tags
tooltip: list of key=value items to inject using the `-t` flag.
array: []
required: false
- collectionType: string
title: Format
name: output
tooltip: Output format to use when running `cue eval`. Restricted to JSON/YAML/text. When using 'text', please make sure that the result has been encoded to JSON or YAML, as ArgoCD does not accept other formats.
required: false
string: text
- collectionType: array
title: Expressions
name: expressions
tooltip: 'Expressions to pass to `cue eval` via `-e/--expression` flag (default: none).'
array:
- manifests
required: false
- collectionType: string
title: CUE Workflow Command
name: workflow
tooltip: 'Name of the workflow command defined in the `*_tool.cue` file called (default: `build`). Ignored if `cue-command` is `eval`.'
required: false
string: build
dynamic:
command:
- cue
- cmd
- dynamic-params
- github.com/deepbrook/argocd-cmp-cuelang@v0.0.17:plugin
preserveFileMode: false
provideGitCreds: false