mirror of
https://github.com/containers/podman.git
synced 2025-11-30 18:18:18 +08:00
Add DNS, DNSOption and DNSSearch to quadlet pod
Signed-off-by: Steve Jibson <steve@jibson.com>
This commit is contained in:
6
test/e2e/quadlet/dns-option.pod
Normal file
6
test/e2e/quadlet/dns-option.pod
Normal file
@@ -0,0 +1,6 @@
|
||||
## assert-podman-pre-args "--dns-option=ndots:1"
|
||||
## assert-podman-pre-args "--dns-option=color:blue"
|
||||
|
||||
[Pod]
|
||||
DNSOption=ndots:1
|
||||
DNSOption=color:blue
|
||||
6
test/e2e/quadlet/dns-search.pod
Normal file
6
test/e2e/quadlet/dns-search.pod
Normal file
@@ -0,0 +1,6 @@
|
||||
## assert-podman-pre-args "--dns-search=foo.com"
|
||||
## assert-podman-pre-args "--dns-search=bar.com"
|
||||
|
||||
[Pod]
|
||||
DNSSearch=foo.com
|
||||
DNSSearch=bar.com
|
||||
6
test/e2e/quadlet/dns.pod
Normal file
6
test/e2e/quadlet/dns.pod
Normal file
@@ -0,0 +1,6 @@
|
||||
## assert-podman-pre-args "--dns=8.7.7.7"
|
||||
## assert-podman-pre-args "--dns=8.8.8.8"
|
||||
|
||||
[Pod]
|
||||
DNS=8.7.7.7
|
||||
DNS=8.8.8.8
|
||||
@@ -1002,6 +1002,9 @@ BOGUS=foo
|
||||
Entry("Build - Variant Key", "variant.build"),
|
||||
|
||||
Entry("Pod - Basic", "basic.pod"),
|
||||
Entry("Pod - DNS", "dns.pod"),
|
||||
Entry("Pod - DNS Option", "dns-option.pod"),
|
||||
Entry("Pod - DNS Search", "dns-search.pod"),
|
||||
Entry("Pod - Host", "host.pod"),
|
||||
Entry("Pod - IP", "ip.pod"),
|
||||
Entry("Pod - Name", "name.pod"),
|
||||
|
||||
Reference in New Issue
Block a user