Skip to content

Commit

Permalink
update makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
sergelogvinov committed Nov 24, 2024
1 parent b19d87b commit 3ce52a4
Show file tree
Hide file tree
Showing 4 changed files with 59 additions and 4 deletions.
21 changes: 21 additions & 0 deletions .github/ISSUE_TEMPLATE/BUG_REPORT.md
Original file line number Diff line number Diff line change
@@ -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
16 changes: 16 additions & 0 deletions .github/ISSUE_TEMPLATE/FEATURE_REQUEST.md
Original file line number Diff line number Diff line change
@@ -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
10 changes: 7 additions & 3 deletions proxmox/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
16 changes: 15 additions & 1 deletion proxmox/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
```

Expand All @@ -179,6 +189,10 @@ Receive `kubeconfig` file
make kubeconfig
```

```shell
make system system-base
```

Test the cluster

```shell
Expand Down

0 comments on commit 3ce52a4

Please sign in to comment.