From 073f7a6845504e6825b29974a030d52496802b97 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Mon, 29 Jan 2024 09:12:46 -0600 Subject: [PATCH] host: Add k8s-amd64-n3 *k8s-amd64-n3.pyrocufflink.blue* is a Kubernetes worker node. --- host/k8s-amd64-n3.pyrocufflink.blue.cue | 5 +++++ host/k8s-amd64-n3.pyrocufflink.blue.post.sh | 1 + host/k8s-amd64-n3.pyrocufflink.blue.pre.sh | 5 +++++ instructions/k8s-amd64-n3.pyrocufflink.blue.cue | 9 +++++++++ 4 files changed, 20 insertions(+) create mode 100644 host/k8s-amd64-n3.pyrocufflink.blue.cue create mode 100644 host/k8s-amd64-n3.pyrocufflink.blue.post.sh create mode 100644 host/k8s-amd64-n3.pyrocufflink.blue.pre.sh create mode 100644 instructions/k8s-amd64-n3.pyrocufflink.blue.cue diff --git a/host/k8s-amd64-n3.pyrocufflink.blue.cue b/host/k8s-amd64-n3.pyrocufflink.blue.cue new file mode 100644 index 0000000..36f645c --- /dev/null +++ b/host/k8s-amd64-n3.pyrocufflink.blue.cue @@ -0,0 +1,5 @@ +import ( + "du5t1n.me/cfg/env/prod" +) + +sudo: prod.sudo diff --git a/host/k8s-amd64-n3.pyrocufflink.blue.post.sh b/host/k8s-amd64-n3.pyrocufflink.blue.post.sh new file mode 100644 index 0000000..17c32eb --- /dev/null +++ b/host/k8s-amd64-n3.pyrocufflink.blue.post.sh @@ -0,0 +1 @@ +. scripts/no-coreos-default-sudo.sh diff --git a/host/k8s-amd64-n3.pyrocufflink.blue.pre.sh b/host/k8s-amd64-n3.pyrocufflink.blue.pre.sh new file mode 100644 index 0000000..92a083e --- /dev/null +++ b/host/k8s-amd64-n3.pyrocufflink.blue.pre.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +. scripts/pam-ssh-agent-auth.sh + +install_packages diff --git a/instructions/k8s-amd64-n3.pyrocufflink.blue.cue b/instructions/k8s-amd64-n3.pyrocufflink.blue.cue new file mode 100644 index 0000000..0e1f635 --- /dev/null +++ b/instructions/k8s-amd64-n3.pyrocufflink.blue.cue @@ -0,0 +1,9 @@ +import ( + "list" + + "du5t1n.me/cfg/app/sudo" +) + +render: list.Concat([ + sudo.templates, +])