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>
This commit is contained in:
Devin Buhl authored and GitHub committed 2024-01-15 19:31:45 -05:00
1 parent b602a7a1f5
commit 93c9d21581
90 files changed
+360 -354

No files matched your search

@@ -7,14 +7,14 @@ metadata:
spec:
interval: 30m
ref:
branch: << bootstrap_github_repository_branch | default('main', true) >>
<% if bootstrap_private_github_repo | default(false) %>
branch: "{% bootstrap_github_repository_branch | default('main', true) %}"
#% if bootstrap_private_github_repo | default(false) %#
secretRef:
name: github-deploy-key
url: "ssh://github.com/<< bootstrap_github_username >>/<< bootstrap_github_repository_name >>"
<% else %>
url: "https://github.com/<< bootstrap_github_username >>/<< bootstrap_github_repository_name >>.git"
<% endif %>
url: "ssh://github.com/{% bootstrap_github_username %}/{% bootstrap_github_repository_name %}"
#% else %#
url: "https://github.com/{% bootstrap_github_username %}/{% bootstrap_github_repository_name %}.git"
#% endif %#
ignore: |
# exclude all
/*
@@ -6,4 +6,4 @@ metadata:
namespace: flux-system
spec:
interval: 1h
url: https://backube.github.io/helm-charts/
url: https://backube.github.io/helm-charts
@@ -6,4 +6,4 @@ metadata:
namespace: flux-system
spec:
interval: 1h
url: https://charts.jetstack.io/
url: https://charts.jetstack.io
@@ -6,4 +6,4 @@ metadata:
namespace: flux-system
spec:
interval: 1h
url: https://ori-edge.github.io/k8s_gateway/
url: https://ori-edge.github.io/k8s_gateway
@@ -6,4 +6,4 @@ metadata:
namespace: flux-system
spec:
interval: 1h
url: https://kubernetes.github.io/dashboard/
url: https://kubernetes.github.io/dashboard
@@ -6,4 +6,4 @@ metadata:
namespace: flux-system
spec:
interval: 1h
url: https://piraeus.io/helm-charts/
url: https://piraeus.io/helm-charts
@@ -5,6 +5,6 @@ metadata:
name: cluster-secrets
namespace: flux-system
stringData:
SECRET_DOMAIN: "<< bootstrap_cloudflare_domain >>"
SECRET_ACME_EMAIL: "<< bootstrap_acme_email >>"
SECRET_CLOUDFLARE_TUNNEL_ID: "<< bootstrap_cloudflare_tunnel_id >>"
SECRET_DOMAIN: "{% bootstrap_cloudflare_domain %}"
SECRET_ACME_EMAIL: "{% bootstrap_acme_email %}"
SECRET_CLOUDFLARE_TUNNEL_ID: "{% bootstrap_cloudflare_tunnel_id %}"
@@ -5,17 +5,17 @@ metadata:
name: cluster-settings
namespace: flux-system
data:
TIMEZONE: "<< bootstrap_timezone >>"
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 %}"
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 %#