From 4270cce3ffb2028cf1966b8e714aa8d2c753feb4 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 | 15 ++++++++++++++ tests/e2e/daemonset-features/00-install.yaml | 21 ++++++++++++++++++++ 2 files changed, 36 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..7121692174 --- /dev/null +++ b/tests/e2e/daemonset-features/00-assert.yaml @@ -0,0 +1,15 @@ +apiVersion: apps/v1 +kind: DaemonSet +metadata: + name: daemonset-collector +spec: + template: + spec: + hostNetwork: true + containers: + - args: + - --config=/conf/collector.yaml + name: otc-container +status: + replicas: 1 + readyReplicas: 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]