update makefile

This commit is contained in:
Serge Logvinov
2024-11-24 10:36:41 +02:00
parent b19d87ba90
commit 3ce52a40da
4 changed files with 59 additions and 4 deletions

21
.github/ISSUE_TEMPLATE/BUG_REPORT.md vendored Normal file
View File

@@ -0,0 +1,21 @@
---
name: Bug Report
about: Report a bug.
title: ""
labels: ""
assignees: ""
---
## Bug Report
<!--
This repository explains how to set up Talos on different platforms.
It is still being developed, but you can also use it for production.
However, there is no easy, one-click solution here.
To use it, you must know what you are doing.
You should understand how to work with tools like Terraform, Talos, Makefile, sops, and others tools.
-->
### Description

View File

@@ -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

View File

@@ -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

View File

@@ -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