Skip to content

Commit d4f1d70

Browse files
authored
Merge branch 'main' into common_nodeSelector_and_tolerations
2 parents a8e17e7 + c0d3c6e commit d4f1d70

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+30196
-374
lines changed

.github/workflows/codespell.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ jobs:
2020
with:
2121
check_filenames: true
2222
check_hidden: true
23-
skip: .git,./ci/k6/lib/*,./charts/posthog/crds/*,./charts/posthog/tests/clickhouse-operator/__snapshot__/*,./charts/posthog/templates/clickhouse-operator/*,./charts/posthog/grafana-dashboards/http-by-application-endpoint.json,./yarn.lock
23+
skip: .git,./ci/k6/lib/*,./charts/posthog/crds/*,./charts/posthog/tests/clickhouse-operator/__snapshot__/*,./charts/posthog/templates/clickhouse-operator/*,./charts/posthog/grafana-dashboards/http-by-application-endpoint.json,./charts/posthog/grafana-dashboards/instance-overview.json,./yarn.lock

.github/workflows/pr-deploy-cleanup.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
return member
3131
3232
- name: Checkout
33-
uses: actions/checkout@v2 # no way of getting the correct ref from the issue event, hence the below
33+
uses: actions/checkout@v3 # no way of getting the correct ref from the issue event, hence the below
3434
if: ${{ steps.permissions.outputs.result == 'true' && contains(github.event.pull_request.labels.*.name, 'deploy') }}
3535

3636
- name: Declare variables that we can share across steps

.github/workflows/pr-deploy.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
return member
4040
4141
- name: Checkout
42-
uses: actions/checkout@v2 # no way of getting the correct ref from the issue event, hence the below
42+
uses: actions/checkout@v3 # no way of getting the correct ref from the issue event, hence the below
4343
if: ${{ steps.permissions.outputs.result == 'true' && contains(github.event.pull_request.labels.*.name, 'deploy') }}
4444

4545
- name: Declare variables that we can share across steps

.github/workflows/test-digitalocean-install.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ jobs:
4747
${{ steps.vars.outputs.k8s_cluster_name }} \
4848
--version "$DO_K8S_VERSION" \
4949
--tag="provisioned_by:github_action" \
50-
--size s-2vcpu-4gb \
51-
--count 2 \
50+
--size s-4vcpu-8gb \
51+
--count 3 \
5252
--wait
5353
5454
- name: Install PostHog using the Helm chart

charts/posthog/ALL_VALUES.md

+16-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# PostHog Helm chart configuration
22

3-
![Version: 29.0.2](https://img.shields.io/badge/Version-29.0.2-informational?style=flat-square) ![AppVersion: 1.41.2](https://img.shields.io/badge/AppVersion-1.41.2-informational?style=flat-square)
3+
![Version: 30.0.0](https://img.shields.io/badge/Version-30.0.0-informational?style=flat-square) ![AppVersion: 1.42.0](https://img.shields.io/badge/AppVersion-1.42.0-informational?style=flat-square)
44

55
## Configuration
66

@@ -16,8 +16,9 @@ The following table lists the configurable parameters of the PostHog chart and t
1616
| image.repository | string | `"posthog/posthog"` | PostHog image repository to use. |
1717
| image.sha | string | `nil` | PostHog image SHA to use (example: `sha256:20af35fca6756d689d6705911a49dd6f2f6631e001ad43377b605cfc7c133eb4`). |
1818
| image.tag | string | `nil` | PostHog image tag to use (example: `release-1.35.0`). |
19-
| image.default | string | `":release-1.41.2"` | PostHog default image. Do not overwrite, use `image.sha` or `image.tag` instead. |
19+
| image.default | string | `":release-1.42.0"` | PostHog default image. Do not overwrite, use `image.sha` or `image.tag` instead. |
2020
| image.pullPolicy | string | `"IfNotPresent"` | PostHog image pull policy. |
21+
| image.pullSecrets | list | `[]` | |
2122
| sentryDSN | string | `nil` | Sentry endpoint to send errors to. |
2223
| posthogSecretKey.existingSecret | string | `nil` | Specify that the key should be pulled from an existing secret key. By default the chart will generate a secret and create a Kubernetes Secret containing it. |
2324
| posthogSecretKey.existingSecretKey | string | `"posthog-secret"` | Specify the key within the secret from which SECRET_KEY should be taken. |
@@ -48,7 +49,7 @@ The following table lists the configurable parameters of the PostHog chart and t
4849
| web.env[0] | object | `{"name":"SOCIAL_AUTH_GOOGLE_OAUTH2_KEY","value":null}` | Set google oauth 2 key. Requires posthog ee license. |
4950
| web.env[1] | object | `{"name":"SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET","value":null}` | Set google oauth 2 secret. Requires posthog ee license. |
5051
| web.env[2] | object | `{"name":"SOCIAL_AUTH_GOOGLE_OAUTH2_WHITELISTED_DOMAINS","value":"posthog.com"}` | Set google oauth 2 whitelisted domains users can log in from. |
51-
| web.internalMetrics.capture | bool | `true` | Whether to capture information on operation of posthog into posthog, exposed in /instance/status page |
52+
| web.internalMetrics.capture | bool | `false` | Deprecated: Whether to capture information on operation of posthog into posthog, exposed in /instance/status page |
5253
| web.nodeSelector | object | `{}` | Node labels for web stack deployment. |
5354
| web.tolerations | list | `[]` | Toleration labels for web stack deployment. |
5455
| web.affinity | object | `{}` | Affinity settings for web stack deployment. |
@@ -299,6 +300,7 @@ The following table lists the configurable parameters of the PostHog chart and t
299300
| pgbouncer.exporter.image.repository | string | `"prometheuscommunity/pgbouncer-exporter"` | |
300301
| pgbouncer.exporter.image.tag | string | `"v0.4.1"` | |
301302
| pgbouncer.exporter.image.pullPolicy | string | `"IfNotPresent"` | |
303+
| pgbouncer.exporter.image.pullSecrets | list | `[]` | |
302304
| pgbouncer.exporter.resources | object | `{}` | Resource limits for pgbouncer-exporter. |
303305
| pgbouncer.exporter.securityContext | object | `{"enabled":false}` | Container security context for pgbouncer-exporter. |
304306
| pgbouncer.replicacount | int | `1` | Count of pgbouncer pods to run. This setting is ignored if `pgbouncer.hpa.enabled` is set to `true`. |
@@ -327,6 +329,7 @@ The following table lists the configurable parameters of the PostHog chart and t
327329
| pgbouncer.image.repository | string | `"bitnami/pgbouncer"` | |
328330
| pgbouncer.image.tag | string | `"1.17.0"` | |
329331
| pgbouncer.image.pullPolicy | string | `"IfNotPresent"` | |
332+
| pgbouncer.image.pullSecrets | list | `[]` | |
330333
| pgbouncer.service.type | string | `"ClusterIP"` | |
331334
| pgbouncer.service.annotations | object | `{}` | |
332335
| pgbouncer.podAnnotations | object | `{}` | |
@@ -377,6 +380,7 @@ The following table lists the configurable parameters of the PostHog chart and t
377380
| clickhouse.image.repository | string | `"clickhouse/clickhouse-server"` | ClickHouse image repository. |
378381
| clickhouse.image.tag | string | `"22.3.13.80"` | ClickHouse image tag. Note: PostHog does not support all versions of ClickHouse. Please override the default only if you know what you are doing. |
379382
| clickhouse.image.pullPolicy | string | `"IfNotPresent"` | Image pull policy |
383+
| clickhouse.image.pullSecrets | list | `[]` | |
380384
| clickhouse.tolerations | list | `[]` | Toleration labels for clickhouse pod assignment |
381385
| clickhouse.affinity | object | `{}` | Affinity settings for clickhouse pod |
382386
| clickhouse.resources | object | `{}` | Clickhouse resource requests/limits. See more at http://kubernetes.io/docs/user-guide/compute-resources/ |
@@ -398,15 +402,18 @@ The following table lists the configurable parameters of the PostHog chart and t
398402
| clickhouse.settings | object | `{}` | |
399403
| clickhouse.defaultSettings.default_database | string | `"posthog"` | |
400404
| clickhouse.defaultSettings.format_schema_path | string | `"/etc/clickhouse-server/config.d/"` | |
405+
| clickhouse.additionalUsersConfig | string | `nil` | |
401406
| clickhouse.podAnnotations | string | `nil` | |
402407
| clickhouse.podDistribution | string | `nil` | |
403408
| clickhouse.client.image.repository | string | `"clickhouse/clickhouse-server"` | ClickHouse image repository. |
404409
| clickhouse.client.image.tag | string | `"22.3.13.80"` | ClickHouse image tag. Note: PostHog does not support all versions of ClickHouse. Please override the default only if you know what you are doing. |
405410
| clickhouse.client.image.pullPolicy | string | `"IfNotPresent"` | Image pull policy |
411+
| clickhouse.client.image.pullSecrets | list | `[]` | |
406412
| clickhouse.backup.enabled | bool | `false` | |
407413
| clickhouse.backup.image.repository | string | `"altinity/clickhouse-backup"` | Clickhouse backup image repository. |
408414
| clickhouse.backup.image.tag | string | `"1.5.0"` | ClickHouse backup image tag. |
409415
| clickhouse.backup.image.pullPolicy | string | `"IfNotPresent"` | Image pull policy |
416+
| clickhouse.backup.image.pullSecrets | list | `[]` | |
410417
| clickhouse.backup.backup_user | string | `"backup"` | |
411418
| clickhouse.backup.backup_password | string | `"backup_password"` | |
412419
| clickhouse.backup.existingSecret | string | `""` | Use an existing secret name in the deployed namespace for the backup password |
@@ -465,6 +472,7 @@ The following table lists the configurable parameters of the PostHog chart and t
465472
| loki.enabled | bool | `false` | Whether to install Loki or not. With the default configuration you will get no replication, so as to easily support small deploys that e.g. do not have multiple nodes in the cluster. For production setups that are distributed across e.g. multiple AWS AZs it's recommended that you increase the replica counts for `read:` and `write:`. These stateful sets by default have an anti-affinity so you'll need at least as many nodes as replicas in a set. |
466473
| loki.loki.auth_enabled | bool | `false` | |
467474
| loki.loki.commonConfig.replication_factor | int | `1` | |
475+
| loki.loki.podAnnotations | object | `{}` | |
468476
| loki.read.replicas | int | `1` | |
469477
| loki.write.replicas | int | `1` | |
470478
| loki.gateway.enabled | bool | `false` | |
@@ -478,11 +486,14 @@ The following table lists the configurable parameters of the PostHog chart and t
478486
| loki.monitoring.rules.enabled | bool | `false` | |
479487
| loki.monitoring.selfMonitoring.enabled | bool | `false` | |
480488
| loki.monitoring.selfMonitoring.grafanaAgent.installOperator | bool | `false` | |
489+
| loki.monitoring.selfMonitoring.lokiCanary.enabled | bool | `false` | |
481490
| loki.monitoring.serviceMonitor.enabled | bool | `false` | |
491+
| loki.test.enabled | bool | `false` | |
482492
| eventrouter.enabled | bool | `false` | Whether to install eventrouter. |
483493
| eventrouter.image.repository | string | `"gcr.io/heptio-images/eventrouter"` | |
484494
| eventrouter.image.tag | string | `"v0.3"` | |
485495
| eventrouter.image.pullPolicy | string | `"IfNotPresent"` | |
496+
| eventrouter.image.pullSecrets | list | `[]` | |
486497
| eventrouter.resources | object | `{}` | Resource limits for eventrouter. |
487498
| promtail.enabled | bool | `false` | Whether to install Promtail or not. |
488499
| promtail.config.clients[0].url | string | `"http://posthog-loki-write:3100/loki/api/v1/push"` | |
@@ -528,6 +539,8 @@ The following table lists the configurable parameters of the PostHog chart and t
528539
| installCustomStorageClass | bool | `false` | |
529540
| busybox.image | string | `"busybox:1.34"` | Specify the image to use for e.g. init containers |
530541
| busybox.pullPolicy | string | `"IfNotPresent"` | Image pull policy |
542+
| busybox.pullSecrets | list | `[]` | |
543+
| clusterDomain | string | `"cluster.local"` | Kubernetes cluster domain name |
531544

532545
Dependent charts can also have values overwritten. For more info see our [docs](https://posthog.com/docs/self-host/deploy/configuration).
533546

charts/posthog/Chart.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ dependencies:
2525
version: 6.40.0
2626
- name: loki
2727
repository: https://grafana.github.io/helm-charts
28-
version: 3.0.6
28+
version: 3.3.4
2929
- name: promtail
3030
repository: https://grafana.github.io/helm-charts
31-
version: 6.5.0
31+
version: 6.6.2
3232
- name: prometheus
3333
repository: https://prometheus-community.github.io/helm-charts
3434
version: 15.10.4
@@ -44,5 +44,5 @@ dependencies:
4444
- name: prometheus-statsd-exporter
4545
repository: https://prometheus-community.github.io/helm-charts
4646
version: 0.3.1
47-
digest: sha256:24ac0f0b88831b4b14f0b00ba876b988b7711aef1dac8136004df608f590b915
48-
generated: "2022-10-10T12:18:28.089356+02:00"
47+
digest: sha256:2cfffe0d2d6df0b3c43983b18ecd517ba71ff31bab91901037b51d64dee74eb0
48+
generated: "2022-11-15T10:43:43.316599+01:00"

charts/posthog/Chart.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ type: application
1111

1212
# This is the chart version. This version number should be incremented each time you make changes
1313
# to the chart and its templates, including the app version.
14-
version: 29.0.2
14+
version: 30.0.0
1515

1616
# This is the version number of the application being deployed. This version number should be
1717
# incremented each time you make changes to the application.
18-
appVersion: 1.41.2
18+
appVersion: 1.42.0
1919

2020
dependencies:
2121
- name: cert-manager
@@ -60,12 +60,12 @@ dependencies:
6060
condition: grafana.enabled
6161

6262
- name: loki
63-
version: 3.0.6
63+
version: 3.3.4
6464
repository: https://grafana.github.io/helm-charts
6565
condition: loki.enabled
6666

6767
- name: promtail
68-
version: 6.5.0
68+
version: 6.6.2
6969
repository: https://grafana.github.io/helm-charts
7070
condition: promtail.enabled
7171

charts/posthog/charts/loki-3.0.6.tgz

-166 KB
Binary file not shown.

charts/posthog/charts/loki-3.3.4.tgz

159 KB
Binary file not shown.
-12.5 KB
Binary file not shown.
13.2 KB
Binary file not shown.

0 commit comments

Comments
 (0)