Skip to content

Conversation

@devi12311
Copy link

1- Added possibility to create a profile for each user.
2- Made sure to include server settings in the cluster installation template
3- Added replacement logic for clickhouse-backup volumeMounts to bind to the created clickhouse volume.

2- Made sure to include server settings in the cluster installation template
3- Added replacement logic for clickhouse-backup volumeMounts to bind to the created clickhouse volume
@joshleecreates
Copy link
Collaborator

Thanks! Will review soon.

…ar container(for example clickhouse-backup)

2- Added tests for the implementation
3- Added resources variable for clickhouse container inside values.yaml
@joshleecreates joshleecreates self-assigned this Jan 26, 2026
@joshleecreates
Copy link
Collaborator

Thank you for adding tests!

  - Use data  PVC template name for mounts (fixes clickhouse-clickhouse-data mismatch)
  - Preserve full extraContainers YAML and append mounts.data volumeMounts
  - Add regression coverage for sidecar mounts and resources

2. Profiles/settings refactor + schema fixes
  - Apply {{ .name }}/profile whenever profile is set
  - Change users[].profile to string and add per‑user settings
  - Add profiles section and schema validation (including _ in usernames)
  - Set clickhouse.settings default to {} and sync schema/docs
@realyota
Copy link
Contributor

More changes added:

  1. Fix sidecar data volume mount + preserve extraContainers spec
  • Use the data PVC template name for mounts (fixes clickhouse-clickhouse-data mismatch)
  • Preserve full extraContainers YAML and append mounts.data volumeMounts
  • Add regression coverage for sidecar mounts and resources
  1. Profiles/settings refactor + schema fixes
  • Apply {{ .name }}/profile whenever profile is set
  • Change users[].profile to string and add per‑user settings
  • Add profiles section and schema validation (including _ in usernames and profiles)
  • Set clickhouse.settings default to {} and sync schema/docs

Notes / context

  • Refined how sidecars (e.g., clickhouse-backup) bind to the ClickHouse data PVC
  • Added tests for the new behavior
  • Added clickhouse.resources to values/schema

  - Use data  PVC template name for mounts (fixes clickhouse-clickhouse-data mismatch)
  - Preserve full extraContainers YAML and append mounts.data volumeMounts
  - Add regression coverage for sidecar mounts and resources

2. Profiles/settings refactor + schema fixes
  - Apply {{ .name }}/profile whenever profile is set
  - Change users[].profile to string and add per‑user settings
  - Add profiles section and schema validation (including _ in usernames)
  - Set clickhouse.settings default to {} and sync schema/docs

ups
# Conflicts:
#	tests/scenarios/smoke.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants