Explorar el Código

[bitnami/janusgraph] Add chart (#24621)

* [bitnami/janusgraph] Add chart

Signed-off-by: Miguel Ruiz <miruiz@vmware.com>

* Update chart

Signed-off-by: Miguel Ruiz <miruiz@vmware.com>

* Update chart and include tests

Signed-off-by: Miguel Ruiz <miruiz@vmware.com>

* Update tests

Signed-off-by: Miguel Ruiz <miruiz@vmware.com>

* Add chart notes

Signed-off-by: Miguel Ruiz <miruiz@vmware.com>

* Apply suggestions - Batch 1

Signed-off-by: Miguel Ruiz <miruiz@vmware.com>

* Apply suggestions - Batch 2

Signed-off-by: Miguel Ruiz <miruiz@vmware.com>

* Update README.md with readme-generator-for-helm

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

* Apply suggestions - Batch 3

Signed-off-by: Miguel Ruiz <miruiz@vmware.com>

* Fix linting

Signed-off-by: Miguel Ruiz <miruiz@vmware.com>

* Apply suggestions - Batch 4

Signed-off-by: Miguel Ruiz <miruiz@vmware.com>

* Update README.md with readme-generator-for-helm

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

* Add wait-for-storage init container

Signed-off-by: Miguel Ruiz <miruiz@vmware.com>

* Fix Markdown lint

Signed-off-by: Miguel Ruiz <miruiz@vmware.com>

* Increase test timeout

Signed-off-by: Miguel Ruiz <miruiz@vmware.com>

* Apply suggestions - Batch 5

Signed-off-by: Miguel Ruiz <miruiz@vmware.com>

* Fix typo

Signed-off-by: Miguel Ruiz <miruiz@vmware.com>

* Add tpl and fix tests

Signed-off-by: Miguel Ruiz <miruiz@vmware.com>

* Update bitnami/janusgraph/templates/NOTES.txt

Signed-off-by: Miguel Ruiz <miruiz@vmware.com>

Co-authored-by: Juan Ariza Toledano <jariza@vmware.com>
Signed-off-by: Miguel Ruiz <miruiz@vmware.com>

* Update bitnami/janusgraph/templates/metrics/service.yaml

Signed-off-by: Miguel Ruiz <miruiz@vmware.com>

Co-authored-by: Juan Ariza Toledano <jariza@vmware.com>
Signed-off-by: Miguel Ruiz <miruiz@vmware.com>

* Update bitnami/janusgraph/templates/deployment.yaml

Signed-off-by: Miguel Ruiz <miruiz@vmware.com>

Co-authored-by: Juan Ariza Toledano <jariza@vmware.com>
Signed-off-by: Miguel Ruiz <miruiz@vmware.com>

* Update bitnami/janusgraph/values.yaml

Signed-off-by: Miguel Ruiz <miruiz@vmware.com>

Co-authored-by: Juan Ariza Toledano <jariza@vmware.com>
Signed-off-by: Miguel Ruiz <miruiz@vmware.com>

* Update bitnami/janusgraph/values.yaml

Signed-off-by: Miguel Ruiz <miruiz@vmware.com>

Co-authored-by: Juan Ariza Toledano <jariza@vmware.com>
Signed-off-by: Miguel Ruiz <miruiz@vmware.com>

* Update bitnami/janusgraph/templates/service.yaml

Signed-off-by: Miguel Ruiz <miruiz@vmware.com>

Co-authored-by: Juan Ariza Toledano <jariza@vmware.com>
Signed-off-by: Miguel Ruiz <miruiz@vmware.com>

* Apply suggestions

Signed-off-by: Miguel Ruiz <miruiz@vmware.com>

* Update bitnami/janusgraph/templates/deployment.yaml

Signed-off-by: Miguel Ruiz <miruiz@vmware.com>

Co-authored-by: Juan Ariza Toledano <jariza@vmware.com>
Signed-off-by: Miguel Ruiz <miruiz@vmware.com>

* Update bitnami/janusgraph/README.md

Signed-off-by: Miguel Ruiz <miruiz@vmware.com>

Co-authored-by: Juan Ariza Toledano <jariza@vmware.com>
Signed-off-by: Miguel Ruiz <miruiz@vmware.com>

* Remove configure-console-requirements initContainer

Signed-off-by: Miguel Ruiz <miruiz@vmware.com>

* Move code block

Signed-off-by: Miguel Ruiz <miruiz@vmware.com>

---------

Signed-off-by: Miguel Ruiz <miruiz@vmware.com>
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com>
Co-authored-by: Juan Ariza Toledano <jariza@vmware.com>
Miguel Ruiz hace 1 año
padre
commit
c225e73a90

+ 33 - 0
.vib/janusgraph/goss/goss.yaml

@@ -0,0 +1,33 @@
+# Copyright VMware, Inc.
+# SPDX-License-Identifier: APACHE-2.0
+
+command:
+  {{- $vertex_name := printf "test_%s" (randAlpha 5) }}
+  janusgraph-graph-creation:
+    exec: JAVA_OPTIONS="" /opt/bitnami/scripts/janusgraph/entrypoint.sh gremlin.sh -e ./janusgraph/goss/testfiles/test.groovy {{ $vertex_name }}
+    exit-status: 0
+    timeout: 180000
+    stdout:
+      - "object={{ $vertex_name }}"
+  {{- $uid := .Vars.containerSecurityContext.runAsUser }}
+  {{- $gid := .Vars.podSecurityContext.fsGroup }}
+  check-user-info:
+    # The UID and GID should always be either the one specified as vars (always a bigger number that the default)
+    # or the one randomly defined by openshift (larger values). Otherwise, the chart is still using the default value.
+    exec: if [ $(id -u) -lt {{ $uid }} ] || [ $(id -G | awk '{print $2}') -lt {{ $gid }} ]; then exit 1; fi
+    exit-status: 0
+file:
+  /bitnami/janusgraph/conf/janusgraph.properties:
+    exists: true
+    filetype: file
+    mode: "0644"
+    contents:
+      - /storage.backend/
+http:
+  http://janusgraph-metrics:{{ .Vars.metrics.service.ports.metrics }}/metrics:
+    status: 200
+    body:
+      - /metrics_org_janusgraph_.*/
+addr:
+  tcp://janusgraph:{{ .Vars.service.ports.gremlin }}:
+    reachable: true

+ 9 - 0
.vib/janusgraph/goss/testfiles/test.groovy

@@ -0,0 +1,9 @@
+conf = new File('conf/remote.yaml');
+cluster = Cluster.build(conf).create();
+client = cluster.connect();
+
+// Add a vertex
+client.submit("graph.addVertex('name', '${args[0]}')").all().get();
+// Read all vertex
+r = client.submit('g.V().values("name")');
+println "Result:" + r.toList();

+ 17 - 0
.vib/janusgraph/runtime-parameters.yaml

@@ -0,0 +1,17 @@
+containerPorts:
+  gremlin: 8183
+podSecurityContext:
+  enabled: true
+  fsGroup: 1002
+containerSecurityContext:
+  enabled: true
+  runAsUser: 1002
+service:
+  type: LoadBalancer
+  ports:
+    gremlin: 8184
+metrics:
+  enabled: true
+  service:
+    ports:
+      metrics: 5557

+ 37 - 0
.vib/janusgraph/vib-publish.json

@@ -0,0 +1,37 @@
+{
+  "phases": {
+    "package": {
+      "context": {
+        "resources": {
+          "url": "{SHA_ARCHIVE}",
+          "path": "/bitnami/janusgraph"
+        }
+      },
+      "actions": [
+        {
+          "action_id": "helm-package"
+        },
+        {
+          "action_id": "helm-lint"
+        }
+      ]
+    },
+    "publish": {
+      "actions": [
+        {
+          "action_id": "helm-publish",
+          "params": {
+            "repository": {
+              "kind": "S3",
+              "url": "{VIB_ENV_S3_URL}",
+              "authn": {
+                "access_key_id": "{VIB_ENV_S3_ACCESS_KEY_ID}",
+                "secret_access_key": "{VIB_ENV_S3_SECRET_ACCESS_KEY}"
+              }
+            }
+          }
+        }
+      ]
+    }
+  }
+}

+ 51 - 0
.vib/janusgraph/vib-verify.json

@@ -0,0 +1,51 @@
+{
+  "phases": {
+    "package": {
+      "context": {
+        "resources": {
+          "url": "{SHA_ARCHIVE}",
+          "path": "/bitnami/janusgraph"
+        }
+      },
+      "actions": [
+        {
+          "action_id": "helm-package"
+        },
+        {
+          "action_id": "helm-lint"
+        }
+      ]
+    },
+    "verify": {
+      "context": {
+        "resources": {
+          "url": "{SHA_ARCHIVE}",
+          "path": "/bitnami/janusgraph"
+        },
+        "target_platform": {
+          "target_platform_id": "{VIB_ENV_TARGET_PLATFORM}",
+          "size": {
+            "name": "S4"
+          }
+        }
+      },
+      "actions": [
+        {
+          "action_id": "goss",
+          "params": {
+            "resources": {
+              "path": "/.vib"
+            },
+            "tests_file": "janusgraph/goss/goss.yaml",
+            "vars_file": "janusgraph/runtime-parameters.yaml",
+            "remote": {
+              "pod": {
+                "workload": "deploy-janusgraph"
+              }
+            }
+          }
+        }
+      ]
+    }
+  }
+}

+ 21 - 0
bitnami/janusgraph/.helmignore

@@ -0,0 +1,21 @@
+# Patterns to ignore when building packages.
+# This supports shell glob matching, relative path matching, and
+# negation (prefixed with !). Only one pattern per line.
+.DS_Store
+# Common VCS dirs
+.git/
+.gitignore
+.bzr/
+.bzrignore
+.hg/
+.hgignore
+.svn/
+# Common backup files
+*.swp
+*.bak
+*.tmp
+*~
+# Various IDEs
+.project
+.idea/
+*.tmproj

+ 9 - 0
bitnami/janusgraph/Chart.lock

@@ -0,0 +1,9 @@
+dependencies:
+- name: cassandra
+  repository: oci://registry-1.docker.io/bitnamicharts
+  version: 11.1.1
+- name: common
+  repository: oci://registry-1.docker.io/bitnamicharts
+  version: 2.19.1
+digest: sha256:a74946b247542c217e9270194d9b2384dc6f3e42f8f1cec75a7731ab408776d0
+generated: "2024-04-25T17:20:43.102677+02:00"

+ 33 - 0
bitnami/janusgraph/Chart.yaml

@@ -0,0 +1,33 @@
+# Copyright VMware, Inc.
+# SPDX-License-Identifier: APACHE-2.0
+
+annotations:
+  category: Database
+  licenses: Apache-2.0
+apiVersion: v2
+appVersion: 1.0.0
+dependencies:
+  - condition: storage.cassandra.enabled
+    name: cassandra
+    repository: oci://registry-1.docker.io/bitnamicharts
+    version: 11.x.x
+  - name: common
+    repository: oci://registry-1.docker.io/bitnamicharts
+    tags:
+      - bitnami-common
+    version: 2.x.x
+description: JanusGraph is a highly scalable graph database optimized for storing and querying large graphs with billions of vertices and edges distributed across a multi-machine cluster.
+home: https://bitnami.com
+icon: https://bitnami.com/assets/stacks/janusgraph/img/janusgraph-stack-220x234.png
+keywords:
+  - janusgraph
+  - graph
+  - database
+maintainers:
+  - name: VMware, Inc.
+    url: https://github.com/bitnami/charts
+name: janusgraph
+sources:
+  - https://github.com/bitnami/containers/tree/main/bitnami/janusgraph
+  - https://github.com/janusgraph/janusgraph
+version: 0.1.0

+ 453 - 0
bitnami/janusgraph/README.md

@@ -0,0 +1,453 @@
+<!--- app-name: JanusGraph -->
+
+# Bitnami package for JanusGraph
+
+JanusGraph is a highly scalable graph database optimized for storing and querying large graphs with billions of vertices and edges distributed across a multi-machine cluster.
+
+[Overview of JanusGraph](https://janusgraph.org/)
+
+Trademarks: This software listing is packaged by Bitnami. The respective trademarks mentioned in the offering are owned by the respective companies, and use of them does not imply any affiliation or endorsement.
+
+## TL;DR
+
+```console
+helm install my-release oci://registry-1.docker.io/bitnamicharts/janusgraph
+```
+
+Looking to use JanusGraph in production? Try [VMware Tanzu Application Catalog](https://bitnami.com/enterprise), the enterprise edition of Bitnami Application Catalog.
+
+## Introduction
+
+This chart bootstraps a [JanusGraph](https://github.com/bitnami/containers/tree/main/bitnami/janusgraph) deployment on a [Kubernetes](https://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager.
+
+Bitnami charts can be used with [Kubeapps](https://kubeapps.dev/) for deployment and management of Helm Charts in clusters.
+
+## Prerequisites
+
+- Kubernetes 1.23+
+- Helm 3.8.0+
+
+## Installing the Chart
+
+To install the chart with the release name `my-release`:
+
+```console
+helm install my-release oci://REGISTRY_NAME/REPOSITORY_NAME/janusgraph
+```
+
+> Note: You need to substitute the placeholders `REGISTRY_NAME` and `REPOSITORY_NAME` with a reference to your Helm chart registry and repository. For example, in the case of Bitnami, you need to use `REGISTRY_NAME=registry-1.docker.io` and `REPOSITORY_NAME=bitnamicharts`.
+
+The command deploys JanusGraph on the Kubernetes cluster in the default configuration. The [Parameters](#parameters) section lists the parameters that can be configured during installation.
+
+> **Tip**: List all releases using `helm list`
+
+## Uninstalling the Chart
+
+To uninstall/delete the `my-release` deployment:
+
+```console
+helm delete my-release
+```
+
+The command removes all the Kubernetes components associated with the chart and deletes the release.
+
+## Parameters
+
+### Global parameters
+
+| Name                                                  | Description                                                                                                                                                                                                                                                                                                                                                         | Value  |
+| ----------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------ |
+| `global.imageRegistry`                                | Global Docker image registry                                                                                                                                                                                                                                                                                                                                        | `""`   |
+| `global.imagePullSecrets`                             | Global Docker registry secret names as an array                                                                                                                                                                                                                                                                                                                     | `[]`   |
+| `global.storageClass`                                 | Global StorageClass for Persistent Volume(s)                                                                                                                                                                                                                                                                                                                        | `""`   |
+| `global.compatibility.openshift.adaptSecurityContext` | Adapt the securityContext sections of the deployment to make them compatible with Openshift restricted-v2 SCC: remove runAsUser, runAsGroup and fsGroup and let the platform use their allowed default IDs. Possible values: auto (apply if the detected running cluster is Openshift), force (perform the adaptation always), disabled (do not perform adaptation) | `auto` |
+
+### Common parameters
+
+| Name                                                | Description                                                                                                                                                                                                          | Value                              |
+| --------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------- |
+| `kubeVersion`                                       | Override Kubernetes version                                                                                                                                                                                          | `""`                               |
+| `nameOverride`                                      | String to partially override common.names.name                                                                                                                                                                       | `""`                               |
+| `fullnameOverride`                                  | String to fully override common.names.fullname                                                                                                                                                                       | `""`                               |
+| `namespaceOverride`                                 | String to fully override common.names.namespace                                                                                                                                                                      | `""`                               |
+| `commonLabels`                                      | Labels to add to all deployed objects                                                                                                                                                                                | `{}`                               |
+| `commonAnnotations`                                 | Annotations to add to all deployed objects                                                                                                                                                                           | `{}`                               |
+| `clusterDomain`                                     | Kubernetes cluster domain name                                                                                                                                                                                       | `cluster.local`                    |
+| `extraDeploy`                                       | Array of extra objects to deploy with the release                                                                                                                                                                    | `[]`                               |
+| `diagnosticMode.enabled`                            | Enable diagnostic mode (all probes will be disabled and the command will be overridden)                                                                                                                              | `false`                            |
+| `diagnosticMode.command`                            | Command to override all containers in the deployment                                                                                                                                                                 | `["sleep"]`                        |
+| `diagnosticMode.args`                               | Args to override all containers in the deployment                                                                                                                                                                    | `["infinity"]`                     |
+| `storageBackend.usePasswordFiles`                   | Mount credentials as a files instead of using an environment variable                                                                                                                                                | `false`                            |
+| `storageBackend.cassandra.enabled`                  | Use Apache Casandra subchart as storage backend                                                                                                                                                                      | `true`                             |
+| `storageBackend.berkeleyje.enabled`                 | Use BerkeleyDB (local) as storage backend                                                                                                                                                                            | `false`                            |
+| `storageBackend.berkeleyje.directory`               | Path for the BerkeleyDB data                                                                                                                                                                                         | `/bitnami/janusgraph/data/storage` |
+| `storageBackend.external.backend`                   | Type of the external storage backend to be used                                                                                                                                                                      | `""`                               |
+| `storageBackend.external.hostname`                  | Hostname of the external storage backend                                                                                                                                                                             | `""`                               |
+| `storageBackend.external.port`                      | Port of the external storage backend                                                                                                                                                                                 | `""`                               |
+| `storageBackend.external.username`                  | Username used to authenticate to the storage backend, in case it requires authentication                                                                                                                             | `""`                               |
+| `storageBackend.external.existingSecret`            | Existing secret containing the password of the external storage backend, in case its needed                                                                                                                          | `""`                               |
+| `storageBackend.external.existingSecretPasswordKey` | Name of an existing secret key containing the storage backend password                                                                                                                                               | `""`                               |
+| `indexBackend.lucene.enabled`                       | Use Lucene (local) as index management backend                                                                                                                                                                       | `false`                            |
+| `indexBackend.lucene.directory`                     | Path for the BerkeleyDB data                                                                                                                                                                                         | `/bitnami/janusgraph/data/index`   |
+| `indexBackend.external.backend`                     | Type of the external index backend to be used                                                                                                                                                                        | `""`                               |
+| `indexBackend.external.hostname`                    | Hostname of the external index backend                                                                                                                                                                               | `""`                               |
+| `indexBackend.external.port`                        | Port of the external index backend                                                                                                                                                                                   | `""`                               |
+| `cache.enabled`                                     | Enable Janusgraph cache feature                                                                                                                                                                                      | `true`                             |
+| `existingConfigmap`                                 | The name of an existing ConfigMap with your custom configuration for JanusGraph                                                                                                                                      | `""`                               |
+| `extraJanusgraphProperties`                         | Additional JanusGraph to be appended at the end of the janusgraph.properties configmap                                                                                                                               | `""`                               |
+| `janusgraphProperties`                              | Override the content of the janusgraph.properties file.                                                                                                                                                              | `""`                               |
+| `javaOptions`                                       | Java options for JanusGraph execution                                                                                                                                                                                | `""`                               |
+| `image.registry`                                    | JanusGraph image registry                                                                                                                                                                                            | `REGISTRY_NAME`                    |
+| `image.repository`                                  | JanusGraph image repository                                                                                                                                                                                          | `REPOSITORY_NAME/janusgraph`       |
+| `image.digest`                                      | JanusGraph image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag image tag (immutable tags are recommended)                                                                | `""`                               |
+| `image.pullPolicy`                                  | JanusGraph image pull policy                                                                                                                                                                                         | `IfNotPresent`                     |
+| `image.pullSecrets`                                 | JanusGraph image pull secrets                                                                                                                                                                                        | `[]`                               |
+| `image.debug`                                       | Enable JanusGraph image debug mode                                                                                                                                                                                   | `false`                            |
+| `replicaCount`                                      | Number of JanusGraph replicas to deploy                                                                                                                                                                              | `1`                                |
+| `containerPorts.gremlin`                            | JanusGraph gremlin server container port                                                                                                                                                                             | `8182`                             |
+| `containerPorts.jmx`                                | JanusGraph JMX metrics container port                                                                                                                                                                                | `5555`                             |
+| `livenessProbe.enabled`                             | Enable livenessProbe on JanusGraph containers                                                                                                                                                                        | `true`                             |
+| `livenessProbe.initialDelaySeconds`                 | Initial delay seconds for livenessProbe                                                                                                                                                                              | `90`                               |
+| `livenessProbe.periodSeconds`                       | Period seconds for livenessProbe                                                                                                                                                                                     | `10`                               |
+| `livenessProbe.timeoutSeconds`                      | Timeout seconds for livenessProbe                                                                                                                                                                                    | `5`                                |
+| `livenessProbe.failureThreshold`                    | Failure threshold for livenessProbe                                                                                                                                                                                  | `5`                                |
+| `livenessProbe.successThreshold`                    | Success threshold for livenessProbe                                                                                                                                                                                  | `1`                                |
+| `readinessProbe.enabled`                            | Enable readinessProbe on JanusGraph containers                                                                                                                                                                       | `true`                             |
+| `readinessProbe.initialDelaySeconds`                | Initial delay seconds for readinessProbe                                                                                                                                                                             | `90`                               |
+| `readinessProbe.periodSeconds`                      | Period seconds for readinessProbe                                                                                                                                                                                    | `10`                               |
+| `readinessProbe.timeoutSeconds`                     | Timeout seconds for readinessProbe                                                                                                                                                                                   | `5`                                |
+| `readinessProbe.failureThreshold`                   | Failure threshold for readinessProbe                                                                                                                                                                                 | `5`                                |
+| `readinessProbe.successThreshold`                   | Success threshold for readinessProbe                                                                                                                                                                                 | `1`                                |
+| `startupProbe.enabled`                              | Enable startupProbe on JanusGraph containers                                                                                                                                                                         | `false`                            |
+| `startupProbe.initialDelaySeconds`                  | Initial delay seconds for startupProbe                                                                                                                                                                               | `90`                               |
+| `startupProbe.periodSeconds`                        | Period seconds for startupProbe                                                                                                                                                                                      | `10`                               |
+| `startupProbe.timeoutSeconds`                       | Timeout seconds for startupProbe                                                                                                                                                                                     | `5`                                |
+| `startupProbe.failureThreshold`                     | Failure threshold for startupProbe                                                                                                                                                                                   | `5`                                |
+| `startupProbe.successThreshold`                     | Success threshold for startupProbe                                                                                                                                                                                   | `1`                                |
+| `customLivenessProbe`                               | Custom livenessProbe that overrides the default one                                                                                                                                                                  | `{}`                               |
+| `customReadinessProbe`                              | Custom readinessProbe that overrides the default one                                                                                                                                                                 | `{}`                               |
+| `customStartupProbe`                                | Custom startupProbe that overrides the default one                                                                                                                                                                   | `{}`                               |
+| `resourcesPreset`                                   | Set container resources according to one common preset (allowed values: none, nano, small, medium, large, xlarge, 2xlarge). This is ignored if resources is set (secondary.resources is recommended for production). | `xlarge`                           |
+| `resources`                                         | Set container requests and limits for different resources like CPU or memory (essential for production workloads)                                                                                                    | `{}`                               |
+| `podSecurityContext.enabled`                        | Enable security context for JanusGraph pods                                                                                                                                                                          | `true`                             |
+| `podSecurityContext.fsGroupChangePolicy`            | Set filesystem group change policy                                                                                                                                                                                   | `Always`                           |
+| `podSecurityContext.sysctls`                        | Set kernel settings using the sysctl interface                                                                                                                                                                       | `[]`                               |
+| `podSecurityContext.supplementalGroups`             | Set filesystem extra groups                                                                                                                                                                                          | `[]`                               |
+| `podSecurityContext.fsGroup`                        | Group ID for the mounted volumes' filesystem                                                                                                                                                                         | `1001`                             |
+| `containerSecurityContext.enabled`                  | JanusGraph container securityContext                                                                                                                                                                                 | `true`                             |
+| `containerSecurityContext.seLinuxOptions`           | Set SELinux options in container                                                                                                                                                                                     | `nil`                              |
+| `containerSecurityContext.runAsUser`                | User ID for the JanusGraph container                                                                                                                                                                                 | `1001`                             |
+| `containerSecurityContext.runAsGroup`               | Group ID for the JanusGraph container                                                                                                                                                                                | `1001`                             |
+| `containerSecurityContext.runAsNonRoot`             | Set secondary container's Security Context runAsNonRoot                                                                                                                                                              | `true`                             |
+| `containerSecurityContext.privileged`               | Set secondary container's Security Context privileged                                                                                                                                                                | `false`                            |
+| `containerSecurityContext.allowPrivilegeEscalation` | Set secondary container's Security Context allowPrivilegeEscalation                                                                                                                                                  | `false`                            |
+| `containerSecurityContext.readOnlyRootFilesystem`   | Set container's Security Context readOnlyRootFilesystem                                                                                                                                                              | `true`                             |
+| `containerSecurityContext.capabilities.drop`        | List of capabilities to be dropped                                                                                                                                                                                   | `["ALL"]`                          |
+| `containerSecurityContext.seccompProfile.type`      | Set container's Security Context seccomp profile                                                                                                                                                                     | `RuntimeDefault`                   |
+| `command`                                           | Override default container command (useful when using custom images)                                                                                                                                                 | `[]`                               |
+| `args`                                              | Override default container args (useful when using custom images)                                                                                                                                                    | `[]`                               |
+| `hostAliases`                                       | JanusGraph pods host aliases                                                                                                                                                                                         | `[]`                               |
+| `annotations`                                       | Annotations for JanusGraph deployment/statefulset                                                                                                                                                                    | `{}`                               |
+| `podLabels`                                         | Extra labels for JanusGraph pods                                                                                                                                                                                     | `{}`                               |
+| `podAnnotations`                                    | Annotations for JanusGraph pods                                                                                                                                                                                      | `{}`                               |
+| `podAffinityPreset`                                 | Pod affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`                                                                                                                                  | `""`                               |
+| `podAntiAffinityPreset`                             | Pod anti-affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`                                                                                                                             | `soft`                             |
+| `pdb.create`                                        | Enable/disable a Pod Disruption Budget creation                                                                                                                                                                      | `false`                            |
+| `pdb.minAvailable`                                  | Minimum number/percentage of pods that should remain scheduled                                                                                                                                                       | `1`                                |
+| `pdb.maxUnavailable`                                | Maximum number/percentage of pods that may be made unavailable                                                                                                                                                       | `""`                               |
+| `nodeAffinityPreset.type`                           | Node affinity preset type. Ignored if `affinity` is set. Allowed values: `soft` or `hard`                                                                                                                            | `""`                               |
+| `nodeAffinityPreset.key`                            | Node label key to match. Ignored if `affinity` is set                                                                                                                                                                | `""`                               |
+| `nodeAffinityPreset.values`                         | Node label values to match. Ignored if `affinity` is set                                                                                                                                                             | `[]`                               |
+| `affinity`                                          | Affinity for JanusGraph pods assignment                                                                                                                                                                              | `{}`                               |
+| `automountServiceAccountToken`                      | Mount Service Account token in pod                                                                                                                                                                                   | `false`                            |
+| `nodeSelector`                                      | Node labels for JanusGraph pods assignment                                                                                                                                                                           | `{}`                               |
+| `tolerations`                                       | Tolerations for JanusGraph pods assignment                                                                                                                                                                           | `[]`                               |
+| `updateStrategy.type`                               | JanusGraph strategy type                                                                                                                                                                                             | `RollingUpdate`                    |
+| `priorityClassName`                                 | JanusGraph pods' priorityClassName                                                                                                                                                                                   | `""`                               |
+| `topologySpreadConstraints`                         | Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template                                                                                             | `[]`                               |
+| `schedulerName`                                     | Name of the k8s scheduler (other than default) for JanusGraph pods                                                                                                                                                   | `""`                               |
+| `terminationGracePeriodSeconds`                     | Seconds Redmine pod needs to terminate gracefully                                                                                                                                                                    | `""`                               |
+| `lifecycleHooks`                                    | for the JanusGraph container(s) to automate configuration before or after startup                                                                                                                                    | `{}`                               |
+| `extraEnvVars`                                      | Array with extra environment variables to add to JanusGraph nodes                                                                                                                                                    | `[]`                               |
+| `extraEnvVarsCM`                                    | Name of existing ConfigMap containing extra env vars for JanusGraph nodes                                                                                                                                            | `""`                               |
+| `extraEnvVarsSecret`                                | Name of existing Secret containing extra env vars for JanusGraph nodes                                                                                                                                               | `""`                               |
+| `extraVolumes`                                      | Optionally specify extra list of additional volumes for the JanusGraph pod(s)                                                                                                                                        | `[]`                               |
+| `extraVolumeMounts`                                 | Optionally specify extra list of additional volumeMounts for the JanusGraph container(s)                                                                                                                             | `[]`                               |
+| `sidecars`                                          | Add additional sidecar containers to the JanusGraph pod(s)                                                                                                                                                           | `[]`                               |
+| `initContainers`                                    | Add additional init containers to the JanusGraph pod(s)                                                                                                                                                              | `[]`                               |
+
+### Autoscaling
+
+| Name                                  | Description                                                                                    | Value   |
+| ------------------------------------- | ---------------------------------------------------------------------------------------------- | ------- |
+| `autoscaling.vpa.enabled`             | Enable VPA                                                                                     | `false` |
+| `autoscaling.vpa.annotations`         | Annotations for VPA resource                                                                   | `{}`    |
+| `autoscaling.vpa.controlledResources` | VPA List of resources that the vertical pod autoscaler can control. Defaults to cpu and memory | `[]`    |
+| `autoscaling.vpa.maxAllowed`          | VPA Max allowed resources for the pod                                                          | `{}`    |
+| `autoscaling.vpa.minAllowed`          | VPA Min allowed resources for the pod                                                          | `{}`    |
+
+### VPA update policy
+
+| Name                                      | Description                                                                                                                                                            | Value   |
+| ----------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- |
+| `autoscaling.vpa.updatePolicy.updateMode` | Autoscaling update policy Specifies whether recommended updates are applied when a Pod is started and whether recommended updates are applied during the life of a Pod | `Auto`  |
+| `autoscaling.hpa.enabled`                 | Enable HPA                                                                                                                                                             | `false` |
+| `autoscaling.hpa.minReplicas`             | Minimum number of replicas                                                                                                                                             | `""`    |
+| `autoscaling.hpa.maxReplicas`             | Maximum number of replicas                                                                                                                                             | `""`    |
+| `autoscaling.hpa.targetCPU`               | Target CPU utilization percentage                                                                                                                                      | `""`    |
+| `autoscaling.hpa.targetMemory`            | Target Memory utilization percentage                                                                                                                                   | `""`    |
+
+### Traffic Exposure Parameters
+
+| Name                               | Description                                                                           | Value          |
+| ---------------------------------- | ------------------------------------------------------------------------------------- | -------------- |
+| `service.type`                     | JanusGraph service type                                                               | `LoadBalancer` |
+| `service.ports.gremlin`            | JanusGraph service Gremlin port                                                       | `8182`         |
+| `service.nodePorts.gremlin`        | Node port for Gremlin                                                                 | `""`           |
+| `service.clusterIP`                | JanusGraph service Cluster IP                                                         | `""`           |
+| `service.loadBalancerIP`           | JanusGraph service Load Balancer IP                                                   | `""`           |
+| `service.loadBalancerSourceRanges` | JanusGraph service Load Balancer sources                                              | `[]`           |
+| `service.externalTrafficPolicy`    | JanusGraph service external traffic policy                                            | `Cluster`      |
+| `service.annotations`              | Additional custom annotations for JanusGraph service                                  | `{}`           |
+| `service.extraPorts`               | Extra ports to expose in JanusGraph service (normally used with the `sidecars` value) | `[]`           |
+| `service.sessionAffinity`          | Control where client requests go, to the same pod or round-robin                      | `None`         |
+| `service.sessionAffinityConfig`    | Additional settings for the sessionAffinity                                           | `{}`           |
+
+### Persistence Parameters
+
+| Name                         | Description                                                                                                                           | Value                      |
+| ---------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | -------------------------- |
+| `persistence.enabled`        | Enable persistence using Persistent Volume Claims                                                                                     | `false`                    |
+| `persistence.mountPath`      | Path to mount the volume at.                                                                                                          | `/bitnami/janusgraph/data` |
+| `persistence.subPath`        | The subdirectory of the volume to mount to, useful in dev environments and one PV for multiple services                               | `""`                       |
+| `persistence.storageClass`   | Storage class of backing PVC                                                                                                          | `""`                       |
+| `persistence.annotations`    | Persistent Volume Claim annotations                                                                                                   | `{}`                       |
+| `persistence.accessModes`    | Persistent Volume Access Modes                                                                                                        | `["ReadWriteOnce"]`        |
+| `persistence.size`           | Size of data volume                                                                                                                   | `8Gi`                      |
+| `persistence.existingClaim`  | The name of an existing PVC to use for persistence                                                                                    | `""`                       |
+| `persistence.selector`       | Selector to match an existing Persistent Volume for Janusgraph data PVC                                                               | `{}`                       |
+| `persistence.dataSource`     | Custom PVC data source                                                                                                                | `{}`                       |
+| `persistence.resourcePolicy` | Setting it to "keep" to avoid removing PVCs during a helm delete operation. Leaving it empty will delete PVCs after the chart deleted | `""`                       |
+
+### Prometheus metrics
+
+| Name                                                        | Description                                                                                                                                                                                                                | Value                          |
+| ----------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------ |
+| `metrics.enabled`                                           | Enable the export of Prometheus metrics                                                                                                                                                                                    | `false`                        |
+| `metrics.image.registry`                                    | JMX exporter image registry                                                                                                                                                                                                | `REGISTRY_NAME`                |
+| `metrics.image.repository`                                  | JMX exporter image repository                                                                                                                                                                                              | `REPOSITORY_NAME/jmx-exporter` |
+| `metrics.image.digest`                                      | JMX exporter image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag                                                                                                               | `""`                           |
+| `metrics.image.pullPolicy`                                  | JMX exporter image pull policy                                                                                                                                                                                             | `IfNotPresent`                 |
+| `metrics.image.pullSecrets`                                 | Specify docker-registry secret names as an array                                                                                                                                                                           | `[]`                           |
+| `metrics.containerSecurityContext.enabled`                  | Enable Prometheus JMX exporter containers' Security Context                                                                                                                                                                | `true`                         |
+| `metrics.containerSecurityContext.seLinuxOptions`           | Set SELinux options in container                                                                                                                                                                                           | `{}`                           |
+| `metrics.containerSecurityContext.runAsUser`                | Set Prometheus JMX exporter containers' Security Context runAsUser                                                                                                                                                         | `1001`                         |
+| `metrics.containerSecurityContext.runAsGroup`               | Group ID for the Prometheus JMX exporter container                                                                                                                                                                         | `1001`                         |
+| `metrics.containerSecurityContext.runAsNonRoot`             | Set Prometheus JMX exporter containers' Security Context runAsNonRoot                                                                                                                                                      | `true`                         |
+| `metrics.containerSecurityContext.privileged`               | Set Prometheus JMX exporter container's Security Context privileged                                                                                                                                                        | `false`                        |
+| `metrics.containerSecurityContext.allowPrivilegeEscalation` | Set Prometheus JMX exporter containers' Security Context allowPrivilegeEscalation                                                                                                                                          | `false`                        |
+| `metrics.containerSecurityContext.readOnlyRootFilesystem`   | Set Prometheus JMX exporter containers' Security Context readOnlyRootFilesystem                                                                                                                                            | `true`                         |
+| `metrics.containerSecurityContext.capabilities.drop`        | Set Prometheus JMX exporter containers' Security Context capabilities to be dropped                                                                                                                                        | `["ALL"]`                      |
+| `metrics.containerSecurityContext.seccompProfile.type`      | Set Prometheus JMX exporter container's Security Context seccomp profile                                                                                                                                                   | `RuntimeDefault`               |
+| `metrics.containerPorts.metrics`                            | Prometheus JMX exporter metrics container port                                                                                                                                                                             | `5556`                         |
+| `metrics.resourcesPreset`                                   | Set container resources according to one common preset (allowed values: none, nano, small, medium, large, xlarge, 2xlarge). This is ignored if metrics.resources is set (metrics.resources is recommended for production). | `nano`                         |
+| `metrics.resources`                                         | Set container requests and limits for different resources like CPU or memory (essential for production workloads)                                                                                                          | `{}`                           |
+| `metrics.livenessProbe.enabled`                             | Enable livenessProbe                                                                                                                                                                                                       | `true`                         |
+| `metrics.livenessProbe.initialDelaySeconds`                 | Initial delay seconds for livenessProbe                                                                                                                                                                                    | `60`                           |
+| `metrics.livenessProbe.periodSeconds`                       | Period seconds for livenessProbe                                                                                                                                                                                           | `10`                           |
+| `metrics.livenessProbe.timeoutSeconds`                      | Timeout seconds for livenessProbe                                                                                                                                                                                          | `10`                           |
+| `metrics.livenessProbe.failureThreshold`                    | Failure threshold for livenessProbe                                                                                                                                                                                        | `3`                            |
+| `metrics.livenessProbe.successThreshold`                    | Success threshold for livenessProbe                                                                                                                                                                                        | `1`                            |
+| `metrics.readinessProbe.enabled`                            | Enable readinessProbe                                                                                                                                                                                                      | `true`                         |
+| `metrics.readinessProbe.initialDelaySeconds`                | Initial delay seconds for readinessProbe                                                                                                                                                                                   | `30`                           |
+| `metrics.readinessProbe.periodSeconds`                      | Period seconds for readinessProbe                                                                                                                                                                                          | `10`                           |
+| `metrics.readinessProbe.timeoutSeconds`                     | Timeout seconds for readinessProbe                                                                                                                                                                                         | `10`                           |
+| `metrics.readinessProbe.failureThreshold`                   | Failure threshold for readinessProbe                                                                                                                                                                                       | `3`                            |
+| `metrics.readinessProbe.successThreshold`                   | Success threshold for readinessProbe                                                                                                                                                                                       | `1`                            |
+| `metrics.service.ports.metrics`                             | Prometheus JMX exporter metrics service port                                                                                                                                                                               | `5556`                         |
+| `metrics.service.clusterIP`                                 | Static clusterIP or None for headless services                                                                                                                                                                             | `""`                           |
+| `metrics.service.sessionAffinity`                           | Control where client requests go, to the same pod or round-robin                                                                                                                                                           | `None`                         |
+| `metrics.service.annotations`                               | Annotations for the Prometheus JMX exporter service                                                                                                                                                                        | `{}`                           |
+| `metrics.config`                                            | Configuration file for JMX exporter                                                                                                                                                                                        | `""`                           |
+| `metrics.existingConfigmap`                                 | Name of existing ConfigMap with JMX exporter configuration                                                                                                                                                                 | `""`                           |
+| `metrics.serviceMonitor.enabled`                            | if `true`, creates a Prometheus Operator ServiceMonitor (also requires `metrics.enabled` to be `true`)                                                                                                                     | `false`                        |
+| `metrics.serviceMonitor.namespace`                          | Namespace in which Prometheus is running                                                                                                                                                                                   | `""`                           |
+| `metrics.serviceMonitor.annotations`                        | Additional custom annotations for the ServiceMonitor                                                                                                                                                                       | `{}`                           |
+| `metrics.serviceMonitor.labels`                             | Extra labels for the ServiceMonitor                                                                                                                                                                                        | `{}`                           |
+| `metrics.serviceMonitor.jobLabel`                           | The name of the label on the target service to use as the job name in Prometheus                                                                                                                                           | `""`                           |
+| `metrics.serviceMonitor.honorLabels`                        | honorLabels chooses the metric's labels on collisions with target labels                                                                                                                                                   | `false`                        |
+| `metrics.serviceMonitor.interval`                           | Interval at which metrics should be scraped.                                                                                                                                                                               | `""`                           |
+| `metrics.serviceMonitor.scrapeTimeout`                      | Timeout after which the scrape is ended                                                                                                                                                                                    | `""`                           |
+| `metrics.serviceMonitor.metricRelabelings`                  | Specify additional relabeling of metrics                                                                                                                                                                                   | `[]`                           |
+| `metrics.serviceMonitor.relabelings`                        | Specify general relabeling                                                                                                                                                                                                 | `[]`                           |
+| `metrics.serviceMonitor.selector`                           | Prometheus instance selector labels                                                                                                                                                                                        | `{}`                           |
+
+### Other Parameters
+
+| Name                                                   | Description                                                                                     | Value                      |
+| ------------------------------------------------------ | ----------------------------------------------------------------------------------------------- | -------------------------- |
+| `volumePermissions.enabled`                            | Enable init container that changes the owner/group of the PV mount point to `runAsUser:fsGroup` | `false`                    |
+| `volumePermissions.image.registry`                     | OS Shell + Utility image registry                                                               | `REGISTRY_NAME`            |
+| `volumePermissions.image.repository`                   | OS Shell + Utility image repository                                                             | `REPOSITORY_NAME/os-shell` |
+| `volumePermissions.image.pullPolicy`                   | OS Shell + Utility image pull policy                                                            | `IfNotPresent`             |
+| `volumePermissions.image.pullSecrets`                  | OS Shell + Utility image pull secrets                                                           | `[]`                       |
+| `volumePermissions.resources.limits`                   | The resources limits for the init container                                                     | `{}`                       |
+| `volumePermissions.resources.requests`                 | The requested resources for the init container                                                  | `{}`                       |
+| `volumePermissions.containerSecurityContext.runAsUser` | Set init container's Security Context runAsUser                                                 | `0`                        |
+| `serviceAccount.create`                                | Specifies whether a ServiceAccount should be created                                            | `true`                     |
+| `serviceAccount.name`                                  | The name of the ServiceAccount to use.                                                          | `""`                       |
+| `serviceAccount.annotations`                           | Additional Service Account annotations (evaluated as a template)                                | `{}`                       |
+| `serviceAccount.automountServiceAccountToken`          | Automount service account token for the server service account                                  | `false`                    |
+
+### NetworkPolicy parameters
+
+| Name                                    | Description                                                     | Value  |
+| --------------------------------------- | --------------------------------------------------------------- | ------ |
+| `networkPolicy.enabled`                 | Enable creation of NetworkPolicy resources                      | `true` |
+| `networkPolicy.allowExternal`           | The Policy model to apply                                       | `true` |
+| `networkPolicy.allowExternalEgress`     | Allow the pod to access any range of port and all destinations. | `true` |
+| `networkPolicy.extraIngress`            | Add extra ingress rules to the NetworkPolicy                    | `[]`   |
+| `networkPolicy.extraEgress`             | Add extra ingress rules to the NetworkPolicy                    | `[]`   |
+| `networkPolicy.ingressNSMatchLabels`    | Labels to match to allow traffic from other namespaces          | `{}`   |
+| `networkPolicy.ingressNSPodMatchLabels` | Pod labels to match to allow traffic from other namespaces      | `{}`   |
+
+### Cassandra storage sub-chart
+
+| Name                          | Description                                             | Value                |
+| ----------------------------- | ------------------------------------------------------- | -------------------- |
+| `cassandra.keyspace`          | Name for cassandra's janusgraph keyspace                | `bitnami_janusgraph` |
+| `cassandra.dbUser.user`       | Cassandra admin user                                    | `bn_janusgraph`      |
+| `cassandra.dbUser.password`   | Password for `dbUser.user`. Randomly generated if empty | `""`                 |
+| `cassandra.service.ports.cql` | Cassandra cql port                                      | `9043`               |
+
+See <https://github.com/bitnami/readme-generator-for-helm> to create the table
+
+Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
+
+```console
+helm install my-release \
+    oci://REGISTRY_NAME/REPOSITORY_NAME/janusgraph
+```
+
+> Note: You need to substitute the placeholders `REGISTRY_NAME` and `REPOSITORY_NAME` with a reference to your Helm chart registry and repository. For example, in the case of Bitnami, you need to use `REGISTRY_NAME=registry-1.docker.io` and `REPOSITORY_NAME=bitnamicharts`.
+> NOTE: Once this chart is deployed, it is not possible to change the application's access credentials, such as usernames or passwords, using Helm. To change these application credentials after deployment, delete any persistent volumes (PVs) used by the chart and re-deploy it, or use the application's built-in administrative tools if available.
+
+Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example,
+
+```console
+helm install my-release -f values.yaml oci://REGISTRY_NAME/REPOSITORY_NAME/janusgraph
+```
+
+> Note: You need to substitute the placeholders `REGISTRY_NAME` and `REPOSITORY_NAME` with a reference to your Helm chart registry and repository. For example, in the case of Bitnami, you need to use `REGISTRY_NAME=registry-1.docker.io` and `REPOSITORY_NAME=bitnamicharts`.
+> **Tip**: You can use the default [values.yaml](https://github.com/bitnami/charts/blob/main/template/janusgraph/values.yaml)
+
+## Configuration and installation details
+
+### [Rolling VS Immutable tags](https://docs.bitnami.com/tutorials/understand-rolling-tags-containers)
+
+It is strongly recommended to use immutable tags in a production environment. This ensures your deployment does not change automatically if the same tag is updated with a different image.
+
+Bitnami will release a new chart updating its containers if a new version of the main container, significant changes, or critical vulnerabilities exist.
+
+### External storage backend support
+
+You may want to have JanusGraph connect to an external storage backend rather than installing one inside your cluster. Typical reasons for this are to use a managed database service, or to share a common database server for all your applications. To achieve this, the chart allows you to specify credentials for an external database with the [`storageBackend.external` parameter](#parameters). You should also disable the Cassandra installation with the `storageBackend.cassandra.enabled` option. Here is an example:
+
+```console
+storageBackend.cassandra.enabled=false
+storageBackend.external.backend=<your_backend_type>
+storageBackend.external.hostname=<your_backend_host>
+storageBackend.external.port=<your_backend_port>
+#Auth only if needed#
+storageBackend.external.username=<your_backend_username>
+storageBackend.external.existingSecret=<secret_containing_the_password>
+storageBackend.external.existingSecretPasswordKey=<secret_key_containing_the_password>
+```
+
+### External indexing backend support
+
+You may want to have JanusGraph connect to an external indexing backend. To achieve this, the chart allows you to specify credentials for an external indexing backend with the [`indexBackend.external` parameter](#parameters). Here is an example:
+
+```console
+indexBackend.external.backend=<your_backend_type>
+indexBackend.external.hostname=<your_backend_host>
+indexBackend.external.port=<your_backend_port>
+```
+
+### Additional environment variables
+
+In case you want to add extra environment variables (useful for advanced operations like custom init scripts), you can use the `extraEnvVars` property.
+
+```yaml
+extraEnvVars:
+  - name: LOG_LEVEL
+    value: error
+```
+
+Alternatively, you can use a ConfigMap or a Secret with the environment variables. To do so, use the `extraEnvVarsCM` or the `extraEnvVarsSecret` values.
+
+### Sidecars
+
+If additional containers are needed in the same pod as JanusGraph (such as additional metrics or logging exporters), they can be defined using the `sidecars` parameter.
+
+```yaml
+sidecars:
+- name: your-image-name
+  image: your-image
+  imagePullPolicy: Always
+  ports:
+  - name: portname
+    containerPort: 1234
+```
+
+If these sidecars export extra ports, extra port definitions can be added using the `service.extraPorts` parameter (where available), as shown in the example below:
+
+```yaml
+service:
+  extraPorts:
+  - name: extraPort
+    port: 11311
+    targetPort: 11311
+```
+
+> NOTE: This Helm chart already includes sidecar containers for the Prometheus exporters (where applicable). These can be activated by adding the `--enable-metrics=true` parameter at deployment time. The `sidecars` parameter should therefore only be used for any extra sidecar containers.
+
+If additional init containers are needed in the same pod, they can be defined using the `initContainers` parameter. Here is an example:
+
+```yaml
+initContainers:
+  - name: your-image-name
+    image: your-image
+    imagePullPolicy: Always
+    ports:
+      - name: portname
+        containerPort: 1234
+```
+
+Learn more about [sidecar containers](https://kubernetes.io/docs/concepts/workloads/pods/) and [init containers](https://kubernetes.io/docs/concepts/workloads/pods/init-containers/).
+
+### Pod affinity
+
+This chart allows you to set your custom affinity using the `affinity` parameter. Find more information about Pod affinity in the [kubernetes documentation](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity).
+
+As an alternative, use one of the preset configurations for pod affinity, pod anti-affinity, and node affinity available at the [bitnami/common](https://github.com/bitnami/charts/tree/main/bitnami/common#affinities) chart. To do so, set the `podAffinityPreset`, `podAntiAffinityPreset`, or `nodeAffinityPreset` parameters.
+
+## Troubleshooting
+
+Find more information about how to deal with common errors related to Bitnami's Helm charts in [this troubleshooting guide](https://docs.bitnami.com/general/how-to/troubleshoot-helm-chart-issues).
+
+## License
+
+Copyright &copy; 2024 Broadcom. The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+<http://www.apache.org/licenses/LICENSE-2.0>
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.

+ 69 - 0
bitnami/janusgraph/templates/NOTES.txt

@@ -0,0 +1,69 @@
+CHART NAME: {{ .Chart.Name  }}
+CHART VERSION: {{ .Chart.Version  }}
+APP VERSION: {{ .Chart.AppVersion  }}
+
+** Please be patient while the chart is being deployed **
+
+{{- if .Values.diagnosticMode.enabled }}
+The chart has been deployed in diagnostic mode. All probes have been disabled and the command has been overwritten with:
+
+  command: {{- include "common.tplvalues.render" (dict "value" .Values.diagnosticMode.command "context" $) | nindent 4 }}
+  args: {{- include "common.tplvalues.render" (dict "value" .Values.diagnosticMode.args "context" $) | nindent 4 }}
+
+Get the list of pods by executing:
+
+  kubectl get pods --namespace {{ include "common.names.namespace" . | quote }} -l app.kubernetes.io/instance={{ .Release.Name }}
+
+Access the pod you want to debug by executing
+
+  kubectl exec --namespace {{ include "common.names.namespace" . | quote }} -ti <NAME OF THE POD> -- bash
+
+In order to replicate the container startup scripts execute this command:
+
+    /opt/bitnami/scripts/janusgraph/entrypoint.sh /opt/bitnami/scripts/janusgraph/run.sh
+
+{{- else }}
+
+Access Janusgraph from within the cluster using the following URL:
+
+  - {{ include "common.names.fullname" . }}.{{ include "common.names.namespace" . }}.svc.{{ .Values.clusterDomain }}:{{ .Values.service.ports.gremlin }}
+
+To connect to your Janusgraph cluster using Gremlin/Tinkerpop:
+
+1. Run a Janusgraph pod that you can use as a client:
+
+   kubectl run --namespace {{ include "common.names.namespace" . }} {{ include "common.names.fullname" . }}-client --rm --tty -i --restart='Never' \
+   --env GREMLIN_REMOTE_PORT={{ .Values.service.ports.gremlin }} \
+   --env GREMLIN_REMOTE_HOSTS={{ include "common.names.fullname" . }}.{{ include "common.names.namespace" . }}.svc.{{ .Values.clusterDomain }} \
+   {{ if and (.Values.networkPolicy.enabled) (not .Values.networkPolicy.allowExternal) }}--labels="{{ include "common.names.name" . }}-client=true"{{ end }} \
+   --image {{ include "janusgraph.image" . }} -- bash
+
+2. Connect using the gremlin.sh tool:
+
+   $ gremlin.sh
+   gremlin> :remote connect tinkerpop.server conf/remote.yaml
+   gremlin> :remote console
+
+To access Janusgraph from outside the cluster follow the steps below:
+
+1. Get the Janusgraph server URL by running these commands:
+
+
+{{- if contains "NodePort" .Values.service.type }}
+    export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "common.names.fullname" . }})
+    export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
+    echo "Janusgraph server available at $NODE_IP:$NODE_PORT"
+{{- else if contains "LoadBalancer" .Values.service.type }}
+     NOTE: It may take a few minutes for the LoadBalancer IP to be available.
+           You can watch the status of by running 'kubectl get --namespace {{ .Release.Namespace }} svc -w {{ include "common.names.fullname" . }}'
+    export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "common.names.fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
+    echo "Janusgraph server available at $SERVICE_IP:{{ .Values.service.ports.gremlin }}"
+{{- else if contains "ClusterIP" .Values.service.type }}
+    echo "Janusgraph server available at 127.0.0.1:8182"
+    kubectl port-forward svc/{{ include "common.names.fullname" . }} 8182:{{ .Values.service.ports.gremlin }} &
+{{- end }}
+
+{{- end }}
+
+{{- include "common.warnings.rollingTag" .Values.image }}
+{{- include "janusgraph.validateValues" . }}

+ 400 - 0
bitnami/janusgraph/templates/_helpers.tpl

@@ -0,0 +1,400 @@
+{{/*
+Copyright VMware, Inc.
+SPDX-License-Identifier: APACHE-2.0
+*/}}
+
+{{/*
+Return the proper JanusGraph image name
+*/}}
+{{- define "janusgraph.image" -}}
+{{ include "common.images.image" (dict "imageRoot" .Values.image "global" .Values.global) }}
+{{- end -}}
+
+{{/*
+Return the proper image name (for the init container volume-permissions image)
+*/}}
+{{- define "janusgraph.volumePermissions.image" -}}
+{{- include "common.images.image" ( dict "imageRoot" .Values.volumePermissions.image "global" .Values.global ) -}}
+{{- end -}}
+
+{{/*
+Return the proper image name (for the sidecar JMX exporter image)
+*/}}
+{{- define "janusgraph.metrics.image" -}}
+{{- include "common.images.image" ( dict "imageRoot" .Values.metrics.image "global" .Values.global ) -}}
+{{- end -}}
+
+{{/*
+Return the proper Docker Image Registry Secret Names
+*/}}
+{{- define "janusgraph.imagePullSecrets" -}}
+{{- include "common.images.renderPullSecrets" (dict "images" (list .Values.image .Values.metrics.image .Values.volumePermissions.image) "context" $) -}}
+{{- end -}}
+
+{{/*
+Create the name of the service account to use
+*/}}
+{{- define "janusgraph.serviceAccountName" -}}
+{{- if .Values.serviceAccount.create -}}
+    {{ default (include "common.names.fullname" .) .Values.serviceAccount.name }}
+{{- else -}}
+    {{ default "default" .Values.serviceAccount.name }}
+{{- end -}}
+{{- end -}}
+
+{{/*
+Return the volume-permissions init container
+*/}}
+{{- define "janusgraph.volumePermissionsInitContainer" -}}
+- name: volume-permissions
+  image: {{ include "janusgraph.volumePermissions.image"  }}
+  imagePullPolicy: {{ default "" .Values.volumePermissions.image.pullPolicy | quote }}
+  command:
+    - /bin/bash
+  args:
+    - -ec
+    - |
+      #!/bin/bash
+      mkdir -p {{ .Values.persistence.mountPath }}
+      chown {{ .Values.volumePermissions.containerSecurityContext.runAsUser }}:{{ .Values.podSecurityContext.fsGroup }} {{ .Values.persistence.mountPath }}
+      find {{ .Values.persistence.mountPath }} -mindepth 1 -maxdepth 1 -not -name ".snapshot" -not -name "lost+found" | xargs chown -R {{ .Values.volumePermissions.containerSecurityContext.runAsUser }}:{{ .Values.podSecurityContext.fsGroup }}
+  {{- if .Values.volumePermissions.containerSecurityContext.enabled }}
+  securityContext: {{- include "common.compatibility.renderSecurityContext" (dict "secContext" .Values.volumePermissions.containerSecurityContext "context" $) | nindent 4 }}
+  {{- end }}
+  {{- if .Values.volumePermissions.resources }}
+  resources: {{- toYaml .Values.volumePermissions.resources | nindent 4 }}
+  {{- else if ne .Values.volumePermissions.resourcesPreset "none" }}
+  resources: {{- include "common.resources.preset" (dict "type" .Values.volumePermissions.resourcesPreset) | nindent 4 }}
+  {{- end }}
+  volumeMounts:
+    - name: data
+      mountPath: {{ .Values.persistence.mountPath }}
+{{- end -}}
+
+{{/*
+Return the wait-for-storage init container
+*/}}
+{{- define "janusgraph.waitForStorage" -}}
+- name: wait-for-storage
+  image: {{ include "janusgraph.image" . }}
+  imagePullPolicy: {{ .Values.image.pullPolicy }}
+  {{- if .Values.containerSecurityContext.enabled }}
+  securityContext: {{- include "common.compatibility.renderSecurityContext" (dict "secContext" .Values.containerSecurityContext "context" $) | nindent 4 }}
+  {{- end }}
+  command:
+    - /bin/bash
+  args:
+    - -ec
+    - |
+      #!/bin/bash
+
+      # HACK: Gremlin console interactive mode won't work unless its history file is writable at /opt/bitnami/janusgraph
+      # To be able to run with readOnlyRootFilesystem, we create the file and mount it as a volume
+      # Additionally copy the default content of the ext directory for console plugins installation
+      touch /base-dir/.gremlin_groovy_history
+      cp /opt/bitnami/janusgraph/ext/* /ext-dir
+
+      # Load env variables
+      [[ -f /opt/bitnami/scripts/janusgraph-env.sh ]] && . /opt/bitnami/scripts/janusgraph-env.sh
+
+      # Copy Janusgraph configmap
+      cp "/bitnami/janusgraph/conf/janusgraph.properties" "${JANUSGRAPH_PROPERTIES}"
+
+      # Configure libnss_wrapper
+      if [[ -f /opt/bitnami/scripts/libos.sh ]]; then
+        . /opt/bitnami/scripts/libos.sh
+        if ! am_i_root; then
+            export LNAME="janusgraph"
+            export LD_PRELOAD="/opt/bitnami/common/lib/libnss_wrapper.so"
+            if ! user_exists "$(id -u)" && [[ -f "$LD_PRELOAD" ]]; then
+                info "Configuring libnss_wrapper"
+                NSS_WRAPPER_PASSWD="$(mktemp)"
+                export NSS_WRAPPER_PASSWD
+                NSS_WRAPPER_GROUP="$(mktemp)"
+                export NSS_WRAPPER_GROUP
+                echo "janusgraph:x:$(id -u):$(id -g):JanusGraph:${JANUSGRAPH_BASE_DIR}:/bin/false" > "$NSS_WRAPPER_PASSWD"
+                echo "janusgraph:x:$(id -g):" > "$NSS_WRAPPER_GROUP"
+                chmod 400 "$NSS_WRAPPER_PASSWD" "$NSS_WRAPPER_GROUP"
+            fi
+        fi
+      fi
+
+      # Configure from environment variables
+      if [[ -f "/opt/bitnami/scripts/libjanusgraph.sh" ]]; then
+        . /opt/bitnami/scripts/libjanusgraph.sh
+        janusgraph_properties_configure_from_environment_variables
+      fi
+
+      # Check storage
+      echo "graph = JanusGraphFactory.open('${JANUSGRAPH_PROPERTIES}')" > "/tmp/check-storage.groovy"
+      info "Waiting for Storage backend to be ready..."
+
+      if ! retry_while "${JANUSGRAPH_BIN_DIR}/gremlin.sh -e /tmp/check-storage.groovy"; then
+          error "Storage backend is not ready yet."
+          exit 1
+      fi
+
+      # Cleanup
+      rm "/tmp/check-storage.groovy" "${JANUSGRAPH_PROPERTIES}"
+      info "Storage is ready"
+  env:
+    - name: JANUSGRAPH_PROPERTIES
+      value: /tmp/janusgraph.properties
+    {{- if (include "janusgraph.storage.username" .)}}
+    - name: JANUSGRAPH_CFG_STORAGE_USERNAME
+      value: {{ include "janusgraph.storage.username" . | quote }}
+    {{- if .Values.storageBackend.usePasswordFiles }}
+    - name: JANUSGRAPH_CFG_STORAGE_PASSWORD_FILE
+      value: {{ printf "/opt/bitnami/janusgraph/secrets/%s" (include "janusgraph.storage.password.secretKey" .) }}
+    {{- else }}
+    - name: JANUSGRAPH_CFG_STORAGE_PASSWORD
+      valueFrom:
+        secretKeyRef:
+          name: {{ include "janusgraph.storage.password.secretName" . }}
+          key: {{ include "janusgraph.storage.password.secretKey" . }}
+    {{- end }}
+    {{- end }}
+    {{- if .Values.storageBackend.cassandra.enabled }}
+    - name: JANUSGRAPH_CFG_STORAGE_CQL_KEYSPACE
+      value: {{ .Values.cassandra.keyspace | quote }}
+    {{- end }}
+    {{- if .Values.extraEnvVars }}
+    {{- include "common.tplvalues.render" (dict "value" .Values.extraEnvVars "context" $) | nindent 4 }}
+    {{- end }}
+  envFrom:
+    {{- if .Values.extraEnvVarsCM }}
+    - configMapRef:
+        name: {{ include "common.tplvalues.render" (dict "value" .Values.extraEnvVarsCM "context" $) }}
+    {{- end }}
+    {{- if .Values.extraEnvVarsSecret }}
+    - secretRef:
+        name: {{ include "common.tplvalues.render" (dict "value" .Values.extraEnvVarsSecret "context" $) }}
+    {{- end }}
+  {{- if .Values.resources }}
+  resources: {{ toYaml .Values.resources | nindent 4 }}
+  {{- else if ne .Values.resourcesPreset "none" }}
+  resources: {{- include "common.resources.preset" (dict "type" .Values.resourcesPreset) | nindent 4 }}
+  {{- end }}
+  volumeMounts:
+    - name: empty-dir
+      mountPath: /tmp
+      subPath: tmp-dir
+    - name: janusgraph-properties
+      mountPath: /bitnami/janusgraph/conf/janusgraph.properties
+      subPath: janusgraph.properties
+    - name: empty-dir
+      mountPath: /ext-dir
+      subPath: app-ext-dir
+    - name: empty-dir
+      mountPath: /base-dir
+      subPath: app-base-dir
+    {{- if .Values.storageBackend.usePasswordFiles }}
+    - name: storage-backend-credentials
+      mountPath: /opt/bitnami/janusgraph/secrets/
+    {{- end }}
+{{- end -}}
+
+{{/*
+Returns true if a storage backend has been configured
+*/}}
+{{- define "janusgraph.storage.enabled" -}}
+{{- if or .Values.storageBackend.cassandra.enabled .Values.storageBackend.berkeleyje.enabled .Values.storageBackend.external.backend -}}
+{{- true -}}
+{{- end -}}
+{{- end -}}
+
+{{/*
+Returns the configured storage backend
+*/}}
+{{- define "janusgraph.storage.backend" -}}
+{{- if .Values.storageBackend.cassandra.enabled -}}
+{{- print "cql" -}}
+{{- else if .Values.storageBackend.berkeleyje.enabled -}}
+{{- print "berkeleyje" -}}
+{{- else if .Values.storageBackend.external.backend -}}
+{{- print .Values.storageBackend.external.backend -}}
+{{- end -}}
+{{- end -}}
+
+{{/*
+Returns the hostname of the configured storage backend
+*/}}
+{{- define "janusgraph.storage.hostname" -}}
+{{- if .Values.storageBackend.cassandra.enabled -}}
+{{- include "common.names.dependency.fullname" (dict "chartName" "cassandra" "chartValues" .Values.storageBackend.cassandra "context" $) -}}
+{{- else if .Values.storageBackend.external.hostname -}}
+{{- print .Values.storageBackend.external.hostname -}}
+{{- end -}}
+{{- end -}}
+
+{{/*
+Returns the port of the configured storage backend
+*/}}
+{{- define "janusgraph.storage.port" -}}
+{{- if .Values.storageBackend.cassandra.enabled }}
+{{- printf "%d" (int .Values.cassandra.service.ports.cql) -}}
+{{- else if .Values.storageBackend.external.port -}}
+{{- printf "%d" (int .Values.storageBackend.external.port) -}}
+{{- end -}}
+{{- end -}}
+
+{{/*
+Create the storage password secret name
+*/}}
+{{- define "janusgraph.storage.username" -}}
+{{- if .Values.storageBackend.cassandra.enabled -}}
+{{- print (default "cassandra" .Values.cassandra.dbUser.user) -}}
+{{- else if .Values.storageBackend.external.username -}}
+{{- .Values.storageBackend.external.username -}}
+{{- end -}}
+{{- end -}}
+
+{{/*
+Create the storage password secret name
+*/}}
+{{- define "janusgraph.storage.password.secretName" -}}
+{{- if .Values.storageBackend.cassandra.enabled -}}
+{{- printf "%s-cassandra" (include "common.names.fullname" .) -}}
+{{- else if .Values.storageBackend.external.existingSecret -}}
+{{- print (tpl .Values.storageBackend.external.existingSecret .) -}}
+{{- end -}}
+{{- end -}}
+
+{{/*
+Create the storage password secret key
+*/}}
+{{- define "janusgraph.storage.password.secretKey" -}}
+{{- if .Values.storageBackend.cassandra.enabled -}}
+cassandra-password
+{{- else if .Values.storageBackend.external.existingSecretPasswordKey -}}
+{{- .Values.storageBackend.external.existingSecretPasswordKey -}}
+{{- end -}}
+{{- end -}}
+
+{{/*
+Returns true if a index management backend has been configured
+*/}}
+{{- define "janusgraph.index.enabled" -}}
+{{- if or .Values.indexBackend.lucene.enabled .Values.indexBackend.external.backend -}}
+{{- true -}}
+{{- end -}}
+{{- end -}}
+
+{{/*
+Returns the configured index management backend
+*/}}
+{{- define "janusgraph.index.backend" -}}
+{{- if .Values.indexBackend.lucene.enabled -}}
+{{- print "lucene" -}}
+{{- else if .Values.indexBackend.external.backend -}}
+{{- print .Values.indexBackend.external.backend -}}
+{{- end -}}
+{{- end -}}
+
+{{/*
+Returns the hostname of the configured index management backend
+*/}}
+{{- define "janusgraph.index.hostname" -}}
+{{- if .Values.indexBackend.external.hostname -}}
+{{- print .Values.indexBackend.external.hostname -}}
+{{- end -}}
+{{- end -}}
+
+{{/*
+Returns the port of the configured index management backend
+*/}}
+{{- define "janusgraph.index.port" -}}
+{{- if .Values.indexBackend.external.port -}}
+{{- printf "%d" ( int .Values.indexBackend.external.port) -}}
+{{- end -}}
+{{- end -}}
+
+{{/*
+Returns the Janusgraph JVM Java options for the conteiner
+*/}}
+{{- define "janusgraph.javaOpts" -}}
+{{- if .Values.metrics.enabled -}}
+{{ printf "%s -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.port=%d" .Values.javaOptions (int .Values.containerPorts.jmx) }}
+{{- else -}}
+{{ print .Values.javaOptions }}
+{{- end -}}
+{{- end -}}
+
+{{/*
+Return the JanusGraph configuration configmap
+*/}}
+{{- define "janusgraph.configmapName" -}}
+{{- if .Values.existingConfigmap -}}
+{{- include "common.tplvalues.render" (dict "value" .Values.existingConfigmap "context" $) -}}
+{{- else -}}
+{{- print (include "common.names.fullname" .) -}}
+{{- end -}}
+{{- end -}}
+
+{{/*
+Return the JanusGraph metrics configuration configmap
+*/}}
+{{- define "janusgraph.metrics.configmapName" -}}
+{{- if .Values.metrics.existingConfigmap -}}
+{{- include "common.tplvalues.render" (dict "value" .Values.metrics.existingConfigmap "context" $) -}}
+{{- else -}}
+{{ printf "%s-jmx-configuration" (include "common.names.fullname" .) -}}
+{{- end -}}
+{{- end -}}
+
+{{/*
+Compile all warnings into a single message.
+*/}}
+{{- define "janusgraph.validateValues" -}}
+{{- $messages := list -}}
+{{- $messages := append $messages (include "janusgraph.validateValues.storageBackend.enabled" .) -}}
+{{- $messages := append $messages (include "janusgraph.validateValues.storageBackend.individual" .) -}}
+{{- $messages := append $messages (include "janusgraph.validateValues.indexBackend.individual" .) -}}
+{{- $messages := without $messages "" -}}
+{{- $message := join "\n" $messages -}}
+
+{{- if $message -}}
+{{-   printf "\nVALUES VALIDATION:\n%s" $message -}}
+{{- end -}}
+{{- end -}}
+
+{{/*
+Validate values of Janusgraph - At least one storage backend is enabled
+*/}}
+{{- define "janusgraph.validateValues.storageBackend.enabled" -}}
+{{- if not (include "janusgraph.storage.enabled" .) -}}
+janusgraph: storageBackend
+    At least one storage backend has to be configured.
+    Currently supported storage backends are:
+     - Cassandra (using Cassandra subchart) - storageBackend.cassandra.enabled
+     - BerkeleyDB (local) - storageBackend.berkeleyje.enabled
+     - External storage - storageBackend.external.backend
+{{- end -}}
+{{- end -}}
+
+{{/*
+Validate values of Janusgraph - Only one storage backend can be configured
+*/}}
+{{- define "janusgraph.validateValues.storageBackend.individual" -}}
+{{- $backends := 0 -}}
+{{- if .Values.storageBackend.cassandra.enabled }}{{ $backends = add $backends 1 }}{{ end }}
+{{- if .Values.storageBackend.berkeleyje.enabled }}{{ $backends = add $backends 1 }}{{ end }}
+{{- if .Values.storageBackend.external.backend }}{{ $backends = add $backends 1 }}{{ end }}
+{{- if gt $backends 1 -}}
+janusgraph: storageBackend
+    Only one storage backend can be configured at the same time
+{{- end -}}
+{{- end -}}
+
+{{/*
+Validate values of Janusgraph - Only one storage backend can be configured
+*/}}
+{{- define "janusgraph.validateValues.indexBackend.individual" -}}
+{{- $backends := 0 -}}
+{{- if .Values.indexBackend.lucene.enabled }}{{ $backends = add $backends 1 }}{{ end }}
+{{- if .Values.indexBackend.external.backend }}{{ $backends = add $backends 1 }}{{ end }}
+{{- if gt $backends 1 -}}
+janusgraph: indexBackend
+    Only one index backend can be configured at the same time
+{{- end -}}
+{{- end -}}

+ 49 - 0
bitnami/janusgraph/templates/configmap.yaml

@@ -0,0 +1,49 @@
+{{- /*
+Copyright VMware, Inc.
+SPDX-License-Identifier: APACHE-2.0
+*/}}
+
+{{- if not .Values.existingConfigmap }}
+apiVersion: v1
+kind: ConfigMap
+metadata:
+  name: {{ template "common.names.fullname" . }}
+  namespace: {{ include "common.names.namespace" . | quote }}
+  labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
+    app.kubernetes.io/component: janusgraph
+    app.kubernetes.io/part-of: janusgraph
+  {{- if .Values.commonAnnotations }}
+  annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
+  {{- end }}
+data:
+  {{- if .Values.janusgraphProperties }}
+  janusgraph.properties: |-
+    {{- include "common.tplvalues.render" ( dict "value" .Values.janusgraphProperties "context" $ ) | nindent 4 }}
+  {{- else }}
+  janusgraph.properties: |-
+    storage.backend={{ include "janusgraph.storage.backend" . }}
+    {{- if eq (include "janusgraph.storage.backend" .) "berkeleyje" }}
+    storage.directory={{ .Values.storageBackend.berkeleyje.directory }}
+    {{- else }}
+    storage.hostname={{ include "janusgraph.storage.hostname" . }}
+    {{- if (include "janusgraph.storage.port" .)}}
+    storage.port={{ include "janusgraph.storage.port" . }}
+    {{- end }}
+    {{- end }}
+    {{- if (include "janusgraph.index.enabled" .) }}
+    index.search.backend={{ include "janusgraph.index.backend" . }}
+    {{- if eq (include "janusgraph.index.backend" .) "lucene" }}
+    index.search.directory={{ .Values.indexBackend.lucene.directory }}
+    {{- else }}
+    index.hostname={{ include "janusgraph.index.hostname" . }}
+    index.port={{ include "janusgraph.index.port" . }}
+    {{- end }}
+    {{- end }}
+    cache.db-cache={{ ternary "true" "false" .Values.cache.enabled }}
+    {{- if .Values.metrics.enabled }}
+    metrics.enabled=true
+    metrics.jmx.enabled=true
+    {{- end }}
+    {{- include "common.tplvalues.render" ( dict "value" .Values.extraJanusgraphProperties "context" $ ) | nindent 4 }}
+  {{- end }}
+{{- end }}

+ 290 - 0
bitnami/janusgraph/templates/deployment.yaml

@@ -0,0 +1,290 @@
+{{- /*
+Copyright VMware, Inc.
+SPDX-License-Identifier: APACHE-2.0
+*/}}
+
+apiVersion: {{ include "common.capabilities.deployment.apiVersion" . }}
+kind: Deployment
+metadata:
+  name: {{ template "common.names.fullname" . }}
+  namespace: {{ include "common.names.namespace" . | quote }}
+  labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
+    app.kubernetes.io/component: janusgraph
+    app.kubernetes.io/part-of: janusgraph
+  {{- if or .Values.annotations .Values.commonAnnotations }}
+  {{- $annotations := include "common.tplvalues.merge" (dict "values" (list .Values.annotations .Values.commonAnnotations) "context" .) }}
+  annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $ ) | nindent 4 }}
+  {{- end }}
+spec:
+  {{- if not .Values.autoscaling.enabled }}
+  replicas: {{ .Values.replicaCount }}
+  {{- end }}
+  {{- if .Values.updateStrategy}}
+  strategy: {{- toYaml .Values.updateStrategy | nindent 4 }}
+  {{- end }}
+  {{- $podLabels := include "common.tplvalues.merge" (dict "values" (list .Values.podLabels .Values.commonLabels) "context" .) }}
+  selector:
+    matchLabels: {{- include "common.labels.matchLabels" ( dict "customLabels" $podLabels "context" $ ) | nindent 6 }}
+      app.kubernetes.io/component: janusgraph
+      app.kubernetes.io/part-of: janusgraph
+  template:
+    metadata:
+      annotations:
+        {{- if not .Values.existingConfigmap }}
+        checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
+        {{- end }}
+        {{- if .Values.podAnnotations }}
+        {{- include "common.tplvalues.render" (dict "value" .Values.podAnnotations "context" $) | nindent 8 }}
+        {{- end }}
+      labels: {{- include "common.labels.standard" ( dict "customLabels" $podLabels "context" $ ) | nindent 8 }}
+        app.kubernetes.io/component: janusgraph
+        app.kubernetes.io/part-of: janusgraph
+    spec:
+      serviceAccountName: {{ template "janusgraph.serviceAccountName" . }}
+      {{- include "janusgraph.imagePullSecrets" . | nindent 6 }}
+      {{- if .Values.hostAliases }}
+      hostAliases: {{- include "common.tplvalues.render" (dict "value" .Values.hostAliases "context" $) | nindent 8 }}
+      {{- end }}
+      automountServiceAccountToken: {{ .Values.automountServiceAccountToken }}
+      {{- if .Values.affinity }}
+      affinity: {{- include "common.tplvalues.render" ( dict "value" .Values.affinity "context" $) | nindent 8 }}
+      {{- else }}
+      affinity:
+        podAffinity: {{- include "common.affinities.pods" (dict "type" .Values.podAffinityPreset "component" "janusgraph" "customLabels" $podLabels "context" $) | nindent 10 }}
+        podAntiAffinity: {{- include "common.affinities.pods" (dict "type" .Values.podAntiAffinityPreset "component" "janusgraph" "customLabels" $podLabels "context" $) | nindent 10 }}
+        nodeAffinity: {{- include "common.affinities.nodes" (dict "type" .Values.nodeAffinityPreset.type "key" .Values.nodeAffinityPreset.key "values" .Values.nodeAffinityPreset.values) | nindent 10 }}
+      {{- end }}
+      {{- if .Values.nodeSelector }}
+      nodeSelector: {{- include "common.tplvalues.render" ( dict "value" .Values.nodeSelector "context" $) | nindent 8 }}
+      {{- end }}
+      {{- if .Values.tolerations }}
+      tolerations: {{- include "common.tplvalues.render" (dict "value" .Values.tolerations "context" .) | nindent 8 }}
+      {{- end }}
+      {{- if .Values.priorityClassName }}
+      priorityClassName: {{ .Values.priorityClassName | quote }}
+      {{- end }}
+      {{- if .Values.schedulerName }}
+      schedulerName: {{ .Values.schedulerName | quote }}
+      {{- end }}
+      {{- if .Values.topologySpreadConstraints }}
+      topologySpreadConstraints: {{- include "common.tplvalues.render" (dict "value" .Values.topologySpreadConstraints "context" .) | nindent 8 }}
+      {{- end }}
+      {{- if .Values.podSecurityContext.enabled }}
+      securityContext: {{- omit .Values.podSecurityContext "enabled" | toYaml | nindent 8 }}
+      {{- end }}
+      {{- if .Values.terminationGracePeriodSeconds }}
+      terminationGracePeriodSeconds: {{ .Values.terminationGracePeriodSeconds }}
+      {{- end }}
+      initContainers:
+        {{- include "janusgraph.waitForStorage" . | nindent 8 }}
+        {{- if and .Values.volumePermissions.enabled .Values.persistence.enabled }}
+        # Adjust volume permissions
+        {{- include "janusgraph.volumePermissionsInitContainer" . | nindent 8 }}
+        {{- end }}
+        {{- if .Values.initContainers }}
+          {{- include "common.tplvalues.render" (dict "value" .Values.initContainers "context" $) | nindent 8 }}
+        {{- end }}
+      containers:
+        - name: janusgraph
+          image: {{ include "janusgraph.image" . }}
+          imagePullPolicy: {{ .Values.image.pullPolicy }}
+          {{- if .Values.containerSecurityContext.enabled }}
+          securityContext: {{- include "common.compatibility.renderSecurityContext" (dict "secContext" .Values.containerSecurityContext "context" $) | nindent 12 }}
+          {{- end }}
+          {{- if .Values.diagnosticMode.enabled }}
+          command: {{- include "common.tplvalues.render" (dict "value" .Values.diagnosticMode.command "context" $) | nindent 12 }}
+          {{- else if .Values.command }}
+          command: {{- include "common.tplvalues.render" (dict "value" .Values.command "context" $) | nindent 12 }}
+          {{- end }}
+          {{- if .Values.diagnosticMode.enabled }}
+          args: {{- include "common.tplvalues.render" (dict "value" .Values.diagnosticMode.args "context" $) | nindent 12 }}
+          {{- else if .Values.args }}
+          args: {{- include "common.tplvalues.render" (dict "value" .Values.args "context" $) | nindent 12 }}
+          {{- end }}
+          env:
+            - name: BITNAMI_DEBUG
+              value: {{ ternary "true" "false" (or .Values.image.debug .Values.diagnosticMode.enabled) | quote }}
+            - name: JANUSGRAPH_PORT_NUMBER
+              value: {{ .Values.containerPorts.gremlin | quote }}
+            - name: JAVA_OPTIONS
+              value: {{ include "janusgraph.javaOpts" . | quote }}
+            - name: JANUSGRAPH_JMX_METRICS_ENABLED
+              value: {{ ternary "true" "false" .Values.metrics.enabled | quote }}
+            - name: GREMLIN_AUTOCONFIGURE_POOL
+              value: "true"
+            {{- if (include "janusgraph.storage.username" .)}}
+            - name: JANUSGRAPH_CFG_STORAGE_USERNAME
+              value: {{ include "janusgraph.storage.username" . | quote }}
+            {{- if .Values.storageBackend.usePasswordFiles }}
+            - name: JANUSGRAPH_CFG_STORAGE_PASSWORD_FILE
+              value: {{ printf "/opt/bitnami/janusgraph/secrets/%s" (include "janusgraph.storage.password.secretKey" .) }}
+            {{- else }}
+            - name: JANUSGRAPH_CFG_STORAGE_PASSWORD
+              valueFrom:
+                secretKeyRef:
+                  name: {{ include "janusgraph.storage.password.secretName" . }}
+                  key: {{ include "janusgraph.storage.password.secretKey" . }}
+            {{- end }}
+            {{- end }}
+            {{- if .Values.storageBackend.cassandra.enabled }}
+            - name: JANUSGRAPH_CFG_STORAGE_CQL_KEYSPACE
+              value: {{ .Values.cassandra.keyspace | quote }}
+            {{- end }}
+            {{- if .Values.extraEnvVars }}
+            {{- include "common.tplvalues.render" (dict "value" .Values.extraEnvVars "context" $) | nindent 12 }}
+            {{- end }}
+          envFrom:
+            {{- if .Values.extraEnvVarsCM }}
+            - configMapRef:
+                name: {{ include "common.tplvalues.render" (dict "value" .Values.extraEnvVarsCM "context" $) }}
+            {{- end }}
+            {{- if .Values.extraEnvVarsSecret }}
+            - secretRef:
+                name: {{ include "common.tplvalues.render" (dict "value" .Values.extraEnvVarsSecret "context" $) }}
+            {{- end }}
+          {{- if .Values.resources }}
+          resources: {{ toYaml .Values.resources | nindent 12 }}
+          {{- else if ne .Values.resourcesPreset "none" }}
+          resources: {{- include "common.resources.preset" (dict "type" .Values.resourcesPreset) | nindent 12 }}
+          {{- end }}
+          ports:
+            - name: gremlin
+              containerPort: {{ .Values.containerPorts.gremlin }}
+            {{- if .Values.metrics.enabled }}
+            - name: jmx
+              containerPort: {{ .Values.containerPorts.jmx }}
+            {{- end }}
+          {{- if not .Values.diagnosticMode.enabled }}
+          {{- if .Values.customLivenessProbe }}
+          livenessProbe: {{- include "common.tplvalues.render" (dict "value" .Values.customLivenessProbe "context" $) | nindent 12 }}
+          {{- else if .Values.livenessProbe.enabled }}
+          livenessProbe: {{- include "common.tplvalues.render" (dict "value" (omit .Values.livenessProbe "enabled") "context" $) | nindent 12 }}
+            tcpSocket:
+              port: gremlin
+          {{- end }}
+          {{- if .Values.customReadinessProbe }}
+          readinessProbe: {{- include "common.tplvalues.render" (dict "value" .Values.customReadinessProbe "context" $) | nindent 12 }}
+          {{- else if .Values.readinessProbe.enabled }}
+          readinessProbe: {{- include "common.tplvalues.render" (dict "value" (omit .Values.readinessProbe "enabled") "context" $) | nindent 12 }}
+            tcpSocket:
+              port: gremlin
+          {{- end }}
+          {{- if .Values.customStartupProbe }}
+          startupProbe: {{- include "common.tplvalues.render" (dict "value" .Values.customStartupProbe "context" $) | nindent 12 }}
+          {{- else if .Values.startupProbe.enabled }}
+          startupProbe: {{- include "common.tplvalues.render" (dict "value" (omit .Values.startupProbe "enabled") "context" $) | nindent 12 }}
+            tcpSocket:
+              port: gremlin
+          {{- end }}
+          {{- end }}
+          {{- if .Values.lifecycleHooks }}
+          lifecycle: {{- include "common.tplvalues.render" (dict "value" .Values.lifecycleHooks "context" $) | nindent 12 }}
+          {{- end }}
+          volumeMounts:
+            - name: data
+              mountPath: {{ .Values.persistence.mountPath }}
+              {{- if .Values.persistence.subPath }}
+              subPath: {{ .Values.persistence.subPath }}
+              {{- end }}
+            - name: empty-dir
+              mountPath: /tmp
+              subPath: tmp-dir
+            - name: empty-dir
+              mountPath: /opt/bitnami/janusgraph/.gremlin_groovy_history
+              subPath: app-base-dir/.gremlin_groovy_history
+            - name: empty-dir
+              mountPath: /opt/bitnami/janusgraph/ext
+              subPath: app-ext-dir
+            - name: janusgraph-conf
+              mountPath: /opt/bitnami/janusgraph/conf
+            - name: janusgraph-properties
+              mountPath: /bitnami/janusgraph/conf/janusgraph.properties
+              subPath: janusgraph.properties
+            {{- if .Values.storageBackend.usePasswordFiles }}
+            - name: storage-backend-credentials
+              mountPath: /opt/bitnami/janusgraph/secrets/
+            {{- end }}
+          {{- if .Values.extraVolumeMounts }}
+          {{- include "common.tplvalues.render" (dict "value" .Values.extraVolumeMounts "context" $) | nindent 12 }}
+          {{- end }}
+        {{- if .Values.metrics.enabled }}
+        - name: metrics
+          image: {{ include "janusgraph.metrics.image" . }}
+          imagePullPolicy: {{ .Values.metrics.image.pullPolicy | quote }}
+          {{- if .Values.metrics.containerSecurityContext.enabled }}
+          securityContext: {{- include "common.compatibility.renderSecurityContext" (dict "secContext" .Values.metrics.containerSecurityContext "context" $) | nindent 12 }}
+          {{- end }}
+          {{- if .Values.diagnosticMode.enabled }}
+          command: {{- include "common.tplvalues.render" (dict "value" .Values.diagnosticMode.command "context" $) | nindent 12 }}
+          args: {{- include "common.tplvalues.render" (dict "value" .Values.diagnosticMode.args "context" $) | nindent 12 }}
+          {{- else }}
+          command:
+            - java
+          args:
+            - -XX:MaxRAMPercentage=100
+            - -XshowSettings:vm
+            - -jar
+            - jmx_prometheus_httpserver.jar
+            - {{ .Values.metrics.containerPorts.metrics | quote }}
+            - /etc/jmx-janusgraph/jmx-prometheus.yml
+          {{- end }}
+          ports:
+            - name: metrics
+              containerPort: {{ .Values.metrics.containerPorts.metrics }}
+          {{- if .Values.metrics.resources }}
+          resources: {{- toYaml .Values.metrics.resources | nindent 12 }}
+          {{- else if ne .Values.metrics.resourcesPreset "none" }}
+          resources: {{- include "common.resources.preset" (dict "type" .Values.metrics.resourcesPreset) | nindent 12 }}
+          {{- end }}
+          {{- if not .Values.diagnosticMode.enabled }}
+          {{- if .Values.metrics.livenessProbe.enabled }}
+          livenessProbe: {{- omit .Values.metrics.livenessProbe "enabled" | toYaml | nindent 12 }}
+            httpGet:
+              path: /metrics
+              port: metrics
+          {{- end }}
+          {{- if .Values.metrics.readinessProbe.enabled }}
+          readinessProbe: {{- omit .Values.metrics.readinessProbe "enabled" | toYaml | nindent 12 }}
+            httpGet:
+              path: /metrics
+              port: metrics
+          {{- end }}
+          {{- end }}
+          volumeMounts:
+            - name: jmx-config
+              mountPath: /etc/jmx-janusgraph
+        {{- end }}
+        {{- if .Values.sidecars }}
+        {{- include "common.tplvalues.render" ( dict "value" .Values.sidecars "context" $) | nindent 8 }}
+        {{- end }}
+      volumes:
+        {{- if .Values.extraVolumes }}
+        {{- include "common.tplvalues.render" (dict "value" .Values.extraVolumes "context" $) | nindent 8 }}
+        {{- end }}
+        - name: empty-dir
+          emptyDir: {}
+        - name: janusgraph-conf
+          emptyDir: {}
+        - name: janusgraph-properties
+          configMap:
+            name: {{ include "janusgraph.configmapName" . }}
+        {{- if .Values.storageBackend.usePasswordFiles }}
+        - name: storage-backend-credentials
+          secret:
+            secretName: {{ include "janusgraph.storage.password.secretName" . }}
+            items:
+              - key: {{ include "janusgraph.storage.password.secretKey" . }}
+                path: {{ include "janusgraph.storage.password.secretKey" . }}
+        {{- end }}
+        {{- if .Values.metrics.enabled }}
+        - name: jmx-config
+          configMap:
+            name: {{ include "janusgraph.metrics.configmapName" . }}
+        {{- end }}
+        - name: data
+        {{- if .Values.persistence.enabled }}
+          persistentVolumeClaim:
+            claimName: {{ default (include "common.names.fullname" .) .Values.persistence.existingClaim }}
+        {{- else }}
+          emptyDir: {}
+        {{- end }}

+ 9 - 0
bitnami/janusgraph/templates/extra-list.yaml

@@ -0,0 +1,9 @@
+{{- /*
+Copyright VMware, Inc.
+SPDX-License-Identifier: APACHE-2.0
+*/}}
+
+{{- range .Values.extraDeploy }}
+---
+{{ include "common.tplvalues.render" (dict "value" . "context" $) }}
+{{- end }}

+ 50 - 0
bitnami/janusgraph/templates/hpa.yaml

@@ -0,0 +1,50 @@
+{{- /*
+Copyright VMware, Inc.
+SPDX-License-Identifier: APACHE-2.0
+*/}}
+
+{{- if .Values.autoscaling.enabled }}
+apiVersion: {{ include "common.capabilities.hpa.apiVersion" . }}
+kind: HorizontalPodAutoscaler
+metadata:
+  name: {{ include "common.names.fullname" . }}
+  namespace: {{ include "common.names.namespace" . | quote }}
+  labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
+    app.kubernetes.io/component: janusgraph
+    app.kubernetes.io/part-of: janusgraph
+  {{- if .Values.commonAnnotations }}
+  annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
+  {{- end }}
+spec:
+  scaleTargetRef:
+    apiVersion: {{ include "common.capabilities.deployment.apiVersion" . }}
+    kind: Deployment
+    name: {{ include "common.names.fullname" . }}
+  minReplicas: {{ .Values.autoscaling.minReplicas }}
+  maxReplicas: {{ .Values.autoscaling.maxReplicas }}
+  metrics:
+    {{- if .Values.autoscaling.targetMemory }}
+    - type: Resource
+      resource:
+        name: memory
+        {{- if semverCompare "<1.23-0" (include "common.capabilities.kubeVersion" .) }}
+        targetAverageUtilization: {{ .Values.autoscaling.targetMemory  }}
+        {{- else }}
+        target:
+          type: Utilization
+          averageUtilization: {{ .Values.autoscaling.targetMemory }}
+        {{- end }}
+    {{- end }}
+    {{- if .Values.autoscaling.targetCPU }}
+    - type: Resource
+      resource:
+        name: cpu
+        {{- if semverCompare "<1.23-0" (include "common.capabilities.kubeVersion" .) }}
+        targetAverageUtilization: {{ .Values.autoscaling.targetCPU }}
+        {{- else }}
+        target:
+          type: Utilization
+          averageUtilization: {{ .Values.autoscaling.targetCPU }}
+        {{- end }}
+    {{- end }}
+{{- end }}

+ 21 - 0
bitnami/janusgraph/templates/metrics/configmap.yaml

@@ -0,0 +1,21 @@
+{{- /*
+Copyright VMware, Inc.
+SPDX-License-Identifier: APACHE-2.0
+*/}}
+
+{{- if and .Values.metrics.enabled (not .Values.metrics.existingConfigmap) }}
+apiVersion: v1
+kind: ConfigMap
+metadata:
+  name: {{ printf "%s-jmx-configuration" (include "common.names.fullname" .) }}
+  namespace: {{ include "common.names.namespace" . | quote }}
+  labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
+    app.kubernetes.io/component: metrics
+    app.kubernetes.io/part-of: janusgraph
+  {{- if .Values.commonAnnotations }}
+  annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
+  {{- end }}
+data:
+  jmx-prometheus.yml: |-
+    {{- include "common.tplvalues.render" ( dict "value" .Values.metrics.config "context" $ ) | nindent 4 }}
+{{- end -}}

+ 33 - 0
bitnami/janusgraph/templates/metrics/service.yaml

@@ -0,0 +1,33 @@
+{{- /*
+Copyright VMware, Inc.
+SPDX-License-Identifier: APACHE-2.0
+*/}}
+
+{{- if .Values.metrics.enabled }}
+apiVersion: v1
+kind: Service
+metadata:
+  name: {{ printf "%s-metrics" (include "common.names.fullname" .) }}
+  namespace: {{ include "common.names.namespace" . | quote }}
+  labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
+    app.kubernetes.io/component: metrics
+    app.kubernetes.io/part-of: janusgraph
+  {{- if or .Values.metrics.service.annotations .Values.commonAnnotations }}
+  {{- $annotations := include "common.tplvalues.merge" ( dict "values" ( list .Values.metrics.service.annotations .Values.commonAnnotations ) "context" . ) }}
+  annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }}
+  {{- end }}
+spec:
+  type: ClusterIP
+  sessionAffinity: {{ .Values.metrics.service.sessionAffinity }}
+  {{- if .Values.metrics.service.clusterIP }}
+  clusterIP: {{ .Values.metrics.service.clusterIP }}
+  {{- end }}
+  ports:
+    - name: http-metrics
+      port: {{ .Values.metrics.service.ports.metrics }}
+      protocol: TCP
+      targetPort: metrics
+  selector: {{- include "common.labels.matchLabels" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
+    app.kubernetes.io/component: janusgraph
+    app.kubernetes.io/part-of: janusgraph
+{{- end }}

+ 52 - 0
bitnami/janusgraph/templates/metrics/servicemonitor.yaml

@@ -0,0 +1,52 @@
+{{- /*
+Copyright VMware, Inc.
+SPDX-License-Identifier: APACHE-2.0
+*/}}
+
+{{- if and .Values.metrics.enabled .Values.metrics.serviceMonitor.enabled }}
+apiVersion: monitoring.coreos.com/v1
+kind: ServiceMonitor
+metadata:
+  name: {{ printf "%s-metrics" (include "common.names.fullname" .) }}
+  namespace: {{ default (include "common.names.namespace" .) .Values.metrics.serviceMonitor.namespace | quote }}
+  {{- $labels := include "common.tplvalues.merge" ( dict "values" ( list .Values.metrics.serviceMonitor.labels .Values.commonLabels ) "context" . ) }}
+  labels: {{- include "common.labels.standard" ( dict "customLabels" $labels "context" $ ) | nindent 4 }}
+    app.kubernetes.io/component: metrics
+    app.kubernetes.io/part-of: janusgraph
+  {{- if or .Values.metrics.serviceMonitor.annotations .Values.commonAnnotations }}
+  {{- $annotations := include "common.tplvalues.merge" ( dict "values" ( list .Values.metrics.serviceMonitor.annotations .Values.commonAnnotations ) "context" . ) }}
+  annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }}
+  {{- end }}
+spec:
+  {{- if .Values.metrics.serviceMonitor.jobLabel }}
+  jobLabel: {{ .Values.metrics.serviceMonitor.jobLabel }}
+  {{- end }}
+  selector:
+    matchLabels: {{- include "common.labels.matchLabels" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 6 }}
+      {{- if .Values.metrics.serviceMonitor.selector }}
+      {{- include "common.tplvalues.render" (dict "value" .Values.metrics.serviceMonitor.selector "context" $) | nindent 6 }}
+      {{- end }}
+      app.kubernetes.io/component: metrics
+      app.kubernetes.io/part-of: janusgraph
+  endpoints:
+    - port: http-metrics
+      path: "/"
+      {{- if .Values.metrics.serviceMonitor.interval }}
+      interval: {{ .Values.metrics.serviceMonitor.interval }}
+      {{- end }}
+      {{- if .Values.metrics.serviceMonitor.scrapeTimeout }}
+      scrapeTimeout: {{ .Values.metrics.serviceMonitor.scrapeTimeout }}
+      {{- end }}
+      {{- if .Values.metrics.serviceMonitor.relabelings }}
+      relabelings: {{- include "common.tplvalues.render" ( dict "value" .Values.metrics.serviceMonitor.relabelings "context" $) | nindent 6 }}
+      {{- end }}
+      {{- if .Values.metrics.serviceMonitor.metricRelabelings }}
+      metricRelabelings: {{- include "common.tplvalues.render" ( dict "value" .Values.metrics.serviceMonitor.metricRelabelings "context" $) | nindent 6 }}
+      {{- end }}
+      {{- if .Values.metrics.serviceMonitor.honorLabels }}
+      honorLabels: {{ .Values.metrics.serviceMonitor.honorLabels }}
+      {{- end }}
+  namespaceSelector:
+    matchNames:
+      - {{ include "common.names.namespace" . }}
+{{- end }}

+ 84 - 0
bitnami/janusgraph/templates/networkpolicy.yaml

@@ -0,0 +1,84 @@
+{{- /*
+Copyright VMware, Inc.
+SPDX-License-Identifier: APACHE-2.0
+*/}}
+
+{{- if .Values.networkPolicy.enabled }}
+kind: NetworkPolicy
+apiVersion: {{ include "common.capabilities.networkPolicy.apiVersion" . }}
+metadata:
+  name: {{ include "common.names.fullname" . }}
+  namespace: {{ include "common.names.namespace" . | quote }}
+  {{- $labels := include "common.tplvalues.merge" ( dict "values" ( list .Values.labels .Values.commonLabels ) "context" . ) }}
+  labels: {{- include "common.labels.standard" ( dict "customLabels" $labels "context" $ ) | nindent 4 }}
+    app.kubernetes.io/component: janusgraph
+    app.kubernetes.io/part-of: janusgraph
+  {{- if or .Values.annotations .Values.commonAnnotations }}
+  {{- $annotations := include "common.tplvalues.merge" ( dict "values" ( list .Values.annotations .Values.commonAnnotations ) "context" . ) }}
+  annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $ ) | nindent 4 }}
+  {{- end }}
+spec:
+  {{- $podLabels := include "common.tplvalues.merge" ( dict "values" ( list .Values.podLabels .Values.commonLabels ) "context" . ) }}
+  podSelector:
+    matchLabels: {{- include "common.labels.matchLabels" ( dict "customLabels" $podLabels "context" $ ) | nindent 6 }}
+      app.kubernetes.io/component: janusgraph
+      app.kubernetes.io/part-of: janusgraph
+  policyTypes:
+    - Ingress
+    - Egress
+  {{- if .Values.networkPolicy.allowExternalEgress }}
+  egress:
+    - {}
+  {{- else }}
+  egress:
+    # Allow dns resolution
+    - ports:
+        - port: 53
+          protocol: UDP
+        - port: 53
+          protocol: TCP
+    {{- if and (include "janusgraph.storage.enabled" .) (not (eq (include "janusgraph.storage.backend" .) "berkeleyje"))}}
+    # Allow outbound connections to storage backend
+    - ports:
+        - port: {{ include "janusgraph.storage.port" . }}
+    {{- end }}
+    {{- if and (include "janusgraph.index.enabled" .) (not (eq (include "janusgraph.index.backend" .) "lucene"))}}
+    # Allow outbound connections to index backend
+    - ports:
+        - port: {{ include "janusgraph.index.port" . }}
+    {{- end }}
+    {{- if .Values.networkPolicy.extraEgress }}
+    {{- include "common.tplvalues.render" ( dict "value" .Values.networkPolicy.extraEgress "context" $ ) | nindent 4 }}
+    {{- end }}
+  {{- end }}
+  ingress:
+    - ports:
+        - port: {{ .Values.containerPorts.gremlin }}
+      {{- if not .Values.networkPolicy.allowExternal }}
+      from:
+        - podSelector:
+            matchLabels:
+              {{ template "common.names.fullname" . }}-client: "true"
+        - podSelector:
+            matchLabels: {{- include "common.labels.matchLabels" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 14 }}
+              app.kubernetes.io/component: janusgraph
+              app.kubernetes.io/part-of: janusgraph
+        {{- if .Values.networkPolicy.ingressNSMatchLabels }}
+        - namespaceSelector:
+            matchLabels:
+              {{- range $key, $value := .Values.networkPolicy.ingressNSMatchLabels }}
+              {{ $key | quote }}: {{ $value | quote }}
+              {{- end }}
+          {{- if .Values.networkPolicy.ingressNSPodMatchLabels }}
+          podSelector:
+            matchLabels:
+              {{- range $key, $value := .Values.networkPolicy.ingressNSPodMatchLabels }}
+              {{ $key | quote }}: {{ $value | quote }}
+              {{- end }}
+          {{- end }}
+        {{- end }}
+      {{- end }}
+    {{- if .Values.networkPolicy.extraIngress }}
+    {{- include "common.tplvalues.render" ( dict "value" .Values.networkPolicy.extraIngress "context" $ ) | nindent 4 }}
+    {{- end }}
+{{- end }}

