Skip to content

Latest commit

 

History

History
74 lines (60 loc) · 3.59 KB

README.org

File metadata and controls

74 lines (60 loc) · 3.59 KB

Helm chart for Greenbone Vulnerability Management (GVM)

Introduction

You can use the provided helm chart in this repository to deploy Greenbone Source Edition (GSE) on your kubernetes cloud.

Getting Helm

To use “helm” you have to first install it! For more information about installing helm follow the instructions at helm installation notes.

Building chart from source

Use the following instructions to build the gvm helm chart from source:

git clone https://github.com/admirito/gvm-containers.git

cd gvm-containers/chart

helm dependency build gvm
helm package gvm

This should leave you with a gvm-*.tgz file ready to be deployed in the k8s.

Installing GVM via helm chart

GVM uses several components and databases that should be deployed on k8s. Therefore, to have better control on you installation it is recommended to crate a separate namespace for it:

kubectl create namespace gvm

Then you can install the chart with helm:

helm install gvm ./gvm-*.tgz --namespace gvm --set gvmd-db.postgresqlPassword="mypassword"

You can also provide persistence configuration, to make sure your data persist in pods life cycle, correctly. Note that persistence options are for gvmd and openvas data files, while gvmd-db.persistence and openvas-redis.master.persistence are for postgres and redis accordingly.

By default three PVC objects with ReadWriteOnce access modes will be created and some of the volumes will be mounted on multiple pods. So you have to make sure the volumes are available on all the cluster nodes.

Configuration

The following table lists some of the useful configurable parameters of the GVM chart and their default values. For a complete list see values.yaml file.

ParameterDescriptionDefault
image.gvmd.tagthe docker tag for gvmd image21
image.gsad.tagthe docker tag for gsad image21
image.openvas.tagthe docker tag for openvas image21
gvmd-db.image.tagthe docker tag for gvm-postgres image21
secrets.gvmdUsernamethe username for gvmdadmin
secrets.gvmdPasswordthe password for gvmdadmin
gvmd-db.postgresqlPasswordthe password for “gvmduser” in “gvmd” postgresql database””
syncFeedsAfterInstallsync all the GVM feeds with post-install hooksfalse
syncFeedsCronJob.enabledcreate a cron job to sync GVM feedstrue
syncFeedsCronJob.schedulethe feed sync cron job schedule@daily
persistence.sizestorage request size for the data (nvt/scap/cert) pvc5Gi
gvmd-db.persistence.sizestorage request size for the postgresql pvc8Gi
openvas-redis.master.persistence.sizestorage request size for the redis pvc8Gi