forked from stevesea/argocd-helm-app-of-apps-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
values.yaml
97 lines (90 loc) · 2.72 KB
/
values.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# your override should supply an envName
envName: null
# if set, override all Applications to use this project
projectOverride: null
default:
project:
roles: |
- name: read-only
description: Read-only privileges within project
policies:
- p, proj:{{ $.curProjName }}:read-only, applications, get, {{ $.curProjName }}/*, allow
- name: ci-role
description: Role to allow CICD pipeline to sync apps within project
policies:
- p, proj:{{ $.curProjName }}:ci-role, applications, sync, {{ $.curProjName }}/*, allow
destinations: |
- namespace: {{ $.Values.default.app.destination.namespace | required "Missing proj dest namespace"}}
server: {{ $.Values.default.app.destination.server | required "Missing proj dest server" }}
app:
enableAutoSync: null
autoSyncPrune: true
destination:
namespace: null
server: null
project: null
source:
path: null
repoURL: null
targetRevision: HEAD
#Examples of how you might use extraSourceFields. depending on if you're using Helm or Kustomize for your apps
#
#extraSourceFields: |
# helm:
# valueFiles:
# - {{ $.Values.envName }}-values.yaml
# kustomize:
# namePrefix: prod-
#extraFields: |
# #Default fields you want on all applications, unless the app individually overrides.
# # for example, here's how to ignore replicas if your chart uses HPA
# ignoreDifferences:
# - group: apps
# kind: Deployment
# jsonPointers:
# - /spec/replicas
projects:
infra:
description: 'infrastructure project'
sourceRepos:
- https://MY_INFRA_REPOSITORY/utils/*
infra-identity:
extraFields: |
clusterResourceWhitelist:
- group: '*'
kind: '*'
description: 'infrastructure project - identity'
sourceRepos:
- https://MY_INFRA_REPOSITORY/identity/*
applications:
k8s-service-accounts:
enabled: false
destination:
namespace: null
server: null
project: infra-identity
source:
path: "service-accounts"
repoURL: https://MY_INFRA_REPOSITORY/identity/k8s-service-accounts.git
service-discovery:
enabled: false
destination:
namespace: null
server: null
project: infra
source:
path: ./overlays/{{ $.Values.envName }}
repoURL: https://MY_INFRA_REPOSITORY/utils/service-discovery.git
infra-svc:
enabled: false
destination:
namespace: null
server: null
project: infra
source:
path: infra-svc
repoURL: https://MY_INFRA_REPOSITORY/utils/infra-svc.git
extraSourceFields: |
helm:
valueFiles:
- {{ $.Values.envName }}-values.yaml