diff --git a/.gitignore b/.gitignore index 4fd5b20..600b988 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,6 @@ worker.yaml talosconfig secrets.yaml kubeconfig + +# Retired dev edge credentials (cirrus_dev), kept locally only +old/ diff --git a/env.sh b/env.sh new file mode 100644 index 0000000..3e9c46a --- /dev/null +++ b/env.sh @@ -0,0 +1,6 @@ +# Source from anywhere: `. ./env.sh` (bash or zsh). Endpoint and node live in the talosconfig, +# so plain `talosctl ` / `kubectl ` talk to cirrus-01. +_cirrus_root=$(cd "$(dirname "${BASH_SOURCE[0]:-${(%):-%x}}")" && pwd) +export TALOSCONFIG="$_cirrus_root/talos/talosconfig" +export KUBECONFIG="$_cirrus_root/talos/kubeconfig" # created by: talosctl kubeconfig talos/kubeconfig +unset _cirrus_root diff --git a/kubernetes/cirrus-dev/pubkeys/connector-dev.pub b/kubernetes/cirrus-dev/pubkeys/connector-dev.pub deleted file mode 100644 index cebcb8b..0000000 --- a/kubernetes/cirrus-dev/pubkeys/connector-dev.pub +++ /dev/null @@ -1 +0,0 @@ -ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOHcrMOuL1K6TPPprZi/W3N29SBRN23pAGmxp3SfQ6qr connector-dev diff --git a/kubernetes/cirrus-dev/pubkeys/connector-hello.pub b/kubernetes/cirrus-dev/pubkeys/connector-hello.pub deleted file mode 100644 index b3dd916..0000000 --- a/kubernetes/cirrus-dev/pubkeys/connector-hello.pub +++ /dev/null @@ -1 +0,0 @@ -ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINZ1rT2t5rUS3tJesxzY7HogcBRCvzMT8HF+xNddV7e1 connector-hello diff --git a/kubernetes/cirrus-dev/kustomization.yaml b/kubernetes/cirrus/kustomization.yaml similarity index 100% rename from kubernetes/cirrus-dev/kustomization.yaml rename to kubernetes/cirrus/kustomization.yaml diff --git a/talos/patches/discovery.yaml b/talos/patches/discovery.yaml new file mode 100644 index 0000000..89996b4 --- /dev/null +++ b/talos/patches/discovery.yaml @@ -0,0 +1,5 @@ +# Single node: no cluster discovery, so no dependency on discovery.talos.dev. +apiVersion: v1alpha1 +kind: DiscoveryServiceConfig +name: default +$patch: delete diff --git a/talos/patches/hostname.yaml b/talos/patches/hostname.yaml new file mode 100644 index 0000000..3edbfb9 --- /dev/null +++ b/talos/patches/hostname.yaml @@ -0,0 +1,5 @@ +# Static hostname instead of the generated auto: stable one. +apiVersion: v1alpha1 +kind: HostnameConfig +auto: off +hostname: cirrus-01