-
Notifications
You must be signed in to change notification settings - Fork 134
/
mu.yml
63 lines (52 loc) · 1.27 KB
/
mu.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
---
environments:
- name: acceptance
provider: eks
- name: production
provider: eks
service:
name: eks-example
healthEndpoint: /
port: 80
pathPatterns:
- /*
database:
name: sample
engine: aurora
engineMode: serverless
## Map environment variables from one's provided as secrets
environment:
DB_HOST: $(DatabaseEndpointAddress)
DB_PORT: $(DatabaseEndpointPort)
DB_USERNAME: $(DatabaseMasterUsername)
DB_PASSWORD: $(DatabaseMasterPassword)
## The resources can be customized below
templates:
mu-environment-acceptance-ConfigMap-aws-auth:
data:
mapUsers: |
- userarn: arn:aws:iam::00000000000:user/casey.lee
username: casey-lee
groups:
- system:masters
## example of replacing entire spec files via extentions
extensions:
- url: custom-ingress
## Configure EKS RBAC
rbac:
## Give the `alice` IAM user full admin access to all environments
- role: admin
users:
- alice
## Give the `bob` IAM user read-only access to all environments
- role: view
users:
- bob
## Give the `foo`, `bar` and `baz` mu services access to deploy to the `acceptance` environment
- role: deploy
environments:
- acceptance
services:
- foo
- bar
- baz