-
Notifications
You must be signed in to change notification settings - Fork 2
/
selectors.yaml
69 lines (65 loc) · 1.51 KB
/
selectors.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
servicedeployments: &servicedeployments
- name: "run"
operator: "!="
values:
- "storage-calc"
- name: "lagoon.sh/service"
operator: "notin"
values:
- "cli"
- name: "lagoon.sh/service-type"
operator: "notin"
values:
- "mariadb-single"
- "postgres-single"
- "mongodb-single"
- name: "lagoon.sh/jobType"
operator: "notin"
values:
- "build"
- name: "lagoon.sh/environment"
operator: "exists"
clideployments: &clideployments
- name: "job-name"
operator: "!"
- name: "lagoon.sh/service"
operator: "in"
values:
- "cli"
cli:
namespace:
- name: "lagoon.sh/environmentType"
operator: "in"
values:
- "production"
- "development"
builds:
- name: "lagoon.sh/jobType"
operator: "in"
values:
- "build"
deployments: *clideployments
pods: *clideployments
service:
namespace:
- name: "lagoon.sh/environmentType"
operator: "in"
values:
- "development"
builds:
- name: "lagoon.sh/jobType"
operator: "in"
values:
- "build"
deployments: *servicedeployments
pods: *servicedeployments
ingress:
- name: "lagoon.sh/autogenerated"
operator: "exists"
namespaceselectorslabels:
projectname: "lagoon.sh/project"
environmentname: "lagoon.sh/environment"
projectidling: "lagoon.sh/projectAutoIdle"
environmentidling: "lagoon.sh/environmentAutoIdle"
environmenttype: "lagoon.sh/environmentType"
servicename: "lagoon.sh/service"