mirror of
https://github.com/outbackdingo/proxmox-cloud-controller-manager.git
synced 2026-01-27 10:20:13 +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
|
```yaml
|
||||||
# config.yaml
|
# config.yaml
|
||||||
config:
|
clusters:
|
||||||
clusters:
|
- url: https://cluster-api-1.exmple.com:8006/api2/json
|
||||||
- url: https://cluster-api-1.exmple.com:8006/api2/json
|
insecure: false
|
||||||
insecure: false
|
token_id: "kubernetes@pve!ccm"
|
||||||
token_id: "kubernetes@pve!ccm"
|
token_secret: "secret"
|
||||||
token_secret: "secret"
|
region: cluster-1
|
||||||
region: cluster-1
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Upload it to the kubernetes:
|
Upload it to the kubernetes:
|
||||||
|
|
||||||
```shell
|
```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
|
### Method 1: kubectl
|
||||||
@@ -109,6 +108,19 @@ kubectl apply -f https://raw.githubusercontent.com/sergelogvinov/proxmox-cloud-c
|
|||||||
|
|
||||||
### Method 2: helm chart
|
### 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
|
Deploy Proxmox CCM
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
@@ -116,7 +128,7 @@ helm upgrade -i --namespace=kube-system -f proxmox-ccm.yaml \
|
|||||||
proxmox-cloud-controller-manager charts/proxmox-cloud-controller-manager
|
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
|
## Contributing
|
||||||
|
|
||||||
|
|||||||
@@ -41,7 +41,6 @@ spec:
|
|||||||
{{- toYaml .Values.securityContext | nindent 12 }}
|
{{- toYaml .Values.securityContext | nindent 12 }}
|
||||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
||||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
command: ["/proxmox-cloud-controller-manager"]
|
|
||||||
args:
|
args:
|
||||||
- --v={{ .Values.logVerbosityLevel }}
|
- --v={{ .Values.logVerbosityLevel }}
|
||||||
- --cloud-provider=proxmox
|
- --cloud-provider=proxmox
|
||||||
|
|||||||
@@ -148,7 +148,6 @@ spec:
|
|||||||
type: RuntimeDefault
|
type: RuntimeDefault
|
||||||
image: "ghcr.io/sergelogvinov/proxmox-cloud-controller-manager:v0.0.1"
|
image: "ghcr.io/sergelogvinov/proxmox-cloud-controller-manager:v0.0.1"
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
command: ["/proxmox-cloud-controller-manager"]
|
|
||||||
args:
|
args:
|
||||||
- --v=4
|
- --v=4
|
||||||
- --cloud-provider=proxmox
|
- --cloud-provider=proxmox
|
||||||
|
|||||||
@@ -148,7 +148,6 @@ spec:
|
|||||||
type: RuntimeDefault
|
type: RuntimeDefault
|
||||||
image: "ghcr.io/sergelogvinov/proxmox-cloud-controller-manager:v0.0.1"
|
image: "ghcr.io/sergelogvinov/proxmox-cloud-controller-manager:v0.0.1"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
command: ["/proxmox-cloud-controller-manager"]
|
|
||||||
args:
|
args:
|
||||||
- --v=4
|
- --v=4
|
||||||
- --cloud-provider=proxmox
|
- --cloud-provider=proxmox
|
||||||
|
|||||||
Reference in New Issue
Block a user