Skip to content
This repository was archived by the owner on Aug 18, 2023. It is now read-only.

Commit 732de65

Browse files
authored
Support minimalistic 3-node OCP config (#66)
Fixes #65 Signed-off-by: Yussuf Shaikh <[email protected]>
1 parent 89fd1d2 commit 732de65

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

docs/quickstart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Update the following variables specific to your cluster requirement. All the var
5151
* `memory` : Memory in MBs required for master nodes.
5252
* `vcpu` : Number of VCPUs to use for master nodes.
5353
* `count` : Number of master nodes.
54-
* `worker` : Map of below parameters for worker hosts. (Atleaset 2 Workers are required for running router pods in HA mode)
54+
* `worker` : Map of below parameters for worker hosts.
5555
* `memory` : Memory in MBs required for worker nodes.
5656
* `vcpu` : Number of VCPUs to use for worker nodes.
5757
* `count` : Number of worker nodes.

modules/3_helpernode/templates/helpernode_vars.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,14 @@ masters:
2828
ipaddr: "${m.ip}"
2929
macaddr: "${m.mac}"
3030
%{ endfor ~}
31+
%{ if length(worker_info) > 0 }
3132
workers:
3233
%{ for w in worker_info ~}
3334
- name: "${w.name}"
3435
ipaddr: "${w.ip}"
3536
macaddr: "${w.mac}"
3637
%{ endfor ~}
38+
%{ endif }
3739
chronyconfig:
3840
enabled: ${chrony_config}
3941
content:
@@ -65,3 +67,6 @@ setup_registry:
6567
release_name: "ocp-release"
6668
release_tag: "${local_registry.ocp_release_tag}"
6769
%{ endif }
70+
71+
# This is required for latest helpernode. TODO: Remove when https://github.com/RedHatOfficial/ocp4-helpernode/pull/140 is merged
72+
helm_source: "https://get.helm.sh/helm-v3.4.0-linux-ppc64le.tar.gz"

variables.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,13 +159,13 @@ variable "installer_log_level" {
159159
variable "helpernode_tag" {
160160
description = "Set the branch/tag name or commit# for using ocp4-helpernode repo"
161161
# Checkout level for https://github.com/RedHatOfficial/ocp4-helpernode which is used for setting up services required on bastion node
162-
default = "5eab3db53976bb16be582f2edc2de02f7510050d"
162+
default = "dd8a0767c677fc862e45b6d70e5d04656ced5d28"
163163
}
164164

165165
variable "install_playbook_tag" {
166166
description = "Set the branch/tag name or commit# for using ocp4-playbooks repo"
167167
# Checkout level for https://github.com/ocp-power-automation/ocp4-playbooks which is used for running ocp4 installations steps
168-
default = "b988d620bd70284c7674e7a94e107c456c940dd0"
168+
default = "c6e6038dba0856e621697c876bd3a65927f46166"
169169
}
170170

171171
variable "ansible_extra_options" {

0 commit comments

Comments
 (0)