Skip to content

Commit

Permalink
add option to set cluster domain
Browse files Browse the repository at this point in the history
  • Loading branch information
CrimsonFez committed Jun 20, 2023
1 parent c6db652 commit a00d710
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ Role Variables

> rke2_containerd_device_ownership_from_security_context: true
### Change cluster domain

> rke2_cluster_domain: domain.example.net
# The following variables are applied to nodes
### choose the node type
> rke2_node_type: 'server' \
Expand Down
3 changes: 3 additions & 0 deletions templates/rke2-config.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ disable:
{% for line in rke2_disable %}
- {{line}}
{% endfor %}
{% if rke2_cluster_domain is defined%}
cluster-domain: {{ rke2_cluster_domain }}
{% endif %}
{% endif %}
{% if rke2_kube_api_server_args is defined %}
kube-apiserver-arg:
Expand Down

0 comments on commit a00d710

Please sign in to comment.