Compare commits

...

87 commits

Author SHA1 Message Date
Kevin Alberts e890358e10 Add Drone build pipeline
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-06 14:48:09 +02:00
Kevin Alberts cccf8e5396 Update django-helm-chart submodule to fixed version 2024-09-06 14:13:24 +02:00
James Kiger da2f8b2472 Update GT to v4.1.1 2024-08-30 12:37:56 -04:00
James Kiger d94ce977d3 Update GT version to 4.1.0 2024-08-29 12:52:45 -04:00
james kiger 92ff751a4d Merge branch '4-0-0' into 'master'
Start work on 4.0.0 release

See merge request glitchtip/glitchtip-helm-chart!13
2024-07-25 18:21:18 +00:00
David Burke 7959103b0e Start work on 4.0.0 release 2024-07-15 16:31:52 -04:00
James Kiger 68a5568447 Update GT to 4.0.12 2024-07-12 11:23:15 -04:00
James Kiger 07e65f2c4e Update GT to v4.0.11 2024-07-09 12:24:55 -04:00
James Kiger 5ad0dd06ca Upgrade GT to 4.0.10 2024-06-28 13:53:45 -04:00
James Kiger 12942a25f0 Update GT version to 4.0.9 2024-05-07 12:22:55 -04:00
David Burke 61c97590fc GlitchTip 4.0.8 2024-04-28 14:34:21 -04:00
David Burke 04b8e546a8 Glichtip 4.0.7 2024-04-25 19:26:38 -04:00
David Burke a8d36d85d4 Update GT version 2024-04-19 09:02:03 -04:00
James Kiger 2e454ac8c5 Upgrade GT to v4.0.5 2024-04-17 15:27:38 -04:00
James Kiger 746bad0434 Update GT to v4.0.4 2024-04-16 12:47:41 -04:00
James Kiger ed53238b5f Increase GT version to 4.0.3 2024-04-15 16:55:19 -04:00
David Burke b3481d8080 Merge branch 'v-3-0-0' into 'master'
Chart v3.0.0 - upgrade GT to 4.0

See merge request glitchtip/glitchtip-helm-chart!12
2024-04-10 17:30:16 +00:00
James Kiger 4fdd5b988f Update redis and psql, upgrade GT to 4.0 2024-04-10 12:12:49 -04:00
James Kiger fc3daf2e11 Update Gt version to 3.4.6 2024-01-22 12:11:50 -05:00
James Kiger f2f59be3bb Update version in values.yaml 2024-01-17 11:03:43 -05:00
David Burke 1298f1160e Update app version and charts 2023-12-22 09:09:22 -05:00
James Kiger 393f31dd0e Update app and chart version 2023-12-04 13:08:44 -05:00
James Kiger 0bd05d79df Make this a minor version update for chart 2023-10-05 14:39:30 -04:00
James Kiger 574cecf95b Update gt to 3.4.0 2023-10-05 14:37:09 -04:00
David Burke 16a80bb95b Update dependencies. Use mehr/flower docker image. 2023-10-04 09:29:57 -04:00
David Burke 623ef3f3b3 Update GT 2023-09-15 14:59:56 -04:00
David Burke ea3456720d Update charts, glitchtip 3.3.0 2023-07-15 21:07:22 -04:00
David Burke 3be60a11ba Merge branch 'Zebradil-master-patch-80180' into 'master'
Fix key name of the postgresql chart values

