Skip to content

Commit

Permalink
feat: add assertions for added attributes to node due to enable of we…
Browse files Browse the repository at this point in the history
…bhook
  • Loading branch information
Tamir David authored and Tamir David committed Oct 29, 2024
1 parent da0448b commit ec2aee2
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/e2e/helm-chart/assert-instrumented-and-pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,12 @@ status:
(value != null): true
- key: process.pid
(value != null): true
- key: k8s.namespace.name
(value != null): true
- key: k8s.container.name
(value != null): true
- key: k8s.pod.name
(value != null): true
---
apiVersion: odigos.io/v1alpha1
kind: InstrumentationInstance
Expand Down
6 changes: 6 additions & 0 deletions tests/e2e/multi-apps/assert-instrumented-and-pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,12 @@ status:
(value != null): true
- key: process.pid
(value != null): true
- key: k8s.namespace.name
(value != null): true
- key: k8s.container.name
(value != null): true
- key: k8s.pod.name
(value != null): true
---
apiVersion: odigos.io/v1alpha1
kind: InstrumentationInstance
Expand Down
24 changes: 24 additions & 0 deletions tests/e2e/workload-lifecycle/01-assert-instrumented.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,12 @@ status:
value: e2e-test
- key: process.pid
(value != null): true
- key: k8s.namespace.name
(value != null): true
- key: k8s.container.name
(value != null): true
- key: k8s.pod.name
(value != null): true
---
apiVersion: odigos.io/v1alpha1
kind: InstrumentedApplication
Expand Down Expand Up @@ -92,6 +98,12 @@ status:
value: e2e-test
- key: process.pid
(value != null): true
- key: k8s.namespace.name
(value != null): true
- key: k8s.container.name
(value != null): true
- key: k8s.pod.name
(value != null): true
---
apiVersion: odigos.io/v1alpha1
kind: InstrumentedApplication
Expand Down Expand Up @@ -125,6 +137,12 @@ status:
value: e2e-test
- key: process.pid
(value != null): true
- key: k8s.namespace.name
(value != null): true
- key: k8s.container.name
(value != null): true
- key: k8s.pod.name
(value != null): true
---
apiVersion: odigos.io/v1alpha1
kind: InstrumentedApplication
Expand Down Expand Up @@ -158,6 +176,12 @@ status:
value: e2e-test
- key: process.pid
(value != null): true
- key: k8s.namespace.name
(value != null): true
- key: k8s.container.name
(value != null): true
- key: k8s.pod.name
(value != null): true
---
apiVersion: odigos.io/v1alpha1
kind: InstrumentedApplication
Expand Down

0 comments on commit ec2aee2

Please sign in to comment.