mirror of
https://github.com/helm/charts.git
synced 2026-08-20 04:47:32 +00:00
Signed-off-by: Evgeniy Moskalenko <evgeniy.moskalenko@exness.com> Co-authored-by: Evgeniy Moskalenko <evgeniy.moskalenko@exness.com>
344 lines
9.0 KiB
YAML
344 lines
9.0 KiB
YAML
# Default values for sentry.
|
|
# This is a YAML-formatted file.
|
|
# Declare variables to be passed into your templates.
|
|
image:
|
|
repository: sentry
|
|
tag: "9.1.2"
|
|
pullPolicy: IfNotPresent
|
|
# Add the secret name to pull from a private registry.
|
|
imagePullSecrets: []
|
|
# - name:
|
|
|
|
# How many web UI instances to run
|
|
web:
|
|
hpa:
|
|
enabled: false
|
|
cputhreshold: 60
|
|
minpods: 1
|
|
maxpods: 10
|
|
replicacount: 1
|
|
resources: {}
|
|
# limits:
|
|
# cpu: 500m
|
|
# memory: 500Mi
|
|
# requests:
|
|
# cpu: 300m
|
|
# memory: 300Mi
|
|
env:
|
|
- name: GITHUB_APP_ID
|
|
value:
|
|
- name: GITHUB_API_SECRET
|
|
value:
|
|
nodeSelector: {}
|
|
tolerations: []
|
|
affinity: {}
|
|
livenessProbe:
|
|
failureThreshold: 5
|
|
initialDelaySeconds: 50
|
|
periodSeconds: 10
|
|
successThreshold: 1
|
|
timeoutSeconds: 2
|
|
readinessProbe:
|
|
failureThreshold: 10
|
|
initialDelaySeconds: 50
|
|
periodSeconds: 10
|
|
successThreshold: 1
|
|
timeoutSeconds: 2
|
|
# priorityClassName: ""
|
|
## Use an alternate scheduler, e.g. "stork".
|
|
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
|
|
##
|
|
# schedulerName:
|
|
# Optional extra labels for pod, i.e. redis-client: "true"
|
|
# podLabels: []
|
|
|
|
|
|
# How many cron instances to run
|
|
cron:
|
|
replicacount: 1
|
|
resources: {}
|
|
# limits:
|
|
# cpu: 200m
|
|
# memory: 200Mi
|
|
# requests:
|
|
# cpu: 100m
|
|
# memory: 100Mi
|
|
nodeSelector: {}
|
|
tolerations: []
|
|
affinity: {}
|
|
# priorityClassName: ""
|
|
# schedulerName:
|
|
# Optional extra labels for pod, i.e. redis-client: "true"
|
|
# podLabels: []
|
|
|
|
# How many worker instances to run
|
|
worker:
|
|
hpa:
|
|
enabled: false
|
|
cputhreshold: 60
|
|
minpods: 1
|
|
maxpods: 10
|
|
replicacount: 2
|
|
resources: {}
|
|
# limits:
|
|
# cpu: 300m
|
|
# memory: 500Mi
|
|
# requests:
|
|
# cpu: 100m
|
|
# memory: 100Mi
|
|
nodeSelector: {}
|
|
tolerations: []
|
|
affinity: {}
|
|
# priorityClassName: ""
|
|
# schedulerName:
|
|
# Optional extra labels for pod, i.e. redis-client: "true"
|
|
# podLabels: []
|
|
# concurrency:
|
|
|
|
# Admin user to create
|
|
user:
|
|
# Indicated to create the admin user or not,
|
|
# Default is true as the initial installation.
|
|
create: true
|
|
email: admin@sentry.local
|
|
# password: admin-password
|
|
|
|
# BYO Email server
|
|
# TODO: Add exim4 template
|
|
# https://docs.sentry.io/server/installation/docker/#outbound-email
|
|
email:
|
|
from_address: sentry@sentry.local
|
|
host: smtp
|
|
port: 25
|
|
use_tls: false
|
|
user:
|
|
password:
|
|
enable_replies: false
|
|
# When defined the `password` field is ignored
|
|
# existingSecret: secret-name
|
|
# existingSecretKey: smtp-password
|
|
|
|
# Name of the service and what port to expose on the pod
|
|
# Don't change these unless you know what you're doing
|
|
service:
|
|
name: sentry
|
|
type: LoadBalancer
|
|
externalPort: 9000
|
|
internalPort: 9000
|
|
|
|
## Service annotations
|
|
##
|
|
annotations: {}
|
|
|
|
## External IP addresses of service
|
|
## Default: nil
|
|
##
|
|
# externalIPs:
|
|
# - 192.168.0.1
|
|
|
|
## Load Balancer allow-list
|
|
# loadBalancerSourceRanges: []
|
|
|
|
# Configure the location of Sentry artifacts
|
|
filestore:
|
|
# Set to one of filesystem, gcs or s3 as supported by Sentry.
|
|
backend: filesystem
|
|
|
|
filesystem:
|
|
path: /var/lib/sentry/files
|
|
|
|
## Enable persistence using Persistent Volume Claims
|
|
## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
|
|
##
|
|
persistence:
|
|
enabled: true
|
|
## database data Persistent Volume Storage Class
|
|
## 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: "-"
|
|
accessMode: ReadWriteOnce
|
|
size: 10Gi
|
|
|
|
## Whether to mount the persistent volume to the Sentry worker and
|
|
## cron deployments. This setting needs to be enabled for some advanced
|
|
## Sentry features, such as private source maps. If you disable this
|
|
## setting, the Sentry workers will not have access to artifacts you upload
|
|
## through the web deployment.
|
|
## Please note that you may need to change your accessMode to ReadWriteMany
|
|
## if you plan on having the web, worker and cron deployments run on
|
|
## different nodes.
|
|
persistentWorkers: false
|
|
|
|
## Point this at a pre-configured secret containing a service account. The resulting
|
|
## secret will be mounted at /var/run/secrets/google
|
|
gcs:
|
|
credentialsFile: credentials.json
|
|
# secretName:
|
|
# bucketName:
|
|
|
|
## Currently unconfigured and changing this has no impact on the template configuration.
|
|
s3: {}
|
|
# accessKey:
|
|
# secretKey:
|
|
# bucketName:
|
|
# endpointUrl:
|
|
# signature_version:
|
|
# region_name:
|
|
# default_acl:
|
|
|
|
## Configure ingress resource that allow you to access the
|
|
## Sentry installation. Set up the URL
|
|
## ref: http://kubernetes.io/docs/user-guide/ingress/
|
|
##
|
|
ingress:
|
|
enabled: false
|
|
hostname: sentry.local
|
|
|
|
## Extra paths to prepend to every host configuration. This is useful when configuring custom actions with
|
|
## [AWS ALB Ingress Controller](https://kubernetes-sigs.github.io/aws-alb-ingress-controller/guide/ingress/annotation/#actions).
|
|
extraPaths: []
|
|
# - path: /*
|
|
# backend:
|
|
# serviceName: ssl-redirect
|
|
# servicePort: use-annotation
|
|
|
|
## Ingress annotations
|
|
##
|
|
annotations: {}
|
|
# kubernetes.io/ingress.class: nginx
|
|
# kubernetes.io/tls-acme: 'true'
|
|
|
|
## Ingress labels
|
|
#
|
|
labels: {}
|
|
# env: dev
|
|
|
|
## Ingress TLS configuration
|
|
## Secrets must be manually created in the namespace
|
|
##
|
|
tls: []
|
|
# - secretName: sentry.local-tls
|
|
# hosts:
|
|
# - sentry.local
|
|
|
|
# TODO: add support for plugins https://docs.sentry.io/server/plugins/
|
|
|
|
postgresql:
|
|
enabled: true
|
|
nameOverride: sentry-postgresql
|
|
postgresqlDatabase: sentry
|
|
postgresqlUsername: postgres
|
|
# The following variables are only used when internal PG is disabled
|
|
# postgresqlHost: postgres
|
|
# postgresqlPassword: postgres
|
|
# postgresqlPort: 5432
|
|
# When defined the `postgresqlPassword` field is ignored
|
|
# existingSecret: secret-name
|
|
# existingSecretKey: postgresql-password
|
|
|
|
redis:
|
|
enabled: true
|
|
nameOverride: sentry-redis
|
|
# The following variables are only used when internal PG is disabled
|
|
# host: redis
|
|
# Just omit the password field if your redis cluster doesn't use password
|
|
# password: redis
|
|
# port: 6379
|
|
# When defined the `password` field is ignored
|
|
# existingSecret: secret-name
|
|
# existingSecretKey: redis-password
|
|
master:
|
|
persistence:
|
|
enabled: true
|
|
# If change pvc size redis.master.persistence.size: 20Gi
|
|
|
|
config:
|
|
configYml: ""
|
|
sentryConfPy: ""
|
|
|
|
## Prometheus Exporter / Metrics
|
|
##
|
|
metrics:
|
|
enabled: false
|
|
|
|
## Configure extra options for liveness and readiness probes
|
|
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes)
|
|
livenessProbe:
|
|
enabled: true
|
|
initialDelaySeconds: 30
|
|
periodSeconds: 5
|
|
timeoutSeconds: 2
|
|
failureThreshold: 3
|
|
successThreshold: 1
|
|
readinessProbe:
|
|
enabled: true
|
|
initialDelaySeconds: 30
|
|
periodSeconds: 5
|
|
timeoutSeconds: 2
|
|
failureThreshold: 3
|
|
successThreshold: 1
|
|
|
|
## Metrics exporter resource requests and limits
|
|
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
|
|
resources: {}
|
|
# limits:
|
|
# cpu: 100m
|
|
# memory: 100Mi
|
|
# requests:
|
|
# cpu: 100m
|
|
# memory: 100Mi
|
|
|
|
nodeSelector: {}
|
|
tolerations: []
|
|
affinity: {}
|
|
# schedulerName:
|
|
# Optional extra labels for pod, i.e. redis-client: "true"
|
|
# podLabels: []
|
|
service:
|
|
type: ClusterIP
|
|
labels: {}
|
|
|
|
image:
|
|
repository: prom/statsd-exporter
|
|
tag: v0.10.5
|
|
pullPolicy: IfNotPresent
|
|
|
|
# Enable this if you're using https://github.com/coreos/prometheus-operator
|
|
serviceMonitor:
|
|
enabled: false
|
|
## Specify a namespace if needed
|
|
# namespace: monitoring
|
|
# fallback to the prometheus default unless specified
|
|
# interval: 10s
|
|
## Defaults to what's used if you follow CoreOS [Prometheus Install Instructions](https://github.com/helm/charts/tree/master/stable/prometheus-operator#tldr)
|
|
## [Prometheus Selector Label](https://github.com/helm/charts/tree/master/stable/prometheus-operator#prometheus-operator-1)
|
|
## [Kube Prometheus Selector Label](https://github.com/helm/charts/tree/master/stable/prometheus-operator#exporters)
|
|
selector:
|
|
prometheus: kube-prometheus
|
|
|
|
# Provide affinity for hooks if needed
|
|
hooks:
|
|
affinity: {}
|
|
tolerations: []
|
|
dbInit:
|
|
enabled: true
|
|
resources:
|
|
# We setup 3000Mi for the memory limit because of a Sentry instance need at least 3Gb RAM to perform a migration process
|
|
# reference: https://github.com/helm/charts/issues/15296
|
|
limits:
|
|
memory: 3200Mi
|
|
requests:
|
|
memory: 3000Mi
|
|
|
|
serviceAccount:
|
|
# Specifies whether a service account should be created
|
|
create: true
|
|
# The name of the service account to use.
|
|
# If not set and create is true, a name is generated using the fullname template
|
|
name:
|
|
annotations: {}
|