Skip to content

Commit

Permalink
Merge juice-shop v14.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Randy Johnston committed Aug 26, 2022
1 parent 201e372 commit 69fa1e4
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ out/
*.iml
*.iws
*.swp
.dccache

# Branch ghpages
assets/
Expand Down
24 changes: 24 additions & 0 deletions k8s-src/juice-shop-deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: snyk-juice-shop
labels:
app: snyk-juice-shop
spec:
selector:
matchLabels:
app: snyk-juice-shop
replicas: 1
template:
metadata:
labels:
app: snyk-juice-shop
spec:
containers:
- name: juice-shop
image: docker.io/rajohnston/juice-shop:0.1.9
imagePullPolicy: IfNotPresent
ports:
- containerPort: 3001
securityContext:
privileged: true
16 changes: 16 additions & 0 deletions k8s-src/juice-shop-service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
apiVersion: v1
kind: Service
metadata:
name: snyk-juice-shop
labels:
app: snyk-juice-shop
spec:
ports:
- port: 8081
targetPort: 3001
protocol: TCP
selector:
app: snyk-juice-shop
type: LoadBalancer

0 comments on commit 69fa1e4

Please sign in to comment.