feat: add talos support (#1192)
Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
1 parent
cec32120db
commit
91d8b84f3c
33 files changed
+537
-42
No files matched your search
@@ -228,7 +228,7 @@
|
||||
"matchStrings": [
|
||||
// Example:
|
||||
// k3s_release_version: "v1.27.3+k3s1"
|
||||
"datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)( versioning=(?<versioning>\\S+))?\n.*?\"(?<currentValue>.*)\"\n",
|
||||
"datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)( versioning=(?<versioning>\\S+))?( extractVersion=(?<extractVersion>\\S+))?\n.*?\"(?<currentValue>.*)\"\n",
|
||||
// Example:
|
||||
// - https://github.com/rancher/system-upgrade-controller/releases/download/v0.11.0/crd.yaml
|
||||
"datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)( versioning=(?<versioning>\\S+))?\n.*?-\\s(.*?)\/(?<currentValue>[^/]+)\/[^/]+\n",
|
||||
|
||||
@@ -0,0 +1,55 @@
|
||||
---
|
||||
ci_test: true
|
||||
|
||||
bootstrap_distribution: talos
|
||||
bootstrap_github_username: onedr0p
|
||||
bootstrap_github_repository_name: flux-cluster-template
|
||||
bootstrap_github_repository_branch: main
|
||||
bootstrap_age_public_key: $BOOTSTRAP_AGE_PUBLIC_KEY
|
||||
bootstrap_timezone: Etc/UTC
|
||||
bootstrap_acme_email: fake
|
||||
bootstrap_acme_production_enabled: false
|
||||
bootstrap_flux_github_webhook_token: fake
|
||||
bootstrap_cloudflare_domain: fake
|
||||
bootstrap_cloudflare_token: fake
|
||||
bootstrap_cloudflare_account_tag: fake
|
||||
bootstrap_cloudflare_tunnel_secret: fake
|
||||
bootstrap_cloudflare_tunnel_id: fake
|
||||
bootstrap_node_cidr: 10.10.10.0/24
|
||||
bootstrap_kube_api_addr: 10.10.10.254
|
||||
bootstrap_kube_api_hostname: fake
|
||||
bootstrap_k8s_gateway_addr: 10.10.10.253
|
||||
bootstrap_external_ingress_addr: 10.10.10.252
|
||||
bootstrap_internal_ingress_addr: 10.10.10.251
|
||||
bootstrap_cilium_loadbalancer_mode: dsr
|
||||
bootstrap_ipv6_enabled: false
|
||||
bootstrap_cluster_cidr: 10.42.0.0/16
|
||||
bootstrap_service_cidr: 10.43.0.0/16
|
||||
bootstrap_local_storage_path: /var/openebs/local
|
||||
bootstrap_nodes:
|
||||
master:
|
||||
- name: k8s-0
|
||||
address: 10.10.10.100
|
||||
username: fake
|
||||
diskSerial: fake
|
||||
- name: k8s-1
|
||||
address: 10.10.10.101
|
||||
username: fake
|
||||
diskSerial: fake
|
||||
- name: k8s-2
|
||||
address: 10.10.10.102
|
||||
username: fake
|
||||
diskSerial: fake
|
||||
worker:
|
||||
- name: k8s-3
|
||||
address: 10.10.10.103
|
||||
username: fake
|
||||
diskSerial: fake
|
||||
- name: k8s-4
|
||||
address: 10.10.10.104
|
||||
username: fake
|
||||
diskSerial: fake
|
||||
- name: k8s-5
|
||||
address: 10.10.10.105
|
||||
username: fake
|
||||
diskSerial: fake
|
||||
@@ -41,6 +41,7 @@ jobs:
|
||||
- k3s-ipv4
|
||||
- k3s-ipv6
|
||||
- k3s-no-kube-vip
|
||||
- talos
|
||||
addon-files: ["addons"]
|
||||
steps:
|
||||
- name: Checkout
|
||||
@@ -112,6 +113,13 @@ jobs:
|
||||
shell: bash
|
||||
run: task configure --yes
|
||||
|
||||
- name: Run Talos configure
|
||||
if: ${{ steps.config-env.outputs.distribution == 'talos' }}
|
||||
shell: bash
|
||||
run: |
|
||||
task talos:gensecret --yes
|
||||
task talos:genconfig
|
||||
|
||||
- name: Run Ansible lint
|
||||
if: ${{ steps.config-env.outputs.distribution == 'k3s' || steps.config-env.outputs.distribution == 'k0s' }}
|
||||
shell: bash
|
||||
|
||||
Reference in new issue
Block a user