Skip to content

Commit 939dc88

Browse files
committed
添加helm-docs
1 parent 652207d commit 939dc88

File tree

4 files changed

+70
-4
lines changed

4 files changed

+70
-4
lines changed

Makefile

+4
Original file line numberDiff line numberDiff line change
@@ -208,3 +208,7 @@ generate-docs:
208208
--output-path=./docs/api.md \
209209
--renderer=markdown
210210

211+
212+
.PHONY: helm-docs
213+
helm-docs:
214+
./hack/helm-docs.sh
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# tke-extend-network-controller
2+
3+
![Version: 1.1.0](https://img.shields.io/badge/Version-1.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.1.0](https://img.shields.io/badge/AppVersion-1.1.0-informational?style=flat-square)
4+
5+
A Network Controller for TKE
6+
7+
**Homepage:** <https://github.com/imroc/tke-extend-network-controller>
8+
9+
## Values
10+
11+
| Key | Type | Default | Description |
12+
|-----|------|---------|-------------|
13+
| affinity | object | `{}` | |
14+
| clusterID | string | `""` | Cluster ID of the current TKE Cluster. |
15+
| fullnameOverride | string | `""` | |
16+
| image | object | `{"pullPolicy":"IfNotPresent","repository":"imroc/tke-extend-network-controller","tag":""}` | Image of the controller |
17+
| image.pullPolicy | string | `"IfNotPresent"` | ImagePullPolicy of the controller |
18+
| image.repository | string | `"imroc/tke-extend-network-controller"` | Image repository of the controller |
19+
| image.tag | string | `""` | Overrides the image tag whose default is the chart appVersion. |
20+
| imagePullSecrets | list | `[]` | ImagePullSecrets of the controller |
21+
| livenessProbe.httpGet.path | string | `"/healthz"` | |
22+
| livenessProbe.httpGet.port | int | `8081` | |
23+
| livenessProbe.initialDelaySeconds | int | `15` | |
24+
| livenessProbe.periodSeconds | int | `20` | |
25+
| log | object | `{"encoder":"json","level":"info"}` | Logging otpions of the controller |
26+
| log.encoder | string | `"json"` | Log format of the controller, be one of 'json' or 'console' |
27+
| log.level | string | `"info"` | Log level of the controller, be one of 'debug', 'info', 'error', or any integer value > 0 which corresponds to custom debug levels of increasing verbosity |
28+
| nameOverride | string | `""` | |
29+
| nodeSelector | object | `{}` | |
30+
| readinessProbe.httpGet.path | string | `"/readyz"` | |
31+
| readinessProbe.httpGet.port | int | `8081` | |
32+
| readinessProbe.initialDelaySeconds | int | `5` | |
33+
| readinessProbe.periodSeconds | int | `10` | |
34+
| region | string | `""` | Region of the current TKE Cluster, optional. |
35+
| replicaCount | int | `1` | Replica count of the controller pod |
36+
| resources | object | `{}` | |
37+
| secretID | string | `""` | Secret ID of the Tencent Cloud Account. |
38+
| secretKey | string | `""` | Secret Key of the Tencent Cloud Account. |
39+
| tolerations | list | `[]` | |
40+
| vpcID | string | `""` | VPC ID of the current TKE Cluster. |
41+
| workerCount | int | `3` | Worker count of the controller |
42+
43+
----------------------------------------------
44+
Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2)

charts/tke-extend-network-controller/values.yaml

+17-4
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,39 @@
22
# This is a YAML-formatted file.
33
# Declare variables to be passed into your templates.
44

5+
# -- Replica count of the controller pod
56
replicaCount: 1
67

8+
# -- Region of the current TKE Cluster, optional.
79
region: ""
10+
# -- VPC ID of the current TKE Cluster.
811
vpcID: ""
12+
# -- Secret ID of the Tencent Cloud Account.
913
secretID: ""
14+
# -- Secret Key of the Tencent Cloud Account.
1015
secretKey: ""
16+
# -- Cluster ID of the current TKE Cluster.
1117
clusterID: ""
12-
18+
# -- Worker count of the controller
1319
workerCount: 3
1420

21+
# -- Logging otpions of the controller
1522
log:
16-
level: "info" # be one of 'debug', 'info', 'error', or any integer value > 0 which corresponds to custom debug levels of increasing verbosity
17-
encoder: "json" # json or console
23+
# -- Log level of the controller, be one of 'debug', 'info', 'error', or any integer value > 0 which corresponds to custom debug levels of increasing verbosity
24+
level: "info"
25+
# -- Log format of the controller, be one of 'json' or 'console'
26+
encoder: "json"
1827

28+
# -- Image of the controller
1929
image:
30+
# -- Image repository of the controller
2031
repository: imroc/tke-extend-network-controller
32+
# -- ImagePullPolicy of the controller
2133
pullPolicy: IfNotPresent
22-
# Overrides the image tag whose default is the chart appVersion.
34+
# -- Overrides the image tag whose default is the chart appVersion.
2335
tag: ""
2436

37+
# -- ImagePullSecrets of the controller
2538
imagePullSecrets: []
2639
nameOverride: ""
2740
fullnameOverride: ""

hack/helm-docs.sh

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash
2+
3+
cd charts/tke-extend-network-controller
4+
5+
helm-docs

0 commit comments

Comments
 (0)