-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmy-juice-shop.yaml
113 lines (109 loc) · 2.65 KB
/
my-juice-shop.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
111
112
113
---
# Source: juice-shop/templates/service.yaml
# SPDX-FileCopyrightText: 2020 iteratec GmbH
#
# SPDX-License-Identifier: Apache-2.0
apiVersion: v1
kind: Service
metadata:
name: my-juice-shop
labels:
helm.sh/chart: juice-shop-2.9.1
app.kubernetes.io/name: juice-shop
app.kubernetes.io/instance: my-juice-shop
app.kubernetes.io/version: "v12.7.0"
app.kubernetes.io/managed-by: Helm
annotations:
prometheus.io/scrape: 'true'
spec:
type: ClusterIP
ports:
- port: 3000
targetPort: http
protocol: TCP
name: http
selector:
app.kubernetes.io/name: juice-shop
app.kubernetes.io/instance: my-juice-shop
---
# Source: juice-shop/templates/deployment.yaml
# SPDX-FileCopyrightText: 2020 iteratec GmbH
#
# SPDX-License-Identifier: Apache-2.0
apiVersion: apps/v1
kind: Deployment
metadata:
name: my-juice-shop
labels:
helm.sh/chart: juice-shop-2.9.1
app.kubernetes.io/name: juice-shop
app.kubernetes.io/instance: my-juice-shop
app.kubernetes.io/version: "v12.7.0"
app.kubernetes.io/managed-by: Helm
annotations:
{}
spec:
replicas: 3
selector:
matchLabels:
app.kubernetes.io/name: juice-shop
app.kubernetes.io/instance: my-juice-shop
template:
metadata:
labels:
app.kubernetes.io/name: juice-shop
app.kubernetes.io/instance: my-juice-shop
annotations:
{}
spec:
securityContext:
{}
containers:
- name: juice-shop
securityContext:
{}
image: "docker.io/bkimminich/juice-shop:v12.7.0"
imagePullPolicy: IfNotPresent
ports:
- name: http
containerPort: 3000
protocol: TCP
livenessProbe:
httpGet:
path: /
port: http
readinessProbe:
httpGet:
path: /
port: http
resources:
{}
---
# Source: juice-shop/templates/ingress.yaml
# SPDX-FileCopyrightText: 2020 iteratec GmbH
#
# SPDX-License-Identifier: Apache-2.0
---
# Source: juice-shop/templates/tests/test-connection.yaml
# SPDX-FileCopyrightText: 2020 iteratec GmbH
#
# SPDX-License-Identifier: Apache-2.0
apiVersion: v1
kind: Pod
metadata:
name: "my-juice-shop-test-connection"
labels:
helm.sh/chart: juice-shop-2.9.1
app.kubernetes.io/name: juice-shop
app.kubernetes.io/instance: my-juice-shop
app.kubernetes.io/version: "v12.7.0"
app.kubernetes.io/managed-by: Helm
annotations:
"helm.sh/hook": test-success
spec:
containers:
- name: wget
image: busybox
command: ['wget']
args: ['my-juice-shop:3000']
restartPolicy: Never