39 lines
861 B
YAML
39 lines
861 B
YAML
|
|
apiVersion: v1
|
||
|
|
kind: Secret
|
||
|
|
metadata:
|
||
|
|
name: proxmox-credentials
|
||
|
|
namespace: crossplane-system
|
||
|
|
type: Opaque
|
||
|
|
stringData:
|
||
|
|
credentials.json: |
|
||
|
|
{
|
||
|
|
"username": "root@pam",
|
||
|
|
"password": "your-proxmox-password"
|
||
|
|
}
|
||
|
|
---
|
||
|
|
apiVersion: proxmox.yourorg.io/v1alpha1
|
||
|
|
kind: ProviderConfig
|
||
|
|
metadata:
|
||
|
|
name: proxmox-provider-config
|
||
|
|
spec:
|
||
|
|
credentials:
|
||
|
|
source: Secret
|
||
|
|
secretRef:
|
||
|
|
name: proxmox-credentials
|
||
|
|
namespace: crossplane-system
|
||
|
|
key: credentials.json
|
||
|
|
sites:
|
||
|
|
- name: us-east-1
|
||
|
|
endpoint: https://pve1.yourdomain.com:8006
|
||
|
|
node: pve1
|
||
|
|
insecureSkipTLSVerify: false
|
||
|
|
- name: eu-west-1
|
||
|
|
endpoint: https://pve4.yourdomain.com:8006
|
||
|
|
node: pve4
|
||
|
|
insecureSkipTLSVerify: false
|
||
|
|
- name: apac-1
|
||
|
|
endpoint: https://pve7.yourdomain.com:8006
|
||
|
|
node: pve7
|
||
|
|
insecureSkipTLSVerify: false
|
||
|
|
|