Skip to content

feat: switch to DHI images for clickhouse, zookeeper, valkey, postgres #305

Description

@jpaodev

Describe the feature

  • I propose switching to DHI (Docker Hardened Images) version of the images used in the chart
  • I should be able to provide updated chart for clickhouse, valkey, zookeeper. I have edited the Chart.yaml and the chart itself to achieve this in a backwards-compatible way. (see below)
  • I am running valkey DHI image (should be full drop-in replacement)
  • I am running clickhouse, zookeeper DHI images (was a pain to replace, removed the original charts and added own resources e.g. clickhouse-secret.yaml nextauth-secret.yaml zookeeper-pdb.yaml clickhouse-service.yaml postgresql-secret.yaml zookeeper-service.yaml

Important: Imo it would be much cleaner using the DHI helm charts as dependencies instead of addign own resources (e.g. clickhouse-statefulset.yaml and similar), however I did it this way to have full compatibility with data from previous PVCs (Persistent Volume Claims).

Existing DHI images:

apiVersion: v2
name: langfuse
version: 1.5.14
description: Open source LLM engineering platform - LLM observability, metrics, evaluations, prompt management.
type: application
keywords:
  - langfuse
  - llm
  - observability
  - prompt management
  - metrics
home: https://langfuse.com/
sources:
  - https://github.com/langfuse/langfuse
  - https://github.com/langfuse/langfuse-k8s
dependencies:
  - name: postgresql
    version: 16.4.9
    repository: oci://registry-1.docker.io/bitnamicharts
    condition: postgresql.deploy
  - name: valkey
    version: 2.2.4
    repository: oci://registry-1.docker.io/bitnamicharts
    condition: redis.deploy
    alias: redis
  - name: minio
    version: 14.10.5
    repository: oci://registry-1.docker.io/bitnamicharts
    condition: s3.deploy
    alias: s3
  - name: common
    version: 2.30.0
    repository: oci://registry-1.docker.io/bitnamicharts
maintainers:
  - name: langfuse
    email: contact@langfuse.com
    url: https://langfuse.com/
icon: https://langfuse.com/langfuse_logo.png
appVersion: "3.137.0"

Use cases

  • Should fix LFE-7883 pretty much completely
  • Massively increases security by using minimal / hardened images

Additional information

No response

Are you interested to contribute this feature?

Yes

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions