-
Notifications
You must be signed in to change notification settings - Fork 370
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Flow Visibility] Add e2e tests for Flow Aggregator with ClickHouse (#…
…3673) * Add ClickHouse client e2e test Signed-off-by: Shawn Wang <[email protected]> * Run Flow Aggregator e2e tests separately This change introduces the following changes to the e2e tests: - only run Flow Aggregator e2e tests if requested explicitly by flag - setup antrea-agent with proper config as part of manifest generation - update Github workflow for kind tests Signed-off-by: Shawn Wang <[email protected]>
- Loading branch information
Showing
12 changed files
with
609 additions
and
65 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
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,26 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
namespace: flow-visibility | ||
|
||
resources: | ||
- clickhouse.yml | ||
|
||
configMapGenerator: | ||
- name: clickhouse-mounted-configmap | ||
namespace: flow-visibility | ||
files: | ||
- provisioning/datasources/create_table.sh | ||
|
||
# CLICKHOUSE_CONFIG_MAP_NAME exports the value in `metadata.name` from `ConfigMap` named `clickhouse-mounted-configmap`, | ||
# which is used for inserting the value to a CRD for an object of kind `ClickHouseInstallation` | ||
vars: | ||
- name: CLICKHOUSE_CONFIG_MAP_NAME | ||
objref: | ||
kind: ConfigMap | ||
name: clickhouse-mounted-configmap | ||
apiVersion: v1 | ||
fieldref: | ||
fieldpath: metadata.name | ||
|
||
configurations: | ||
- kustomize-config.yml |
6 changes: 6 additions & 0 deletions
6
build/yamls/flow-visibility/patches/e2e/imagePullPolicyClickhouse.yml
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,6 @@ | ||
- op: add | ||
path: /spec/templates/podTemplates/0/spec/containers/0/imagePullPolicy | ||
value: IfNotPresent | ||
- op: add | ||
path: /spec/templates/podTemplates/0/spec/containers/1/imagePullPolicy | ||
value: IfNotPresent |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
flowCollector: | ||
flowPollInterval: "1s" | ||
activeFlowExportTimeout: "2s" | ||
idleFlowExportTimeout: "1s" |
Oops, something went wrong.