Skip to content

Commit

Permalink
fix: update versions and fix caddyfile for hatchet-stack
Browse files Browse the repository at this point in the history
  • Loading branch information
abelanger5 committed Jun 13, 2024
1 parent 06e677c commit b3ea89e
Show file tree
Hide file tree
Showing 10 changed files with 23 additions and 21 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Hatchet Helm Charts

This repository contains Helm charts for [Hatchet](https://hatchet.run).

To view the docs for setting up these charts, see [Kubernetes Quickstart](https://docs.hatchet.run/self-hosting/kubernetes-quickstart).
2 changes: 1 addition & 1 deletion charts/hatchet-api/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: hatchet-api
description: A Helm chart for deploying Hatchet API components on Kubernetes.
type: application
version: 0.2.0
version: 0.3.0
maintainers:
- name: Hatchet Engineering
email: [email protected]
4 changes: 2 additions & 2 deletions charts/hatchet-api/templates/pre-deploy-hook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ spec:
command: ["/bin/sh", "-c"]
args:
{{- if .Values.cloudSQLSidecar.enabled }}
- sleep 30 && go run github.com/steebchen/prisma-client-go migrate deploy && curl -X POST localhost:9091/quitquitquit;
- ./atlas-apply.sh && curl -X POST localhost:9091/quitquitquit;
{{- else }}
- go run github.com/steebchen/prisma-client-go migrate deploy;
- ./atlas-apply.sh
{{- end }}
securityContext:
capabilities:
Expand Down
4 changes: 2 additions & 2 deletions charts/hatchet-api/values.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
image:
repository: "ghcr.io/hatchet-dev/hatchet/hatchet-api"
tag: "v0.14.0"
tag: "v0.32.1"
pullPolicy: "Always"

migrationJob:
enabled: true
image:
repository: "ghcr.io/hatchet-dev/hatchet/hatchet-migrate"
tag: "v0.14.0"
tag: "v0.32.1"
pullPolicy: "Always"

commandline:
Expand Down
2 changes: 1 addition & 1 deletion charts/hatchet-frontend/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: hatchet-frontend
description: A Helm chart for deploying a frontend static file server on Kubernetes.
type: application
version: 0.2.0
version: 0.3.0
maintainers:
- name: Hatchet Engineering
email: [email protected]
2 changes: 1 addition & 1 deletion charts/hatchet-frontend/values.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
image:
repository: "ghcr.io/hatchet-dev/hatchet/hatchet-frontend"
tag: "v0.14.0"
tag: "v0.32.1"
pullPolicy: "Always"

commandline:
Expand Down
14 changes: 7 additions & 7 deletions charts/hatchet-stack/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
dependencies:
- name: hatchet-api
repository: file://../hatchet-api
version: 0.2.0
version: 0.3.0
- name: hatchet-api
repository: file://../hatchet-api
version: 0.2.0
version: 0.3.0
- name: hatchet-frontend
repository: file://../hatchet-frontend
version: 0.2.0
version: 0.3.0
- name: postgresql
repository: https://charts.bitnami.com/bitnami
version: 14.2.3
version: 14.3.3
- name: rabbitmq
repository: https://charts.bitnami.com/bitnami
version: 12.14.0
digest: sha256:ac907f91eee2d08026df174e1e3447babcf6837c4f5c13def2496945986c9f49
generated: "2024-03-02T13:40:52.220022-08:00"
version: 12.15.0
digest: sha256:846c270eb2a9eb18aa3d213d8f305dedbce42596af6ff87351c1e0c369925ee7
generated: "2024-06-13T08:25:46.660914-04:00"
8 changes: 4 additions & 4 deletions charts/hatchet-stack/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,25 @@ apiVersion: v2
name: hatchet-stack
description: A Helm chart for deploying Hatchet on Kubernetes together with a PostgreSQL database and RabbitMQ.
type: application
version: 0.2.0
version: 0.3.0
maintainers:
- name: Hatchet Engineering
email: [email protected]
dependencies:
- name: "hatchet-api"
condition: api.enabled
repository: "file://../hatchet-api"
version: "^0.2.0"
version: "^0.3.0"
alias: api
- name: "hatchet-api"
condition: engine.enabled
repository: "file://../hatchet-api"
version: "^0.2.0"
version: "^0.3.0"
alias: engine
- name: "hatchet-frontend"
condition: frontend.enabled
repository: "file://../hatchet-frontend"
version: "^0.2.0"
version: "^0.3.0"
alias: frontend
- name: "postgresql"
condition: postgres.enabled
Expand Down
4 changes: 2 additions & 2 deletions charts/hatchet-stack/templates/caddy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ data:
Caddyfile: |
http://localhost:8080 {
handle /api/* {
reverse_proxy hatchet-api:8080
reverse_proxy hatchet-stack-api:8080
}
handle /* {
reverse_proxy hatchet-frontend:8080
reverse_proxy hatchet-stack-frontend:8080
}
}
---
Expand Down
2 changes: 1 addition & 1 deletion charts/hatchet-stack/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ api:
replicaCount: 2
image:
repository: "ghcr.io/hatchet-dev/hatchet/hatchet-api"
tag: "v0.14.0"
tag: "v0.32.1"
pullPolicy: "Always"
migrationJob:
image:
Expand Down

0 comments on commit b3ea89e

Please sign in to comment.