See merge request glitchtip/glitchtip-helm-chart!11
2023-07-14 00:24:27 +00:00
German Lashevich d0ad5893b9
docs: add links to upstream charts documentation 2023-07-13 22:55:11 +02:00
David Burke d6b850a189 Version 3.2.2 2023-07-09 11:41:51 -04:00
David Burke ff0e47cb00 Chart updates. Change default worker settings to use less ram. 2023-07-09 11:27:55 -04:00
David Burke 7038527dae Update charts 2023-06-18 13:12:29 -04:00
German Lashevich c83e9cd164 Fix key name of the postgresql chart values 2023-06-09 19:18:19 +00:00
David Burke 837b05a987 Update dependencies
Allow for more flexible worker liveness probe
2023-05-19 10:43:01 -04:00
James Kiger 6030aa42d6 Update Gt to 3.2.0 2023-05-16 07:44:37 -04:00
David Burke e22aa8c72e Fix bug where celery liveness probe didn't work 2023-05-02 13:53:09 +00:00
David Burke b8a6f62724 Fix celery liveness probe 2023-05-02 13:52:43 +00:00
David Burke e4a44061e3 Update gt version 2023-04-22 21:01:00 -04:00
David Burke ed66d9e425 Increase ram request defaults 2023-04-21 16:43:01 +00:00
David Burke 9f33c788ac . 2023-04-20 21:11:07 -04:00
David Burke f39aa6dabe I hate bash I hate bash I hate bash 2023-04-20 21:05:47 -04:00
David Burke fb65f5f275 Add celery liveness check 2023-04-20 20:35:17 -04:00
David Burke f384c6c498 Beat seems to require more memory 2023-04-17 13:07:18 +00:00
David Burke ae4c3f1e4d Update values.yaml 2023-04-14 18:13:11 +00:00
David Burke 5545d3ea2c Merge branch 'v2_2_6' into 'master'
Update dependencies and set GT to 3.1.2

See merge request glitchtip/glitchtip-helm-chart!10
2023-04-13 18:13:00 +00:00
James Kiger e91f14a5e5 Update dependencies and set GT to 3.1.2 2023-04-13 13:01:23 -04:00
James Kiger a97623a5e8 Update GT version to 3.1.0 2023-03-31 15:45:09 -04:00
James Kiger 9e741d9092 Update GT version to 3.0.7 2023-02-24 15:57:42 -05:00
James Kiger 87fcea4a01 Upgrade GT to v3.0.6 2023-02-23 13:16:31 -05:00
David Burke 3621dff045 Add support for bitnami style podAnnotations 2023-02-20 10:58:46 -05:00
James Kiger f617a74f29 Upgrade GT to v3.0.5 2023-02-06 13:13:05 -05:00
David Burke d0e6d36b22 Update sub chart 2023-02-06 10:43:47 -05:00
David Burke 540a0fac30 Update dependencies 2023-02-06 10:42:59 -05:00
David Burke a0fbefc07c Update flower values and ingress 2023-01-14 16:25:33 -05:00
David Burke 03ab58e711 Add option for flower deployment 2023-01-13 16:08:06 -05:00
james kiger fcd419da61 Merge branch 'update-dependencies' into 'master'
Update postgresql to 12.1.9 and redis to 17.4.2

See merge request glitchtip/glitchtip-helm-chart!9
2023-01-11 20:29:56 +00:00
James Kiger 1c86679c88 Update postgresql to 12.1.9 and redis to 17.4.2 2023-01-11 15:27:52 -05:00
james kiger 8a71ee59b0 Merge branch 'gt-version-3-0-3' into 'master'
Update GT version to v3.0.3

See merge request glitchtip/glitchtip-helm-chart!8
2023-01-11 19:37:47 +00:00
James Kiger 9637b73cc3 Update GT version to v3.0.3 2023-01-11 14:01:03 -05:00
David Burke c2cb1cd0e2 Add charts 2022-12-29 11:19:23 -05:00
David Burke d2d37098ff When linting, disable redis 2022-12-29 11:16:44 -05:00
David Burke 81425921b0 Update hpa version 2022-12-23 10:24:37 -05:00
David Burke fdb04278f1 Merge branch 'gt-version-3-0' into 'master'
Update GT tag to v3.0.0

