-
Notifications
You must be signed in to change notification settings - Fork 45
/
Copy pathvalues.yaml
110 lines (97 loc) · 2.79 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
98
99
100
101
102
103
104
105
106
107
108
109
110
# 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
extraSourceFields: |
helm:
valueFiles:
- {{ $.Values.envName }}-values.yaml
# kustomize:
# namePrefix: prod-
#extraFields: |
# Default fields you want on all applications, unless the app individually overrides
projects:
auth:
description: 'auth services -- api gateway, auth'
sourceRepos:
- https://MY_APPS_REPOSITORY/auth/*
onboarding:
description: 'onboarding services -- user PII, etc'
sourceRepos:
- https://MY_APPS_REPOSITORY/onboarding/*
applications:
pdf-service:
enabled: false
destination:
namespace: null
server: null
project: onboarding
source:
path: pdf-service
repoURL: https://MY_APPS_REPOSITORY/onboarding/cd-pdf-service.git
# ignore diffs in replicas since we're doing HPA
extraFields: |
ignoreDifferences:
- group: apps
kind: Deployment
jsonPointers:
- /spec/replicas
mailqueue:
enabled: false
destination:
namespace: null
server: null
project: onboarding
source:
path: mailqueue
repoURL: https://MY_APPS_REPOSITORY/auth/cd-mailqueue.git
# apps can override the default extraSourceFields
#
extraSourceFields: |
helm:
valueFiles:
- my-app-overrides-{{ $.Values.envName }}-values.yaml
- {{ $.Values.envName }}-values.yaml
api-gateway:
enabled: false
destination:
namespace: null
server: null
project: auth
source:
path: api-gateway
repoURL: https://MY_APPS_REPOSITORY/auth/cd-api-gateway.git
auth-service:
enabled: false
destination:
namespace: null
server: null
project: auth
source:
path: auth-service
repoURL: https://MY_APPS_REPOSITORY/auth/cd-auth-service.git