+ 31 - 0
bitnami/janusgraph/templates/pdb.yaml

@@ -0,0 +1,31 @@
+{{- /*
+Copyright VMware, Inc.
+SPDX-License-Identifier: APACHE-2.0
+*/}}
+
+{{- $replicaCount := int .Values.replicaCount }}
+{{- if and .Values.pdb.create (or (gt $replicaCount 1) .Values.autoscaling.enabled) }}
+apiVersion: {{ include "common.capabilities.policy.apiVersion" . }}
+kind: PodDisruptionBudget
+metadata:
+  name: {{ include "common.names.fullname" . }}
+  namespace: {{ include "common.names.namespace" . | quote }}
+  labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
+    app.kubernetes.io/component: janusgraph
+    app.kubernetes.io/part-of: janusgraph
+  {{- if .Values.commonAnnotations }}
+  annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
+  {{- end }}
+spec:
+  {{- if .Values.pdb.minAvailable }}
+  minAvailable: {{ .Values.pdb.minAvailable }}
+  {{- end  }}
+  {{- if .Values.pdb.maxUnavailable }}
+  maxUnavailable: {{ .Values.pdb.maxUnavailable }}
+  {{- end  }}
+  {{- $podLabels := include "common.tplvalues.merge" (dict "values" (list .Values.podLabels .Values.commonLabels) "context" .) }}
+  selector:
+    matchLabels: {{- include "common.labels.matchLabels" ( dict "customLabels" $podLabels "context" $ ) | nindent 6 }}
+      app.kubernetes.io/component: janusgraph
+      app.kubernetes.io/part-of: janusgraph
+{{- end }}

