-
Notifications
You must be signed in to change notification settings - Fork 0
/
argocd.yml
48 lines (47 loc) · 1.44 KB
/
argocd.yml
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
parameters:
kapitan:
compile:
- input_paths:
- argocd/component/app.jsonnet
input_type: jsonnet
output_path: apps/
- output_path: argocd/01_namespace/
input_type: jsonnet
input_paths:
- argocd/component/namespace.jsonnet
- output_path: argocd/20_rbac/
input_type: jsonnet
input_paths:
- argocd/component/rbac.jsonnet
- output_path: argocd/25_hooks/
input_type: jsonnet
input_paths:
- argocd/component/hooks.jsonnet
- output_path: argocd/30_argocd/
input_type: jsonnet
input_paths:
- argocd/component/argocd.jsonnet
- output_path: argocd/90_instances/
input_type: jsonnet
input_paths:
- argocd/component/instances.jsonnet
# Operator kustomization
- output_path: ${_base_directory}/manifests/argocd-operator
output_type: yaml
input_type: jsonnet
input_paths:
- ${_base_directory}/component/operator.jsonnet
- output_path: .
input_type: external
input_paths:
- ${_kustomize_wrapper}
env_vars:
INPUT_DIR: ${_base_directory}/manifests/argocd-operator
args:
- \${compiled_target_dir}/argocd/10_operator
commodore:
postprocess:
filters:
- type: jsonnet
path: ${_instance}//10_operator/
filter: postprocess/fix_manifests.jsonnet