Update .gitignore, remove package-lock.json, and enhance Cloudflare and Proxmox adapters
- Added lock file exclusions for pnpm in .gitignore. - Removed obsolete package-lock.json from the api and portal directories. - Enhanced Cloudflare adapter with additional interfaces for zones and tunnels. - Improved Proxmox adapter error handling and logging for API requests. - Updated Proxmox VM parameters with validation rules in the API schema. - Enhanced documentation for Proxmox VM specifications and examples.
This commit is contained in:
@@ -18,13 +18,18 @@ spec:
|
||||
secretRef:
|
||||
name: proxmox-credentials
|
||||
namespace: default
|
||||
key: username
|
||||
# Note: The 'key' field is optional and ignored by the controller.
|
||||
# The controller reads 'username' and 'password' keys from the secret.
|
||||
# For token-based auth, use 'token' and 'tokenid' keys instead.
|
||||
sites:
|
||||
- name: site-1
|
||||
# Site names should match the 'site' field in VM specifications
|
||||
# Example: if VM spec uses 'site: us-sfvalley', then name here should be 'us-sfvalley'
|
||||
- name: us-sfvalley
|
||||
endpoint: "https://192.168.11.10:8006"
|
||||
node: "ml110-01"
|
||||
insecureSkipTLSVerify: true
|
||||
- name: site-2
|
||||
endpoint: "https://192.168.11.11:8006"
|
||||
node: "r630-01"
|
||||
insecureSkipTLSVerify: true
|
||||
# Optional second site - uncomment and configure as needed
|
||||
# - name: us-sfvalley-2
|
||||
# endpoint: "https://192.168.11.11:8006"
|
||||
# node: "r630-01"
|
||||
# insecureSkipTLSVerify: true
|
||||
|
||||
@@ -15,7 +15,7 @@ spec:
|
||||
storage: "local-lvm"
|
||||
network: "vmbr0"
|
||||
image: "ubuntu-22.04-cloud"
|
||||
site: "site-1"
|
||||
site: "us-sfvalley" # Must match a site name in ProviderConfig
|
||||
userData: |
|
||||
#cloud-config
|
||||
# Package management
|
||||
|
||||
Reference in New Issue
Block a user