From 6c54b5fc11b8247808a08f012a0918dd9a2d7609 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Sat, 10 Dec 2022 22:11:43 +0100 Subject: [PATCH] add examples --- clusterapi/variables.example.sh | 20 ++++++++++++++++++++ flux/variables.example.sh | 9 +++++++++ 2 files changed, 29 insertions(+) create mode 100644 clusterapi/variables.example.sh create mode 100644 flux/variables.example.sh diff --git a/clusterapi/variables.example.sh b/clusterapi/variables.example.sh new file mode 100644 index 0000000..5b964dc --- /dev/null +++ b/clusterapi/variables.example.sh @@ -0,0 +1,20 @@ +#!/bin/bash + +export HCLOUD_SSH_KEY="contact@kjuulh.io" +export HCLOUD_TOKEN="" +export HETZNER_ROBOT_USER="" +export HETZNER_ROBOT_PASSWORD="" +export HETZNER_SSH_PUB_PATH="keys/id_clank.pub" +export HETZNER_SSH_PRIV_PATH="keys/id_clank" + +export GITHUB_TOKEN="" + +export CLUSTER_NAME="clank-management" +export HCLOUD_REGION="fsn1" +export CONTROL_PLANE_MACHINE_COUNT=1 +export WORKER_MACHINE_COUNT=1 +export KUBERNETES_VERSION=1.25.2 +export HCLOUD_CONTROL_PLANE_MACHINE_TYPE=cx21 +export HCLOUD_WORKER_MACHINE_TYPE=cx21 + +export CAPH_WORKER_CLUSTER_KUBECONFIG=output/workload-kubeconfig diff --git a/flux/variables.example.sh b/flux/variables.example.sh new file mode 100644 index 0000000..11fd6d0 --- /dev/null +++ b/flux/variables.example.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +set -e + +export GITEA_TOKEN="" + +export CAPH_WORKER_CLUSTER_KUBECONFIG=../clusterapi/output/workload-kubeconfig +export MANAGEMENT_GITOPS_REPO=git.front.kjuulh.io/kjuulh/clank-management-config.git +