Skip to content

Commit

Permalink
Merge b5c9b8b into 4a5fec5
Browse files Browse the repository at this point in the history
  • Loading branch information
frankh authored Oct 19, 2023
2 parents 4a5fec5 + b5c9b8b commit ce78fb4
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/posthog/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ 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: 30.31.0
version: 30.32.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
Expand Down
4 changes: 4 additions & 0 deletions charts/posthog/templates/events-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,10 @@ spec:
value: '1'
- name: IS_BEHIND_PROXY
value: '1'
- name: DEBUG
value: 'true'
- name: POSTHOG_SKIP_MIGRATION_CHECKS
value: 'true'
{{- if eq .Values.web.secureCookies false }}
- name: SECURE_COOKIES
value: '0'
Expand Down
1 change: 0 additions & 1 deletion charts/posthog/templates/recordings-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -174,5 +174,4 @@ spec:
{{- end }}
initContainers:
{{- include "_snippet-initContainers-wait-for-service-dependencies" . | indent 8 }}
{{- include "_snippet-initContainers-wait-for-migrations" . | indent 8 }}
{{- end }}
2 changes: 0 additions & 2 deletions charts/posthog/tests/_initContainers-wait-for-migrations.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
suite: _initContainers-wait-for-migrations
templates:
- templates/events-deployment.yaml
- templates/plugins-deployment.yaml
- templates/web-deployment.yaml
- templates/worker-deployment.yaml
Expand All @@ -10,7 +9,6 @@ templates:
tests:
- it: spec.template.spec.initContainers[1].env override via 'env' should work
templates: # TODO: remove once secrets.yaml will be fixed/removed
- templates/events-deployment.yaml
- templates/plugins-deployment.yaml
- templates/web-deployment.yaml
- templates/worker-deployment.yaml
Expand Down
2 changes: 1 addition & 1 deletion charts/posthog/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ image:
# -- PostHog image tag to use (example: `release-1.43.0`).
tag:
# -- PostHog default image. Do not overwrite, use `image.sha` or `image.tag` instead.
default: ":release-1.43.0"
default: ":latest"
# -- PostHog image pull policy.
pullPolicy: IfNotPresent
## Optionally specify an array of imagePullSecrets.
Expand Down
14 changes: 14 additions & 0 deletions ci/values/k3s.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,20 @@ ingress:
web:
secureCookies: false

env:
- name: POSTHOG_SKIP_MIGRATION_CHECKS
value: "true"

events:
env:
- name: POSTHOG_SKIP_MIGRATION_CHECKS
value: "true"

recordings:
env:
- name: POSTHOG_SKIP_MIGRATION_CHECKS
value: "true"

# Use small PVC in CI
clickhouse:
persistence:
Expand Down

0 comments on commit ce78fb4

Please sign in to comment.