Skip to content

Commit

Permalink
Fix CIS vuln (IBM#3)
Browse files Browse the repository at this point in the history
* Update redis-master-deployment.yaml

* Update redis-slave-deployment.yaml

* Update guestbook-deployment.yaml

* Create .cveignore
  • Loading branch information
padraic-edwards authored and GitHub Enterprise committed Jul 13, 2021
1 parent 77f1f74 commit 8e1d20a
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 1 deletion.
17 changes: 17 additions & 0 deletions .cra/.cveignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[
{
"cve": "CVE-2020-28469",
"expiration": "2021-08-31T22:08:41+04:00",
"comment": "glo-parent. Fixed in Version: 5.1.2 . Dependendecy for Reacts-scripts. waiting for upstream fix "
},
{
"cve": "CVE-2021-23337",
"expiration": "2021-08-31T22:08:41+04:00",
"comment": "Lodash. Dependendecy for Reacts-scripts. waiting for upstream fix"
},
{
"cve": "CVE-2020-28500",
"expiration": "2021-08-31T22:08:41+04:00",
"comment": "Lodash. Dependendecy for Reacts-scripts. waiting for upstream fix"
}
]
9 changes: 8 additions & 1 deletion guestbook-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ spec:
containers:
- name: guestbook
image: ibmcom/guestbook:v1
resources:
limits:
memory: 32Mi
cpu: 125m
requests:
memory: 32Mi
cpu: 125m
ports:
- name: http-server
containerPort: 3000
Expand All @@ -35,4 +42,4 @@ spec:
targetPort: http-server
selector:
app: guestbook
type: LoadBalancer
type: LoadBalancer
7 changes: 7 additions & 0 deletions redis-master-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ spec:
containers:
- name: redis-master
image: redis:3.2.9
resources:
limits:
memory: 32Mi
cpu: 125m
requests:
memory: 32Mi
cpu: 125m
ports:
- name: redis-server
containerPort: 6379
7 changes: 7 additions & 0 deletions redis-slave-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ spec:
containers:
- name: redis-slave
image: ibmcom/guestbook-redis-slave:v2
resources:
limits:
memory: 32Mi
cpu: 125m
requests:
memory: 32Mi
cpu: 125m
ports:
- name: redis-server
containerPort: 6379

0 comments on commit 8e1d20a

Please sign in to comment.