mirror of
https://github.com/outbackdingo/proxmox-cloud-controller-manager.git
synced 2026-01-27 02:20:02 +00:00
docs: update readme
Update readme, remove binary file to use container entrypoint
This commit is contained in:
30
README.md
30
README.md
@@ -78,19 +78,18 @@ Create the proxmox credentials
|
||||
|
||||
```yaml
|
||||
# config.yaml
|
||||
config:
|
||||
clusters:
|
||||
- url: https://cluster-api-1.exmple.com:8006/api2/json
|
||||
insecure: false
|
||||
token_id: "kubernetes@pve!ccm"
|
||||
token_secret: "secret"
|
||||
region: cluster-1
|
||||
clusters:
|
||||
- url: https://cluster-api-1.exmple.com:8006/api2/json
|
||||
insecure: false
|
||||
token_id: "kubernetes@pve!ccm"
|
||||
token_secret: "secret"
|
||||
region: cluster-1
|
||||
```
|
||||
|
||||
Upload it to the kubernetes:
|
||||
|
||||
```shell
|
||||
kubectl -n kube-system create secret proxmox-cloud-controller-manager --from-file=config.yaml
|
||||
kubectl -n kube-system create secret generic proxmox-cloud-controller-manager --from-file=config.yaml
|
||||
```
|
||||
|
||||
### Method 1: kubectl
|
||||
@@ -109,6 +108,19 @@ kubectl apply -f https://raw.githubusercontent.com/sergelogvinov/proxmox-cloud-c
|
||||
|
||||
### Method 2: helm chart
|
||||
|
||||
Create the config file:
|
||||
|
||||
```yaml
|
||||
# proxmox-ccm.yaml
|
||||
config:
|
||||
clusters:
|
||||
- url: https://cluster-api-1.exmple.com:8006/api2/json
|
||||
insecure: false
|
||||
token_id: "kubernetes@pve!ccm"
|
||||
token_secret: "secret"
|
||||
region: cluster-1
|
||||
```
|
||||
|
||||
Deploy Proxmox CCM
|
||||
|
||||
```shell
|
||||
@@ -116,7 +128,7 @@ helm upgrade -i --namespace=kube-system -f proxmox-ccm.yaml \
|
||||
proxmox-cloud-controller-manager charts/proxmox-cloud-controller-manager
|
||||
```
|
||||
|
||||
More options can find [here](charts/proxmox-cloud-controller-manager)
|
||||
More options you can find [here](charts/proxmox-cloud-controller-manager)
|
||||
|
||||
## Contributing
|
||||
|
||||
|
||||
@@ -41,7 +41,6 @@ spec:
|
||||
{{- toYaml .Values.securityContext | nindent 12 }}
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
command: ["/proxmox-cloud-controller-manager"]
|
||||
args:
|
||||
- --v={{ .Values.logVerbosityLevel }}
|
||||
- --cloud-provider=proxmox
|
||||
|
||||
@@ -148,7 +148,6 @@ spec:
|
||||
type: RuntimeDefault
|
||||
image: "ghcr.io/sergelogvinov/proxmox-cloud-controller-manager:v0.0.1"
|
||||
imagePullPolicy: IfNotPresent
|
||||
command: ["/proxmox-cloud-controller-manager"]
|
||||
args:
|
||||
- --v=4
|
||||
- --cloud-provider=proxmox
|
||||
|
||||
@@ -148,7 +148,6 @@ spec:
|
||||
type: RuntimeDefault
|
||||
image: "ghcr.io/sergelogvinov/proxmox-cloud-controller-manager:v0.0.1"
|
||||
imagePullPolicy: Always
|
||||
command: ["/proxmox-cloud-controller-manager"]
|
||||
args:
|
||||
- --v=4
|
||||
- --cloud-provider=proxmox
|
||||
|
||||
Reference in New Issue
Block a user