From 3ce52a40da885b8c8b848a86005dfdc64e966ef4 Mon Sep 17 00:00:00 2001 From: Serge Logvinov Date: Sun, 24 Nov 2024 10:36:41 +0200 Subject: [PATCH] update makefile --- .github/ISSUE_TEMPLATE/BUG_REPORT.md | 21 +++++++++++++++++++++ .github/ISSUE_TEMPLATE/FEATURE_REQUEST.md | 16 ++++++++++++++++ proxmox/Makefile | 10 +++++++--- proxmox/README.md | 16 +++++++++++++++- 4 files changed, 59 insertions(+), 4 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/BUG_REPORT.md create mode 100644 .github/ISSUE_TEMPLATE/FEATURE_REQUEST.md diff --git a/.github/ISSUE_TEMPLATE/BUG_REPORT.md b/.github/ISSUE_TEMPLATE/BUG_REPORT.md new file mode 100644 index 0000000..f52a8de --- /dev/null +++ b/.github/ISSUE_TEMPLATE/BUG_REPORT.md @@ -0,0 +1,21 @@ +--- +name: Bug Report +about: Report a bug. +title: "" +labels: "" +assignees: "" +--- + +## Bug Report + + + +### Description diff --git a/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md b/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md new file mode 100644 index 0000000..da62ba3 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md @@ -0,0 +1,16 @@ +--- +name: Feature Requests +about: Create a feature request. +title: "" +labels: "" +assignees: "" +--- + +## Feature Request + +### Description + +### Community Note + +* Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request +* Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request diff --git a/proxmox/Makefile b/proxmox/Makefile index fcb2bae..b55e58f 100644 --- a/proxmox/Makefile +++ b/proxmox/Makefile @@ -69,13 +69,17 @@ system: kubectl --kubeconfig=kubeconfig apply -f ../_deployments/vars/coredns-local.yaml - helm --kubeconfig=kubeconfig upgrade -i --namespace=kube-system -f ../_deployments/vars/metrics-server.yaml \ - metrics-server metrics-server/metrics-server - helm --kubeconfig=kubeconfig upgrade -i --namespace=kube-system -f deployments/talos-ccm.yaml \ talos-cloud-controller-manager \ oci://ghcr.io/siderolabs/charts/talos-cloud-controller-manager +system-flux: + kubectl --kubeconfig=kubeconfig apply -f ../_deployments/vars/flux-result.yaml + +system-base: + helm --kubeconfig=kubeconfig upgrade -i --namespace=kube-system -f ../_deployments/vars/metrics-server.yaml \ + metrics-server metrics-server/metrics-server + helm --kubeconfig=kubeconfig upgrade -i --namespace=kube-system -f vars/proxmox-ccm.yaml \ proxmox-cloud-controller-manager oci://ghcr.io/sergelogvinov/charts/proxmox-cloud-controller-manager diff --git a/proxmox/README.md b/proxmox/README.md index 325dca5..7e8475c 100644 --- a/proxmox/README.md +++ b/proxmox/README.md @@ -159,6 +159,14 @@ instances = { } ``` +Create the age key (optional) +This key will be used to encrypt the secrets, check the .sops.yaml file. + +```shell +make create-age +export SOPS_AGE_KEY_FILE=age.key.txt +``` + Create all configs ```shell @@ -169,7 +177,9 @@ Launch the control-plane node ```shell make create-cluster -# wait ~2 minutes +# wait ~30 seconds, full cli command will be showns on terraform output +talosctl apply-config --insecure --nodes ${IP} --config-patch @_cfgs/controlplane-01a.yaml --file _cfgs/controlplane.yaml +# wait ~10 seconds make bootstrap ``` @@ -179,6 +189,10 @@ Receive `kubeconfig` file make kubeconfig ``` +```shell +make system system-base +``` + Test the cluster ```shell