+ 38 - 0
bitnami/janusgraph/templates/pvc.yaml

@@ -0,0 +1,38 @@
+{{- /*
+Copyright VMware, Inc.
+SPDX-License-Identifier: APACHE-2.0
+*/}}
+
+{{- if and .Values.persistence.enabled (not .Values.persistence.existingClaim) }}
+kind: PersistentVolumeClaim
+apiVersion: v1
+metadata:
+  name: {{ include "common.names.fullname" . }}
+  namespace: {{ include "common.names.namespace" . | quote }}
+  labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
+    app.kubernetes.io/component: janusgraph
+    app.kubernetes.io/part-of: janusgraph
+  annotations:
+    {{- if .Values.persistence.resourcePolicy }}
+    helm.sh/resource-policy: {{ .Values.persistence.resourcePolicy | quote }}
+    {{- end }}
+    {{- if or .Values.persistence.annotations .Values.commonAnnotations }}
+    {{- $annotations := include "common.tplvalues.merge" ( dict "values" ( list .Values.persistence.annotations .Values.commonAnnotations ) "context" . ) }}
+    {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $ ) | nindent 4 }}
+    {{- end }}
+spec:
+  accessModes:
+  {{- range .Values.persistence.accessModes }}
+    - {{ . | quote }}
+  {{- end }}
+  resources:
+    requests:
+      storage: {{ .Values.persistence.size | quote }}
+  {{- if .Values.persistence.selector }}
+  selector: {{- include "common.tplvalues.render" (dict "value" .Values.persistence.selector "context" $) | nindent 4 }}
+  {{- end }}
+  {{- if .Values.persistence.dataSource }}
+  dataSource: {{- include "common.tplvalues.render" (dict "value" .Values.persistence.dataSource "context" $) | nindent 4 }}
+  {{- end }}
+  {{- include "common.storage.class" (dict "persistence" .Values.persistence "global" .Values.global) | nindent 2 }}
+{{- end -}}

