Skip to content

Commit

Permalink
fix/config: template install-config was not rendering correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
mtulio committed Feb 17, 2023
1 parent 55271eb commit 8d93b64
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions roles/config/templates/install-config.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,17 @@ apiVersion: v1
baseDomain: {{ config_base_domain }}
{% endif %}

compute:
# Compute Pool
{% if cluster_profile == 'ha' %}
{{ config_compute }}
compute: {{ config_compute }}

{% elif cluster_profile == 'sno' %}
compute:
- name: worker
replicas: 0
{% endif %}

# Control Plane
controlPlane: {{ config_controlplane }}

metadata:
Expand Down

0 comments on commit 8d93b64

Please sign in to comment.