Skip to content

Commit 03f94ec

Browse files
authored
Merge pull request #78118 from dfitzmau/OSDOCS-10959
OSDOCS-10959: Fixed a DNS example in the Examples: IP management file
2 parents 233fea2 + c877b72 commit 03f94ec

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

modules/virt-example-nmstate-IP-management.adoc

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -116,20 +116,21 @@ metadata:
116116
spec:
117117
nodeSelector:
118118
kubernetes.io/hostname: <target_node>
119-
dns-resolver:
120-
config:
121-
search:
122-
- example.com
123-
- example.org
124-
server:
125-
- 2001:db8:f::1
126-
- 192.0.2.251
119+
desiredState:
120+
dns-resolver:
121+
config:
122+
search:
123+
- example.com
124+
- example.org
125+
server:
126+
- 2001:db8:f::1
127+
- 192.0.2.251
127128
# ...
128129
----
129130

130131
The following examples show situations that require configuring a network interface to store DNS values:
131132

132-
* Configure a static DNS for a network interface with an automatic IP configuration. Note that for this configuration, you must set the `auto-dns` parameter to `false`, so that the Kubernetes NMState Operator can store custom DNS settings for the network interface.
133+
* Configure a static DNS for a network interface with an automatic IP configuration. Note that for this configuration, you must set the `auto-dns` parameter to `false`, so that the Kubernetes NMState Operator can store custom DNS settings for the network interface.
133134
+
134135
[source,yaml]
135136
----

0 commit comments

Comments
 (0)