From 7728f9bf75d3ea9fdf1c3f898e7314b0db9cb8d4 Mon Sep 17 00:00:00 2001 From: Goutham Pratapa Date: Thu, 12 Oct 2023 11:20:24 +0530 Subject: [PATCH] Fix images with vulnerabilities (#27733) Fixes: [27523](https://github.com/appsmithorg/appsmith/issues/27523) --- deploy/helm/Chart.yaml | 2 +- deploy/helm/templates/statefulset.yaml | 4 ++-- deploy/helm/values.yaml | 8 ++++++-- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/deploy/helm/Chart.yaml b/deploy/helm/Chart.yaml index fbb6e0bc25..a9aa50e8fa 100644 --- a/deploy/helm/Chart.yaml +++ b/deploy/helm/Chart.yaml @@ -11,7 +11,7 @@ sources: - https://github.com/appsmithorg/appsmith home: https://www.appsmith.com/ icon: https://assets.appsmith.com/appsmith-icon.png -version: 2.0.5 +version: 2.0.6 dependencies: - condition: redis.enabled name: redis diff --git a/deploy/helm/templates/statefulset.yaml b/deploy/helm/templates/statefulset.yaml index c1cdcc219a..eb76e159c9 100644 --- a/deploy/helm/templates/statefulset.yaml +++ b/deploy/helm/templates/statefulset.yaml @@ -49,7 +49,7 @@ spec: {{- if ((.Values.initContainer.redis).image) }} image: {{ .Values.initContainer.redis.image }} {{- else }} - image: "docker.io/library/redis:6.2-alpine" + image: "docker.io/bitnami/redis:7.0.13-debian-11-r10" {{- end }} command: ['sh', '-c', "until redis-cli -h {{.Release.Name}}-redis-master.{{.Release.Namespace}}.svc.cluster.local ping ; do echo waiting for redis; sleep 2; done"] {{- end }} @@ -58,7 +58,7 @@ spec: {{- if ((.Values.initContainer.mongodb).image) }} image: {{ .Values.initContainer.mongodb.image }} {{- else }} - image: "docker.io/bitnami/mongodb:5.0.17-debian-11-r5" + image: "docker.io/bitnami/mongodb:5.0.21-debian-11-r5" {{- end }} command: ['sh', '-c', "until mongo --host appsmith-mongodb.{{.Release.Namespace}}.svc.cluster.local --eval 'db.runCommand({ping:1})' ; do echo waiting for mongo; sleep 2; done"] {{- end }} diff --git a/deploy/helm/values.yaml b/deploy/helm/values.yaml index a962da35d1..06fad20cbe 100644 --- a/deploy/helm/values.yaml +++ b/deploy/helm/values.yaml @@ -8,6 +8,8 @@ redis: replica: replicaCount: 1 nodeSelector: {} + image: + tag: 7.0.13-debian-11-r10 mongodb: enabled: true @@ -20,6 +22,8 @@ mongodb: architecture: "replicaset" replicaSetName: rs0 nodeSelector: {} + image: + tag: 5.0.21-debian-11-r5 arbiter: nodeSelector: {} hidden: @@ -62,9 +66,9 @@ strategyType: RollingUpdate ## initContainer: {} # redis: - # image: alpine + # image: docker.io/bitnami/redis-cluster:7.0.13-debian-11-r10 # mongodb: - # image: docker.io/bitnami/mongodb:4.4.11-debian-10-r12 + # image: docker.io/bitnami/mongodb:5.0.21-debian-11-r5 ## Image ## image: