Skip to content

Commit 202b451

Browse files
committed
openshift: allow 2 ctlplanes
1 parent 860a8fa commit 202b451

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

kvirt/cluster/openshift/install-config.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,17 @@ controlPlane:
4646
replicas: {{ 1 if sno or sno_vm else ctlplanes }}
4747
{% if techpreview %}
4848
featureSet: TechPreviewNoUpgrade
49+
{% elif ctlplanes == 2 %}
50+
fencing:
51+
credentials:
52+
{% for num in range(0, 2) %}
53+
- hostname: {{ cluster }}-ctlplane-{{ num }}.{{ domain }}
54+
address: http://{{ ksushy_ip|default('192.168.122.1') }}:9000/redfish/v1/Systems/{{ config_client }}/{{ cluster }}-ctlplane-{{ num }}
55+
username: {{ bmc_user|default('dummy') }}
56+
password: {{ bmc_password|default('dummy') }}
57+
certificateVerification: Disabled
58+
{% endfor %}
59+
featureSet: DevPreviewNoUpgrade
4960
{% endif %}
5061
metadata:
5162
name: {{ cluster }}

0 commit comments

Comments
 (0)