-
-
Notifications
You must be signed in to change notification settings - Fork 243
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: change jinja block/start delimiters for renovate support (#1163)
* feat: change jinja block/start delimiters for renovate support Signed-off-by: Devin Buhl <devin@buhl.casa> * fix: update renovate config an helm repos Signed-off-by: Devin Buhl <devin@buhl.casa> --------- Signed-off-by: Devin Buhl <devin@buhl.casa>
- Loading branch information
Showing
90 changed files
with
360 additions
and
354 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 15 additions & 15 deletions
30
bootstrap/templates/ansible/inventory/group_vars/kubernetes/supplemental.yaml.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
--- | ||
timezone: "<< bootstrap_timezone >>" | ||
github_username: "<< bootstrap_github_username >>" | ||
coredns_addr: "<< bootstrap_service_cidr.split(',')[0] | nthhost(10) >>" | ||
<% if bootstrap_nodes.master | length == 1 and not bootstrap_kube_api_addr %> | ||
kube_api_addr: "<< bootstrap_nodes.master[0].address >>" | ||
<% else %> | ||
kube_api_addr: "<< bootstrap_kube_api_addr >>" | ||
<% endif %> | ||
cluster_cidr: "<< bootstrap_cluster_cidr.split(',')[0] >>" | ||
service_cidr: "<< bootstrap_service_cidr.split(',')[0] >>" | ||
node_cidr: "<< bootstrap_node_cidr >>" | ||
<% if bootstrap_ipv6_enabled | default(false) %> | ||
cluster_cidr_v6: "<< bootstrap_cluster_cidr.split(',')[1] >>" | ||
service_cidr_v6: "<< bootstrap_service_cidr.split(',')[1] >>" | ||
<% endif %> | ||
timezone: "{% bootstrap_timezone %}" | ||
github_username: "{% bootstrap_github_username %}" | ||
coredns_addr: "{% bootstrap_service_cidr.split(',')[0] | nthhost(10) %}" | ||
#% if bootstrap_nodes.master | length == 1 and not bootstrap_kube_api_addr %# | ||
kube_api_addr: "{% bootstrap_nodes.master[0].address %}" | ||
#% else %# | ||
kube_api_addr: "{% bootstrap_kube_api_addr %}" | ||
#% endif %# | ||
cluster_cidr: "{% bootstrap_cluster_cidr.split(',')[0] %}" | ||
service_cidr: "{% bootstrap_service_cidr.split(',')[0] %}" | ||
node_cidr: "{% bootstrap_node_cidr %}" | ||
#% if bootstrap_ipv6_enabled | default(false) %# | ||
cluster_cidr_v6: "{% bootstrap_cluster_cidr.split(',')[1] %}" | ||
service_cidr_v6: "{% bootstrap_service_cidr.split(',')[1] %}" | ||
#% endif %# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
bootstrap/templates/ansible/inventory/group_vars/worker/main.yaml.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
<% if bootstrap_distribution == 'k3s' %> | ||
#% if bootstrap_distribution == 'k3s' %# | ||
--- | ||
# https://rancher.com/docs/k3s/latest/en/installation/install-options/agent-config/ | ||
# https://github.com/PyratLabs/ansible-role-k3s | ||
|
||
k3s_control_node: false | ||
k3s_agent: | ||
<% if bootstrap_ipv6_enabled | default(false) %> | ||
#% if bootstrap_ipv6_enabled | default(false) %# | ||
node-ip: "{{ ansible_host }},{{ ansible_default_ipv6.address }}" | ||
<% else %> | ||
#% else %# | ||
node-ip: "{{ ansible_host }}" | ||
<% endif %> | ||
#% endif %# | ||
pause-image: registry.k8s.io/pause:3.9 | ||
# TODO: Move these options to a kubelet config file | ||
kubelet-arg: | ||
- "image-gc-high-threshold=55" | ||
- "image-gc-low-threshold=50" | ||
<% endif %> | ||
#% endif %# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.