+ 20 - 0
bitnami/janusgraph/templates/service-account.yaml

@@ -0,0 +1,20 @@
+{{- /*
+Copyright VMware, Inc.
+SPDX-License-Identifier: APACHE-2.0
+*/}}
+
+{{- if .Values.serviceAccount.create }}
+apiVersion: v1
+kind: ServiceAccount
+metadata:
+  name: {{ include "janusgraph.serviceAccountName" . }}
+  namespace: {{ include "common.names.namespace" . | quote }}
+  labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
+    app.kubernetes.io/component: janusgraph
+    app.kubernetes.io/part-of: janusgraph
+  {{- if or .Values.serviceAccount.annotations .Values.commonAnnotations }}
+  {{- $annotations := include "common.tplvalues.merge" (dict "values" (list .Values.serviceAccount.annotations .Values.commonAnnotations) "context" .) }}
+  annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $ ) | nindent 4 }}
+  {{- end }}
+automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken }}
+{{- end }}

+ 54 - 0
bitnami/janusgraph/templates/service.yaml

@@ -0,0 +1,54 @@
+{{- /*
+Copyright VMware, Inc.
+SPDX-License-Identifier: APACHE-2.0
+*/}}
+
+apiVersion: v1
+kind: Service
+metadata:
+  name: {{ template "common.names.fullname" . }}
+  namespace: {{ include "common.names.namespace" . | quote }}
+  labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
+    app.kubernetes.io/component: janusgraph
+    app.kubernetes.io/part-of: janusgraph
+  {{- if or .Values.service.annotations .Values.commonAnnotations }}
+  {{- $annotations := include "common.tplvalues.merge" (dict "values" (list .Values.service.annotations .Values.commonAnnotations) "context" .) }}
+  annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $ ) | nindent 4 }}
+  {{- end }}
+spec:
+  type: {{ .Values.service.type }}
+  {{- if and .Values.service.clusterIP (eq .Values.service.type "ClusterIP") }}
+  clusterIP: {{ .Values.service.clusterIP }}
+  {{- end }}
+  {{- if .Values.service.sessionAffinity }}
+  sessionAffinity: {{ .Values.service.sessionAffinity }}
+  {{- end }}
+  {{- if .Values.service.sessionAffinityConfig }}
+  sessionAffinityConfig: {{- include "common.tplvalues.render" (dict "value" .Values.service.sessionAffinityConfig "context" $) | nindent 4 }}
+  {{- end }}
+  {{- if or (eq .Values.service.type "LoadBalancer") (eq .Values.service.type "NodePort") }}
+  externalTrafficPolicy: {{ .Values.service.externalTrafficPolicy | quote }}
+  {{- end }}
+  {{- if and (eq .Values.service.type "LoadBalancer") (not (empty .Values.service.loadBalancerSourceRanges)) }}
+  loadBalancerSourceRanges: {{ .Values.service.loadBalancerSourceRanges }}
+  {{- end }}
+  {{- if and (eq .Values.service.type "LoadBalancer") (not (empty .Values.service.loadBalancerIP)) }}
+  loadBalancerIP: {{ .Values.service.loadBalancerIP }}
+  {{- end }}
+  ports:
+    - name: gremlin
+      port: {{ .Values.service.ports.gremlin }}
+      targetPort: gremlin
+      protocol: TCP
+      {{- if and (or (eq .Values.service.type "NodePort") (eq .Values.service.type "LoadBalancer")) (not (empty .Values.service.nodePorts.gremlin)) }}
+      nodePort: {{ .Values.service.nodePorts.gremlin }}
+      {{- else if eq .Values.service.type "ClusterIP" }}
+      nodePort: null
+      {{- end }}
+    {{- if .Values.service.extraPorts }}
+    {{- include "common.tplvalues.render" (dict "value" .Values.service.extraPorts "context" $) | nindent 4 }}
+    {{- end }}
+  {{- $podLabels := include "common.tplvalues.merge" (dict "values" (list .Values.podLabels .Values.commonLabels) "context" .) | fromYaml }}
+  selector: {{- include "common.labels.matchLabels" ( dict "customLabels" $podLabels "context" $ ) | nindent 4 }}
+    app.kubernetes.io/component: janusgraph
+    app.kubernetes.io/part-of: janusgraph

