Add DNS, DNSOption and DNSSearch to quadlet pod

Signed-off-by: Steve Jibson <steve@jibson.com>
This commit is contained in:
Steve Jibson
2024-09-04 11:31:32 -06:00
parent ca8d87e44f
commit 15bde1abdb
6 changed files with 61 additions and 1 deletions

View 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

View 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
View 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

View File

@@ -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"),