Files
Sankofa/crossplane-provider-proxmox/examples/provider-config.yaml
defiQUG fe0365757a Update documentation structure and enhance .gitignore
- Added generated index files and report directories to .gitignore to prevent unnecessary tracking of transient files.
- Updated README links to reflect new documentation paths for better navigation.
- Improved documentation organization by ensuring all links point to the correct locations, enhancing user experience and accessibility.
2025-12-12 21:18:55 -08:00

38 lines
1.2 KiB
YAML

apiVersion: v1
kind: Secret
metadata:
name: proxmox-credentials
namespace: default
type: Opaque
stringData:
username: "root@pam"
# WARNING: Replace with your actual credentials!
# Do not commit real passwords to version control.
password: "YOUR_PROXMOX_PASSWORD_HERE"
---
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