fix: talos customization multiline string and ansible raw/endraw (#1275)

* chore: update readme and workflows

Signed-off-by: Devin Buhl <devin@buhl.casa>

* fix: ansible templating

Signed-off-by: Devin Buhl <devin@buhl.casa>

* fix: talos templating

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-30 21:22:33 -05:00
1 parent a2ce911a18
commit 0021acc522
12 files changed
+12 -4

No files matched your search

+1 -1
View File
@@ -22,7 +22,7 @@ cluster:
schematics: schematics:
enabled: true enabled: true
id: df491c50a5acc05b977ef00c32050e1ceb0df746e40b33c643ac8a9bfb7c7263 id: df491c50a5acc05b977ef00c32050e1ceb0df746e40b33c643ac8a9bfb7c7263
customization: customization: |-
extraKernelArgs: extraKernelArgs:
- net.ifnames=0 - net.ifnames=0
systemExtensions: systemExtensions:
+1
View File
@@ -1,4 +1,5 @@
--- ---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: "devcontainer" name: "devcontainer"
on: on:
+1
View File
@@ -1,4 +1,5 @@
--- ---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: "e2e" name: "e2e"
on: on:
+1
View File
@@ -1,4 +1,5 @@
--- ---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: "Flux Diff" name: "Flux Diff"
on: on:
+1
View File
@@ -1,4 +1,5 @@
--- ---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: "Kubeconform" name: "Kubeconform"
on: on:
+1
View File
@@ -1,4 +1,5 @@
--- ---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: "Label Sync" name: "Label Sync"
on: on:
+1
View File
@@ -1,4 +1,5 @@
--- ---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: "Labeler" name: "Labeler"
on: on:
+1
View File
@@ -1,4 +1,5 @@
--- ---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: "Lychee" name: "Lychee"
on: on:
+1
View File
@@ -1,4 +1,5 @@
--- ---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: "Release" name: "Release"
on: on:
+1 -1
View File
@@ -15,7 +15,7 @@ The features included will depend on the type of configuration you want to use.
2. **"Flux cluster"** - An addition to "**Bare cluster**" that deploys an opinionated implementation of [Flux](https://github.com/fluxcd/flux2) using [GitHub](https://github.com/) as Git provider and [sops](https://github.com/getsops/sops) to manage secrets. 2. **"Flux cluster"** - An addition to "**Bare cluster**" that deploys an opinionated implementation of [Flux](https://github.com/fluxcd/flux2) using [GitHub](https://github.com/) as Git provider and [sops](https://github.com/getsops/sops) to manage secrets.
- **Required:** Some knowledge of [Git](https://git-scm.com/) and its practices & terminology. - **Required:** Some knowledge of [Git](https://git-scm.com/) practices & terminology.
- **Components:** [flux](https://github.com/fluxcd/flux2), [cert-manager](https://github.com/cert-manager/cert-manager), [spegel](https://github.com/XenitAB/spegel), [reloader](https://github.com/stakater/Reloader), [system-upgrade-controller](https://github.com/rancher/system-upgrade-controller), and [openebs](https://github.com/openebs/openebs). - **Components:** [flux](https://github.com/fluxcd/flux2), [cert-manager](https://github.com/cert-manager/cert-manager), [spegel](https://github.com/XenitAB/spegel), [reloader](https://github.com/stakater/Reloader), [system-upgrade-controller](https://github.com/rancher/system-upgrade-controller), and [openebs](https://github.com/openebs/openebs).
3. **"Flux cluster with Cloudflare"** - An addition to "**Flux cluster**" that provides DNS and SSL with [Cloudflare](https://www.cloudflare.com/). [Cloudflare Tunnel](https://www.cloudflare.com/products/tunnel/) is also included to provide external access to certain applications deployed in your cluster. 3. **"Flux cluster with Cloudflare"** - An addition to "**Flux cluster**" that provides DNS and SSL with [Cloudflare](https://www.cloudflare.com/). [Cloudflare Tunnel](https://www.cloudflare.com/products/tunnel/) is also included to provide external access to certain applications deployed in your cluster.
@@ -9,7 +9,7 @@
- name: Extract k3s version - name: Extract k3s version
ansible.builtin.set_fact: ansible.builtin.set_fact:
current_k3s_version: "{{ k3s_version.stdout | regex_replace('(?im)k3s version (?P<version>[a-z0-9\\.\\+]+).*\n.*', '\\g<version>') }}" current_k3s_version: "{% raw %}{{ k3s_version.stdout | regex_replace('(?im)k3s version (?P<version>[a-z0-9\\.\\+]+).*\n.*', '\\g<version>') }}{% endraw %}"
- name: Check if upgrades are allowed - name: Check if upgrades are allowed
ansible.builtin.assert: ansible.builtin.assert:
+1 -1
View File
@@ -44,7 +44,7 @@ cluster:
# id: "" # id: ""
# # (Required) Additional NodeConfigs to apply to all nodes # # (Required) Additional NodeConfigs to apply to all nodes
# # See: https://budimanjojo.github.io/talhelper/latest/reference/configuration/#nodeconfigs # # See: https://budimanjojo.github.io/talhelper/latest/reference/configuration/#nodeconfigs
# customization: # customization: |-
# extraKernelArgs: # extraKernelArgs:
# - net.ifnames=0 # - net.ifnames=0
# systemExtensions: # systemExtensions: