Files
Sankofa/crossplane-provider-proxmox/examples/provider-config.yaml
defiQUG 7cd7022f6e 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.
2025-12-12 19:29:01 -08:00

36 lines
1.1 KiB
YAML

apiVersion: v1
kind: Secret
metadata:
name: proxmox-credentials
namespace: default
type: Opaque
stringData:
username: "root@pam"
password: "L@kers2010"
---
apiVersion: proxmox.sankofa.nexus/v1alpha1
kind: ProviderConfig
metadata:
name: proxmox-provider-config
spec:
credentials:
source: Secret
secretRef:
name: proxmox-credentials
namespace: default
# 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:
# 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
# Optional second site - uncomment and configure as needed
# - name: us-sfvalley-2
# endpoint: "https://192.168.11.11:8006"
# node: "r630-01"
# insecureSkipTLSVerify: true