This repository has been archived by the owner on Dec 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
fleet.yaml
50 lines (47 loc) · 1.53 KB
/
fleet.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
defaultNamespace: argocd
helm:
releaseName: argo-cd
chart: argo-cd
repo: https://partner-charts.rancher.io/
version: "5.53.8"
values:
server:
config:
kustomize.buildOptions: "--enable-alpha-plugins --enable-exec"
repoServer:
# Use init containers to configure custom tooling
# https://argoproj.github.io/argo-cd/operator-manual/custom_tools/
volumes:
- name: custom-tools
emptyDir: {}
- name: sops-age-key
secret:
secretName: sops-age-key # Deployed in Ansible
initContainers:
- name: install-ksops
image: viaductoss/ksops:v4.2.1
command: ["/bin/sh", "-c"]
args:
- echo "Installing KSOPS...";
mv ksops /custom-tools/;
mv kustomize /custom-tools/;
echo "Done.";
volumeMounts:
- mountPath: /custom-tools
name: custom-tools
volumeMounts:
- mountPath: /usr/local/bin/kustomize
name: custom-tools
subPath: kustomize
- mountPath: /home/argocd/.config/kustomize/plugin/viaduct.ai/v1/ksops/ksops
name: custom-tools
subPath: ksops
- mountPath: /home/argocd/.config/sops/age
name: sops-age-key
env:
- name: SOPS_AGE_KEY_FILE
value: /home/argocd/.config/sops/age/keys.txt
- name: XDG_CONFIG_HOME
value: /home/argocd/.config
- name: KUSTOMIZE_PLUGIN_HOME
value: /home/argocd/.config/kustomize/plugin