Skip to content

Commit 01fa5f3

Browse files
committed
fix: remove type from services
1 parent 2ae0f9b commit 01fa5f3

File tree

14 files changed

+0
-72
lines changed

14 files changed

+0
-72
lines changed

tests/bootstrap/input-local-dev.yaml

-3
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,12 @@ teamConfig:
5858
name: httpbin
5959
ownHost: true
6060
port: 80
61-
type: public
6261
- id: a106eb22-8c06-41b6-ab15-97aafb0888b5
6362
ingressClassName: platform
6463
name: nginx-deployment
6564
ownHost: true
6665
paths: []
6766
port: 80
68-
type: public
6967
- id: 91f6af98-ad8e-4111-b916-cf1b5bdcafb0
7068
ingressClassName: platform
7169
ksvc:
@@ -74,7 +72,6 @@ teamConfig:
7472
ownHost: true
7573
paths: []
7674
port: 80
77-
type: public
7875
workloads:
7976
- name: nodejs-helloworld
8077
url: https://github.com/linode/apl-nodejs-helloworld.git

tests/bootstrap/input.yaml

-3
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,12 @@ teamConfig:
5757
name: httpbin
5858
ownHost: true
5959
port: 80
60-
type: public
6160
- id: a106eb22-8c06-41b6-ab15-97aafb0888b5
6261
ingressClassName: platform
6362
name: nginx-deployment
6463
ownHost: true
6564
paths: []
6665
port: 80
67-
type: public
6866
- id: 91f6af98-ad8e-4111-b916-cf1b5bdcafb0
6967
ingressClassName: platform
7068
ksvc:
@@ -73,7 +71,6 @@ teamConfig:
7371
ownHost: true
7472
paths: []
7573
port: 80
76-
type: public
7774
workloads:
7875
- name: nodejs-helloworld
7976
url: https://github.com/linode/apl-nodejs-helloworld.git

tests/fixtures/env/teams/admin/services/hello-admin.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,3 @@ spec:
99
name: hello-admin
1010
ownHost: true
1111
port: 80
12-
type: public

tests/fixtures/env/teams/demo/services/has-cert-svc.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,3 @@ spec:
88
name: has-cert-svc
99
paths:
1010
- /jeho
11-
type: public

tests/fixtures/env/teams/demo/services/hello-auth.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,3 @@ spec:
1111
ownHost: true
1212
paths: []
1313
port: 80
14-
type: public

tests/fixtures/env/teams/demo/services/hello-blue-green.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,4 @@ spec:
1515
enabled: true
1616
weightV1: 90
1717
weightV2: 10
18-
type: public
1918
useCname: false

tests/fixtures/env/teams/demo/services/hello.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,4 @@ spec:
2626
enabled: true
2727
weightV1: 70
2828
weightV2: 30
29-
type: public
3029
useCname: true

tests/fixtures/env/teams/demo/services/service-a.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@ metadata:
55
apl.io/teamId: demo
66
spec:
77
name: service-a
8-
type: cluster

tests/fixtures/env/teams/demo/services/service-b.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@ metadata:
55
apl.io/teamId: demo
66
spec:
77
name: service-b
8-
type: cluster

tests/fixtures/env/teams/demo/services/service-d.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@ metadata:
55
apl.io/teamId: demo
66
spec:
77
name: service-d
8-
type: cluster

tests/fixtures/env/teams/demo/services/service-e.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,4 @@ spec:
2424
enabled: true
2525
weightV1: 50
2626
weightV2: 50
27-
type: public
2827
useCname: true

tests/fixtures/env/teams/demo/services/some-svc.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,3 @@ metadata:
66
spec:
77
name: some-svc
88
port: 80
9-
type: cluster

tests/fixtures/env/teams/demo/services/tlspass.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,3 @@ spec:
99
name: tlspass
1010
port: 443
1111
tlsPass: true
12-
type: public

tests/network-policies/env/teams/services.a1.yaml

-55
Original file line numberDiff line numberDiff line change
@@ -3,76 +3,28 @@ teamConfig:
33
services:
44
- name: ce1
55
port: 8080
6-
networkPolicy:
7-
ingressPrivate:
8-
mode: DenyAll
9-
egressPublic:
10-
- domain: 'httpbin.org'
11-
ports:
12-
- protocol: HTTPS
13-
number: 443
14-
- domain: '116.203.255.68'
15-
ports:
16-
- protocol: TCP
17-
number: 443
186
id: 2bb00d03-7d9d-4590-961c-425423291a35
19-
type: cluster
207
- name: ce2
218
port: 8080
229
id: 2bb00d03-7d9d-4590-961c-425423291a34
23-
type: cluster
2410
- name: s1
2511
port: 8080
2612
id: 6c901b91-e8a4-4422-8c9e-b12e077692f1
27-
type: cluster
28-
networkPolicy:
29-
ingressPrivate:
30-
mode: AllowAll
3113
- name: s2
3214
port: 8080
3315
id: 6c901b91-e8a4-4422-8c9e-b12e077692f2
34-
type: cluster
35-
networkPolicy:
36-
ingressPrivate:
37-
mode: AllowOnly
38-
allow:
39-
- team: a1
4016
- name: s3
4117
port: 8080
4218
id: 6c901b91-e8a4-4422-8c9e-b12e077692f3
43-
type: cluster
44-
networkPolicy:
45-
ingressPrivate:
46-
mode: AllowOnly
47-
allow:
48-
- team: a2
4919
- name: s4
5020
port: 8080
5121
id: 6c901b91-e8a4-4422-8c9e-b12e077692f4
52-
type: cluster
53-
networkPolicy:
54-
ingressPrivate:
55-
mode: DenyAll
5622
- name: s5
5723
port: 8080
5824
id: 6c901b91-e8a4-4422-8c9e-b12e077692f5
59-
type: cluster
60-
networkPolicy:
61-
ingressPrivate:
62-
mode: AllowOnly
63-
allow:
64-
- team: a1
65-
- team: a2
6625
- name: s6
6726
port: 8080
6827
id: 6c901b91-e8a4-4422-8c9e-b12e077692f6
69-
type: cluster
70-
networkPolicy:
71-
ingressPrivate:
72-
mode: AllowOnly
73-
allow:
74-
- team: a1
75-
service: c6
7628
- name: s7
7729
id: 6d4a4710-f7ac-4586-9940-7969cfe30b67
7830
ksvc:
@@ -93,10 +45,3 @@ teamConfig:
9345
memory: 64Mi
9446
containerPort: 8080
9547
ownHost: true
96-
type: public
97-
networkPolicy:
98-
ingressPrivate:
99-
mode: AllowOnly
100-
allow:
101-
- team: a1
102-
service: c7

0 commit comments

Comments
 (0)