# To use an external PostgreSQL instance, set enabled to false and uncomment
# the line below:
# postgresqlServer: ""
# To use an external secret for the password for an external PostgreSQL
# instance, set enabled to false and provide the name of the secret on the
# line below:
# existingSecret: ""
postgresqlUsername:"sonarUser"
postgresqlPassword:"sonarPass"
postgresqlDatabase:"sonarDB"
# Specify the TCP port that PostgreSQL should use
service:
port:5432
resources:
limits:
cpu:2
memory:2Gi
requests:
cpu:100m
memory:200Mi
persistence:
enabled:true
accessMode:ReadWriteOnce
size:20Gi
storageClass:
securityContext:
# For standard Kubernetes deployment, set enabled=true
# If using OpenShift, enabled=false for restricted SCC and enabled=true for anyuid/nonroot SCC
enabled:true
# fsGroup and runAsUser specifications below are not applied if enabled=false. enabled=false is the required setting for OpenShift "restricted SCC" to work successfully.
# postgresql dockerfile sets user as 1001
fsGroup:1001
runAsUser:1001
volumePermissions:
# For standard Kubernetes deployment, set enabled=false
# For OpenShift, set enabled=true and ensure to set volumepermissions.securitycontext.runAsUser below.
enabled:false
# if using restricted SCC set runAsUser: "auto" and if running under anyuid/nonroot SCC - runAsUser needs to match runAsUser above
securityContext:
runAsUser:0
shmVolume:
chmod:
enabled:false
serviceAccount:
## If enabled = true, and name is not set, postgreSQL will create a serviceAccount
enabled:false
# name:
# Additional labels to add to the pods:
# podLabels:
# key: value
podLabels:{}
# For compatibility with 8.0 replace by "/opt/sq"
# For compatibility with 8.2, leave the default. They changed it back to /opt/sonarqube
sonarqubeFolder:/opt/sonarqube
tests:
enabled:true
# image: bitnami/minideb-extras
serviceAccount:
create:false
# name:
## Annotations for the Service Account
annotations:{}
# extraConfig is used to load Environment Variables from Secrets and ConfigMaps
# which may have been written by other tools, such as external orchestrators.
#
# These Secrets/ConfigMaps are expected to contain Key/Value pairs, such as: