Skip to content

Commit e77cba3

Browse files
authored
Merge pull request #72734 from jab-rh/OCPBUGS-30311
OCPBUGS-30311: Remove unused IPsec config from Butane
2 parents b227b9d + 26fd01c commit e77cba3

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

modules/nw-ovn-ipsec-north-south-enable.adoc

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ spec:
6767
<2> Specifies the name of the interface to create on the host.
6868
<3> Specifies the host name of the cluster node that terminates the IPsec tunnel on the cluster side. The name should match SAN `[Subject Alternate Name]` from your supplied PKCS#12 certificates.
6969
<4> Specifies the external host name, such as `host.example.com`. The name should match the SAN `[Subject Alternate Name]` from your supplied PKCS#12 certificates.
70-
<5> Specifies the IP address of the external host, such as `10.1.2.3.4/32`.
70+
<5> Specifies the IP address of the external host, such as `10.1.2.3/32`.
7171

7272
.Example NMState IPsec tunnel configuration
7373
[source,yaml]
@@ -100,7 +100,7 @@ spec:
100100
<2> Specifies the name of the interface to create on the host.
101101
<3> Specifies the host name of the cluster node that terminates the IPsec tunnel on the cluster side. The name should match SAN `[Subject Alternate Name]` from your supplied PKCS#12 certificates.
102102
<4> Specifies the external host name, such as `host.example.com`. The name should match the SAN `[Subject Alternate Name]` from your supplied PKCS#12 certificates.
103-
<5> Specifies the IP address of the external host, such as `10.1.2.3.4/32`.
103+
<5> Specifies the IP address of the external host, such as `10.1.2.3/32`.
104104
--
105105

106106
.. To configure the IPsec interface, enter the following command:
@@ -117,9 +117,9 @@ $ oc create -f ipsec-config.yaml
117117
* `ca.pem`: The certificate authority that you signed your certificates with
118118
--
119119

120-
. Create a machine config to apply the IPsec configuration to your cluster by using the following two steps:
120+
. Create a machine config to add your certificates to the cluster:
121121

122-
.. To add the IPsec configuration, create Butane config files for the control plane and worker nodes with the following contents:
122+
.. To create Butane config files for the control plane and worker nodes, enter the following command:
123123
+
124124
[source,terminal,subs="attributes+"]
125125
----
@@ -128,7 +128,7 @@ $ for role in master worker; do
128128
variant: openshift
129129
version: {product-version}.0
130130
metadata:
131-
name: 99-$\{role}-import-certs-enable-svc-os-ext
131+
name: 99-$\{role}-import-certs
132132
labels:
133133
machineconfiguration.openshift.io/role: $role
134134
systemd:
@@ -150,11 +150,6 @@ $ for role in master worker; do
150150
WantedBy=multi-user.target
151151
storage:
152152
files:
153-
- path: /etc/ipsec.d/ipsec-endpoint-config.conf
154-
mode: 0400
155-
overwrite: true
156-
contents:
157-
local: ipsec-endpoint-config.conf
158153
- path: /etc/pki/certs/ca.pem
159154
mode: 0400
160155
overwrite: true

0 commit comments

Comments
 (0)