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 4270cce
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
15 changes: 15 additions & 0 deletions tests/e2e/daemonset-features/00-assert.yaml
Original file line number Diff line number Diff line change
@@ -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
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 4270cce

Please sign in to comment.