Skip to content

Commit 3418f84

Browse files
committed
update
1 parent 0b02a8a commit 3418f84

10 files changed

Lines changed: 63 additions & 18 deletions

File tree

.github/renovate.json5

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,11 +122,33 @@
122122
versioning: 'regex:^(?<major>\\d{4})\\.(?<minor>\\d{1,2})\\.(?<patch>\\d{1,2})-[a-f0-9]+$',
123123
},
124124
{
125-
description: 'Ignore PostHog managed images (pinned to docker-compose hobby versions)',
126-
enabled: false,
127-
matchFileNames: [
128-
'my-apps/development/posthog/**',
125+
description: 'PostHog app images: auto-merge digest updates (rolling release)',
126+
matchPackageNames: [
127+
'posthog/posthog',
128+
'posthog/posthog-node',
129+
'ghcr.io/posthog/posthog/capture',
130+
'ghcr.io/posthog/posthog/property-defs-rs',
131+
'ghcr.io/posthog/posthog/feature-flags',
132+
'ghcr.io/posthog/posthog/livestream',
133+
'ghcr.io/posthog/posthog/cyclotron-janitor',
134+
'ghcr.io/posthog/posthog/cymbal',
135+
],
136+
matchFileNames: ['my-apps/development/posthog/**'],
137+
automerge: true,
138+
automergeType: 'branch',
139+
schedule: ['every weekend'],
140+
},
141+
{
142+
description: 'PostHog data layer: disable auto-updates (versions must match PostHog docker-compose.base.yml)',
143+
matchPackageNames: [
144+
'postgres',
145+
'valkey/valkey',
146+
'redis',
147+
'clickhouse/clickhouse-server',
148+
'docker.redpanda.com/redpandadata/redpanda',
129149
],
150+
matchFileNames: ['my-apps/development/posthog/**'],
151+
enabled: false,
130152
},
131153
{
132154
description: 'Pin project-nomad MySQL to 8.x (AdonisJS/Lucid not tested with MySQL 9)',
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
apiVersion: apps/v1
2+
kind: Deployment
3+
metadata:
4+
name: gitea
5+
spec:
6+
template:
7+
spec:
8+
initContainers:
9+
- name: fix-permissions
10+
image: alpine:3.21
11+
command:
12+
- sh
13+
- -c
14+
- chown -R 1000:1000 /data && chmod -R 700 /data/git/.ssh 2>/dev/null; true
15+
volumeMounts:
16+
- name: data
17+
mountPath: /data
18+
securityContext:
19+
runAsUser: 0
20+
allowPrivilegeEscalation: false
21+
capabilities:
22+
drop:
23+
- ALL

my-apps/development/gitea/kustomization.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,9 @@ helmCharts:
1212
releaseName: gitea
1313
namespace: gitea
1414
valuesFile: values.yaml
15+
16+
patches:
17+
- path: fix-permissions-patch.yaml
18+
target:
19+
kind: Deployment
20+
name: gitea

my-apps/development/gitea/values.yaml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,8 @@ image:
2020
podSecurityContext:
2121
fsGroup: 1000
2222

23-
# The init container runs chmod on /data/git/.ssh. Restored PVCs from backup
24-
# may have root-owned files. DAC_OVERRIDE bypasses ownership checks for chmod.
25-
containerSecurityContext:
26-
capabilities:
27-
add:
28-
- CHOWN
29-
- FOWNER
30-
- DAC_OVERRIDE
23+
# Permissions fixed by Kustomize init container patch (fix-permissions-patch.yaml)
24+
# running as root. The chart's own init container runs as the default user.
3125

3226
gitea:
3327
config:

my-apps/development/posthog/core/clickhouse-init.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ spec:
2121
restartPolicy: OnFailure
2222
containers:
2323
- name: clickhouse-init
24-
image: clickhouse/clickhouse-server:25.12.5.44
24+
image: clickhouse/clickhouse-server:25.12.8.9
2525
imagePullPolicy: IfNotPresent
2626
command:
2727
- sh

my-apps/development/posthog/core/jobs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ spec:
8080
feature.node.kubernetes.io/cpu-cpuid.AVX2: "true"
8181
containers:
8282
- name: migrate
83-
image: posthog/posthog:0c1bf64077d318019343b6894674713115f5effa
83+
image: posthog/posthog:latest
8484
command:
8585
- /bin/sh
8686
- -c

my-apps/development/posthog/core/plugins.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ spec:
2424
spec:
2525
containers:
2626
- name: plugins
27-
image: posthog/posthog-node:0c1bf64077d318019343b6894674713115f5effa
27+
image: posthog/posthog-node:latest
2828
command:
2929
- node
3030
- nodejs/dist/index.js

my-apps/development/posthog/core/web.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ spec:
2424
feature.node.kubernetes.io/cpu-cpuid.AVX2: "true"
2525
containers:
2626
- name: web
27-
image: posthog/posthog:0c1bf64077d318019343b6894674713115f5effa
27+
image: posthog/posthog:latest
2828
command:
2929
- /bin/sh
3030
- -c

my-apps/development/posthog/core/workers.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ spec:
2424
feature.node.kubernetes.io/cpu-cpuid.AVX2: "true"
2525
containers:
2626
- name: worker
27-
image: posthog/posthog:0c1bf64077d318019343b6894674713115f5effa
27+
image: posthog/posthog:latest
2828
command:
2929
- ./bin/docker-worker-celery
3030
- --with-scheduler

my-apps/development/posthog/data-layer/clickhouse.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ spec:
2424
spec:
2525
containers:
2626
- name: clickhouse
27-
image: clickhouse/clickhouse-server:25.12.5.44
27+
image: clickhouse/clickhouse-server:25.12.8.9
2828
imagePullPolicy: IfNotPresent
2929
env:
3030
- name: CLICKHOUSE_SKIP_USER_SETUP

0 commit comments

Comments
 (0)