See merge request glitchtip/glitchtip-helm-chart!7
2022-12-12 15:53:37 +00:00
James Kiger 93323d02c6 Update GT tag to v3.0.0 2022-12-12 10:50:56 -05:00
David Burke b9d77c9df3 ? 2022-11-29 21:01:52 -05:00
David Burke 0c47cf8568 Add options to pre install migration 2022-11-29 20:58:29 -05:00
David Burke b389611d79 Merge branch 'master' of gitlab.com:glitchtip/glitchtip-helm-chart 2022-11-29 19:27:59 -05:00
james kiger 3a92478f81 Merge branch 'revert-version-2-0-7' into 'master'
Rever GT version to 2.0.7 on chart 1.0.1

See merge request glitchtip/glitchtip-helm-chart!6
2022-11-28 23:32:53 +00:00
James Kiger bf84bce4ee Rever GT version to 2.0.7 on chart 1.0.1 2022-11-28 18:31:40 -05:00
james kiger 7f40ec547c Merge branch 'update-v2_0_8' into 'master'
Update GT to v2.0.8

See merge request glitchtip/glitchtip-helm-chart!5
2022-11-28 18:45:51 +00:00
James Kiger 6589a244a3 Increment app version 2022-11-28 13:44:26 -05:00
James Kiger a33e1b9dfd Increment GT version and chart version 2022-11-28 13:40:28 -05:00
David Burke 380000afd0 Update chart dependencies 2022-11-18 11:57:49 -05:00
David Burke d3c51d9f14 Merge branch 'update-v2_0_6' into 'master'
Update app version to v2.0.6

See merge request glitchtip/glitchtip-helm-chart!4
2022-10-12 18:11:35 +00:00
James Kiger 603b4aa327 Upgrade redis and postgres dependencies 2022-10-12 13:59:00 -04:00
James Kiger 21798ae951 Update app version to v2.0.6 2022-10-12 09:09:12 -04:00
David Burke 0259e809d1 Fix beat memory limit 2022-08-24 15:07:12 -04:00
David Burke 4105dcbcef Update charts, configurable celery beat resources 2022-08-24 14:18:38 -04:00
David Burke 4db72f96a0 Update django helm chart version 2022-08-17 15:49:01 -04:00
David Burke e30a33fe13 update sample yaml 2022-08-17 14:56:14 -04:00
David Burke 29a7ff4604 Update dependency versions, set glitchtip tag version 2022-08-17 14:53:50 -04:00
David Burke 7c3b2b7b0b Merge branch 'master' of gitlab.com:glitchtip/glitchtip-helm-chart 2022-07-22 09:57:15 -04:00
David Burke 97ff0ee815 Forgot to add these for 0.2.2 2022-07-22 09:55:12 -04:00
David Burke 76eae2169c Merge branch 'master' into 'master'
updated django-helm-chart version to the latest

See merge request glitchtip/glitchtip-helm-chart!3
2022-07-22 13:45:42 +00:00
David Burke fe4575163a Update dependent charts, update django-helm-chart 2022-07-22 09:44:49 -04:00
malmiteria cb73002378 updated django-helm-chart version to the latest 2022-07-22 10:18:02 +02:00
David Burke 0676a75348 Fix indent error on beat nodeSelector, affinity, tolerations 2022-07-20 10:06:33 -04:00
14 changed files with 140 additions and 26 deletions

40
.drone.yml Normal file
View file

@ -0,0 +1,40 @@
---
kind: pipeline
type: docker
name: default
steps:
- name: submodules
image: alpine/git
commands:
- git submodule update --init --recursive
- name: build
image: alpine/helm
volumes:
- name: result
path: /output
commands:
- helm lint --set redis.enabled=false
- helm package -d chart .
- mv chart/glitchtip*.tgz /output/glitchtip.tgz
- name: upload
image: curlimages/curl:latest
environment:
GIT_HOST: git.kurocon.nl
GIT_PACKAGE_OWNER: KuroNET
GIT_USER:
from_secret: git_username
GIT_TOKEN:
from_secret: git_password_or_token
volumes:
- name: result
path: /output
commands:
- curl --user $GIT_USER:$GIT_TOKEN -X POST --upload-file /output/glitchtip.tgz https://$GIT_HOST/api/packages/{$GIT_PACKAGE_OWNER}/helm/api/charts
volumes:
- name: result
temp: {}

