File tree 3 files changed +10
-21
lines changed
tests/e2e/smoke-pod-dns-config
3 files changed +10
-21
lines changed Original file line number Diff line number Diff line change 1
- # skipping test, see https://github.com/open-telemetry/opentelemetry-operator/issues/1936
2
- apiVersion : v1
3
- kind : Pod
1
+ apiVersion : apps/v1
2
+ kind : Deployment
4
3
metadata :
5
4
name : poddnsconfig-collector
6
5
spec :
7
- containers :
8
- - name : otc-container
6
+ template :
7
+ spec :
8
+ dnsConfig :
9
+ nameservers :
10
+ - 8.8.8.8
11
+ searches :
12
+ - my.dns.search.suffix
9
13
status :
10
- phase : Running
14
+ readyReplicas : 1
Original file line number Diff line number Diff line change 8
8
- 8.8.8.8
9
9
searches :
10
10
- my.dns.search.suffix
11
- options :
12
- - name : ndots
13
- value : " 2"
14
- - name : edns0
15
11
config : |
16
12
receivers:
17
13
otlp:
Original file line number Diff line number Diff line change 12
12
file : 00-install.yaml
13
13
- assert :
14
14
file : 00-assert.yaml
15
- - name : step-01
16
- try :
17
- - script :
18
- content : kubectl exec -it poddnsconfig-collector -- cat /etc/resolv.conf | jq --raw-input . | jq --slurp
19
- outputs :
20
- - name : resolvconf
21
- value : (json_parse($stdout))
22
- - assert :
23
- resource :
24
- ($resolvconf) :
25
- nameserver : 8.8.8.8
You can’t perform that action at this time.
0 commit comments