-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[perforator][helm] add postgresql, clickhouse, minio subcharts for te…
…sting purposes commit_hash:15886a55d3addfa44330664a987fe8fdffcb25e2
- Loading branch information
Showing
17 changed files
with
246 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
perforator/deploy/kubernetes/helm/perforator/charts/perforator-dev/Chart.lock
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
dependencies: | ||
- name: postgresql | ||
repository: oci://registry-1.docker.io/bitnamicharts | ||
version: 16.4.7 | ||
- name: clickhouse | ||
repository: oci://registry-1.docker.io/bitnamicharts | ||
version: 7.2.0 | ||
- name: minio | ||
repository: oci://registry-1.docker.io/bitnamicharts | ||
version: 14.10.5 | ||
digest: sha256:7f4cb23868850b1ac5bcb979ea2123ba333848fbfb4e735f278d0f062ce4857f | ||
generated: "2025-02-12T15:01:08.120694544+03:00" |
37 changes: 37 additions & 0 deletions
37
perforator/deploy/kubernetes/helm/perforator/charts/perforator-dev/Chart.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
apiVersion: v2 | ||
name: perforator-dev | ||
description: Use this chart to deploy postgresql, clickhouse, minio for testing purposes | ||
dependencies: | ||
- condition: postgresql.enabled | ||
name: postgresql | ||
repository: oci://registry-1.docker.io/bitnamicharts | ||
version: 16.x.x | ||
- condition: clickhouse.enabled | ||
name: clickhouse | ||
repository: oci://registry-1.docker.io/bitnamicharts | ||
version: 7.x.x | ||
- condition: minio.enabled | ||
name: minio | ||
repository: oci://registry-1.docker.io/bitnamicharts | ||
version: 14.x.x | ||
|
||
# A chart can be either an 'application' or a 'library' chart. | ||
# | ||
# Application charts are a collection of templates that can be packaged into versioned archives | ||
# to be deployed. | ||
# | ||
# Library charts provide useful utilities or functions for the chart developer. They're included as | ||
# a dependency of application charts to inject those utilities and functions into the rendering | ||
# pipeline. Library charts do not define any templates and therefore cannot be deployed. | ||
type: application | ||
|
||
# This is the chart version. This version number should be incremented each time you make changes | ||
# to the chart and its templates, including the app version. | ||
# Versions are expected to follow Semantic Versioning (https://semver.org/) | ||
version: 0.0.0 | ||
|
||
# This is the version number of the application being deployed. This version number should be | ||
# incremented each time you make changes to the application. Versions are not expected to | ||
# follow Semantic Versioning. They should reflect the version the application is using. | ||
# It is recommended to use it with quotes. | ||
appVersion: "0.0.0" |
103 changes: 103 additions & 0 deletions
103
perforator/deploy/kubernetes/helm/perforator/charts/perforator-dev/values.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
|
||
# Database subcharts parameters. | ||
# To test perforator you can enable postgresql, clickhouse, minio subcharts. | ||
|
||
postgresql: | ||
# Enable the PostgreSQL helm subchart. | ||
enabled: true | ||
commonAnnotations: | ||
helm.sh/hook: pre-install,pre-upgrade | ||
helm.sh/hook-weight: "-20" | ||
auth: | ||
# Assign a password to the "postgres" admin user. | ||
enablePostgresUser: true | ||
# Name for a custom user to create. | ||
username: perforator | ||
# Password for the custom user to create. | ||
password: perforator | ||
# Name for a custom database to create. | ||
database: perforator | ||
# Name of existing secret to use for PostgreSQL credentials. | ||
existingSecret: "" | ||
|
||
tls: | ||
# Enable TLS traffic support. | ||
enabled: true | ||
# Generate automatically self-signed TLS certificates. | ||
autoGenerated: true | ||
|
||
# PostgreSQL architecture (`standalone` or `replication`). | ||
architecture: standalone | ||
primary: | ||
# Set PostgreSQL container requests and limits for resources. | ||
resources: {} | ||
|
||
clickhouse: | ||
# Enable the PostgreSQL helm subchart. | ||
enabled: true | ||
commonAnnotations: | ||
helm.sh/hook: pre-install,pre-upgrade | ||
helm.sh/hook-weight: "-20" | ||
auth: | ||
# ClickHouse Admin username. | ||
username: "perforator" | ||
# ClickHouse Admin password. | ||
password: "perforator" | ||
|
||
# Dictionary of initdb scripts. | ||
initdbScripts: | ||
create_perforator_db.sh: | | ||
#!/bin/bash | ||
set -e | ||
clickhouse-client \ | ||
--user="${CLICKHOUSE_ADMIN_USER}" \ | ||
--password="${CLICKHOUSE_ADMIN_PASSWORD}" \ | ||
--query="CREATE DATABASE IF NOT EXISTS perforator" | ||
tls: | ||
# Enable TLS traffic support. | ||
enabled: true | ||
# Generate automatically self-signed TLS certificates. | ||
autoGenerated: true | ||
|
||
zookeeper: | ||
# Deploy Zookeeper subchart. | ||
enabled: false | ||
|
||
keeper: | ||
# Deploy ClickHouse keeper. | ||
enabled: true | ||
|
||
# Set ClickHouse container requests and limits for resources. | ||
resources: {} | ||
|
||
minio: | ||
# Enable the MinIO helm subchart. | ||
enabled: true | ||
commonAnnotations: | ||
helm.sh/hook: pre-install,pre-upgrade | ||
helm.sh/hook-weight: "-20" | ||
auth: | ||
# Root username. | ||
rootUser: perforator | ||
# Password for root user. | ||
rootPassword: perforator | ||
# Name of an existing secret containing credentials. | ||
existingSecret: "" | ||
# Buckets to create, | ||
defaultBuckets: "perforator-profile, perforator-binary, perforator-task-results, perforator-binary-gsym" | ||
|
||
provisioning: | ||
# Enable minio provisioning job. | ||
enabled: true | ||
# Allow downloads in order for the UI to work. | ||
extraCommands: | ||
- "mc anonymous set download provisioning/perforator-task-results" | ||
|
||
tls: | ||
# Enable minio TLS support. | ||
enabled: true | ||
# Generate automatically self-signed TLS certificates. | ||
autoGenerated: true | ||
# Set minio container requests and limits for resources. | ||
resources: {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.