Set values for address, username, and password.
Make the password into a hash for the clickhouse installation.
printf `printf 'my-password' | sha256sum` ; echo
# 6fa2288c361becce3e30ba4c41be7d8ba01e3580566f7acc76a7f99994474c46
Add the user to your ClickHouseInstallation
apiVersion: clickhouse.altinity.com/v1
kind: ClickHouseInstallation
metadata:
name: my-name
namespace: observability
spec:
configuration:
users:
jaeger/password_sha256_hex: 6fa2288c361becce3e30ba4c41be7d8ba01e3580566f7acc76a7f99994474c46
jaeger/networks/ip:
- "10.0.0.0/16"
- "0.0.0.0/0"
- "::/0"
jaeger/allow_databases/database:
- default
# ... elided ...
Set the storage with a config similar to
storage:
type: grpc-plugin
grpcPlugin:
image: ghcr.io/jaegertracing/jaeger-clickhouse:0.13.0
options:
grpc-storage-plugin:
binary: /plugin/jaeger-clickhouse
configuration-file: /plugin-config/config.yaml
log-level: debug
Mount the config.yaml file
volumeMounts:
- name: plugin-config
mountPath: /plugin-config
volumes:
- name: plugin-config
secret:
secretName: jaeger-clickhouse