From 041f77429e9c3d6de0377c15de641b1a591425e2 Mon Sep 17 00:00:00 2001 From: fenix-gitea-admin Date: Mon, 8 Sep 2025 16:14:14 +0000 Subject: [PATCH 1/3] Update secrets/proxmox.secrets.tfvars --- secrets/proxmox.secrets.tfvars | 55 +++++++++++++++++++++++++++++++++- 1 file changed, 54 insertions(+), 1 deletion(-) diff --git a/secrets/proxmox.secrets.tfvars b/secrets/proxmox.secrets.tfvars index 2ec36a5..54150f3 100644 --- a/secrets/proxmox.secrets.tfvars +++ b/secrets/proxmox.secrets.tfvars @@ -2,4 +2,57 @@ proxmox_server = "proxmox.example.com" PM_API_TOKEN_ID = "tokenid" PM_API_TOKEN_SECRET = "tokensecret" # tokenid is read automatically from PM_API_TOKEN_ID -# token is read automatically from PM_API_TOKEN_SECRET \ No newline at end of file +# token is read automatically from PM_API_TOKEN_SECRET + + + +proxmox_server = "https://proxmox.example.com:443/api2/json" +proxmox_apikey = "user@pam!token=fdjkdslfjdsflkj" +proxmox_server_ssh = "127.0.0.1:1080" +proxmox_username_ssh = "user" +proxmox_password_ssh = "password" +# tokenid is read automatically from PM_API_TOKEN_ID +# token is read automatically from PM_API_TOKEN_SECRET + +proxmox_k8s_vms = [ + { + name = "k8s-master-01" + vm_id = 3001 + node_name = "node" + ip = "192.168.1.99/24" + cores = 2 + memory = 2000 + disk_size = 32 + data_store = "local-lvm" + gateway = "192.168.1.1" + extra_users = [ + { + name = "user" + password = "pass" + groups = ["sudo"] + } + ] + extra_packages = [] + extra_runcmd = [] + }, + { + name = "k8s-worker-01" + vm_id = 3002 + node_name = "node" + ip = "192.168.1.101/24" + cores = 1 + memory = 2000 + disk_size = 32 + data_store = "local-lvm" + gateway = "192.168.1.1" + extra_users = [ + { + name = "user" + password = "pass" + groups = ["sudo"] + } + ] + extra_packages = [] + extra_runcmd = [] + }, +] \ No newline at end of file From 2fcac46684a0afbf094dd9e0b116c22dd6433f53 Mon Sep 17 00:00:00 2001 From: fenix-gitea-admin Date: Mon, 8 Sep 2025 16:14:59 +0000 Subject: [PATCH 2/3] Update secrets/vaultwarden.secrets.tfvars --- secrets/vaultwarden.secrets.tfvars | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/secrets/vaultwarden.secrets.tfvars b/secrets/vaultwarden.secrets.tfvars index 36e760b..2dcc288 100644 --- a/secrets/vaultwarden.secrets.tfvars +++ b/secrets/vaultwarden.secrets.tfvars @@ -3,4 +3,6 @@ vaultwarden_email = "admin@example.com" vaultwarden_master_password = "SuperSecretMasterPassword" vaultwarden_admin_token = "tokenadmin" vaultwarden_client_id = "clientid" -vaultwarden_client_secret = "clientsecret" \ No newline at end of file +vaultwarden_client_secret = "clientsecret" +# email is read automatically from BW_EMAIL +# password is read automatically from BW_PASSWORD \ No newline at end of file From fe6663673e97e8877d932e046a54a2b4f67aa645 Mon Sep 17 00:00:00 2001 From: fenix-gitea-admin Date: Wed, 10 Sep 2025 20:09:50 +0000 Subject: [PATCH 3/3] LICENSE MIT LICENSE MIT --- LICENSE | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..a94fa74 --- /dev/null +++ b/LICENSE @@ -0,0 +1,18 @@ +MIT License + +Copyright (c) 2025 fenix-gitea-admin + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and +associated documentation files (the "Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the +following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial +portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT +LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO +EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE +USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file