Compare commits

..

No commits in common. "master" and "2.3.1" have entirely different histories.

12 changed files with 27 additions and 84 deletions

View file

@ -1,40 +0,0 @@
---
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
View file

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

View file

@ -1,9 +0,0 @@
# 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: 15.5.16
version: 12.3.1
- name: redis
repository: https://charts.bitnami.com/bitnami
version: 19.6.1
digest: sha256:39ccb3c76f7a8587ce6623d8b563cefcb3c63a7376768a901ae8092ca4fd9b82
generated: "2024-07-15T16:16:16.67406353-04:00"
version: 17.9.5
digest: sha256:ae553a8fd4c534dfc568f711400449783b614f2ef13b6ca3feb3b446ffca2ab3
generated: "2023-04-22T21:00:15.99152284-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: 4.0.1
version: 2.3.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: 4.1.1
appVersion: 3.1.3
icon: https://glitchtip.gitlab.io/glitchtip-helm-chart/icon.svg
dependencies:
- name: postgresql
version: ^15.2.5
version: ^12.2.7
repository: https://charts.bitnami.com/bitnami
condition: postgresql.enabled
- name: redis
version: ^19.1.0
version: ^17.9.4
repository: https://charts.bitnami.com/bitnami
condition: redis.enabled

View file

@ -18,21 +18,19 @@ 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.

BIN
charts/redis-17.9.5.tgz Normal file

Binary file not shown.

Binary file not shown.

@ -1 +1 @@
Subproject commit 4c7256e5c96d18e4f187074354690a11d65b57fe
Subproject commit 466648631f63004b665ef8be701532af2a50a401

View file

@ -1,7 +1,7 @@
# Default values for glitchtip.
image:
repository: glitchtip/glitchtip
tag: v4.1.1
tag: v3.1.3
pullPolicy: IfNotPresent
imagePullSecrets: []
@ -12,16 +12,14 @@ env:
normal:
ENABLE_SOCIAL_AUTH: false
GLITCHTIP_DOMAIN: https://example.com
CELERY_WORKER_AUTOSCALE: "1,3"
CELERY_WORKER_MAX_TASKS_PER_CHILD: "10000"
CELERY_WORKER_CONCURRENCY: "3" # Remove to set to number of cpus
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:
preInstall:
enabled: true
command: ["bin/run-migrate.sh"]
activeDeadlineSeconds: 900
web:
@ -92,16 +90,17 @@ worker:
minReplicas: 1
maxReplicas: 10
targetCPU: 100
# targetMemory: 100
# targetMemory: 80
livenessProbe:
enabled: true
initialDelaySeconds: 10
periodSeconds: 60
timeoutSeconds: 30
exec:
command:
- "bash"
- "-c"
- "celery -A glitchtip inspect ping -d celery@$HOSTNAME | grep -q OK"
command:
- /bin/sh
- -c
- exec
- celery -A glitchtip inspect ping -d celery@$HOSTNAME | grep -q OK
resources:
limits:
cpu: 900m
@ -118,11 +117,11 @@ beat:
enabled: true
resources:
limits:
cpu: 200m
memory: 150Mi
cpu: 100m
memory: 130Mi
requests:
cpu: 1m
memory: 130Mi
memory: 110Mi
nodeSelector: {}
tolerations: []
podAnnotations: {}
@ -130,10 +129,6 @@ beat:
flower:
enabled: false
image:
repository: mher/flower
tag: latest
pullPolicy: IfNotPresent
resources:
limits:
cpu: 500m
@ -171,7 +166,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
@ -182,8 +177,7 @@ 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:
# postgresPassword: # Must be set
#auth:
# password: # Must be set