-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: Adds the capability to provide comments without the path to th…
…e documented field fixes #58 BREAKING CHANGE: Completely new behavior with non-special comments
- Loading branch information
Showing
18 changed files
with
682 additions
and
176 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
apiVersion: v1 | ||
name: nginx-ingress | ||
description: A simple wrapper around the stable/nginx-ingress chart that adds a few of our conventions | ||
version: "0.2.0" | ||
home: "https://github.com/norwoodj/helm-docs/tree/master/example-charts/nginx-ingress" | ||
sources: ["https://github.com/norwoodj/helm-docs/tree/master/example-charts/nginx-ingress"] | ||
engine: gotpl | ||
maintainers: | ||
- email: norwood.john.m@gmail.com | ||
name: John Norwood |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# nginx-ingress | ||
|
||
![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square) | ||
|
||
A simple wrapper around the stable/nginx-ingress chart that adds a few of our conventions | ||
|
||
**Homepage:** <https://github.com/norwoodj/helm-docs/tree/master/example-charts/nginx-ingress> | ||
|
||
## Maintainers | ||
|
||
| Name | Email | Url | | ||
| ---- | ------ | --- | | ||
| John Norwood | norwood.john.m@gmail.com | | | ||
|
||
## Source Code | ||
|
||
* <https://github.com/norwoodj/helm-docs/tree/master/example-charts/nginx-ingress> | ||
|
||
## Requirements | ||
|
||
| Repository | Name | Version | | ||
|------------|------|---------| | ||
| @stable | nginx-ingress | 0.22.1 | | ||
|
||
## Values | ||
|
||
| Key | Type | Default | Description | | ||
|-----|------|---------|-------------| | ||
| controller.extraVolumes | list | `[{"configMap":{"name":"nginx-ingress-config"},"name":"config-volume"}]` | Additional volumes to be mounted into the ingress controller container | | ||
| controller.image.repository | string | `"nginx-ingress-controller"` | | | ||
| controller.image.tag | string | `"18.0831"` | | | ||
| controller.ingressClass | string | `"nginx"` | Name of the ingress class to route through this controller | | ||
| controller.livenessProbe | object | `{"httpGet":{"path":"/healthz","port":8080}}` | Configure the healthcheck for the ingress controller | | ||
| controller.livenessProbe.httpGet.path | string | `"/healthz"` | This is the liveness check endpoint | | ||
| controller.name | string | `"controller"` | | | ||
| controller.persistentVolumeClaims | list | `[]` | List of persistent volume claims to create | | ||
| controller.podLabels | object | `{}` | The labels to be applied to instances of the controller pod | | ||
| controller.publishService.enabled | bool | `false` | Whether to expose the ingress controller to the public world | | ||
| controller.replicas | int | `nil` | Number of nginx-ingress pods to load balance between | | ||
| controller.service.annotations."external-dns.alpha.kubernetes.io/hostname" | string | `"stupidchess.jmn23.com"` | Hostname to be assigned to the ELB for the service | | ||
| controller.service.type | string | `"LoadBalancer"` | | |
4 changes: 4 additions & 0 deletions
4
example-charts/nginx-ingress-but-auto-comments/requirements.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
dependencies: | ||
- name: nginx-ingress | ||
version: "0.22.1" | ||
repository: "@stable" |
41 changes: 41 additions & 0 deletions
41
example-charts/nginx-ingress-but-auto-comments/values.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
controller: | ||
name: controller | ||
image: | ||
repository: nginx-ingress-controller | ||
tag: "18.0831" | ||
|
||
# -- List of persistent volume claims to create | ||
persistentVolumeClaims: [] | ||
|
||
# -- Additional volumes to be mounted into the ingress controller container | ||
extraVolumes: | ||
- name: config-volume | ||
configMap: | ||
name: nginx-ingress-config | ||
|
||
# -- Configure the healthcheck for the ingress controller | ||
livenessProbe: | ||
httpGet: | ||
# -- This is the liveness check endpoint | ||
path: /healthz | ||
port: 8080 | ||
|
||
# -- Name of the ingress class to route through this controller | ||
ingressClass: nginx | ||
|
||
# -- The labels to be applied to instances of the controller pod | ||
podLabels: {} | ||
|
||
publishService: | ||
# -- Whether to expose the ingress controller to the public world | ||
enabled: false | ||
|
||
# -- (int) Number of nginx-ingress pods to load balance between | ||
replicas: | ||
|
||
service: | ||
annotations: | ||
# -- Hostname to be assigned to the ELB for the service | ||
external-dns.alpha.kubernetes.io/hostname: stupidchess.jmn23.com | ||
|
||
type: LoadBalancer |
11 changes: 11 additions & 0 deletions
11
example-charts/special-characters-but-auto-comments/Chart.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
apiVersion: v2 | ||
name: special-characters | ||
description: A chart demonstrating handling of special characters in values files | ||
version: "0.2.0" | ||
home: "https://github.com/norwoodj/helm-docs/tree/master/example-charts/special-characters" | ||
sources: ["https://github.com/norwoodj/helm-docs/tree/master/example-charts/special-characters"] | ||
engine: gotpl | ||
type: application | ||
maintainers: | ||
- email: norwood.john.m@gmail.com | ||
name: John Norwood |
27 changes: 27 additions & 0 deletions
27
example-charts/special-characters-but-auto-comments/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# special-characters | ||
|
||
![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) | ||
|
||
A chart demonstrating handling of special characters in values files | ||
|
||
**Homepage:** <https://github.com/norwoodj/helm-docs/tree/master/example-charts/special-characters> | ||
|
||
## Maintainers | ||
|
||
| Name | Email | Url | | ||
| ---- | ------ | --- | | ||
| John Norwood | norwood.john.m@gmail.com | | | ||
|
||
## Source Code | ||
|
||
* <https://github.com/norwoodj/helm-docs/tree/master/example-charts/special-characters> | ||
|
||
## Values | ||
|
||
| Key | Type | Default | Description | | ||
|-----|------|---------|-------------| | ||
| elasticsearch.clusterHealthCheckParams | string | `"wait_for_status=yellow&timeout=1s"` | The Elasticsearch cluster health status params that will be used by readinessProbe command | | ||
| elasticsearch.clusterHealthCheckParamsDescription | string | `""` | Now let's put some special characters in the description: wait_for_status=yellow&timeout=1s | | ||
| htmlSnippets.one | string | `"<html>\n <head></head>\n <body>\n <h1>Is this right, I don't know html</h1>\n </body>\n</html>\n"` | | | ||
| htmlSnippets.three | string | `"<html><head></head></html>"` | Another description | | ||
| htmlSnippets.two | string | `""` | Let's put it in the description <html></html> | |
21 changes: 21 additions & 0 deletions
21
example-charts/special-characters-but-auto-comments/values.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
elasticsearch: | ||
# -- The Elasticsearch cluster health status params that will be used by readinessProbe command | ||
clusterHealthCheckParams: "wait_for_status=yellow&timeout=1s" | ||
|
||
# -- Now let's put some special characters in the description: wait_for_status=yellow&timeout=1s | ||
clusterHealthCheckParamsDescription: "" | ||
|
||
htmlSnippets: | ||
one: | | ||
<html> | ||
<head></head> | ||
<body> | ||
<h1>Is this right, I don't know html</h1> | ||
</body> | ||
</html> | ||
# -- Let's put it in the description <html></html> | ||
two: "" | ||
|
||
# -- Another description | ||
three: "<html><head></head></html>" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.