Skip to content

Commit

Permalink
Added daemonset e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
owais committed Aug 17, 2021
1 parent f408dce commit d8ecbfd
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tests/e2e/daemonset-features/00-assert.yaml
Original file line number Diff line number Diff line change
@@ -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
21 changes: 21 additions & 0 deletions tests/e2e/daemonset-features/00-install.yaml
Original file line number Diff line number Diff line change
@@ -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]

0 comments on commit d8ecbfd

Please sign in to comment.