From d8ecbfd7921ce4bb64d0a1581d32ca994021f18c Mon Sep 17 00:00:00 2001 From: Owais Lone Date: Tue, 17 Aug 2021 16:24:21 +0530 Subject: [PATCH] Added daemonset e2e tests --- tests/e2e/daemonset-features/00-assert.yaml | 14 +++++++++++++ tests/e2e/daemonset-features/00-install.yaml | 21 ++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 tests/e2e/daemonset-features/00-assert.yaml create mode 100644 tests/e2e/daemonset-features/00-install.yaml diff --git a/tests/e2e/daemonset-features/00-assert.yaml b/tests/e2e/daemonset-features/00-assert.yaml new file mode 100644 index 0000000000..d862c1f6a2 --- /dev/null +++ b/tests/e2e/daemonset-features/00-assert.yaml @@ -0,0 +1,14 @@ +apiVersion: apps/v1 +kind: DaemonSet +metadata: + name: daemonset-collector +spec: + template: + spec: + hostNetwork: true + containers: + - args: + - --config=/conf/collector.yaml + name: otc-container +status: + numberReady: 1 diff --git a/tests/e2e/daemonset-features/00-install.yaml b/tests/e2e/daemonset-features/00-install.yaml new file mode 100644 index 0000000000..3dde940cf4 --- /dev/null +++ b/tests/e2e/daemonset-features/00-install.yaml @@ -0,0 +1,21 @@ +apiVersion: opentelemetry.io/v1alpha1 +kind: OpenTelemetryCollector +metadata: + name: daemonset +spec: + mode: daemonset + hostNetwork: true + config: | + receivers: + jaeger: + protocols: + grpc: + processors: + exporters: + logging: + service: + pipelines: + traces: + receivers: [jaeger] + processors: [] + exporters: [logging]