mirror of
https://github.com/siderolabs/sidero.git
synced 2026-03-28 17:01:24 +01:00
This PR fixes the gpg check as well as adds the clusterctl workaround to make sfyra build properly. Signed-off-by: Spencer Smith <spencer.smith@talos-systems.com>
19 lines
566 B
Bash
Executable File
19 lines
566 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -eou pipefail
|
|
|
|
mkdir -p "$(dirname "${CLUSTERCTL_CONFIG}")"
|
|
|
|
cat > "${CLUSTERCTL_CONFIG}" <<EOF
|
|
providers:
|
|
- name: "talos"
|
|
url: "https://github.com/siderolabs/cluster-api-bootstrap-provider-talos/releases/latest/bootstrap-components.yaml"
|
|
type: "BootstrapProvider"
|
|
- name: "talos"
|
|
url: "https://github.com/siderolabs/cluster-api-control-plane-provider-talos/releases/latest/control-plane-components.yaml"
|
|
type: "ControlPlaneProvider"
|
|
- name: "sidero"
|
|
url: "file://${COMPONENTS_YAML}"
|
|
type: "InfrastructureProvider"
|
|
EOF
|