Skip to content

Instantly share code, notes, and snippets.

@marccampbell
Last active June 6, 2018 00:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marccampbell/4727c07cb6a84211f81bc8674606c961 to your computer and use it in GitHub Desktop.
Save marccampbell/4727c07cb6a84211f81bc8674606c961 to your computer and use it in GitHub Desktop.
# Default values for sentry.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
image:
repository: sentry
tag: "8.20"
pullPolicy: IfNotPresent
# How many web UI instances to run
web:
replicacount: 1
resources:
limits:
cpu: 500m
memory: 500Mi
requests:
cpu: 300m
memory: 300Mi
env:
- name: GITHUB_APP_ID
value: '{{repl ConfigOption "github_app_id"}}'
- name: GITHUB_API_SECRET
value: '{{repl ConfigOption "github_api_secret"}}'
nodeSelector: {}
tolerations: []
affinity: {}
# How many cron instances to run
cron:
replicacount: 1
resources:
limits:
cpu: 200m
memory: 200Mi
requests:
cpu: 100m
memory: 100Mi
nodeSelector: {}
tolerations: []
affinity: {}
# How many worker instances to run
worker:
replicacount: 2
resources:
limits:
cpu: 300m
memory: 500Mi
requests:
cpu: 100m
memory: 100Mi
nodeSelector: {}
tolerations: []
affinity: {}
# Initial admin user to create
user:
email: admin@sentry.local
# 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
# 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
## External IP addresses of service
## Default: nil
##
# externalIPs:
# - 192.168.0.1
## 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
# Where to store sentry files
# https://docs.sentry.io/server/filestore/
filestore_dir: /var/lib/sentry/files
## 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
## Ingress annotations
##
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: 'true'
## 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:
postgresDatabase: sentry
postgresUser: sentry
imageTag: "9.5"
persistence:
enabled: true
redis:
persistence:
enabled: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment