-
Notifications
You must be signed in to change notification settings - Fork 468
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1250 from antip00/0.22.0_logs_container_customizing
Adding tests for log container customizing.
- Loading branch information
Showing
5 changed files
with
4,309 additions
and
5,066 deletions.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
tests/e2e/manifests/chi/test-043-0-logs-container-customizing.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,32 @@ | ||
apiVersion: clickhouse.altinity.com/v1 | ||
kind: ClickHouseInstallation | ||
metadata: | ||
name: test-043-0-logs-customization | ||
spec: | ||
templates: | ||
podTemplates: | ||
- name: pod-template | ||
spec: | ||
containers: | ||
- name: clickhouse | ||
image: clickhouse/clickhouse-server:22.3 | ||
- name: clickhouse-log | ||
image: registry.access.redhat.com/ubi8/ubi-minimal:latest | ||
command: | ||
- "/bin/sh" | ||
- "-c" | ||
- "--" | ||
args: | ||
- "while true; do sleep 30; done;" | ||
volumeClaimTemplates: | ||
- name: log-volume-template | ||
spec: | ||
accessModes: | ||
- ReadWriteOnce | ||
resources: | ||
requests: | ||
storage: 10Mi | ||
defaults: | ||
templates: | ||
podTemplate: pod-template | ||
logVolumeClaimTemplate: log-volume-template |
24 changes: 24 additions & 0 deletions
24
tests/e2e/manifests/chi/test-043-1-logs-container-customizing.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,24 @@ | ||
apiVersion: clickhouse.altinity.com/v1 | ||
kind: ClickHouseInstallation | ||
metadata: | ||
name: test-043-1-logs-customization | ||
spec: | ||
templates: | ||
podTemplates: | ||
- name: pod-template | ||
spec: | ||
containers: | ||
- name: clickhouse | ||
image: clickhouse/clickhouse-server:22.3 | ||
volumeClaimTemplates: | ||
- name: log-volume-template | ||
spec: | ||
accessModes: | ||
- ReadWriteOnce | ||
resources: | ||
requests: | ||
storage: 10Mi | ||
defaults: | ||
templates: | ||
podTemplate: pod-template | ||
logVolumeClaimTemplate: log-volume-template |
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.