diff --git a/.cra/.cveignore b/.cra/.cveignore new file mode 100644 index 0000000..a294c87 --- /dev/null +++ b/.cra/.cveignore @@ -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" +} +] diff --git a/guestbook-deployment.yaml b/guestbook-deployment.yaml index 6fc0adc..a8179df 100644 --- a/guestbook-deployment.yaml +++ b/guestbook-deployment.yaml @@ -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 @@ -35,4 +42,4 @@ spec: targetPort: http-server selector: app: guestbook - type: LoadBalancer \ No newline at end of file + type: LoadBalancer diff --git a/redis-master-deployment.yaml b/redis-master-deployment.yaml index fcf327f..bf9c895 100644 --- a/redis-master-deployment.yaml +++ b/redis-master-deployment.yaml @@ -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 diff --git a/redis-slave-deployment.yaml b/redis-slave-deployment.yaml index 0ccd8e0..31d6c00 100644 --- a/redis-slave-deployment.yaml +++ b/redis-slave-deployment.yaml @@ -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