View file

@ -11,7 +11,7 @@ build:
entrypoint: ["/bin/sh", "-c"]
stage: build
script:
- helm lint
- helm lint --set redis.enabled=false
- helm package -d chart .
- mv chart/glitchtip*.tgz chart/glitchtip.tgz
artifacts:

2
.gitmodules vendored
View file

@ -1,3 +1,3 @@
[submodule "django-helm-chart"]
path = django-helm-chart
url = https://gitlab.com/burke-software/django-helm-chart.git
url = https://git.kurocon.nl/KuroNET/django-helm-chart.git

9
CHANGELOG Normal file
View file

@ -0,0 +1,9 @@
# Unreleased
# 4.0.0
- (Breaking) Rename value preInstall to migrationJob
- The migration job now runs the migrate script which includes pgpartition. This should help ensure it runs more often as a failsafe should celery fail.
- Add some support for volume mounts, not well tested
- Started this changelog
- Updated chart dependencies to latest versions

View file

@ -1,9 +1,9 @@
dependencies:
- name: postgresql
repository: https://charts.bitnami.com/bitnami
version: 11.6.17
version: 15.5.16
- name: redis
repository: https://charts.bitnami.com/bitnami
version: 17.0.2
digest: sha256:48a640246413abb68ab975288b8b60e30b1555852a4b6dbbe22e900dc25c8ab5
generated: "2022-07-19T21:02:18.169505056-04:00"
version: 19.6.1
digest: sha256:39ccb3c76f7a8587ce6623d8b563cefcb3c63a7376768a901ae8092ca4fd9b82
generated: "2024-07-15T16:16:16.67406353-04:00"

View file

@ -14,20 +14,20 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 0.2.0
version: 4.0.1
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
appVersion: 1.0.0
appVersion: 4.1.1
icon: https://glitchtip.gitlab.io/glitchtip-helm-chart/icon.svg
dependencies:
- name: postgresql
version: ~11.6.17
version: ^15.2.5
repository: https://charts.bitnami.com/bitnami
condition: postgresql.enabled
- name: redis
version: ~17.0.2
version: ^19.1.0
repository: https://charts.bitnami.com/bitnami
condition: redis.enabled

View file

