TrueChartsClone/charts/dependency/clickhouse/values.yaml

71 lines
1.8 KiB
YAML
Raw Normal View History

image:
repository: tccr.io/truecharts/clickhouse
pullPolicy: IfNotPresent
tag: 22.11.1.1360@sha256:b6c13efe6acbd1bec9228b482b428019b039dbec602cf808944f28b9abaab0bb
controller:
type: statefulset
strategy: RollingUpdate
rollingUpdate:
unavailable: 1
securityContext:
readOnlyRootFilesystem: false
# Optional capabilities advanced ClickHouse features. See also:
# https://github.com/ClickHouse/ClickHouse/blob/master/docker/server/README.md#linux-capabilities
# https://kb.altinity.com/altinity-kb-setup-and-maintenance/altinity-kb-clickhouse-in-docker/
# https://github.com/ClickHouse/ClickHouse/blob/b844c36a9d5e76300a88b4f49e6debccf1ad22e4/programs/install/Install.cpp#L793-L804
# capabilities:
# add:
# - IPC_LOCK
# - NET_ADMIN
# - SYS_NICE
service:
main:
ports:
main:
port: 8123
protocol: HTTP
targetPort: 8123
volumeClaimTemplates:
data:
enabled: true
mountPath: /var/lib/clickhouse
probes:
liveness:
type: HTTP
path: /ping
readiness:
type: HTTP
path: /ping
startup:
type: HTTP
path: /ping
clickhouseDatabase: "test"
clickhouseUsername: "test"
clickhousePassword: "testpass"
clickhouseDefaultAccessManagement: 0
existingSecret: ""
secret:
credentials:
enabled: true
data:
clickhouse-password: '{{ ( .Values.clickhousePassword | default "empty" ) }}'
env:
CLICKHOUSE_DB: "{{ .Values.clickhouseDatabase }}"
CLICKHOUSE_USER: "{{ .Values.clickhouseUsername }}"
CLICKHOUSE_DEFAULT_ACCESS_MANAGEMENT: "{{ .Values.clickhouseDefaultAccessManagement }}"
CLICKHOUSE_PASSWORD:
secretKeyRef:
name: '{{ .Values.existingSecret | default ( printf "%s-credentials" ( include "tc.common.names.fullname" . ) ) }}'
key: "clickhouse-password"
chore(questions): replace questions parts with templates (#3402) * chore(questions): replace port parts with templates * chore(questions): replace controller parts with templates * remove tons of whitespce * remove quotes from strings on templates * make complete controller an include * default to recreate * remove replica and strategies as it's covered from controllerStrtegies include * remove whitespace again * replace controllertype with include (deployment/daemonset/statefulset) * replace advanced port part except targetport * remove more quotes * add hidden toggle of enable the port * new includes * update build script * controller deploy/stateful/deamon template changes * replace controllerStrategies with replicas, replica#, strategy, recreate * move 2 templates into a subfolder * remove quotes * remove disabled portals from questions and defined them on values * remove enabled portal from the questions and add it on values * one more app * Portal cleanup * remove portal templates * add more includes * replace portal links * move some templates in folders * replace ingressRoot with template * more grouping * replace persistenceroot with template * replace serviceExpertRoot * replace serviceroot * fix a rogue one * vctRoot * securityContext cleanup * remove quotes from templates on string * replace vctRoot * replace advanedSecurityRoot * replace podsecurity root * Update .github/scripts/build-catalog.sh * Update values.yaml * remove dupe portal * update build-release script * fix paths * fix apps with imageSelector Co-authored-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
2022-08-08 21:25:02 +00:00
portal:
enabled: false