Skip to content

Commit

Permalink
Allow customization of networkType
Browse files Browse the repository at this point in the history
Signed-off-by: Pravin Dsilva <[email protected]>
  • Loading branch information
Pravin Dsilva authored and yussufsh committed Feb 11, 2021
1 parent fc74d7e commit 592e516
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions playbooks/roles/ocp-config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Role Variables
| chronyconfig.content | no | "" | List of time NTP servers and options pair (see chronyconfig examples). If empty, bastion will try sync with some default ntp server (internet) AND local HW clock (with higher stratum). |
| chronyconfig.allow | no | "" | List of network cidr (X.X.X.X/Y) allowed to sync with bastion configured as NTP server |
| dhcp_shared_network | no | | Flag to update DHCP server work on a shared network. (Neither ACK nor NACK unknown clients) |
| cni_network_provider | no | OpenshiftSDN | Sets the default Container Network Interface (CNI) network provider for the cluster |

*chronyconfig variable example *

Expand Down
2 changes: 2 additions & 0 deletions playbooks/roles/ocp-config/defaults/main/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ enable_local_registry: false

chronyconfig:
enabled: true

cni_network_provider: OpenshiftSDN
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ networking:
clusterNetwork:
- cidr: 10.128.0.0/14
hostPrefix: 23
networkType: OpenShiftSDN
networkType: {{ cni_network_provider }}
serviceNetwork:
- 172.30.0.0/16
platform:
Expand Down

0 comments on commit 592e516

Please sign in to comment.