@ -18,19 +18,21 @@ For postgresql, we recommend an externally managed database and providing only t
## Important Tips
- Use [helm diff](https://github.com/databus23/helm-diff) to preview changes
- We don't update the chart version for app version updates at this time, set image.tag instead.
- Set image.pullPolicy to `IfNotPresent` after specifying the image.tag
- Set redis.auth.password to avoid redis being entirely remade on each release
- If updating the chart, carefully review values for any new defaults
## Updating
See changes in this chart on [GitLab](https://gitlab.com/glitchtip/glitchtip-helm-chart/-/releases)
- `helm repo update`
- Set the image.tag to the [latest version](https://gitlab.com/glitchtip/glitchtip-frontend/-/releases)
- `helm diff upgrade glitchtip glitchtip/glitchtip`
- Carefully review diff
- `helm upgrade glitchtip glitchtip/glitchtip -f your-values.yaml`
# Contributing
Please open issues only with potential solutions and be prepared to do some work or else fund it. Contributors are welcome. However, we kindly ask that feature requests and support requests not be opened in this repo.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
charts/redis-19.6.1.tgz Normal file

Binary file not shown.

@ -1 +1 @@
Subproject commit b574d0dcf75aa0b7ec034b6f6afb387f4208c8cb
Subproject commit 4c7256e5c96d18e4f187074354690a11d65b57fe

View file

@ -1,5 +1,5 @@
image:
tag: v1.12.0 # Make this the latest version, then change it to upgrade
tag: v2.0.4 # Make this the latest version, then change it to upgrade
pullPolicy: IfNotPresent
env:
normal:

View file

@ -1,8 +1,8 @@
# Default values for glitchtip.
image:
repository: glitchtip/glitchtip
tag: latest
pullPolicy: Always
tag: v4.1.1
pullPolicy: IfNotPresent
imagePullSecrets: []
nameOverride: ""
@ -12,20 +12,26 @@ env:
normal:
ENABLE_SOCIAL_AUTH: false
GLITCHTIP_DOMAIN: https://example.com
CELERY_WORKER_CONCURRENCY: "2" # Remove to set to number of cpus
CELERY_WORKER_AUTOSCALE: "1,3"
CELERY_WORKER_MAX_TASKS_PER_CHILD: "10000"
secret:
SECRET_KEY: # Required
# DATABASE_URL: Specify if using external postgres (not managed by this chart)
# REDIS_URL: Specify if using external redis (not managed by this chart)
migrationJob:
enabled: true
command: ["bin/run-migrate.sh"]
activeDeadlineSeconds: 900
web:
replicaCount: 2
autoscaling:
enabled: false
minReplicas: 2
maxReplicas: 10
targetCPUUtilizationPercentage: 80
# targetMemoryUtilizationPercentage: 80
targetCPU: 80
# targetMemory: 80
budget:
minAvailable: 1
resources:
@ -34,9 +40,10 @@ web:
memory: 512Mi
requests:
cpu: 100m
memory: 128Mi
memory: 256Mi
nodeSelector: {}
tolerations: []
podAnnotations: {}
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
@ -52,7 +59,7 @@ web:
livenessProbe:
failureThreshold: 5
initialDelaySeconds: 5
timeoutSeconds: 2
timeoutSeconds: 3
readinessProbe:
failureThreshold: 10
initialDelaySeconds: 5
@ -83,26 +90,80 @@ worker:
autoscaling:
enabled: false
minReplicas: 1
maxReplicas: 100
targetCPUUtilizationPercentage: 90
# targetMemoryUtilizationPercentage: 80
maxReplicas: 10
targetCPU: 100
# targetMemory: 100
livenessProbe:
initialDelaySeconds: 10
periodSeconds: 60
timeoutSeconds: 30
exec:
command:
- "bash"
- "-c"
- "celery -A glitchtip inspect ping -d celery@$HOSTNAME | grep -q OK"
resources:
limits:
cpu: 900m
memory: 768Mi
requests:
cpu: 100m
memory: 128Mi
memory: 350Mi
nodeSelector: {}
tolerations: []
podAnnotations: {}
affinity: {}
beat:
enabled: true
resources:
limits:
cpu: 200m
memory: 150Mi
requests:
cpu: 1m
memory: 130Mi
nodeSelector: {}
tolerations: []
podAnnotations: {}
affinity: {}
flower:
enabled: false
image:
repository: mher/flower
tag: latest
pullPolicy: IfNotPresent
resources:
limits:
cpu: 500m
memory: 512Mi
requests:
cpu: 50m
memory: 256Mi
nodeSelector: {}
tolerations: []
podAnnotations: {}
affinity: {}
service:
type: ClusterIP
port: 80
ingress:
enabled: false
annotations:
{}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
- host: chart-example.local
paths:
- path: /
pathType: ImplementationSpecific
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
serviceAccount:
# Specifies whether a service account should be created
create: false
@ -110,7 +171,7 @@ serviceAccount:
# If not set and create is true, a name is generated using the fullname template
name:
# For configuration options, see https://artifacthub.io/packages/helm/bitnami/redis
redis:
enabled: true
architecture: standalone
@ -121,6 +182,8 @@ redis:
enabled: false
# Default to disabled, use a managed database service. But can be enabled here.
# For configuration options, see https://artifacthub.io/packages/helm/bitnami/postgresql
postgresql:
enabled: false
postgresqlPassword: # Must be set
# auth:
# postgresPassword: # Must be set