From 3311ffc2aa5b80df902e52b4a731c1d48ee1d748 Mon Sep 17 00:00:00 2001 From: Ramanan Ravikumar <38394463+ramanan-ravi@users.noreply.github.com> Date: Tue, 26 Nov 2024 22:35:20 +0530 Subject: [PATCH] Upgrade version to v2.5.1 (#2378) --- Makefile | 2 +- README.md | 4 +-- deepfence_agent/plugins/cloud-scanner | 2 +- deepfence_agent/plugins/yara-rules | 2 +- .../helm-charts/deepfence-agent/Chart.yaml | 4 +-- .../helm-charts/deepfence-agent/ReadMe.md | 4 +-- .../helm-charts/deepfence-agent/values.yaml | 10 +++--- .../helm-charts/deepfence-console/Chart.yaml | 4 +-- .../helm-charts/deepfence-console/values.yaml | 28 ++++++++-------- .../helm-charts/deepfence-router/Chart.yaml | 4 +-- deployment-scripts/helm-charts/index.yaml | 32 ++++++++++++++++++- install.sh | 2 +- 12 files changed, 64 insertions(+), 34 deletions(-) diff --git a/Makefile b/Makefile index c33af437f0..050c0629b6 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ export IMAGE_REPOSITORY?=quay.io/deepfenceio export DF_IMG_TAG?=latest export STEAMPIPE_IMG_TAG?=0.23.x export IS_DEV_BUILD?=false -export VERSION?=v2.5.0 +export VERSION?=v2.5.1 export AGENT_BINARY_BUILD=$(DEEPFENCE_FARGATE_DIR)/build export AGENT_BINARY_BUILD_RELATIVE=deepfence_agent/agent-binary/build export AGENT_BINARY_DIST=$(DEEPFENCE_FARGATE_DIR)/dist diff --git a/README.md b/README.md index 1d47eba7ae..ed843d366c 100644 --- a/README.md +++ b/README.md @@ -93,10 +93,10 @@ docker run -dit \ -e http_proxy="" \ -e https_proxy="" \ -e no_proxy="" \ - quay.io/deepfenceio/deepfence_agent_ce:2.5.0 + quay.io/deepfenceio/deepfence_agent_ce:2.5.1 ``` -Note: Image tag `quay.io/deepfenceio/deepfence_agent_ce:2.5.0-multiarch` is supported in amd64 and arm64/v8 architectures. +Note: Image tag `quay.io/deepfenceio/deepfence_agent_ce:2.5.1-multiarch` is supported in amd64 and arm64/v8 architectures. On a Kubernetes platform, the sensors are installed using [helm chart](https://community.deepfence.io/threatmapper/docs/v2.5/sensors/kubernetes/) diff --git a/deepfence_agent/plugins/cloud-scanner b/deepfence_agent/plugins/cloud-scanner index cab896b779..7f2a99f38b 160000 --- a/deepfence_agent/plugins/cloud-scanner +++ b/deepfence_agent/plugins/cloud-scanner @@ -1 +1 @@ -Subproject commit cab896b779df2fd3f843abba880edff96b5e3430 +Subproject commit 7f2a99f38b728e0a1d2d2c999e9a394cf0605be4 diff --git a/deepfence_agent/plugins/yara-rules b/deepfence_agent/plugins/yara-rules index a597cdb5d3..92ef11e8df 160000 --- a/deepfence_agent/plugins/yara-rules +++ b/deepfence_agent/plugins/yara-rules @@ -1 +1 @@ -Subproject commit a597cdb5d3a7bb291f1a09c6b190f90d77071fa7 +Subproject commit 92ef11e8df844cfc5b391764b2cec7a7c73668c6 diff --git a/deployment-scripts/helm-charts/deepfence-agent/Chart.yaml b/deployment-scripts/helm-charts/deepfence-agent/Chart.yaml index 70566dedd5..61cb63a7da 100644 --- a/deployment-scripts/helm-charts/deepfence-agent/Chart.yaml +++ b/deployment-scripts/helm-charts/deepfence-agent/Chart.yaml @@ -15,9 +15,9 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 2.5.0 +version: 2.5.1 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. -appVersion: 2.5.0 \ No newline at end of file +appVersion: 2.5.1 \ No newline at end of file diff --git a/deployment-scripts/helm-charts/deepfence-agent/ReadMe.md b/deployment-scripts/helm-charts/deepfence-agent/ReadMe.md index 43a0170774..a60fd9bbb4 100644 --- a/deployment-scripts/helm-charts/deepfence-agent/ReadMe.md +++ b/deployment-scripts/helm-charts/deepfence-agent/ReadMe.md @@ -48,9 +48,9 @@ managementConsoleUrl: "" - Set image tag ```yaml global: - # this image tag is used every where for agents + # this image tag is used everywhere for agents # to override set tag at agents level - imageTag: 2.0.1 + imageTag: 2.5.1 ``` - Set deepfence auth key Set authentication key when it is enabled in management console diff --git a/deployment-scripts/helm-charts/deepfence-agent/values.yaml b/deployment-scripts/helm-charts/deepfence-agent/values.yaml index 9b2309e4bf..a88a4067cf 100644 --- a/deployment-scripts/helm-charts/deepfence-agent/values.yaml +++ b/deployment-scripts/helm-charts/deepfence-agent/values.yaml @@ -9,12 +9,12 @@ fullnameOverride: "" commonLabels: {} global: - # this image tag is used every where for agents + # this image tag is used everywhere for agents # to override set tag at agents level - imageTag: 2.5.0 + imageTag: 2.5.1 imagePullSecret: - # Specifies whether a image pull secret should be created + # Specifies whether image pull secret should be created create: false registry: "quay.io" # registry: "https://index.docker.io/v1/" @@ -28,7 +28,7 @@ imagePullSecret: agent: image: name: quay.io/deepfenceio/deepfence_agent_ce - # tag: 2.5.0 + # tag: 2.5.1 pullPolicy: Always affinity: {} podLabels: {} @@ -52,7 +52,7 @@ agent: cluster_agent: image: name: quay.io/deepfenceio/deepfence_cluster_agent_ce - # tag: 2.5.0 + # tag: 2.5.1 pullPolicy: Always affinity: {} podLabels: {} diff --git a/deployment-scripts/helm-charts/deepfence-console/Chart.yaml b/deployment-scripts/helm-charts/deepfence-console/Chart.yaml index b9082a2624..d39d83b092 100644 --- a/deployment-scripts/helm-charts/deepfence-console/Chart.yaml +++ b/deployment-scripts/helm-charts/deepfence-console/Chart.yaml @@ -2,5 +2,5 @@ apiVersion: v2 name: deepfence-console description: A Helm chart for Kubernetes type: application -version: 2.5.0 -appVersion: 2.5.0 +version: 2.5.1 +appVersion: 2.5.1 diff --git a/deployment-scripts/helm-charts/deepfence-console/values.yaml b/deployment-scripts/helm-charts/deepfence-console/values.yaml index f7fed93514..be2e6bfafd 100644 --- a/deployment-scripts/helm-charts/deepfence-console/values.yaml +++ b/deployment-scripts/helm-charts/deepfence-console/values.yaml @@ -16,7 +16,7 @@ global: # imageRepoPrefix: "docker.io" # this image tag is used everywhere for console services # to override set tag at service level - imageTag: 2.5.0 + imageTag: 2.5.1 storageClass: "" # used in service name generation # ..svc. @@ -64,7 +64,7 @@ kafka: repository: deepfenceio/deepfence_kafka_broker_ce pullPolicy: Always # Overrides the image tag whose default is .global.imageTag - # tag: 2.5.0 + # tag: 2.5.1 config: # required, recommended to generate new UUID using kafka-storage tool STORAGE_UUID: hNQ55qppT5GGybF52ZGlOQ @@ -102,7 +102,7 @@ postgres: repository: deepfenceio/deepfence_postgres_ce pullPolicy: Always # Overrides the image tag whose default is .global.imageTag - # tag: 2.5.0 + # tag: 2.5.1 storageClass: "" volumeSize: 50G resources: @@ -131,7 +131,7 @@ redis: repository: deepfenceio/deepfence_redis_ce pullPolicy: Always # Overrides the image tag whose default is .global.imageTag - # tag: 2.5.0 + # tag: 2.5.1 storageClass: "" volumeSize: 30G resources: @@ -170,7 +170,7 @@ fileserver: repository: deepfenceio/deepfence_file_server_ce pullPolicy: Always # Overrides the image tag whose default is .global.imageTag - # tag: 2.5.0 + # tag: 2.5.1 storageClass: "" volumeSize: 100G resources: @@ -231,7 +231,7 @@ neo4j: image: repository: deepfenceio/deepfence_neo4j_ce pullPolicy: Always - # tag: 2.5.0 + # tag: 2.5.1 storageClass: "" volumeSize: 100G resources: @@ -293,7 +293,7 @@ router: repository: deepfenceio/deepfence_router_ce pullPolicy: Always # Overrides the image tag whose default is .global.imageTag - # tag: 2.5.0 + # tag: 2.5.1 forceHttpsRedirect: true podAnnotations: {} podSecurityContext: {} @@ -356,7 +356,7 @@ server: repository: deepfenceio/deepfence_server_ce pullPolicy: Always # Overrides the image tag whose default is .global.imageTag - # tag: 2.5.0 + # tag: 2.5.1 podAnnotations: {} podSecurityContext: {} securityContext: {} @@ -388,7 +388,7 @@ worker: repository: deepfenceio/deepfence_worker_ce pullPolicy: Always # Overrides the image tag whose default is .global.imageTag - # tag: 2.5.0 + # tag: 2.5.1 podAnnotations: {} podSecurityContext: {} securityContext: {} @@ -426,7 +426,7 @@ ingester: repository: deepfenceio/deepfence_worker_ce pullPolicy: Always # Overrides the image tag whose default is .global.imageTag - # tag: 2.5.0 + # tag: 2.5.1 podAnnotations: {} podSecurityContext: {} securityContext: {} @@ -456,7 +456,7 @@ scheduler: repository: deepfenceio/deepfence_worker_ce pullPolicy: Always # Overrides the image tag whose default is .global.imageTag - # tag: 2.5.0 + # tag: 2.5.1 service: type: ClusterIP port: 8080 @@ -481,7 +481,7 @@ ui: repository: deepfenceio/deepfence_ui_ce pullPolicy: Always # Overrides the image tag whose default is .global.imageTag - # tag: 2.5.0 + # tag: 2.5.1 service: type: ClusterIP port: 8081 @@ -530,7 +530,7 @@ console_agents: repository: deepfenceio/deepfence_agent_ce pullPolicy: Always # Overrides the image tag whose default is .global.imageTag - # tag: 2.5.0 + # tag: 2.5.1 resources: requests: cpu: 150m @@ -554,7 +554,7 @@ console_agents: repository: deepfenceio/deepfence_cluster_agent_ce pullPolicy: Always # Overrides the image tag whose default is .global.imageTag - # tag: 2.5.0 + # tag: 2.5.1 resources: requests: cpu: 25m diff --git a/deployment-scripts/helm-charts/deepfence-router/Chart.yaml b/deployment-scripts/helm-charts/deepfence-router/Chart.yaml index 7ea89fe84f..56f7f3c6f9 100644 --- a/deployment-scripts/helm-charts/deepfence-router/Chart.yaml +++ b/deployment-scripts/helm-charts/deepfence-router/Chart.yaml @@ -2,5 +2,5 @@ apiVersion: v2 description: Deepfence Router - Helm chart for Kubernetes name: deepfence-router type: application -appVersion: 2.5.0 -version: 2.5.0 +appVersion: 2.5.1 +version: 2.5.1 diff --git a/deployment-scripts/helm-charts/index.yaml b/deployment-scripts/helm-charts/index.yaml index bbb30f8f06..992c6fe3e2 100644 --- a/deployment-scripts/helm-charts/index.yaml +++ b/deployment-scripts/helm-charts/index.yaml @@ -1,6 +1,16 @@ apiVersion: v1 entries: deepfence-agent: + - apiVersion: v2 + appVersion: 2.5.1 + created: "2024-11-26T18:58:18.434159+05:30" + description: Deepfence Agent - Helm chart for Kubernetes + digest: b1b5ea970c67feee69e0a255a09ed54e6ebc8c0b7f4d97d2ce6bca37702faabc + name: deepfence-agent + type: application + urls: + - deepfence-agent-2.5.1.tgz + version: 2.5.1 - apiVersion: v2 appVersion: 2.5.0 created: "2024-11-05T00:07:22.989665+05:30" @@ -322,6 +332,16 @@ entries: - deepfence-agent-1.0.0.tgz version: 1.0.0 deepfence-console: + - apiVersion: v2 + appVersion: 2.5.1 + created: "2024-11-26T18:58:18.435568+05:30" + description: A Helm chart for Kubernetes + digest: 27ea01abfd47b2fac2dd00d6b18c194fe2c483236e7bc74f578baadeb855a3d2 + name: deepfence-console + type: application + urls: + - deepfence-console-2.5.1.tgz + version: 2.5.1 - apiVersion: v2 appVersion: 2.5.0 created: "2024-11-05T00:07:22.990866+05:30" @@ -653,6 +673,16 @@ entries: - deepfence-console-1.0.0.tgz version: 1.0.0 deepfence-router: + - apiVersion: v2 + appVersion: 2.5.1 + created: "2024-11-26T18:58:18.435908+05:30" + description: Deepfence Router - Helm chart for Kubernetes + digest: a52a49d1be79181e146033005906491eb1489ff4a06ef8fc0cc7caf08d8f2de4 + name: deepfence-router + type: application + urls: + - deepfence-router-2.5.1.tgz + version: 2.5.1 - apiVersion: v2 appVersion: 2.5.0 created: "2024-11-05T00:07:22.991185+05:30" @@ -863,4 +893,4 @@ entries: urls: - deepfence-router-1.0.0.tgz version: 1.0.0 -generated: "2024-11-05T00:07:22.988938+05:30" +generated: "2024-11-26T18:58:18.432252+05:30" diff --git a/install.sh b/install.sh index 4ebb32dd27..413959985d 100755 --- a/install.sh +++ b/install.sh @@ -12,7 +12,7 @@ CROSS="${RED}✘${NC}" INFO="${BLUE}ℹ${NC}" # Default values -DEFAULT_IMAGE_TAG="2.5.0" +DEFAULT_IMAGE_TAG="2.5.1" DEFAULT_STORAGE_CLASS="" # Auto-generate default Neo4j password DEFAULT_NEO4J_PASSWORD=$(openssl rand -base64 12 | tr -dc 'a-zA-Z0-9' | head -c 12)