+ 43 - 0
bitnami/janusgraph/templates/vpa.yaml

@@ -0,0 +1,43 @@
+{{- /*
+Copyright VMware, Inc.
+SPDX-License-Identifier: APACHE-2.0
+*/}}
+
+{{- if and (.Capabilities.APIVersions.Has "autoscaling.k8s.io/v1/VerticalPodAutoscaler") .Values.autoscaling.vpa.enabled }}
+apiVersion: autoscaling.k8s.io/v1
+kind: VerticalPodAutoscaler
+metadata:
+  name: {{ include "common.names.fullname" . }}
+  namespace: {{ include "common.names.namespace" . | quote }}
+  labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
+  {{- if or .Values.autoscaling.vpa.annotations .Values.commonAnnotations }}
+  {{- $annotations := include "common.tplvalues.merge" ( dict "values" ( list .Values.autoscaling.vpa.annotations .Values.commonAnnotations ) "context" . ) }}
+  annotations: {{- include "common.tplvalues.render" ( dict "value" $annotations "context" $) | nindent 4 }}
+  {{- end }}
+spec:
+  resourcePolicy:
+    containerPolicies:
+    - containerName: janusgraph
+      {{- with .Values.autoscaling.vpa.controlledResources }}
+      controlledResources:
+        {{- toYaml . | nindent 8 }}
+      {{- end }}
+      {{- with .Values.autoscaling.vpa.maxAllowed }}
+      maxAllowed:
+        {{- toYaml . | nindent 8 }}
+      {{- end }}
+      {{- with .Values.autoscaling.vpa.minAllowed }}
+      minAllowed:
+        {{- toYaml . | nindent 8 }}
+      {{- end }}
+  targetRef:
+    apiVersion: apps/v1
+    kind: "Deployment"
+    name: {{ include "janusgraph.fullname" . }}
+  {{- if .Values.autoscaling.vpa.updatePolicy }}
+  updatePolicy:
+    {{- with .Values.autoscaling.vpa.updatePolicy.updateMode }}
+    updateMode: {{ . }}
+    {{- end }}
+  {{- end }}
+{{- end }}

