Compare commits
46 commits
Author | SHA1 | Date | |
---|---|---|---|
|
e890358e10 | ||
|
cccf8e5396 | ||
![]() |
da2f8b2472 | ||
![]() |
d94ce977d3 | ||
![]() |
92ff751a4d | ||
![]() |
7959103b0e | ||
![]() |
68a5568447 | ||
![]() |
07e65f2c4e | ||
![]() |
5ad0dd06ca | ||
![]() |
12942a25f0 | ||
![]() |
61c97590fc | ||
![]() |
04b8e546a8 | ||
![]() |
a8d36d85d4 | ||
![]() |
2e454ac8c5 | ||
![]() |
746bad0434 | ||
![]() |
ed53238b5f | ||
![]() |
b3481d8080 | ||
![]() |
4fdd5b988f | ||
![]() |
fc3daf2e11 | ||
![]() |
f2f59be3bb | ||
![]() |
1298f1160e | ||
![]() |
393f31dd0e | ||
![]() |
0bd05d79df | ||
![]() |
574cecf95b | ||
![]() |
16a80bb95b | ||
![]() |
623ef3f3b3 | ||
![]() |
ea3456720d | ||
![]() |
3be60a11ba | ||
![]() |
d0ad5893b9 | ||
![]() |
d6b850a189 | ||
![]() |
ff0e47cb00 | ||
![]() |
7038527dae | ||
![]() |
c83e9cd164 | ||
![]() |
837b05a987 | ||
![]() |
6030aa42d6 | ||
![]() |
e22aa8c72e | ||
![]() |
b8a6f62724 | ||
![]() |
e4a44061e3 | ||
![]() |
ed66d9e425 | ||
![]() |
9f33c788ac | ||
![]() |
f39aa6dabe | ||
![]() |
fb65f5f275 | ||
![]() |
f384c6c498 | ||
![]() |
ae4c3f1e4d | ||
![]() |
5545d3ea2c | ||
![]() |
e91f14a5e5 |
40
.drone.yml
Normal file
40
.drone.yml
Normal 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: {}
|
2
.gitmodules
vendored
2
.gitmodules
vendored
|
@ -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
9
CHANGELOG
Normal 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
|
|
@ -1,9 +1,9 @@
|
|||
dependencies:
|
||||
- name: postgresql
|
||||
repository: https://charts.bitnami.com/bitnami
|
||||
version: 12.2.1
|
||||
version: 15.5.16
|
||||
- name: redis
|
||||
repository: https://charts.bitnami.com/bitnami
|
||||
version: 17.7.5
|
||||
digest: sha256:abaff7f53b1a66bffc8873d0e869fdbd9047173942418070c853121eae39f387
|
||||
generated: "2023-02-20T10:53:30.117200225-05:00"
|
||||
version: 19.6.1
|
||||
digest: sha256:39ccb3c76f7a8587ce6623d8b563cefcb3c63a7376768a901ae8092ca4fd9b82
|
||||
generated: "2024-07-15T16:16:16.67406353-04:00"
|
||||
|
|
|
@ -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: 2.2.5
|
||||
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: 3.1.0
|
||||
appVersion: 4.1.1
|
||||
|
||||
icon: https://glitchtip.gitlab.io/glitchtip-helm-chart/icon.svg
|
||||
|
||||
dependencies:
|
||||
- name: postgresql
|
||||
version: ^12.1.9
|
||||
version: ^15.2.5
|
||||
repository: https://charts.bitnami.com/bitnami
|
||||
condition: postgresql.enabled
|
||||
- name: redis
|
||||
version: ^17.4.2
|
||||
version: ^19.1.0
|
||||
repository: https://charts.bitnami.com/bitnami
|
||||
condition: redis.enabled
|
||||
|
|
|
@ -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.
BIN
charts/postgresql-15.5.16.tgz
Normal file
BIN
charts/postgresql-15.5.16.tgz
Normal file
Binary file not shown.
Binary file not shown.
BIN
charts/redis-19.6.1.tgz
Normal file
BIN
charts/redis-19.6.1.tgz
Normal file
Binary file not shown.
|
@ -1 +1 @@
|
|||
Subproject commit 95717ec228ccca9a295eb3761f8ed9fa5c4193bb
|
||||
Subproject commit 4c7256e5c96d18e4f187074354690a11d65b57fe
|
44
values.yaml
44
values.yaml
|
@ -1,7 +1,7 @@
|
|||
# Default values for glitchtip.
|
||||
image:
|
||||
repository: glitchtip/glitchtip
|
||||
tag: v3.1.0
|
||||
tag: v4.1.1
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
imagePullSecrets: []
|
||||
|
@ -12,14 +12,16 @@ 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)
|
||||
|
||||
preInstall:
|
||||
migrationJob:
|
||||
enabled: true
|
||||
command: ["bin/run-migrate.sh"]
|
||||
activeDeadlineSeconds: 900
|
||||
|
||||
web:
|
||||
|
@ -38,7 +40,7 @@ web:
|
|||
memory: 512Mi
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
memory: 256Mi
|
||||
nodeSelector: {}
|
||||
tolerations: []
|
||||
podAnnotations: {}
|
||||
|
@ -57,7 +59,7 @@ web:
|
|||
livenessProbe:
|
||||
failureThreshold: 5
|
||||
initialDelaySeconds: 5
|
||||
timeoutSeconds: 2
|
||||
timeoutSeconds: 3
|
||||
readinessProbe:
|
||||
failureThreshold: 10
|
||||
initialDelaySeconds: 5
|
||||
|
@ -88,16 +90,25 @@ worker:
|
|||
autoscaling:
|
||||
enabled: false
|
||||
minReplicas: 1
|
||||
maxReplicas: 20
|
||||
targetCPU: 90
|
||||
# targetMemory: 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: {}
|
||||
|
@ -107,11 +118,11 @@ beat:
|
|||
enabled: true
|
||||
resources:
|
||||
limits:
|
||||
cpu: 100m
|
||||
memory: 120Mi
|
||||
cpu: 200m
|
||||
memory: 150Mi
|
||||
requests:
|
||||
cpu: 1m
|
||||
memory: 90Mi
|
||||
memory: 130Mi
|
||||
nodeSelector: {}
|
||||
tolerations: []
|
||||
podAnnotations: {}
|
||||
|
@ -119,6 +130,10 @@ beat:
|
|||
|
||||
flower:
|
||||
enabled: false
|
||||
image:
|
||||
repository: mher/flower
|
||||
tag: latest
|
||||
pullPolicy: IfNotPresent
|
||||
resources:
|
||||
limits:
|
||||
cpu: 500m
|
||||
|
@ -156,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
|
||||
|
@ -167,7 +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
|
||||
# auth:
|
||||
# password: # Must be set
|
||||
# postgresPassword: # Must be set
|
||||
|
|
Loading…
Reference in a new issue