+ 959 - 0
bitnami/janusgraph/values.yaml

@@ -0,0 +1,959 @@
+# Copyright VMware, Inc.
+# SPDX-License-Identifier: APACHE-2.0
+
+## @section Global parameters
+## Global Docker image parameters
+## Please, note that this will override the image parameters, including dependencies, configured to use the global value
+## Current available global Docker image parameters: imageRegistry, imagePullSecrets and storageClass
+##
+
+## @param global.imageRegistry Global Docker image registry
+## @param global.imagePullSecrets Global Docker registry secret names as an array
+## @param global.storageClass Global StorageClass for Persistent Volume(s)
+##
+global:
+  imageRegistry: ""
+  ## E.g.
+  ## imagePullSecrets:
+  ##   - myRegistryKeySecretName
+  ##
+  imagePullSecrets: []
+  storageClass: ""
+  ## Compatibility adaptations for Kubernetes platforms
+  ##
+  compatibility:
+    ## Compatibility adaptations for Openshift
+    ##
+    openshift:
+      ## @param global.compatibility.openshift.adaptSecurityContext Adapt the securityContext sections of the deployment to make them compatible with Openshift restricted-v2 SCC: remove runAsUser, runAsGroup and fsGroup and let the platform use their allowed default IDs. Possible values: auto (apply if the detected running cluster is Openshift), force (perform the adaptation always), disabled (do not perform adaptation)
+      ##
+      adaptSecurityContext: auto
+
+## @section Common parameters
+##
+
+## @param kubeVersion Override Kubernetes version
+##
+kubeVersion: ""
+## @param nameOverride String to partially override common.names.name
+##
+nameOverride: ""
+## @param fullnameOverride String to fully override common.names.fullname
+##
+fullnameOverride: ""
+## @param namespaceOverride String to fully override common.names.namespace
+##
+namespaceOverride: ""
+## @param commonLabels Labels to add to all deployed objects
+##
+commonLabels: {}
+## @param commonAnnotations Annotations to add to all deployed objects
+##
+commonAnnotations: {}
+## @param clusterDomain Kubernetes cluster domain name
+##
+clusterDomain: cluster.local
+## @param extraDeploy Array of extra objects to deploy with the release
+##
+extraDeploy: []
+
+## Enable diagnostic mode in the deployment
+##
+diagnosticMode:
+  ## @param diagnosticMode.enabled Enable diagnostic mode (all probes will be disabled and the command will be overridden)
+  ##
+  enabled: false
+  ## @param diagnosticMode.command Command to override all containers in the deployment
+  ##
+  command:
+    - sleep
+  ## @param diagnosticMode.args Args to override all containers in the deployment
+  ##
+  args:
+    - infinity
+
+## Settings for the the storage backend
+##
+storageBackend:
+  ## @param storageBackend.usePasswordFiles Mount credentials as a files instead of using an environment variable
+  ## Note: ignored when backend does not require authentication
+  ##
+  usePasswordFiles: false
+  ## Cassandra storage backend
+  ##
+  cassandra:
+    ## @param storageBackend.cassandra.enabled Use Apache Casandra subchart as storage backend
+    ##
+    enabled: true
+  ## BerkeleyDB storage backend
+  ##
+  berkeleyje:
+    ## @param storageBackend.berkeleyje.enabled Use BerkeleyDB (local) as storage backend
+    ##
+    enabled: false
+    ## @param storageBackend.berkeleyje.directory Path for the BerkeleyDB data
+    ##
+    directory: "/bitnami/janusgraph/data/storage"
+  ## External storage backend
+  ##
+  external:
+    ## @param storageBackend.external.backend Type of the external storage backend to be used
+    ##
+    backend: ""
+    ## @param storageBackend.external.hostname Hostname of the external storage backend
+    ##
+    hostname: ""
+    ## @param storageBackend.external.port Port of the external storage backend
+    ##
+    port: ""
+    ## @param storageBackend.external.username Username used to authenticate to the storage backend, in case it requires authentication
+    ##
+    username: ""
+    ## @param storageBackend.external.existingSecret Existing secret containing the password of the external storage backend, in case its needed
+    ##
+    existingSecret: ""
+    ## @param storageBackend.external.existingSecretPasswordKey Name of an existing secret key containing the storage backend password
+    ##
+    existingSecretPasswordKey: ""
+
+## Settings for index management
+##
+indexBackend:
+  ## Lucene index backend
+  ##
+  lucene:
+    ## @param indexBackend.lucene.enabled Use Lucene (local) as index management backend
+    ##
+    enabled: false
+    ## @param indexBackend.lucene.directory Path for the BerkeleyDB data
+    ##
+    directory: "/bitnami/janusgraph/data/index"
+  ## External index backend
+  ##
+  external:
+    ## @param indexBackend.external.backend Type of the external index backend to be used
+    ##
+    backend: ""
+    ## @param indexBackend.external.hostname Hostname of the external index backend
+    ##
+    hostname: ""
+    ## @param indexBackend.external.port Port of the external index backend
+    ##
+    port: ""
+
+## Settings for JanusGraph caching.
+##
+cache:
+  ## @param cache.enabled Enable Janusgraph cache feature
+  ## Ref. https://docs.janusgraph.org/operations/cache/
+  ##
+  enabled: true
+
+## @param existingConfigmap The name of an existing ConfigMap with your custom configuration for JanusGraph
+## NOTE: By providing a ConfigMap, other settings provided using values may be ignored.
+##
+existingConfigmap: ""
+## @param extraJanusgraphProperties Additional JanusGraph to be appended at the end of the janusgraph.properties configmap
+##
+extraJanusgraphProperties: ""
+## @param janusgraphProperties Override the content of the janusgraph.properties file.
+## NOTE: By providing the content of janusgraph.properties, other settings provided using values may be ignored.
+##
+janusgraphProperties: ""
+## @param javaOptions Java options for JanusGraph execution
+##
+javaOptions: ""
+
+## Bitnami JanusGraph image
+## ref: https://hub.docker.com/r/bitnami/janusgraph/tags/
+## @param image.registry [default: REGISTRY_NAME] JanusGraph image registry
+## @param image.repository [default: REPOSITORY_NAME/janusgraph] JanusGraph image repository
+## @skip image.tag JanusGraph image tag (immutable tags are recommended)
+## @param image.digest JanusGraph image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag image tag (immutable tags are recommended)
+## @param image.pullPolicy JanusGraph image pull policy
+## @param image.pullSecrets JanusGraph image pull secrets
+## @param image.debug Enable JanusGraph image debug mode
+##
+image:
+  registry: docker.io
+  repository: bitnami/janusgraph
+  tag: 1.0.0-debian-12-r0
+  digest: ""
+  ## Specify a imagePullPolicy
+  ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
+  ## ref: http://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
+  ##
+  pullPolicy: IfNotPresent
+  ## Optionally specify an array of imagePullSecrets.
+  ## Secrets must be manually created in the namespace.
+  ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
+  ## e.g:
+  ## pullSecrets:
+  ##   - myRegistryKeySecretName
+  ##
+  pullSecrets: []
+  ## Enable debug mode
+  ##
+  debug: false
+
+## @param replicaCount Number of JanusGraph replicas to deploy
+##
+replicaCount: 1
+## @param containerPorts.gremlin JanusGraph gremlin server container port
+## @param containerPorts.jmx JanusGraph JMX metrics container port
+##
+containerPorts:
+  gremlin: 8182
+  jmx: 5555
+## Configure extra options for JanusGraph containers' liveness and readiness probes
+## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
+## @param livenessProbe.enabled Enable livenessProbe on JanusGraph containers
+## @param livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
+## @param livenessProbe.periodSeconds Period seconds for livenessProbe
+## @param livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
+## @param livenessProbe.failureThreshold Failure threshold for livenessProbe
+## @param livenessProbe.successThreshold Success threshold for livenessProbe
+##
+livenessProbe:
+  enabled: true
+  initialDelaySeconds: 90
+  periodSeconds: 10
+  timeoutSeconds: 5
+  successThreshold: 1
+  failureThreshold: 5
+## @param readinessProbe.enabled Enable readinessProbe on JanusGraph containers
+## @param readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
+## @param readinessProbe.periodSeconds Period seconds for readinessProbe
+## @param readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
+## @param readinessProbe.failureThreshold Failure threshold for readinessProbe
+## @param readinessProbe.successThreshold Success threshold for readinessProbe
+##
+readinessProbe:
+  enabled: true
+  initialDelaySeconds: 90
+  periodSeconds: 10
+  timeoutSeconds: 5
+  successThreshold: 1
+  failureThreshold: 5
+## @param startupProbe.enabled Enable startupProbe on JanusGraph containers
+## @param startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
+## @param startupProbe.periodSeconds Period seconds for startupProbe
+## @param startupProbe.timeoutSeconds Timeout seconds for startupProbe
+## @param startupProbe.failureThreshold Failure threshold for startupProbe
+## @param startupProbe.successThreshold Success threshold for startupProbe
+##
+startupProbe:
+  enabled: false
+  initialDelaySeconds: 90
+  periodSeconds: 10
+  timeoutSeconds: 5
+  successThreshold: 1
+  failureThreshold: 5
+## @param customLivenessProbe Custom livenessProbe that overrides the default one
+##
+customLivenessProbe: {}
+## @param customReadinessProbe Custom readinessProbe that overrides the default one
+##
+customReadinessProbe: {}
+## @param customStartupProbe Custom startupProbe that overrides the default one
+##
+customStartupProbe: {}
+## JanusGraph resource requests and limits
+## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
+## We usually recommend not to specify default resources and to leave this as a conscious
+## choice for the user. This also increases chances charts run on environments with little
+## resources, such as Minikube. If you do want to specify resources, uncomment the following
+## lines, adjust them as necessary, and remove the curly braces after 'resources:'.
+## @param resourcesPreset Set container resources according to one common preset (allowed values: none, nano, small, medium, large, xlarge, 2xlarge). This is ignored if resources is set (secondary.resources is recommended for production).
+## More information: https://github.com/bitnami/charts/blob/main/bitnami/common/templates/_resources.tpl#L15
+##
+resourcesPreset: "xlarge"
+## @param resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
+## Example:
+## resources:
+##   requests:
+##     cpu: 2
+##     memory: 512Mi
+##   limits:
+##     cpu: 3
+##     memory: 1024Mi
+##
+resources: {}
+## Configure Pods Security Context
+## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
+## @param podSecurityContext.enabled Enable security context for JanusGraph pods
+## @param podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
+## @param podSecurityContext.sysctls Set kernel settings using the sysctl interface
+## @param podSecurityContext.supplementalGroups Set filesystem extra groups
+## @param podSecurityContext.fsGroup Group ID for the mounted volumes' filesystem
+##
+podSecurityContext:
+  enabled: true
+  fsGroupChangePolicy: Always
+  sysctls: []
+  supplementalGroups: []
+  fsGroup: 1001
+## Configure Container Security Context
+## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
+## @param containerSecurityContext.enabled JanusGraph container securityContext
+## @param containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
+## @param containerSecurityContext.runAsUser User ID for the JanusGraph container
+## @param containerSecurityContext.runAsGroup Group ID for the JanusGraph container
+## @param containerSecurityContext.runAsNonRoot Set secondary container's Security Context runAsNonRoot
+## @param containerSecurityContext.privileged Set secondary container's Security Context privileged
+## @param containerSecurityContext.allowPrivilegeEscalation Set secondary container's Security Context allowPrivilegeEscalation
+## @param containerSecurityContext.readOnlyRootFilesystem Set container's Security Context readOnlyRootFilesystem
+## @param containerSecurityContext.capabilities.drop List of capabilities to be dropped
+## @param containerSecurityContext.seccompProfile.type Set container's Security Context seccomp profile
+##
+containerSecurityContext:
+  enabled: true
+  seLinuxOptions: null
+  runAsUser: 1001
+  runAsGroup: 1001
+  runAsNonRoot: true
+  privileged: false
+  allowPrivilegeEscalation: false
+  readOnlyRootFilesystem: true
+  capabilities:
+    drop: ["ALL"]
+  seccompProfile:
+    type: "RuntimeDefault"
+
+## @param command Override default container command (useful when using custom images)
+##
+command: []
+## @param args Override default container args (useful when using custom images)
+##
+args: []
+## @param hostAliases JanusGraph pods host aliases
+## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
+##
+hostAliases: []
+## @param annotations Annotations for JanusGraph deployment/statefulset
+## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
+##
+annotations: {}
+## @param podLabels Extra labels for JanusGraph pods
+## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
+##
+podLabels: {}
+## @param podAnnotations Annotations for JanusGraph pods
+## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
+##
+podAnnotations: {}
+## @param podAffinityPreset Pod affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
+## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
+##
+podAffinityPreset: ""
+## @param podAntiAffinityPreset Pod anti-affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
+## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
+##
+podAntiAffinityPreset: soft
+## Pod Disruption Budget configuration
+## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb
+## @param pdb.create Enable/disable a Pod Disruption Budget creation
+## @param pdb.minAvailable Minimum number/percentage of pods that should remain scheduled
+## @param pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable
+##
+pdb:
+  create: false
+  minAvailable: 1
+  maxUnavailable: ""
+## Node affinity preset
+## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
+##
+nodeAffinityPreset:
+  ## @param nodeAffinityPreset.type Node affinity preset type. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
+  ##
+  type: ""
+  ## @param nodeAffinityPreset.key Node label key to match. Ignored if `affinity` is set
+  ##
+  key: ""
+  ## @param nodeAffinityPreset.values Node label values to match. Ignored if `affinity` is set
+  ## E.g.
+  ## values:
+  ##   - e2e-az1
+  ##   - e2e-az2
+  ##
+  values: []
+## @param affinity Affinity for JanusGraph pods assignment
+## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
+## NOTE: `podAffinityPreset`, `podAntiAffinityPreset`, and `nodeAffinityPreset` will be ignored when it's set
+##
+affinity: {}
+## @param automountServiceAccountToken Mount Service Account token in pod
+##
+automountServiceAccountToken: false
+## @param nodeSelector Node labels for JanusGraph pods assignment
+## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
+##
+nodeSelector: {}
+## @param tolerations Tolerations for JanusGraph pods assignment
+## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
+##
+tolerations: []
+## @param updateStrategy.type JanusGraph strategy type
+## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
+##
+updateStrategy:
+  ## StrategyType
+  ## Can be set to RollingUpdate or Recreate
+  ##
+  type: RollingUpdate
+
+## @param priorityClassName JanusGraph pods' priorityClassName
+##
+priorityClassName: ""
+## @param topologySpreadConstraints Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template
+## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
+##
+topologySpreadConstraints: []
+## @param schedulerName Name of the k8s scheduler (other than default) for JanusGraph pods
+## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
+##
+schedulerName: ""
+## @param terminationGracePeriodSeconds Seconds Redmine pod needs to terminate gracefully
+## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods
+##
+terminationGracePeriodSeconds: ""
+## @param lifecycleHooks for the JanusGraph container(s) to automate configuration before or after startup
+##
+lifecycleHooks: {}
+## @param extraEnvVars Array with extra environment variables to add to JanusGraph nodes
+## e.g:
+## extraEnvVars:
+##   - name: FOO
+##     value: "bar"
+##
+extraEnvVars: []
+## @param extraEnvVarsCM Name of existing ConfigMap containing extra env vars for JanusGraph nodes
+##
+extraEnvVarsCM: ""
+## @param extraEnvVarsSecret Name of existing Secret containing extra env vars for JanusGraph nodes
+##
+extraEnvVarsSecret: ""
+## @param extraVolumes Optionally specify extra list of additional volumes for the JanusGraph pod(s)
+##
+extraVolumes: []
+## @param extraVolumeMounts Optionally specify extra list of additional volumeMounts for the JanusGraph container(s)
+##
+extraVolumeMounts: []
+## @param sidecars Add additional sidecar containers to the JanusGraph pod(s)
+## e.g:
+## sidecars:
+##   - name: your-image-name
+##     image: your-image
+##     imagePullPolicy: Always
+##     ports:
+##       - name: portname
+##         containerPort: 1234
+##
+sidecars: []
+## @param initContainers Add additional init containers to the JanusGraph pod(s)
+## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
+## e.g:
+## initContainers:
+##  - name: your-image-name
+##    image: your-image
+##    imagePullPolicy: Always
+##    command: ['sh', '-c', 'echo "hello world"']
+##
+initContainers: []
+
+## @section Autoscaling
+## ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
+##
+autoscaling:
+  vpa:
+    ## @param autoscaling.vpa.enabled Enable VPA
+    ##
+    enabled: false
+    ## @param autoscaling.vpa.annotations Annotations for VPA resource
+    ##
+    annotations: {}
+    ## @param autoscaling.vpa.controlledResources VPA List of resources that the vertical pod autoscaler can control. Defaults to cpu and memory
+    ##
+    controlledResources: []
+    ## @param autoscaling.vpa.maxAllowed VPA Max allowed resources for the pod
+    ## cpu: 200m
+    ## memory: 100Mi
+    maxAllowed: {}
+    ## @param autoscaling.vpa.minAllowed VPA Min allowed resources for the pod
+    ## cpu: 200m
+    ## memory: 100Mi
+    minAllowed: {}
+    ## @section VPA update policy
+    ##
+    updatePolicy:
+      ## @param autoscaling.vpa.updatePolicy.updateMode Autoscaling update policy Specifies whether recommended updates are applied when a Pod is started and whether recommended updates are applied during the life of a Pod
+      ## Possible values are "Off", "Initial", "Recreate", and "Auto".
+      ##
+      updateMode: Auto
+  hpa:
+    ## @param autoscaling.hpa.enabled Enable HPA
+    ##
+    enabled: false
+    ## @param autoscaling.hpa.minReplicas Minimum number of replicas
+    ##
+    minReplicas: ""
+    ## @param autoscaling.hpa.maxReplicas Maximum number of replicas
+    ##
+    maxReplicas: ""
+    ## @param autoscaling.hpa.targetCPU Target CPU utilization percentage
+    ##
+    targetCPU: ""
+    ## @param autoscaling.hpa.targetMemory Target Memory utilization percentage
+    ##
+    targetMemory: ""
+## @section Traffic Exposure Parameters
+##
+
+## JanusGraph service parameters
+##
+service:
+  ## @param service.type JanusGraph service type
+  ##
+  type: LoadBalancer
+  ## @param service.ports.gremlin JanusGraph service Gremlin port
+  ##
+  ports:
+    gremlin: 8182
+  ## Node ports to expose
+  ## @param service.nodePorts.gremlin Node port for Gremlin
+  ## NOTE: choose port between <30000-32767>
+  ##
+  nodePorts:
+    gremlin: ""
+  ## @param service.clusterIP JanusGraph service Cluster IP
+  ## e.g.:
+  ## clusterIP: None
+  ##
+  clusterIP: ""
+  ## @param service.loadBalancerIP JanusGraph service Load Balancer IP
+  ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-loadbalancer
+  ##
+  loadBalancerIP: ""
+  ## @param service.loadBalancerSourceRanges JanusGraph service Load Balancer sources
+  ## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
+  ## e.g:
+  ## loadBalancerSourceRanges:
+  ##   - 10.10.10.0/24
+  ##
+  loadBalancerSourceRanges: []
+  ## @param service.externalTrafficPolicy JanusGraph service external traffic policy
+  ## ref http://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
+  ##
+  externalTrafficPolicy: Cluster
+  ## @param service.annotations Additional custom annotations for JanusGraph service
+  ##
+  annotations: {}
+  ## @param service.extraPorts Extra ports to expose in JanusGraph service (normally used with the `sidecars` value)
+  ##
+  extraPorts: []
+  ## @param service.sessionAffinity Control where client requests go, to the same pod or round-robin
+  ## Values: ClientIP or None
+  ## ref: https://kubernetes.io/docs/concepts/services-networking/service/
+  ##
+  sessionAffinity: None
+  ## @param service.sessionAffinityConfig Additional settings for the sessionAffinity
+  ## sessionAffinityConfig:
+  ##   clientIP:
+  ##     timeoutSeconds: 300
+  ##
+  sessionAffinityConfig: {}
+
+## @section Persistence Parameters
+##
+
+## Enable persistence using Persistent Volume Claims
+## ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/
+##
+persistence:
+  ## @param persistence.enabled Enable persistence using Persistent Volume Claims
+  ## NOTE: Janusgraph can be deployed without persistence because the storage will be located in a remote backend.
+  ## Enable when using BerkeleyBD or Lucene backends.
+  ##
+  enabled: false
+  ## @param persistence.mountPath Path to mount the volume at.
+  ##
+  mountPath: /bitnami/janusgraph/data
+  ## @param persistence.subPath The subdirectory of the volume to mount to, useful in dev environments and one PV for multiple services
+  ##
+  subPath: ""
+  ## @param persistence.storageClass Storage class of backing PVC
+  ## If defined, storageClassName: <storageClass>
+  ## If set to "-", storageClassName: "", which disables dynamic provisioning
+  ## If undefined (the default) or set to null, no storageClassName spec is
+  ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
+  ##   GKE, AWS & OpenStack)
+  ##
+  storageClass: ""
+  ## @param persistence.annotations Persistent Volume Claim annotations
+  ##
+  annotations: {}
+  ## @param persistence.accessModes Persistent Volume Access Modes
+  ##
+  accessModes:
+    - ReadWriteOnce
+  ## @param persistence.size Size of data volume
+  ##
+  size: 8Gi
+  ## @param persistence.existingClaim The name of an existing PVC to use for persistence
+  ##
+  existingClaim: ""
+  ## @param persistence.selector Selector to match an existing Persistent Volume for Janusgraph data PVC
+  ## If set, the PVC can't have a PV dynamically provisioned for it
+  ## E.g.
+  ## selector:
+  ##   matchLabels:
+  ##     app: my-app
+  ##
+  selector: {}
+  ## @param persistence.dataSource Custom PVC data source
+  ##
+  dataSource: {}
+  ## @param persistence.resourcePolicy Setting it to "keep" to avoid removing PVCs during a helm delete operation. Leaving it empty will delete PVCs after the chart deleted
+  ##
+  resourcePolicy: ""
+
+## @section Prometheus metrics
+##
+metrics:
+  ## @param metrics.enabled Enable the export of Prometheus metrics
+  ##
+  enabled: false
+  ## Bitnami JMX exporter image
+  ## ref: https://hub.docker.com/r/bitnami/jmx-exporter/tags/
+  ## @param metrics.image.registry [default: REGISTRY_NAME] JMX exporter image registry
+  ## @param metrics.image.repository [default: REPOSITORY_NAME/jmx-exporter] JMX exporter image repository
+  ## @skip metrics.image.tag JMX exporter image tag (immutable tags are recommended)
+  ## @param metrics.image.digest JMX exporter image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
+  ## @param metrics.image.pullPolicy JMX exporter image pull policy
+  ## @param metrics.image.pullSecrets Specify docker-registry secret names as an array
+  ##
+  image:
+    registry: docker.io
+    repository: bitnami/jmx-exporter
+    tag: 0.20.0-debian-12-r11
+    digest: ""
+    ## Specify a imagePullPolicy
+    ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
+    ## ref: https://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
+    ##
+    pullPolicy: IfNotPresent
+    ## Optionally specify an array of imagePullSecrets (secrets must be manually created in the namespace)
+    ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
+    ## e.g:
+    ## pullSecrets:
+    ##   - myRegistryKeySecretName
+    ##
+    pullSecrets: []
+  ## Prometheus JMX exporter containers' Security Context
+  ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
+  ## @param metrics.containerSecurityContext.enabled Enable Prometheus JMX exporter containers' Security Context
+  ## @param metrics.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
+  ## @param metrics.containerSecurityContext.runAsUser Set Prometheus JMX exporter containers' Security Context runAsUser
+  ## @param metrics.containerSecurityContext.runAsGroup Group ID for the Prometheus JMX exporter container
+  ## @param metrics.containerSecurityContext.runAsNonRoot Set Prometheus JMX exporter containers' Security Context runAsNonRoot
+  ## @param metrics.containerSecurityContext.privileged Set Prometheus JMX exporter container's Security Context privileged
+  ## @param metrics.containerSecurityContext.allowPrivilegeEscalation Set Prometheus JMX exporter containers' Security Context allowPrivilegeEscalation
+  ## @param metrics.containerSecurityContext.readOnlyRootFilesystem Set Prometheus JMX exporter containers' Security Context readOnlyRootFilesystem
+  ## @param metrics.containerSecurityContext.capabilities.drop Set Prometheus JMX exporter containers' Security Context capabilities to be dropped
+  ## @param metrics.containerSecurityContext.seccompProfile.type Set Prometheus JMX exporter container's Security Context seccomp profile
+  ## e.g:
+  ##   containerSecurityContext:
+  ##     enabled: true
+  ##     capabilities:
+  ##       drop: ["NET_RAW"]
+  ##     readOnlyRootFilesystem: true
+  ##
+  containerSecurityContext:
+    enabled: true
+    privileged: false
+    runAsNonRoot: true
+    seLinuxOptions: {}
+    runAsUser: 1001
+    runAsGroup: 1001
+    readOnlyRootFilesystem: true
+    allowPrivilegeEscalation: false
+    capabilities:
+      drop: ["ALL"]
+    seccompProfile:
+      type: "RuntimeDefault"
+  ## @param metrics.containerPorts.metrics Prometheus JMX exporter metrics container port
+  ##
+  containerPorts:
+    metrics: 5556
+  ## Prometheus JMX exporter resource requests and limits
+  ## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
+  ## @param metrics.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, small, medium, large, xlarge, 2xlarge). This is ignored if metrics.resources is set (metrics.resources is recommended for production).
+  ## More information: https://github.com/bitnami/charts/blob/main/bitnami/common/templates/_resources.tpl#L15
+  ##
+  resourcesPreset: "nano"
+  ## @param metrics.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
+  ## Example:
+  ## resources:
+  ##   requests:
+  ##     cpu: 2
+  ##     memory: 512Mi
+  ##   limits:
+  ##     cpu: 3
+  ##     memory: 1024Mi
+  ##
+  resources: {}
+  ## Configure extra options for liveness probe
+  ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
+  ## @param metrics.livenessProbe.enabled Enable livenessProbe
+  ## @param metrics.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
+  ## @param metrics.livenessProbe.periodSeconds Period seconds for livenessProbe
+  ## @param metrics.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
+  ## @param metrics.livenessProbe.failureThreshold Failure threshold for livenessProbe
+  ## @param metrics.livenessProbe.successThreshold Success threshold for livenessProbe
+  ##
+  livenessProbe:
+    enabled: true
+    initialDelaySeconds: 60
+    periodSeconds: 10
+    timeoutSeconds: 10
+    successThreshold: 1
+    failureThreshold: 3
+  ## Configure extra options for readiness probe
+  ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
+  ## @param metrics.readinessProbe.enabled Enable readinessProbe
+  ## @param metrics.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
+  ## @param metrics.readinessProbe.periodSeconds Period seconds for readinessProbe
+  ## @param metrics.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
+  ## @param metrics.readinessProbe.failureThreshold Failure threshold for readinessProbe
+  ## @param metrics.readinessProbe.successThreshold Success threshold for readinessProbe
+  ##
+  readinessProbe:
+    enabled: true
+    initialDelaySeconds: 30
+    periodSeconds: 10
+    timeoutSeconds: 10
+    successThreshold: 1
+    failureThreshold: 3
+  ## Prometheus JMX exporter service configuration
+  ##
+  service:
+    ## @param metrics.service.ports.metrics Prometheus JMX exporter metrics service port
+    ##
+    ports:
+      metrics: 5556
+    ## @param metrics.service.clusterIP Static clusterIP or None for headless services
+    ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#choosing-your-own-ip-address
+    ##
+    clusterIP: ""
+    ## @param metrics.service.sessionAffinity Control where client requests go, to the same pod or round-robin
+    ## Values: ClientIP or None
+    ## ref: https://kubernetes.io/docs/concepts/services-networking/service/
+    ##
+    sessionAffinity: None
+    ## @param metrics.service.annotations [object] Annotations for the Prometheus JMX exporter service
+    ##
+    annotations:
+      prometheus.io/scrape: "true"
+      prometheus.io/port: "{{ .Values.metrics.service.ports.metrics }}"
+      prometheus.io/path: "/"
+  ## @param metrics.config [string] Configuration file for JMX exporter
+  ## Specify content for jmx-prometheus.yml. Evaluated as a template
+  ##
+  config: |-
+    jmxUrl: service:jmx:rmi:///jndi/rmi://127.0.0.1:{{ .Values.containerPorts.jmx }}/jmxrmi
+    lowercaseOutputName: true
+    lowercaseOutputLabelNames: true
+    ssl: false
+    rules:
+      - pattern: ".*"
+  ## @param metrics.existingConfigmap Name of existing ConfigMap with JMX exporter configuration
+  ## NOTE: This will override metrics.config
+  ##
+  existingConfigmap: ""
+  ## Prometheus Operator ServiceMonitor configuration
+  ##
+  serviceMonitor:
+    ## @param metrics.serviceMonitor.enabled if `true`, creates a Prometheus Operator ServiceMonitor (also requires `metrics.enabled` to be `true`)
+    ##
+    enabled: false
+    ## @param metrics.serviceMonitor.namespace Namespace in which Prometheus is running
+    ##
+    namespace: ""
+    ## @param metrics.serviceMonitor.annotations Additional custom annotations for the ServiceMonitor
+    ##
+    annotations: {}
+    ## @param metrics.serviceMonitor.labels Extra labels for the ServiceMonitor
+    ##
+    labels: {}
+    ## @param metrics.serviceMonitor.jobLabel The name of the label on the target service to use as the job name in Prometheus
+    ##
+    jobLabel: ""
+    ## @param metrics.serviceMonitor.honorLabels honorLabels chooses the metric's labels on collisions with target labels
+    ##
+    honorLabels: false
+    ## @param metrics.serviceMonitor.interval Interval at which metrics should be scraped.
+    ## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
+    ## e.g:
+    ## interval: 10s
+    ##
+    interval: ""
+    ## @param metrics.serviceMonitor.scrapeTimeout Timeout after which the scrape is ended
+    ## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
+    ## e.g:
+    ## scrapeTimeout: 10s
+    ##
+    scrapeTimeout: ""
+    ## @param metrics.serviceMonitor.metricRelabelings Specify additional relabeling of metrics
+    ##
+    metricRelabelings: []
+    ## @param metrics.serviceMonitor.relabelings Specify general relabeling
+    ##
+    relabelings: []
+    ## @param metrics.serviceMonitor.selector Prometheus instance selector labels
+    ## ref: https://github.com/bitnami/charts/tree/main/bitnami/prometheus-operator#prometheus-configuration
+    ## selector:
+    ##   prometheus: my-prometheus
+    ##
+    selector: {}
+
+## @section Other Parameters
+##
+
+## 'volumePermissions' init container parameters
+## Changes the owner and group of the persistent volume mount point to runAsUser:fsGroup values
+##   based on the *podSecurityContext/*containerSecurityContext parameters
+##
+volumePermissions:
+  ## @param volumePermissions.enabled Enable init container that changes the owner/group of the PV mount point to `runAsUser:fsGroup`
+  ##
+  enabled: false
+  ## OS Shell + Utility image
+  ## ref: https://hub.docker.com/r/bitnami/os-shell/tags/
+  ## @param volumePermissions.image.registry [default: REGISTRY_NAME] OS Shell + Utility image registry
+  ## @param volumePermissions.image.repository [default: REPOSITORY_NAME/os-shell] OS Shell + Utility image repository
+  ## @skip volumePermissions.image.tag OS Shell + Utility image tag (immutable tags are recommended)
+  ## @param volumePermissions.image.pullPolicy OS Shell + Utility image pull policy
+  ## @param volumePermissions.image.pullSecrets OS Shell + Utility image pull secrets
+  ##
+  image:
+    registry: docker.io
+    repository: bitnami/os-shell
+    tag: 12-debian-12-r16
+    pullPolicy: IfNotPresent
+    ## Optionally specify an array of imagePullSecrets.
+    ## Secrets must be manually created in the namespace.
+    ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
+    ## e.g:
+    ## pullSecrets:
+    ##   - myRegistryKeySecretName
+    ##
+    pullSecrets: []
+  ## Init container's resource requests and limits
+  ## ref: http://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
+  ## @param volumePermissions.resources.limits The resources limits for the init container
+  ## @param volumePermissions.resources.requests The requested resources for the init container
+  ##
+  resources:
+    limits: {}
+    requests: {}
+  ## Init container Container Security Context
+  ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
+  ## @param volumePermissions.containerSecurityContext.runAsUser Set init container's Security Context runAsUser
+  ## NOTE: when runAsUser is set to special value "auto", init container will try to chown the
+  ##   data folder to auto-determined user&group, using commands: `id -u`:`id -G | cut -d" " -f2`
+  ##   "auto" is especially useful for OpenShift which has scc with dynamic user ids (and 0 is not allowed)
+  ##
+  containerSecurityContext:
+    runAsUser: 0
+
+## ServiceAccount configuration
+##
+serviceAccount:
+  ## @param serviceAccount.create Specifies whether a ServiceAccount should be created
+  ##
+  create: true
+  ## @param serviceAccount.name The name of the ServiceAccount to use.
+  ## If not set and create is true, a name is generated using the common.names.fullname template
+  ##
+  name: ""
+  ## @param serviceAccount.annotations Additional Service Account annotations (evaluated as a template)
+  ##
+  annotations: {}
+  ## @param serviceAccount.automountServiceAccountToken Automount service account token for the server service account
+  ##
+  automountServiceAccountToken: false
+
+## @section NetworkPolicy parameters
+## ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
+##
+networkPolicy:
+  ## @param networkPolicy.enabled Enable creation of NetworkPolicy resources
+  ##
+  enabled: true
+  ## @param networkPolicy.allowExternal The Policy model to apply
+  ## When set to false, only pods with the correct client label will have network access to the ports Janusgraph is
+  ## listening on. When true, Janusgraph will accept connections from any source (with the correct destination port).
+  ##
+  allowExternal: true
+  ## @param networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
+  ##
+  allowExternalEgress: true
+  ## @param networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
+  ## e.g:
+  ## extraIngress:
+  ##   - ports:
+  ##       - port: 1234
+  ##     from:
+  ##       - podSelector:
+  ##           - matchLabels:
+  ##               - role: frontend
+  ##       - podSelector:
+  ##           - matchExpressions:
+  ##               - key: role
+  ##                 operator: In
+  ##                 values:
+  ##                   - frontend
+  ##
+  extraIngress: []
+  ## @param networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
+  ## e.g:
+  ## extraEgress:
+  ##   - ports:
+  ##       - port: 1234
+  ##     to:
+  ##       - podSelector:
+  ##           - matchLabels:
+  ##               - role: frontend
+  ##       - podSelector:
+  ##           - matchExpressions:
+  ##               - key: role
+  ##                 operator: In
+  ##                 values:
+  ##                   - frontend
+  ##
+  extraEgress: []
+  ## @param networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces
+  ## @param networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces
+  ##
+  ingressNSMatchLabels: {}
+  ingressNSPodMatchLabels: {}
+
+## @section Cassandra storage sub-chart
+## Controlled by value storage.cassandra.enabled
+##
+cassandra:
+  ## @param cassandra.keyspace Name for cassandra's janusgraph keyspace
+  ##
+  keyspace: "bitnami_janusgraph"
+  ## Database credentials
+  ## @param cassandra.dbUser.user Cassandra admin user
+  ## @param cassandra.dbUser.password Password for `dbUser.user`. Randomly generated if empty
+  ##
+  dbUser:
+    user: bn_janusgraph
+    password: ""
+  ## Cassandra service port
+  ## @param cassandra.service.ports.cql Cassandra cql port
+  service:
+    ports:
+      cql: 9043