Compare commits
21 Commits
intel-gpu-
...
plex-media
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
70ea338e4e | ||
|
|
abf2d3b857 | ||
|
|
5b57026d00 | ||
|
|
d6fadad88f | ||
|
|
ddc9693916 | ||
|
|
6283f771be | ||
|
|
802ee07407 | ||
|
|
6a48d3fdb0 | ||
|
|
4a02be7d10 | ||
|
|
837f1c396e | ||
|
|
1b751c7d3e | ||
|
|
b191930b0c | ||
|
|
7b746e514d | ||
|
|
f6f548e7fb | ||
|
|
ab6cbbb1b0 | ||
|
|
194990c6c0 | ||
|
|
761d9996f6 | ||
|
|
e238de9de2 | ||
|
|
b648e8cddc | ||
|
|
8993e6d60b | ||
|
|
beaf1d697a |
78
.all-contributorsrc
Normal file
78
.all-contributorsrc
Normal file
@@ -0,0 +1,78 @@
|
||||
{
|
||||
"files": [
|
||||
"README.md"
|
||||
],
|
||||
"imageSize": 100,
|
||||
"commit": false,
|
||||
"contributors": [
|
||||
{
|
||||
"login": "devfaz",
|
||||
"name": "Fabian Zimmermann",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/4060372?v=4",
|
||||
"profile": "https://github.com/devfaz",
|
||||
"contributions": [
|
||||
"code"
|
||||
]
|
||||
},
|
||||
{
|
||||
"login": "angelnu",
|
||||
"name": "Vegetto",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/4406403?v=4",
|
||||
"profile": "https://github.com/angelnu",
|
||||
"contributions": [
|
||||
"code"
|
||||
]
|
||||
},
|
||||
{
|
||||
"login": "trly",
|
||||
"name": "Travis Lyons",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/212733?v=4",
|
||||
"profile": "https://github.com/trly",
|
||||
"contributions": [
|
||||
"code"
|
||||
]
|
||||
},
|
||||
{
|
||||
"login": "bjw-s",
|
||||
"name": "Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/6213398?v=4",
|
||||
"profile": "https://github.com/bjw-s",
|
||||
"contributions": [
|
||||
"code"
|
||||
]
|
||||
},
|
||||
{
|
||||
"login": "Ornias1993",
|
||||
"name": "Kjeld Schouten-Lebbing",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/7613738?v=4",
|
||||
"profile": "http://schouten-lebbing.nl",
|
||||
"contributions": [
|
||||
"code"
|
||||
]
|
||||
},
|
||||
{
|
||||
"login": "rolfberkenbosch",
|
||||
"name": "Rolf Berkenbosch",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/30292281?v=4",
|
||||
"profile": "https://www.meetup.com/nl-NL/I-I-Inspiratie-Innovatie/",
|
||||
"contributions": [
|
||||
"code"
|
||||
]
|
||||
},
|
||||
{
|
||||
"login": "auricom",
|
||||
"name": "auricom",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/27022259?v=4",
|
||||
"profile": "https://github.com/auricom",
|
||||
"contributions": [
|
||||
"code"
|
||||
]
|
||||
}
|
||||
],
|
||||
"contributorsPerLine": 7,
|
||||
"projectName": "charts",
|
||||
"projectOwner": "k8s-at-home",
|
||||
"repoType": "github",
|
||||
"repoHost": "https://github.com",
|
||||
"skipCi": true
|
||||
}
|
||||
1
.github/ct-install.yaml
vendored
1
.github/ct-install.yaml
vendored
@@ -6,6 +6,7 @@ chart-dirs:
|
||||
excluded-charts:
|
||||
- alertmanager-bot
|
||||
- dnsmadeeasy-webhook
|
||||
- ser2sock
|
||||
- zigbee2mqtt
|
||||
chart-repos:
|
||||
- bitnami=https://charts.bitnami.com/bitnami
|
||||
|
||||
@@ -1,8 +1 @@
|
||||
charts/homebridge
|
||||
charts/librespeed
|
||||
charts/node-feature-discovery
|
||||
charts/oauth2-proxy
|
||||
charts/ser2sock
|
||||
charts/speedtest
|
||||
charts/unifi
|
||||
charts/uptimerobot
|
||||
|
||||
29
README.md
29
README.md
@@ -1,4 +1,7 @@
|
||||
# Helm charts
|
||||
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
|
||||
[](#contributors-)
|
||||
<!-- ALL-CONTRIBUTORS-BADGE:END -->
|
||||
|
||||
[](https://github.com/pre-commit/pre-commit)
|
||||
[](https://discord.gg/sTMX7Vh)
|
||||
@@ -34,3 +37,29 @@ See [CONTRIBUTING.md](./CONTRIBUTING.md)
|
||||
## License
|
||||
|
||||
[Apache 2.0 License](./LICENSE)
|
||||
|
||||
## Contributors ✨
|
||||
|
||||
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
||||
|
||||
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
|
||||
<!-- prettier-ignore-start -->
|
||||
<!-- markdownlint-disable -->
|
||||
<table>
|
||||
<tr>
|
||||
<td align="center"><a href="https://github.com/devfaz"><img src="https://avatars.githubusercontent.com/u/4060372?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Fabian Zimmermann</b></sub></a><br /><a href="https://github.com/k8s-at-home/charts/commits?author=devfaz" title="Code">💻</a></td>
|
||||
<td align="center"><a href="https://github.com/angelnu"><img src="https://avatars.githubusercontent.com/u/4406403?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Vegetto</b></sub></a><br /><a href="https://github.com/k8s-at-home/charts/commits?author=angelnu" title="Code">💻</a></td>
|
||||
<td align="center"><a href="https://github.com/trly"><img src="https://avatars.githubusercontent.com/u/212733?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Travis Lyons</b></sub></a><br /><a href="https://github.com/k8s-at-home/charts/commits?author=trly" title="Code">💻</a></td>
|
||||
<td align="center"><a href="https://github.com/bjw-s"><img src="https://avatars.githubusercontent.com/u/6213398?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs</b></sub></a><br /><a href="https://github.com/k8s-at-home/charts/commits?author=bjw-s" title="Code">💻</a></td>
|
||||
<td align="center"><a href="http://schouten-lebbing.nl"><img src="https://avatars.githubusercontent.com/u/7613738?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Kjeld Schouten-Lebbing</b></sub></a><br /><a href="https://github.com/k8s-at-home/charts/commits?author=Ornias1993" title="Code">💻</a></td>
|
||||
<td align="center"><a href="https://www.meetup.com/nl-NL/I-I-Inspiratie-Innovatie/"><img src="https://avatars.githubusercontent.com/u/30292281?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Rolf Berkenbosch</b></sub></a><br /><a href="https://github.com/k8s-at-home/charts/commits?author=rolfberkenbosch" title="Code">💻</a></td>
|
||||
<td align="center"><a href="https://github.com/auricom"><img src="https://avatars.githubusercontent.com/u/27022259?v=4?s=100" width="100px;" alt=""/><br /><sub><b>auricom</b></sub></a><br /><a href="https://github.com/k8s-at-home/charts/commits?author=auricom" title="Code">💻</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<!-- markdownlint-restore -->
|
||||
<!-- prettier-ignore-end -->
|
||||
|
||||
<!-- ALL-CONTRIBUTORS-LIST:END -->
|
||||
|
||||
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
|
||||
26
charts/calibre/.helmignore
Normal file
26
charts/calibre/.helmignore
Normal file
@@ -0,0 +1,26 @@
|
||||
# Patterns to ignore when building packages.
|
||||
# This supports shell glob matching, relative path matching, and
|
||||
# negation (prefixed with !). Only one pattern per line.
|
||||
.DS_Store
|
||||
# Common VCS dirs
|
||||
.git/
|
||||
.gitignore
|
||||
.bzr/
|
||||
.bzrignore
|
||||
.hg/
|
||||
.hgignore
|
||||
.svn/
|
||||
# Common backup files
|
||||
*.swp
|
||||
*.bak
|
||||
*.tmp
|
||||
*~
|
||||
# Various IDEs
|
||||
.project
|
||||
.idea/
|
||||
*.tmproj
|
||||
.vscode/
|
||||
# OWNERS file for Kubernetes
|
||||
OWNERS
|
||||
# helm-docs templates
|
||||
*.gotmpl
|
||||
22
charts/calibre/Chart.yaml
Normal file
22
charts/calibre/Chart.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
|
||||
apiVersion: v2
|
||||
appVersion: 5.13.0
|
||||
description: Calibre is a powerful and easy to use e-book manager.
|
||||
name: calibre
|
||||
version: 1.0.0
|
||||
kubeVersion: ">=1.16.0-0"
|
||||
keywords:
|
||||
- calibre
|
||||
home: https://github.com/kovidgoyal/calibre/
|
||||
icon: https://github.com/kovidgoyal/calibre/raw/master/resources/images/lt.png
|
||||
sources:
|
||||
- https://hub.docker.com/r/linuxserver/calibre/
|
||||
- https://github.com/kovidgoyal/calibre/
|
||||
maintainers:
|
||||
- name: rolfberkenbosch
|
||||
email: rolf@berkenbosch.nl
|
||||
dependencies:
|
||||
- name: common
|
||||
repository: https://library-charts.k8s-at-home.com
|
||||
version: 1.0.0
|
||||
68
charts/calibre/README.md
Normal file
68
charts/calibre/README.md
Normal file
@@ -0,0 +1,68 @@
|
||||
# calibre
|
||||
|
||||
 
|
||||
|
||||
Calibre is a powerful and easy to use e-book manager.
|
||||
|
||||
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/k8s-at-home/charts/issues/new/choose)**
|
||||
|
||||
## Source Code
|
||||
|
||||
* <https://hub.docker.com/r/linuxserver/calibre/>
|
||||
* <https://github.com/kovidgoyal/calibre/>
|
||||
|
||||
## Requirements
|
||||
|
||||
Kubernetes: `>=1.16.0-0`
|
||||
|
||||
## Dependencies
|
||||
|
||||
| Repository | Name | Version |
|
||||
|------------|------|---------|
|
||||
| https://library-charts.k8s-at-home.com | common | 1.0.0 |
|
||||
|
||||
## TL;DR
|
||||
|
||||
```console
|
||||
helm repo add k8s-at-home https://k8s-at-home.com/charts/
|
||||
helm repo update
|
||||
helm install calibre k8s-at-home/calibre
|
||||
```
|
||||
|
||||
## Installing the Chart
|
||||
|
||||
To install the chart with the release name `calibre`
|
||||
|
||||
```console
|
||||
helm install calibre k8s-at-home/calibre
|
||||
```
|
||||
|
||||
## Uninstalling the Chart
|
||||
|
||||
To uninstall the `calibre` deployment
|
||||
|
||||
```console
|
||||
helm uninstall calibre
|
||||
```
|
||||
|
||||
The command removes all the Kubernetes components associated with the chart **including persistent volumes** and deletes the release.
|
||||
|
||||
## Configuration
|
||||
|
||||
Read through the [values.yaml](./values.yaml) file. It has several commented out suggested values.
|
||||
Other values may be used from the [values.yaml](../common/values.yaml) from the [common library](../common).
|
||||
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
|
||||
|
||||
```console
|
||||
helm install calibre \
|
||||
--set env.TZ="America/New York" \
|
||||
k8s-at-home/calibre
|
||||
```
|
||||
|
||||
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.
|
||||
|
||||
```console
|
||||
helm install calibre k8s-at-home/calibre -f values.yaml
|
||||
```
|
||||
|
||||
145
charts/calibre/README.md.gotmpl
Normal file
145
charts/calibre/README.md.gotmpl
Normal file
@@ -0,0 +1,145 @@
|
||||
{{- define "custom.repository.organization" -}}
|
||||
k8s-at-home
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.repository.url" -}}
|
||||
https://github.com/k8s-at-home/charts
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.helm.url" -}}
|
||||
https://k8s-at-home.com/charts/
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.helm.path" -}}
|
||||
{{ template "custom.repository.organization" . }}/{{ template "chart.name" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.notes" -}}
|
||||
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/k8s-at-home/charts/issues/new/choose)**
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.requirements" -}}
|
||||
## Requirements
|
||||
|
||||
{{ template "chart.kubeVersionLine" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.dependencies" -}}
|
||||
## Dependencies
|
||||
|
||||
{{ template "chart.requirementsTable" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.install.tldr" -}}
|
||||
## TL;DR
|
||||
|
||||
```console
|
||||
helm repo add {{ template "custom.repository.organization" . }} {{ template "custom.helm.url" . }}
|
||||
helm repo update
|
||||
helm install {{ template "chart.name" . }} {{ template "custom.helm.path" . }}
|
||||
```
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.install" -}}
|
||||
## Installing the Chart
|
||||
|
||||
To install the chart with the release name `{{ template "chart.name" . }}`
|
||||
|
||||
```console
|
||||
helm install {{ template "chart.name" . }} {{ template "custom.helm.path" . }}
|
||||
```
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.uninstall" -}}
|
||||
## Uninstalling the Chart
|
||||
|
||||
To uninstall the `{{ template "chart.name" . }}` deployment
|
||||
|
||||
```console
|
||||
helm uninstall {{ template "chart.name" . }}
|
||||
```
|
||||
|
||||
The command removes all the Kubernetes components associated with the chart **including persistent volumes** and deletes the release.
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.configuration.header" -}}
|
||||
## Configuration
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.configuration.readValues" -}}
|
||||
Read through the [values.yaml](./values.yaml) file. It has several commented out suggested values.
|
||||
Other values may be used from the [values.yaml](../common/values.yaml) from the [common library](../common).
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.configuration.example.set" -}}
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
|
||||
|
||||
```console
|
||||
helm install {{ template "chart.name" . }} \
|
||||
--set env.TZ="America/New York" \
|
||||
{{ template "custom.helm.path" . }}
|
||||
```
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.configuration.example.file" -}}
|
||||
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.
|
||||
|
||||
```console
|
||||
helm install {{ template "chart.name" . }} {{ template "custom.helm.path" . }} -f values.yaml
|
||||
```
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.valuesSection" -}}
|
||||
## Values
|
||||
|
||||
**Important**: When deploying an application Helm chart you can add more values from our common library chart [here](https://github.com/k8s-at-home/charts/tree/master/charts/common/)
|
||||
|
||||
{{ template "chart.valuesTable" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.support" -}}
|
||||
## Support
|
||||
|
||||
- See the [Docs](https://docs.k8s-at-home.com/our-helm-charts/getting-started/)
|
||||
- Open an [issue](https://github.com/k8s-at-home/charts/issues/new/choose)
|
||||
- Ask a [question](https://github.com/k8s-at-home/organization/discussions)
|
||||
- Join our [Discord](https://discord.gg/sTMX7Vh) community
|
||||
{{- end -}}
|
||||
|
||||
{{ template "chart.header" . }}
|
||||
|
||||
{{ template "chart.versionBadge" . }}{{ template "chart.typeBadge" . }}{{ template "chart.appVersionBadge" . }}
|
||||
|
||||
{{ template "chart.description" . }}
|
||||
|
||||
{{ template "custom.notes" . }}
|
||||
|
||||
{{ template "chart.sourcesSection" . }}
|
||||
|
||||
{{ template "custom.requirements" . }}
|
||||
|
||||
{{ template "custom.dependencies" . }}
|
||||
|
||||
{{ template "custom.install.tldr" . }}
|
||||
|
||||
{{ template "custom.install" . }}
|
||||
|
||||
{{ template "custom.uninstall" . }}
|
||||
|
||||
{{ template "custom.configuration.header" . }}
|
||||
|
||||
{{ template "custom.configuration.readValues" . }}
|
||||
|
||||
{{ template "custom.configuration.example.set" . }}
|
||||
|
||||
{{ template "custom.configuration.example.file" . }}
|
||||
|
||||
{{ template "custom.custom.configuration" . }}
|
||||
|
||||
{{ template "custom.valuesSection" . }}
|
||||
|
||||
{{ template "custom.changelog" . }}
|
||||
|
||||
{{ template "custom.support" . }}
|
||||
|
||||
{{ template "helm-docs.versionFooter" . }}
|
||||
27
charts/calibre/README_CHANGELOG.md.gotmpl
Normal file
27
charts/calibre/README_CHANGELOG.md.gotmpl
Normal file
@@ -0,0 +1,27 @@
|
||||
{{- define "custom.changelog.header" -}}
|
||||
## Changelog
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.changelog" -}}
|
||||
{{ template "custom.changelog.header" . }}
|
||||
|
||||
All notable changes to this application Helm chart will be documented in this file but does not include changes from our common library. To read those click [here](https://github.com/k8s-at-home/charts/tree/master/charts/common/README.md#Changelog).
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
### [0.0.1]
|
||||
|
||||
#### Added
|
||||
|
||||
- First version of the helm chart for wikijs
|
||||
|
||||
#### Changed
|
||||
|
||||
- N/A
|
||||
|
||||
#### Removed
|
||||
|
||||
- N/A
|
||||
|
||||
[0.0.1]: #0.0.1
|
||||
{{- end -}}
|
||||
9
charts/calibre/README_CONFIG.md.gotmpl
Normal file
9
charts/calibre/README_CONFIG.md.gotmpl
Normal file
@@ -0,0 +1,9 @@
|
||||
{{- define "custom.custom.configuration.header" -}}
|
||||
## Custom configuration
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.custom.configuration" -}}
|
||||
{{ template "custom.custom.configuration.header" . }}
|
||||
|
||||
N/A
|
||||
{{- end -}}
|
||||
1
charts/calibre/templates/NOTES.txt
Normal file
1
charts/calibre/templates/NOTES.txt
Normal file
@@ -0,0 +1 @@
|
||||
{{- include "common.notes.defaultNotes" . -}}
|
||||
3
charts/calibre/templates/common.yaml
Normal file
3
charts/calibre/templates/common.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
|
||||
{{ include "common.all" . }}
|
||||
54
charts/calibre/values.yaml
Normal file
54
charts/calibre/values.yaml
Normal file
@@ -0,0 +1,54 @@
|
||||
---
|
||||
|
||||
#
|
||||
# IMPORTANT NOTE
|
||||
#
|
||||
# This chart inherits from our common library chart. You can check the default values/options here:
|
||||
# https://github.com/k8s-at-home/charts/tree/master/charts/common/values.yaml
|
||||
#
|
||||
|
||||
# -- This is the default, you can also use requarks/wiki
|
||||
image:
|
||||
repository: linuxserver/calibre
|
||||
pullPolicy: IfNotPresent
|
||||
tag: version-v5.13.0
|
||||
|
||||
strategy:
|
||||
type: Recreate
|
||||
|
||||
env:
|
||||
# -- Set the time zone, e.g. Europe/Amsterdam
|
||||
TZ:
|
||||
# -- for UserID
|
||||
PUID: "1000"
|
||||
# -- for GroupID
|
||||
PGID: "1000"
|
||||
# -- Username for the calibre desktop gui
|
||||
GUAC_USER:
|
||||
# -- Password's md5 hash for the calibre desktop gui
|
||||
GUAC_PASS:
|
||||
# -- for umask setting of Calibre, default if left unset is 022.
|
||||
UMASK_SET: "022"
|
||||
# -- Optionally pass cli start arguments to calibre.
|
||||
CLI_ARGS:
|
||||
|
||||
service:
|
||||
# -- The default port is 8080
|
||||
port:
|
||||
port: 8080
|
||||
targetPort: 8080
|
||||
name: desktopgui
|
||||
|
||||
ingress:
|
||||
# enable this if you would like to access you wiki
|
||||
enabled: false
|
||||
|
||||
nodeSelector:
|
||||
kubernetes.io/arch: amd64
|
||||
|
||||
persistence:
|
||||
config:
|
||||
enabled: false
|
||||
emptyDir: false
|
||||
accessMode: "ReadWriteOnce"
|
||||
size: "1Gi"
|
||||
@@ -2,7 +2,7 @@ apiVersion: v2
|
||||
appVersion: 1.0.0
|
||||
description: Cert-Manager Webhook for DNSMadeEasy
|
||||
name: dnsmadeeasy-webhook
|
||||
version: 1.1.0
|
||||
version: 1.1.1
|
||||
keywords:
|
||||
- cert-manager
|
||||
- dnsmadeeasy
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# dnsmadeeasy-webhook
|
||||
|
||||
 
|
||||
 
|
||||
|
||||
Cert-Manager Webhook for DNSMadeEasy
|
||||
|
||||
@@ -17,7 +17,7 @@ Cert-Manager Webhook for DNSMadeEasy
|
||||
|
||||
| Repository | Name | Version |
|
||||
|------------|------|---------|
|
||||
| https://k8s-at-home.com/charts/ | common | 3.1.0 |
|
||||
| https://library-charts.k8s-at-home.com | common | 1.0.0 |
|
||||
|
||||
## TL;DR
|
||||
|
||||
@@ -77,7 +77,7 @@ N/A
|
||||
| additionalVolumeMounts[0].mountPath | string | `"/tls"` | |
|
||||
| additionalVolumeMounts[0].name | string | `"certs"` | |
|
||||
| additionalVolumeMounts[0].readOnly | bool | `true` | |
|
||||
| args | string | `"[\"--tls-cert-file=/tls/tls.crt\",\"--tls-private-key-file=/tls/tls.key\"]"` | |
|
||||
| args | string | `"[\"--tls-cert-file=/tls/tls.crt\",\"--tls-private-key-file=/tls/tls.key\",\"--secure-port=4443\"]"` | |
|
||||
| certManager.namespace | string | `"cert-manager"` | Namespace where the cert-manager operator was installed to |
|
||||
| certManager.serviceAccountName | string | `"cert-manager"` | Service account used by the cert-manager |
|
||||
| groupName | string | `"acme.mycompany.com"` | The GroupName here is used to identify your company or business unit that created this webhook. This name will need to be referenced in each Issuer's `webhook` stanza to inform cert-manager of where to send ChallengePayload resources in order to solve the DNS01 challenge. This group name should be **unique**, hence using your own company's domain here is recommended. |
|
||||
@@ -101,6 +101,7 @@ N/A
|
||||
| probes.startup.spec.httpGet.scheme | string | `"HTTPS"` | |
|
||||
| service.port.name | string | `"https"` | |
|
||||
| service.port.port | int | `443` | |
|
||||
| service.port.targetPort | int | `4443` | |
|
||||
|
||||
## Changelog
|
||||
|
||||
@@ -124,6 +125,22 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
|
||||
[1.0.0]: #1.0.0
|
||||
|
||||
### [1.1.1]
|
||||
|
||||
#### Added
|
||||
|
||||
- N/A
|
||||
|
||||
#### Changed
|
||||
|
||||
- Use port 4443 for application
|
||||
|
||||
#### Removed
|
||||
|
||||
- N/A
|
||||
|
||||
[1.1.1]: #1.1.1
|
||||
|
||||
## Support
|
||||
|
||||
- See the [Docs](https://docs.k8s-at-home.com/our-helm-charts/getting-started/)
|
||||
|
||||
@@ -27,8 +27,6 @@ https://k8s-at-home.com/charts/
|
||||
{{- define "custom.dependencies" -}}
|
||||
## Dependencies
|
||||
|
||||
This chart depends on the [cert-manager](https://cert-manager.io/docs/installation/kubernetes/).
|
||||
|
||||
{{ template "chart.requirementsTable" . }}
|
||||
{{- end -}}
|
||||
|
||||
|
||||
@@ -24,4 +24,20 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
- N/A
|
||||
|
||||
[1.0.0]: #1.0.0
|
||||
|
||||
### [1.1.1]
|
||||
|
||||
#### Added
|
||||
|
||||
- N/A
|
||||
|
||||
#### Changed
|
||||
|
||||
- Use port 4443 for application
|
||||
|
||||
#### Removed
|
||||
|
||||
- N/A
|
||||
|
||||
[1.1.1]: #1.1.1
|
||||
{{- end -}}
|
||||
|
||||
@@ -24,7 +24,7 @@ image:
|
||||
# -- Image tag
|
||||
tag: v1.0.0
|
||||
|
||||
args: '["--tls-cert-file=/tls/tls.crt","--tls-private-key-file=/tls/tls.key"]'
|
||||
args: '["--tls-cert-file=/tls/tls.crt","--tls-private-key-file=/tls/tls.key","--secure-port=4443"]'
|
||||
|
||||
additionalVolumeMounts:
|
||||
- name: certs
|
||||
@@ -60,4 +60,5 @@ probes:
|
||||
service:
|
||||
port:
|
||||
name: https
|
||||
targetPort: 4443
|
||||
port: 443
|
||||
|
||||
26
charts/healthchecks/.helmignore
Normal file
26
charts/healthchecks/.helmignore
Normal file
@@ -0,0 +1,26 @@
|
||||
# Patterns to ignore when building packages.
|
||||
# This supports shell glob matching, relative path matching, and
|
||||
# negation (prefixed with !). Only one pattern per line.
|
||||
.DS_Store
|
||||
# Common VCS dirs
|
||||
.git/
|
||||
.gitignore
|
||||
.bzr/
|
||||
.bzrignore
|
||||
.hg/
|
||||
.hgignore
|
||||
.svn/
|
||||
# Common backup files
|
||||
*.swp
|
||||
*.bak
|
||||
*.tmp
|
||||
*~
|
||||
# Various IDEs
|
||||
.project
|
||||
.idea/
|
||||
*.tmproj
|
||||
.vscode/
|
||||
# OWNERS file for Kubernetes
|
||||
OWNERS
|
||||
# helm-docs templates
|
||||
*.gotmpl
|
||||
21
charts/healthchecks/Chart.yaml
Normal file
21
charts/healthchecks/Chart.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
apiVersion: v2
|
||||
appVersion: 1.19.0
|
||||
description: Healthchecks is a cron job monitoring service. It listens for HTTP requests and email messages ("pings") from your cron jobs and scheduled tasks ("checks"). When a ping does not arrive on time, Healthchecks sends out alerts.
|
||||
name: healthchecks
|
||||
version: 1.0.0
|
||||
keywords:
|
||||
- cron
|
||||
- monitoring
|
||||
- alert
|
||||
home: https://github.com/k8s-at-home/charts/tree/master/charts/healthchecks
|
||||
icon: https://raw.githubusercontent.com/healthchecks/healthchecks/master/stuff/logo.svg?raw=true
|
||||
sources:
|
||||
- https://github.com/healthchecks/healthchecks
|
||||
- https://hub.docker.com/r/linuxserver/healthchecks
|
||||
maintainers:
|
||||
- name: auricom
|
||||
email: k8s-at-home@xpander.eml.cc
|
||||
dependencies:
|
||||
- name: common
|
||||
repository: https://library-charts.k8s-at-home.com
|
||||
version: 1.0.0
|
||||
107
charts/healthchecks/README.md
Normal file
107
charts/healthchecks/README.md
Normal file
@@ -0,0 +1,107 @@
|
||||
# healthchecks
|
||||
|
||||
 
|
||||
|
||||
Healthchecks is a cron job monitoring service. It listens for HTTP requests and email messages ("pings") from your cron jobs and scheduled tasks ("checks"). When a ping does not arrive on time, Healthchecks sends out alerts.
|
||||
|
||||
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/k8s-at-home/charts/issues/new/choose)**
|
||||
|
||||
## Source Code
|
||||
|
||||
* <https://github.com/healthchecks/healthchecks>
|
||||
* <https://hub.docker.com/r/linuxserver/healthchecks>
|
||||
|
||||
## Requirements
|
||||
|
||||
## Dependencies
|
||||
|
||||
| Repository | Name | Version |
|
||||
|------------|------|---------|
|
||||
| https://library-charts.k8s-at-home.com | common | 1.0.0 |
|
||||
|
||||
## TL;DR
|
||||
|
||||
```console
|
||||
helm repo add k8s-at-home https://k8s-at-home.com/charts/
|
||||
helm repo update
|
||||
helm install healthchecks k8s-at-home/healthchecks
|
||||
```
|
||||
|
||||
## Installing the Chart
|
||||
|
||||
To install the chart with the release name `healthchecks`
|
||||
|
||||
```console
|
||||
helm install healthchecks k8s-at-home/healthchecks
|
||||
```
|
||||
|
||||
## Uninstalling the Chart
|
||||
|
||||
To uninstall the `healthchecks` deployment
|
||||
|
||||
```console
|
||||
helm uninstall healthchecks
|
||||
```
|
||||
|
||||
The command removes all the Kubernetes components associated with the chart **including persistent volumes** and deletes the release.
|
||||
|
||||
## Configuration
|
||||
|
||||
Read through the [values.yaml](./values.yaml) file. It has several commented out suggested values.
|
||||
Other values may be used from the [values.yaml](../common/values.yaml) from the [common library](../common).
|
||||
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
|
||||
|
||||
```console
|
||||
helm install healthchecks \
|
||||
--set env.TZ="America/New York" \
|
||||
k8s-at-home/healthchecks
|
||||
```
|
||||
|
||||
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.
|
||||
|
||||
```console
|
||||
helm install healthchecks k8s-at-home/healthchecks -f values.yaml
|
||||
```
|
||||
|
||||
## Custom configuration
|
||||
|
||||
N/A
|
||||
|
||||
## Values
|
||||
|
||||
**Important**: When deploying an application Helm chart you can add more values from our common library chart [here](https://github.com/k8s-at-home/charts/tree/master/charts/common/)
|
||||
|
||||
| Key | Type | Default | Description |
|
||||
|-----|------|---------|-------------|
|
||||
| affinity | object | `{}` | Affinity settings for pod assignment of the GUI |
|
||||
| env.REGENERATE_SETTINGS | string | `"True"` | Set to true to always override the local_settings.py file with values from environment variables. Do not set to True if you have made manual modifications to this file. |
|
||||
| env.SITE_NAME | int | `8265` | The site's name (e.g., "Example Corp HealthChecks") |
|
||||
| env.SITE_ROOT | string | `"https://healthchecks.domain"` | The site's top-level URL and the port it listens to |
|
||||
| env.SUPERUSER_EMAIL | string | `"email@healthchecks.io"` | Superuser email |
|
||||
| env.SUPERUSER_PASSWORD | string | `"myVeryStrongPassword"` | Superuser password |
|
||||
| image.pullPolicy | string | `"IfNotPresent"` | |
|
||||
| image.repository | string | `"linuxserver/healthchecks"` | healthchecks image |
|
||||
| image.tag | string | `"v1.19.0-ls79"` | healthchecks image tag |
|
||||
| nodeSelector | object | `{}` | Node labels for pod assignment of the GUI |
|
||||
| persistence.config | object | `{"emptyDir":false,"enabled":false,"mountpath":"/config"}` | Volume used for configuration |
|
||||
| podAnnotations | object | `{}` | Pod annotations |
|
||||
| resources | object | `{}` | |
|
||||
| service.port.port | int | `8000` | Kubernetes port where the GUI is exposed |
|
||||
| tolerations | list | `[]` | Toleration labels for pod assignment of the GUI |
|
||||
|
||||
## Changelog
|
||||
|
||||
All notable changes to this application Helm chart will be documented in this file but does not include changes from our common library. To read those click [here](https://github.com/k8s-at-home/charts/tree/master/charts/common/README.md#Changelog).
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## Support
|
||||
|
||||
- See the [Docs](https://docs.k8s-at-home.com/our-helm-charts/getting-started/)
|
||||
- Open an [issue](https://github.com/k8s-at-home/charts/issues/new/choose)
|
||||
- Ask a [question](https://github.com/k8s-at-home/organization/discussions)
|
||||
- Join our [Discord](https://discord.gg/sTMX7Vh) community
|
||||
|
||||
----------------------------------------------
|
||||
Autogenerated from chart metadata using [helm-docs v1.5.0](https://github.com/norwoodj/helm-docs/releases/v1.5.0)
|
||||
145
charts/healthchecks/README.md.gotmpl
Normal file
145
charts/healthchecks/README.md.gotmpl
Normal file
@@ -0,0 +1,145 @@
|
||||
{{- define "custom.repository.organization" -}}
|
||||
k8s-at-home
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.repository.url" -}}
|
||||
https://github.com/k8s-at-home/charts
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.helm.url" -}}
|
||||
https://k8s-at-home.com/charts/
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.helm.path" -}}
|
||||
{{ template "custom.repository.organization" . }}/{{ template "chart.name" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.notes" -}}
|
||||
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/k8s-at-home/charts/issues/new/choose)**
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.requirements" -}}
|
||||
## Requirements
|
||||
|
||||
{{ template "chart.kubeVersionLine" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.dependencies" -}}
|
||||
## Dependencies
|
||||
|
||||
{{ template "chart.requirementsTable" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.install.tldr" -}}
|
||||
## TL;DR
|
||||
|
||||
```console
|
||||
helm repo add {{ template "custom.repository.organization" . }} {{ template "custom.helm.url" . }}
|
||||
helm repo update
|
||||
helm install {{ template "chart.name" . }} {{ template "custom.helm.path" . }}
|
||||
```
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.install" -}}
|
||||
## Installing the Chart
|
||||
|
||||
To install the chart with the release name `{{ template "chart.name" . }}`
|
||||
|
||||
```console
|
||||
helm install {{ template "chart.name" . }} {{ template "custom.helm.path" . }}
|
||||
```
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.uninstall" -}}
|
||||
## Uninstalling the Chart
|
||||
|
||||
To uninstall the `{{ template "chart.name" . }}` deployment
|
||||
|
||||
```console
|
||||
helm uninstall {{ template "chart.name" . }}
|
||||
```
|
||||
|
||||
The command removes all the Kubernetes components associated with the chart **including persistent volumes** and deletes the release.
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.configuration.header" -}}
|
||||
## Configuration
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.configuration.readValues" -}}
|
||||
Read through the [values.yaml](./values.yaml) file. It has several commented out suggested values.
|
||||
Other values may be used from the [values.yaml](../common/values.yaml) from the [common library](../common).
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.configuration.example.set" -}}
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
|
||||
|
||||
```console
|
||||
helm install {{ template "chart.name" . }} \
|
||||
--set env.TZ="America/New York" \
|
||||
{{ template "custom.helm.path" . }}
|
||||
```
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.configuration.example.file" -}}
|
||||
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.
|
||||
|
||||
```console
|
||||
helm install {{ template "chart.name" . }} {{ template "custom.helm.path" . }} -f values.yaml
|
||||
```
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.valuesSection" -}}
|
||||
## Values
|
||||
|
||||
**Important**: When deploying an application Helm chart you can add more values from our common library chart [here](https://github.com/k8s-at-home/charts/tree/master/charts/common/)
|
||||
|
||||
{{ template "chart.valuesTable" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.support" -}}
|
||||
## Support
|
||||
|
||||
- See the [Docs](https://docs.k8s-at-home.com/our-helm-charts/getting-started/)
|
||||
- Open an [issue](https://github.com/k8s-at-home/charts/issues/new/choose)
|
||||
- Ask a [question](https://github.com/k8s-at-home/organization/discussions)
|
||||
- Join our [Discord](https://discord.gg/sTMX7Vh) community
|
||||
{{- end -}}
|
||||
|
||||
{{ template "chart.header" . }}
|
||||
|
||||
{{ template "chart.versionBadge" . }}{{ template "chart.typeBadge" . }}{{ template "chart.appVersionBadge" . }}
|
||||
|
||||
{{ template "chart.description" . }}
|
||||
|
||||
{{ template "custom.notes" . }}
|
||||
|
||||
{{ template "chart.sourcesSection" . }}
|
||||
|
||||
{{ template "custom.requirements" . }}
|
||||
|
||||
{{ template "custom.dependencies" . }}
|
||||
|
||||
{{ template "custom.install.tldr" . }}
|
||||
|
||||
{{ template "custom.install" . }}
|
||||
|
||||
{{ template "custom.uninstall" . }}
|
||||
|
||||
{{ template "custom.configuration.header" . }}
|
||||
|
||||
{{ template "custom.configuration.readValues" . }}
|
||||
|
||||
{{ template "custom.configuration.example.set" . }}
|
||||
|
||||
{{ template "custom.configuration.example.file" . }}
|
||||
|
||||
{{ template "custom.custom.configuration" . }}
|
||||
|
||||
{{ template "custom.valuesSection" . }}
|
||||
|
||||
{{ template "custom.changelog" . }}
|
||||
|
||||
{{ template "custom.support" . }}
|
||||
|
||||
{{ template "helm-docs.versionFooter" . }}
|
||||
12
charts/healthchecks/README_CHANGELOG.md.gotmpl
Normal file
12
charts/healthchecks/README_CHANGELOG.md.gotmpl
Normal file
@@ -0,0 +1,12 @@
|
||||
{{- define "custom.changelog.header" -}}
|
||||
## Changelog
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.changelog" -}}
|
||||
{{ template "custom.changelog.header" . }}
|
||||
|
||||
All notable changes to this application Helm chart will be documented in this file but does not include changes from our common library. To read those click [here](https://github.com/k8s-at-home/charts/tree/master/charts/common/README.md#Changelog).
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
{{- end -}}
|
||||
9
charts/healthchecks/README_CONFIG.md.gotmpl
Normal file
9
charts/healthchecks/README_CONFIG.md.gotmpl
Normal file
@@ -0,0 +1,9 @@
|
||||
{{- define "custom.custom.configuration.header" -}}
|
||||
## Custom configuration
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.custom.configuration" -}}
|
||||
{{ template "custom.custom.configuration.header" . }}
|
||||
|
||||
N/A
|
||||
{{- end -}}
|
||||
1
charts/healthchecks/templates/NOTES.txt
Normal file
1
charts/healthchecks/templates/NOTES.txt
Normal file
@@ -0,0 +1 @@
|
||||
{{- include "common.notes.defaultNotes" . -}}
|
||||
1
charts/healthchecks/templates/common.yaml
Normal file
1
charts/healthchecks/templates/common.yaml
Normal file
@@ -0,0 +1 @@
|
||||
{{ include "common.all" . }}
|
||||
72
charts/healthchecks/values.yaml
Normal file
72
charts/healthchecks/values.yaml
Normal file
@@ -0,0 +1,72 @@
|
||||
# Default values for healthchecks.
|
||||
|
||||
image:
|
||||
# -- healthchecks image
|
||||
repository: linuxserver/healthchecks
|
||||
# -- healthchecks image tag
|
||||
tag: v1.19.0-ls79
|
||||
# healthchecks image pull policy
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
resources: {}
|
||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
||||
# choice for the user. This also increases chances charts run on environments with little
|
||||
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
||||
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
||||
# limits:
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
# requests:
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
|
||||
service:
|
||||
port:
|
||||
# -- Kubernetes port where the GUI is exposed
|
||||
port: 8000
|
||||
|
||||
|
||||
# Please consult https://github.com/linuxserver/docker-healthchecks#parameters to see all parameters
|
||||
|
||||
env:
|
||||
# -- Set to true to always override the local_settings.py file with values from environment variables. Do not set to True if you have made manual modifications to this file.
|
||||
REGENERATE_SETTINGS: "True"
|
||||
# -- The site's top-level URL and the port it listens to
|
||||
SITE_ROOT: https://healthchecks.domain
|
||||
# -- The site's name (e.g., "Example Corp HealthChecks")
|
||||
SITE_NAME: 8265
|
||||
# -- Superuser email
|
||||
SUPERUSER_EMAIL: email@healthchecks.io
|
||||
# -- Superuser password
|
||||
SUPERUSER_PASSWORD: myVeryStrongPassword
|
||||
|
||||
# -- Node labels for pod assignment of the GUI
|
||||
nodeSelector: {}
|
||||
|
||||
# -- Toleration labels for pod assignment of the GUI
|
||||
tolerations: []
|
||||
|
||||
# -- Affinity settings for pod assignment of the GUI
|
||||
affinity: {}
|
||||
|
||||
# -- Pod annotations
|
||||
podAnnotations: {}
|
||||
|
||||
persistence:
|
||||
# -- Volume used for configuration
|
||||
config:
|
||||
enabled: false
|
||||
emptyDir: false
|
||||
mountpath: /config
|
||||
## Persistent Volume Storage Class
|
||||
## If defined, storageClassName: <storageClass>
|
||||
## If set to "-", storageClassName: "", which disables dynamic provisioning
|
||||
## If undefined (the default) or set to null, no storageClassName spec is
|
||||
## set, choosing the default provisioner. (gp2 on AWS, standard on
|
||||
## GKE, AWS & OpenStack)
|
||||
# storageClass: "-"
|
||||
# accessMode: ReadWriteOnce
|
||||
# size: 1Gi
|
||||
## Do not delete the pvc upon helm uninstall
|
||||
# skipuninstall: false
|
||||
# existingClaim: ""
|
||||
@@ -1,6 +1,6 @@
|
||||
apiVersion: v2
|
||||
appVersion: 3.1.0
|
||||
version: 1.0.2
|
||||
version: 1.0.3
|
||||
name: homebridge
|
||||
description: A lightweight NodeJS server that emulates the iOS HomeKit API
|
||||
type: application
|
||||
|
||||
@@ -1,100 +1,165 @@
|
||||
# Homebridge
|
||||
# homebridge
|
||||
|
||||
This is a helm chart for [Homebridge](https://homebridge.io) based on [Docker Homebridge](https://github.com/oznu/docker-homebridge).
|
||||
  
|
||||
|
||||
## TL;DR;
|
||||
A lightweight NodeJS server that emulates the iOS HomeKit API
|
||||
|
||||
```shell
|
||||
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/k8s-at-home/charts/issues/new/choose)**
|
||||
|
||||
## Source Code
|
||||
|
||||
* <https://homebridge.io/>
|
||||
* <https://github.com/oznu/docker-homebridge>
|
||||
|
||||
## Requirements
|
||||
|
||||
## Dependencies
|
||||
|
||||
| Repository | Name | Version |
|
||||
|------------|------|---------|
|
||||
|
||||
## TL;DR
|
||||
|
||||
```console
|
||||
helm repo add k8s-at-home https://k8s-at-home.com/charts/
|
||||
helm install k8s-at-home/homebridge
|
||||
helm repo update
|
||||
helm install homebridge k8s-at-home/homebridge
|
||||
```
|
||||
|
||||
## Installing the Chart
|
||||
|
||||
To install the chart with the release name `my-release`:
|
||||
To install the chart with the release name `homebridge`
|
||||
|
||||
```shell
|
||||
helm install --name my-release k8s-at-home/homebridge
|
||||
```console
|
||||
helm install homebridge k8s-at-home/homebridge
|
||||
```
|
||||
|
||||
## Uninstalling the Chart
|
||||
|
||||
To uninstall/delete the `my-release` deployment:
|
||||
To uninstall the `homebridge` deployment
|
||||
|
||||
```shell
|
||||
helm delete my-release --purge
|
||||
```console
|
||||
helm uninstall homebridge
|
||||
```
|
||||
|
||||
The command removes all the Kubernetes components associated with the chart and deletes the release.
|
||||
The command removes all the Kubernetes components associated with the chart **including persistent volumes** and deletes the release.
|
||||
|
||||
## Configuration
|
||||
|
||||
The following tables lists the configurable parameters of the Home Assistant chart and their default values.
|
||||
Read through the [values.yaml](./values.yaml) file. It has several commented out suggested values.
|
||||
Other values may be used from the [values.yaml](../common/values.yaml) from the [common library](../common).
|
||||
|
||||
| Parameter | Description | Default |
|
||||
| ----------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------- |
|
||||
| `image.repository` | Image repository | `oznu/homebridge` |
|
||||
| `image.tag` | Image tag. Possible values listed [here](https://hub.docker.com/r/oznu/homebridge/tags). | `3.1.0` |
|
||||
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
|
||||
| `image.pullSecrets` | Secrets to use when pulling the image | `[]` |
|
||||
| `strategyType` | Specifies the strategy used to replace old Pods by new ones | `Recreate` |
|
||||
| `timezone` | Specify the container timezone | `UTC` |
|
||||
| `puid` | process userID the instance should run as | `1000` |
|
||||
| `pgid` | process groupID the instance should run as | `1000` |
|
||||
| `config.enableUI` | Enable the Homebridge UI plugin | `true` |
|
||||
| `config.plugins` | Additional Homebridge plugins to install at container startup | `[]` |
|
||||
| `config.additionalPackages` | Additional Alpine packages to install at container statup | `[] ` |
|
||||
| `probes.liveness.enabled` | Use the livenessProbe? | `true` |
|
||||
| `probes.liveness.initialDelaySeconds` | Specify liveness `initialDelaySeconds` parameter for the deployment | `60` |
|
||||
| `probes.liveness.failureThreshold` | Specify liveness `failureThreshold` parameter for the deployment | `5` |
|
||||
| `probes.liveness.timeoutSeconds` | Specify liveness `timeoutSeconds` parameter for the deployment | `10` |
|
||||
| `probes.readiness.enabled` | Use the readinessProbe? | `true` |
|
||||
| `probes.readiness.initialDelaySeconds` | Specify readiness `initialDelaySeconds` parameter for the deployment | `60` |
|
||||
| `probes.readiness.failureThreshold` | Specify readiness `failureThreshold` parameter for the deployment | `5` |
|
||||
| `probes.readiness.timeoutSeconds` | Specify readiness `timeoutSeconds` parameter for the deployment | `10` |
|
||||
| `probes.startup.enabled` | Use the startupProbe? (new in kubernetes 1.16) | `false` |
|
||||
| `probes.startup.failureThreshold` | Specify startup `failureThreshold` parameter for the deployment | `5` |
|
||||
| `probes.startup.periodSeconds` | Specify startup `periodSeconds` parameter for the deployment | `10` |
|
||||
| `service.type` | Kubernetes service type for the homebridge GUI | `ClusterIP` |
|
||||
| `service.httpPort` | Kubernetes port where the homebridge GUI is exposed | `8123` |
|
||||
| `service.annotations` | Service annotations for the homebridge GUI | `{}` |
|
||||
| `service.clusterIP` | Cluster IP for the homebridge GUI | `` |
|
||||
| `service.externalIPs` | External IPs for the homebridge GUI | `[]` |
|
||||
| `service.loadBalancerIP` | Loadbalancer IP for the homebridge GUI | `` |
|
||||
| `service.loadBalancerSourceRanges` | Loadbalancer client IP restriction range for the homebridge GUI | `[]` |
|
||||
| `service.externalTrafficPolicy` | Loadbalancer externalTrafficPolicy | `` |
|
||||
| `hostNetwork` | Enable hostNetwork - needed for discovery to work | `false` |
|
||||
| `service.nodePort` | nodePort to listen on for the homebridge GUI | `` |
|
||||
| `ingress.enabled` | Enables Ingress | `false` |
|
||||
| `ingress.annotations` | Ingress annotations | `{}` |
|
||||
| `ingress.path` | Ingress path | `/` |
|
||||
| `ingress.hosts` | Ingress accepted hostnames | `chart-example.local` |
|
||||
| `ingress.tls` | Ingress TLS configuration | `[]` |
|
||||
| `persistence.enabled` | Use persistent volume to store data | `true` |
|
||||
| `persistence.size` | Size of persistent volume claim | `1Gi` |
|
||||
| `persistence.existingClaim` | Use an existing PVC to persist data | `nil` |
|
||||
| `persistence.storageClass` | Type of persistent volume claim | `-` |
|
||||
| `persistence.accessMode` | Persistence access modes | `ReadWriteMany` |
|
||||
| `persistence.skipuninstall` | Do not delete the pvc upon helm uninstall | `false` |
|
||||
| `extraEnvs` | Extra ENV vars to pass to the homebridge container | `[]` |
|
||||
| `resources` | CPU/Memory resource requests/limits or the homebridge GUI | `{}` |
|
||||
| `nodeSelector` | Node labels for pod assignment or the homebridge GUI | `{}` |
|
||||
| `tolerations` | Toleration labels for pod assignment or the homebridge GUI | `[]` |
|
||||
| `affinity` | Affinity settings for pod assignment or the homebridge GUI | `{}` |
|
||||
| `podAnnotations` | Key-value pairs to add as pod annotations | `{}` |
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
|
||||
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
|
||||
|
||||
```shell
|
||||
helm install --name my-release \
|
||||
--set timezone="UTC" \
|
||||
```console
|
||||
helm install homebridge \
|
||||
--set env.TZ="America/New York" \
|
||||
k8s-at-home/homebridge
|
||||
```
|
||||
|
||||
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example,
|
||||
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.
|
||||
|
||||
```shell
|
||||
helm install --name my-release -f values.yaml k8s-at-home/homebridge
|
||||
```console
|
||||
helm install homebridge k8s-at-home/homebridge -f values.yaml
|
||||
```
|
||||
|
||||
Read through the [values.yaml](values.yaml) file. It has several commented out suggested values.
|
||||
## Custom configuration
|
||||
|
||||
N/A
|
||||
|
||||
## Values
|
||||
|
||||
**Important**: When deploying an application Helm chart you can add more values from our common library chart [here](https://github.com/k8s-at-home/charts/tree/master/charts/common/)
|
||||
|
||||
| Key | Type | Default | Description |
|
||||
|-----|------|---------|-------------|
|
||||
| affinity | object | `{}` | Affinity settings for pod assignment or the homebridge GUI |
|
||||
| config.additionalPackages | list | `[]` | Additional Alpine packages to install at container statup such as `bash` |
|
||||
| config.enableUI | bool | `true` | Enable the Homebridge UI plugin |
|
||||
| config.plugins | list | `[]` | Additional Homebridge plugins to install at container startup such as `homebridge-hue` |
|
||||
| extraEnvs | list | `[]` | Extra ENV vars to pass to the homebridge container |
|
||||
| fullnameOverride | string | `""` | |
|
||||
| hostNetwork | bool | `false` | Enable hostNetwork - needed for discovery to work |
|
||||
| image.pullPolicy | string | `"IfNotPresent"` | Image pull policy |
|
||||
| image.repository | string | `"oznu/homebridge"` | Image repository |
|
||||
| image.tag | string | `"3.1.0"` | Overrides the image tag whose default is the chart appVersion. Possible values listed [here](https://hub.docker.com/r/oznu/homebridge/tags) |
|
||||
| imagePullSecrets | list | `[]` | Secrets to use when pulling the image |
|
||||
| ingress.annotations | object | `{}` | Ingress annotations |
|
||||
| ingress.enabled | bool | `false` | Enables Ingress |
|
||||
| ingress.hosts | list | `["chart-example.local"]` | Ingress accepted hostnames |
|
||||
| ingress.path | string | `"/"` | Ingress path |
|
||||
| ingress.tls | list | `[]` | Ingress TLS configuration |
|
||||
| nameOverride | string | `""` | |
|
||||
| nodeSelector | object | `{}` | Node labels for pod assignment or the homebridge GUI |
|
||||
| persistence.accessMode | string | `"ReadWriteOnce"` | Persistence access modes |
|
||||
| persistence.enabled | bool | `true` | Use persistent volume to store data |
|
||||
| persistence.existingClaim | string | `nil` | Use an existing PVC to persist data |
|
||||
| persistence.size | string | `"1Gi"` | Size of persistent volume claim |
|
||||
| persistence.skipuninstall | bool | `false` | Do not delete the pvc upon helm uninstall |
|
||||
| persistence.storageClass | string | `nil` | Type of persistent volume claim |
|
||||
| pgid | int | `1000` | process groupID the instance should run as |
|
||||
| podAnnotations | object | `{}` | Key-value pairs to add as pod annotations |
|
||||
| podSecurityContext | object | `{}` | |
|
||||
| probes.liveness.enabled | bool | `true` | Use the livenessProbe? |
|
||||
| probes.liveness.failureThreshold | int | `5` | Specify liveness `failureThreshold` parameter for the deployment |
|
||||
| probes.liveness.initialDelaySeconds | int | `60` | Specify liveness `initialDelaySeconds` parameter for the deployment |
|
||||
| probes.liveness.timeoutSeconds | int | `10` | Specify liveness `timeoutSeconds` parameter for the deployment |
|
||||
| probes.readiness.enabled | bool | `true` | Use the readinessProbe? |
|
||||
| probes.readiness.failureThreshold | int | `5` | Specify readiness `failureThreshold` parameter for the deployment |
|
||||
| probes.readiness.initialDelaySeconds | int | `60` | Specify readiness `initialDelaySeconds` parameter for the deployment |
|
||||
| probes.readiness.timeoutSeconds | int | `10` | Specify readiness `timeoutSeconds` parameter for the deployment |
|
||||
| probes.startup.enabled | bool | `false` | Use the startupProbe? (new in kubernetes 1.16) |
|
||||
| probes.startup.failureThreshold | int | `30` | Specify startup `failureThreshold` parameter for the deployment |
|
||||
| probes.startup.periodSeconds | int | `10` | Specify startup `periodSeconds` parameter for the deployment |
|
||||
| puid | int | `1000` | process userID the instance should run as |
|
||||
| replicaCount | int | `1` | |
|
||||
| resources | object | `{}` | CPU/Memory resource requests/limits or the homebridge GUI |
|
||||
| securityContext | object | `{}` | |
|
||||
| service.annotations | object | `{}` | Service annotations for the homebridge GUI |
|
||||
| service.clusterIP | string | `nil` | Cluster IP for the homebridge GUI |
|
||||
| service.externalIPs | string | `nil` | External IPs for the homebridge GUI |
|
||||
| service.externalTrafficPolicy | string | `nil` | Loadbalancer externalTrafficPolicy |
|
||||
| service.homebridgePort | int | `51826` | |
|
||||
| service.httpPort | int | `8080` | Kubernetes port where the homebridge GUI is exposed |
|
||||
| service.loadBalancerIP | string | `nil` | Loadbalancer IP for the homebridge GUI |
|
||||
| service.loadBalancerSourceRanges | string | `nil` | Loadbalancer client IP restriction range for the homebridge GUI |
|
||||
| service.nodePort | string | `nil` | nodePort to listen on for the homebridge GUI |
|
||||
| service.type | string | `"ClusterIP"` | Kubernetes service type for the homebridge GUI |
|
||||
| serviceAccount.annotations | object | `{}` | |
|
||||
| serviceAccount.create | bool | `true` | |
|
||||
| serviceAccount.name | string | `""` | |
|
||||
| strategyType | string | `"Recreate"` | Specifies the strategy used to replace old Pods by new ones |
|
||||
| timezone | string | `"UTC"` | Specify the container timezone |
|
||||
| tolerations | list | `[]` | Toleration labels for pod assignment or the homebridge GUI |
|
||||
|
||||
## Changelog
|
||||
|
||||
All notable changes to this application Helm chart will be documented in this file but does not include changes from our common library. To read those click [here](https://github.com/k8s-at-home/charts/tree/master/charts/common/README.md#Changelog).
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
### [1.0.3]
|
||||
|
||||
#### Added
|
||||
|
||||
- N/A
|
||||
|
||||
#### Changed
|
||||
|
||||
- Use helm-docs
|
||||
|
||||
#### Removed
|
||||
|
||||
- N/A
|
||||
|
||||
[1.0.3]: #1.0.3
|
||||
|
||||
## Support
|
||||
|
||||
- See the [Docs](https://docs.k8s-at-home.com/our-helm-charts/getting-started/)
|
||||
- Open an [issue](https://github.com/k8s-at-home/charts/issues/new/choose)
|
||||
- Ask a [question](https://github.com/k8s-at-home/organization/discussions)
|
||||
- Join our [Discord](https://discord.gg/sTMX7Vh) community
|
||||
|
||||
----------------------------------------------
|
||||
Autogenerated from chart metadata using [helm-docs v1.5.0](https://github.com/norwoodj/helm-docs/releases/v1.5.0)
|
||||
145
charts/homebridge/README.md.gotmpl
Normal file
145
charts/homebridge/README.md.gotmpl
Normal file
@@ -0,0 +1,145 @@
|
||||
{{- define "custom.repository.organization" -}}
|
||||
k8s-at-home
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.repository.url" -}}
|
||||
https://github.com/k8s-at-home/charts
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.helm.url" -}}
|
||||
https://k8s-at-home.com/charts/
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.helm.path" -}}
|
||||
{{ template "custom.repository.organization" . }}/{{ template "chart.name" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.notes" -}}
|
||||
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/k8s-at-home/charts/issues/new/choose)**
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.requirements" -}}
|
||||
## Requirements
|
||||
|
||||
{{ template "chart.kubeVersionLine" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.dependencies" -}}
|
||||
## Dependencies
|
||||
|
||||
{{ template "chart.requirementsTable" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.install.tldr" -}}
|
||||
## TL;DR
|
||||
|
||||
```console
|
||||
helm repo add {{ template "custom.repository.organization" . }} {{ template "custom.helm.url" . }}
|
||||
helm repo update
|
||||
helm install {{ template "chart.name" . }} {{ template "custom.helm.path" . }}
|
||||
```
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.install" -}}
|
||||
## Installing the Chart
|
||||
|
||||
To install the chart with the release name `{{ template "chart.name" . }}`
|
||||
|
||||
```console
|
||||
helm install {{ template "chart.name" . }} {{ template "custom.helm.path" . }}
|
||||
```
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.uninstall" -}}
|
||||
## Uninstalling the Chart
|
||||
|
||||
To uninstall the `{{ template "chart.name" . }}` deployment
|
||||
|
||||
```console
|
||||
helm uninstall {{ template "chart.name" . }}
|
||||
```
|
||||
|
||||
The command removes all the Kubernetes components associated with the chart **including persistent volumes** and deletes the release.
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.configuration.header" -}}
|
||||
## Configuration
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.configuration.readValues" -}}
|
||||
Read through the [values.yaml](./values.yaml) file. It has several commented out suggested values.
|
||||
Other values may be used from the [values.yaml](../common/values.yaml) from the [common library](../common).
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.configuration.example.set" -}}
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
|
||||
|
||||
```console
|
||||
helm install {{ template "chart.name" . }} \
|
||||
--set env.TZ="America/New York" \
|
||||
{{ template "custom.helm.path" . }}
|
||||
```
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.configuration.example.file" -}}
|
||||
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.
|
||||
|
||||
```console
|
||||
helm install {{ template "chart.name" . }} {{ template "custom.helm.path" . }} -f values.yaml
|
||||
```
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.valuesSection" -}}
|
||||
## Values
|
||||
|
||||
**Important**: When deploying an application Helm chart you can add more values from our common library chart [here](https://github.com/k8s-at-home/charts/tree/master/charts/common/)
|
||||
|
||||
{{ template "chart.valuesTable" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.support" -}}
|
||||
## Support
|
||||
|
||||
- See the [Docs](https://docs.k8s-at-home.com/our-helm-charts/getting-started/)
|
||||
- Open an [issue](https://github.com/k8s-at-home/charts/issues/new/choose)
|
||||
- Ask a [question](https://github.com/k8s-at-home/organization/discussions)
|
||||
- Join our [Discord](https://discord.gg/sTMX7Vh) community
|
||||
{{- end -}}
|
||||
|
||||
{{ template "chart.header" . }}
|
||||
|
||||
{{ template "chart.versionBadge" . }}{{ template "chart.typeBadge" . }}{{ template "chart.appVersionBadge" . }}
|
||||
|
||||
{{ template "chart.description" . }}
|
||||
|
||||
{{ template "custom.notes" . }}
|
||||
|
||||
{{ template "chart.sourcesSection" . }}
|
||||
|
||||
{{ template "custom.requirements" . }}
|
||||
|
||||
{{ template "custom.dependencies" . }}
|
||||
|
||||
{{ template "custom.install.tldr" . }}
|
||||
|
||||
{{ template "custom.install" . }}
|
||||
|
||||
{{ template "custom.uninstall" . }}
|
||||
|
||||
{{ template "custom.configuration.header" . }}
|
||||
|
||||
{{ template "custom.configuration.readValues" . }}
|
||||
|
||||
{{ template "custom.configuration.example.set" . }}
|
||||
|
||||
{{ template "custom.configuration.example.file" . }}
|
||||
|
||||
{{ template "custom.custom.configuration" . }}
|
||||
|
||||
{{ template "custom.valuesSection" . }}
|
||||
|
||||
{{ template "custom.changelog" . }}
|
||||
|
||||
{{ template "custom.support" . }}
|
||||
|
||||
{{ template "helm-docs.versionFooter" . }}
|
||||
27
charts/homebridge/README_CHANGELOG.md.gotmpl
Normal file
27
charts/homebridge/README_CHANGELOG.md.gotmpl
Normal file
@@ -0,0 +1,27 @@
|
||||
{{- define "custom.changelog.header" -}}
|
||||
## Changelog
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.changelog" -}}
|
||||
{{ template "custom.changelog.header" . }}
|
||||
|
||||
All notable changes to this application Helm chart will be documented in this file but does not include changes from our common library. To read those click [here](https://github.com/k8s-at-home/charts/tree/master/charts/common/README.md#Changelog).
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
### [1.0.3]
|
||||
|
||||
#### Added
|
||||
|
||||
- N/A
|
||||
|
||||
#### Changed
|
||||
|
||||
- Use helm-docs
|
||||
|
||||
#### Removed
|
||||
|
||||
- N/A
|
||||
|
||||
[1.0.3]: #1.0.3
|
||||
{{- end -}}
|
||||
9
charts/homebridge/README_CONFIG.md.gotmpl
Normal file
9
charts/homebridge/README_CONFIG.md.gotmpl
Normal file
@@ -0,0 +1,9 @@
|
||||
{{- define "custom.custom.configuration.header" -}}
|
||||
## Custom configuration
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.custom.configuration" -}}
|
||||
{{ template "custom.custom.configuration.header" . }}
|
||||
|
||||
N/A
|
||||
{{- end -}}
|
||||
@@ -3,29 +3,39 @@
|
||||
replicaCount: 1
|
||||
|
||||
image:
|
||||
# -- Image repository
|
||||
repository: oznu/homebridge
|
||||
# -- Image pull policy
|
||||
pullPolicy: IfNotPresent
|
||||
# Overrides the image tag whose default is the chart appVersion.
|
||||
# -- Overrides the image tag whose default is the chart appVersion.
|
||||
# Possible values listed [here](https://hub.docker.com/r/oznu/homebridge/tags)
|
||||
tag: "3.1.0"
|
||||
|
||||
# -- Secrets to use when pulling the image
|
||||
imagePullSecrets: []
|
||||
|
||||
nameOverride: ""
|
||||
fullnameOverride: ""
|
||||
|
||||
# upgrade strategy type (e.g. Recreate or RollingUpdate)
|
||||
# -- Specifies the strategy used to replace old Pods by new ones
|
||||
strategyType: Recreate
|
||||
|
||||
# -- Specify the container timezone
|
||||
timezone: "UTC"
|
||||
# -- process userID the instance should run as
|
||||
puid: 1000
|
||||
# -- process groupID the instance should run as
|
||||
pgid: 1000
|
||||
|
||||
config:
|
||||
# -- Enable the Homebridge UI plugin
|
||||
enableUI: true
|
||||
# -- Additional Homebridge plugins to install at container startup such as `homebridge-hue`
|
||||
plugins: []
|
||||
# - homebridge-hue
|
||||
# -- Additional Alpine packages to install at container statup such as `bash`
|
||||
additionalPackages: []
|
||||
# - bash
|
||||
|
||||
# -- Extra ENV vars to pass to the homebridge container
|
||||
extraEnvs: []
|
||||
|
||||
serviceAccount:
|
||||
@@ -37,6 +47,7 @@ serviceAccount:
|
||||
# If not set and create is true, a name is generated using the fullname template
|
||||
name: ""
|
||||
|
||||
# -- Key-value pairs to add as pod annotations
|
||||
podAnnotations: {}
|
||||
|
||||
podSecurityContext: {}
|
||||
@@ -51,60 +62,87 @@ securityContext: {}
|
||||
# runAsUser: 1000
|
||||
|
||||
service:
|
||||
# -- Kubernetes service type for the homebridge GUI
|
||||
type: ClusterIP
|
||||
homebridgePort: 51826
|
||||
# -- Kubernetes port where the homebridge GUI is exposed
|
||||
httpPort: 8080
|
||||
# -- Service annotations for the homebridge GUI
|
||||
annotations: {}
|
||||
# -- (string) Cluster IP for the homebridge GUI
|
||||
clusterIP:
|
||||
# -- (string) External IPs for the homebridge GUI
|
||||
externalIPs:
|
||||
# -- (string) Loadbalancer IP for the homebridge GUI
|
||||
loadBalancerIP:
|
||||
# -- (string) Loadbalancer client IP restriction range for the homebridge GUI
|
||||
loadBalancerSourceRanges:
|
||||
# -- (string) Loadbalancer externalTrafficPolicy
|
||||
externalTrafficPolicy:
|
||||
# -- (int) nodePort to listen on for the homebridge GUI
|
||||
nodePort:
|
||||
|
||||
ingress:
|
||||
# -- Enables Ingress
|
||||
enabled: false
|
||||
# -- Ingress annotations
|
||||
annotations: {}
|
||||
# kubernetes.io/ingress.class: nginx
|
||||
# kubernetes.io/tls-acme: "true"
|
||||
# -- Ingress path
|
||||
path: /
|
||||
# -- Ingress accepted hostnames
|
||||
hosts:
|
||||
- chart-example.local
|
||||
# -- Ingress TLS configuration
|
||||
tls: []
|
||||
# - secretName: chart-example-tls
|
||||
# hosts:
|
||||
# - chart-example.local
|
||||
|
||||
# -- Enable hostNetwork - needed for discovery to work
|
||||
hostNetwork: false
|
||||
|
||||
persistence:
|
||||
# -- Use persistent volume to store data
|
||||
enabled: true
|
||||
## homebridge data Persistent Volume Storage Class
|
||||
## If defined, storageClassName: <storageClass>
|
||||
## If set to "-", storageClassName: "", which disables dynamic provisioning
|
||||
## If undefined (the default) or set to null, no storageClassName spec is
|
||||
## set, choosing the default provisioner. (gp2 on AWS, standard on
|
||||
## GKE, AWS & OpenStack)
|
||||
##
|
||||
# storageClass: "-"
|
||||
##
|
||||
## If you want to reuse an existing claim, you can pass the name of the PVC using
|
||||
## the existingClaim variable
|
||||
# existingClaim: your-claim
|
||||
# -- (string) Type of persistent volume claim
|
||||
storageClass:
|
||||
# -- (string) Use an existing PVC to persist data
|
||||
existingClaim:
|
||||
# -- Persistence access modes
|
||||
accessMode: ReadWriteOnce
|
||||
# -- Size of persistent volume claim
|
||||
size: 1Gi
|
||||
## Do not delete the pvc upon helm uninstall
|
||||
# -- Do not delete the pvc upon helm uninstall
|
||||
skipuninstall: false
|
||||
|
||||
probes:
|
||||
liveness:
|
||||
# -- Use the livenessProbe?
|
||||
enabled: true
|
||||
# -- Specify liveness `initialDelaySeconds` parameter for the deployment
|
||||
initialDelaySeconds: 60
|
||||
# -- Specify liveness `failureThreshold` parameter for the deployment
|
||||
failureThreshold: 5
|
||||
# -- Specify liveness `timeoutSeconds` parameter for the deployment
|
||||
timeoutSeconds: 10
|
||||
readiness:
|
||||
# -- Use the readinessProbe?
|
||||
enabled: true
|
||||
# -- Specify readiness `initialDelaySeconds` parameter for the deployment
|
||||
initialDelaySeconds: 60
|
||||
# -- Specify readiness `failureThreshold` parameter for the deployment
|
||||
failureThreshold: 5
|
||||
# -- Specify readiness `timeoutSeconds` parameter for the deployment
|
||||
timeoutSeconds: 10
|
||||
startup:
|
||||
# -- Use the startupProbe? (new in kubernetes 1.16)
|
||||
enabled: false
|
||||
# -- Specify startup `failureThreshold` parameter for the deployment
|
||||
failureThreshold: 30
|
||||
# -- Specify startup `periodSeconds` parameter for the deployment
|
||||
periodSeconds: 10
|
||||
|
||||
# -- CPU/Memory resource requests/limits or the homebridge GUI
|
||||
resources: {}
|
||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
||||
# choice for the user. This also increases chances charts run on environments with little
|
||||
@@ -117,8 +155,11 @@ resources: {}
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
|
||||
# -- Node labels for pod assignment or the homebridge GUI
|
||||
nodeSelector: {}
|
||||
|
||||
# -- Toleration labels for pod assignment or the homebridge GUI
|
||||
tolerations: []
|
||||
|
||||
# -- Affinity settings for pod assignment or the homebridge GUI
|
||||
affinity: {}
|
||||
|
||||
26
charts/joplin-server/.helmignore
Normal file
26
charts/joplin-server/.helmignore
Normal file
@@ -0,0 +1,26 @@
|
||||
# Patterns to ignore when building packages.
|
||||
# This supports shell glob matching, relative path matching, and
|
||||
# negation (prefixed with !). Only one pattern per line.
|
||||
.DS_Store
|
||||
# Common VCS dirs
|
||||
.git/
|
||||
.gitignore
|
||||
.bzr/
|
||||
.bzrignore
|
||||
.hg/
|
||||
.hgignore
|
||||
.svn/
|
||||
# Common backup files
|
||||
*.swp
|
||||
*.bak
|
||||
*.tmp
|
||||
*~
|
||||
# Various IDEs
|
||||
.project
|
||||
.idea/
|
||||
*.tmproj
|
||||
.vscode/
|
||||
# OWNERS file for Kubernetes
|
||||
OWNERS
|
||||
# helm-docs templates
|
||||
*.gotmpl
|
||||
21
charts/joplin-server/Chart.yaml
Normal file
21
charts/joplin-server/Chart.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
apiVersion: v2
|
||||
appVersion: 1.7.2
|
||||
description: This server allows you to sync any Joplin client
|
||||
name: joplin-server
|
||||
version: 1.0.0
|
||||
keywords:
|
||||
- joplin
|
||||
- notes
|
||||
home: https://github.com/k8s-at-home/charts/tree/master/charts/jopplin-server
|
||||
icon: https://raw.githubusercontent.com/laurent22/joplin/master/Assets/LinuxIcons/256x256.png?raw=true
|
||||
sources:
|
||||
- https://github.com/laurent22/joplin/tree/dev/packages/server
|
||||
- https://github.com/laurent22/joplin
|
||||
- https://hub.docker.com/r/joplin/server
|
||||
maintainers:
|
||||
- name: auricom
|
||||
email: k8s-at-home@xpander.eml.cc
|
||||
dependencies:
|
||||
- name: common
|
||||
repository: https://library-charts.k8s-at-home.com
|
||||
version: 1.0.0
|
||||
105
charts/joplin-server/README.md
Normal file
105
charts/joplin-server/README.md
Normal file
@@ -0,0 +1,105 @@
|
||||
# joplin-server
|
||||
|
||||
 
|
||||
|
||||
This server allows you to sync any Joplin client
|
||||
|
||||
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/k8s-at-home/charts/issues/new/choose)**
|
||||
|
||||
## Source Code
|
||||
|
||||
* <https://github.com/laurent22/joplin/tree/dev/packages/server>
|
||||
* <https://github.com/laurent22/joplin>
|
||||
* <https://hub.docker.com/r/joplin/server>
|
||||
|
||||
## Requirements
|
||||
|
||||
## Dependencies
|
||||
|
||||
| Repository | Name | Version |
|
||||
|------------|------|---------|
|
||||
| https://library-charts.k8s-at-home.com | common | 1.0.0 |
|
||||
|
||||
## TL;DR
|
||||
|
||||
```console
|
||||
helm repo add k8s-at-home https://k8s-at-home.com/charts/
|
||||
helm repo update
|
||||
helm install joplin-server k8s-at-home/joplin-server
|
||||
```
|
||||
|
||||
## Installing the Chart
|
||||
|
||||
To install the chart with the release name `joplin-server`
|
||||
|
||||
```console
|
||||
helm install joplin-server k8s-at-home/joplin-server
|
||||
```
|
||||
|
||||
## Uninstalling the Chart
|
||||
|
||||
To uninstall the `joplin-server` deployment
|
||||
|
||||
```console
|
||||
helm uninstall joplin-server
|
||||
```
|
||||
|
||||
The command removes all the Kubernetes components associated with the chart **including persistent volumes** and deletes the release.
|
||||
|
||||
## Configuration
|
||||
|
||||
Read through the [values.yaml](./values.yaml) file. It has several commented out suggested values.
|
||||
Other values may be used from the [values.yaml](../common/values.yaml) from the [common library](../common).
|
||||
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
|
||||
|
||||
```console
|
||||
helm install joplin-server \
|
||||
--set env.TZ="America/New York" \
|
||||
k8s-at-home/joplin-server
|
||||
```
|
||||
|
||||
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.
|
||||
|
||||
```console
|
||||
helm install joplin-server k8s-at-home/joplin-server -f values.yaml
|
||||
```
|
||||
|
||||
## Custom configuration
|
||||
|
||||
N/A
|
||||
|
||||
## Values
|
||||
|
||||
**Important**: When deploying an application Helm chart you can add more values from our common library chart [here](https://github.com/k8s-at-home/charts/tree/master/charts/common/)
|
||||
|
||||
| Key | Type | Default | Description |
|
||||
|-----|------|---------|-------------|
|
||||
| affinity | object | `{}` | Affinity settings for pod assignment of the GUI |
|
||||
| env.APP_BASE_URL | string | `"https://joplin.domain"` | joplin-server base URL |
|
||||
| env.APP_PORT | int | `22300` | joplin-server listening port (same as Service port) |
|
||||
| image.pullPolicy | string | `"IfNotPresent"` | |
|
||||
| image.repository | string | `"joplin/server"` | joplin-server image |
|
||||
| image.tag | string | `"1.7.2"` | joplin-server image tag |
|
||||
| nodeSelector | object | `{}` | Node labels for pod assignment of the GUI |
|
||||
| podAnnotations | object | `{}` | Pod annotations |
|
||||
| resources | object | `{}` | |
|
||||
| service.port | int | `22300` | Kubernetes port where the GUI is exposed |
|
||||
| service.type | string | `"ClusterIP"` | Kubernetes service type for the GUI |
|
||||
| tolerations | list | `[]` | Toleration labels for pod assignment of the GUI |
|
||||
|
||||
## Changelog
|
||||
|
||||
All notable changes to this application Helm chart will be documented in this file but does not include changes from our common library. To read those click [here](https://github.com/k8s-at-home/charts/tree/master/charts/common/README.md#Changelog).
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## Support
|
||||
|
||||
- See the [Docs](https://docs.k8s-at-home.com/our-helm-charts/getting-started/)
|
||||
- Open an [issue](https://github.com/k8s-at-home/charts/issues/new/choose)
|
||||
- Ask a [question](https://github.com/k8s-at-home/organization/discussions)
|
||||
- Join our [Discord](https://discord.gg/sTMX7Vh) community
|
||||
|
||||
----------------------------------------------
|
||||
Autogenerated from chart metadata using [helm-docs v1.5.0](https://github.com/norwoodj/helm-docs/releases/v1.5.0)
|
||||
145
charts/joplin-server/README.md.gotmpl
Normal file
145
charts/joplin-server/README.md.gotmpl
Normal file
@@ -0,0 +1,145 @@
|
||||
{{- define "custom.repository.organization" -}}
|
||||
k8s-at-home
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.repository.url" -}}
|
||||
https://github.com/k8s-at-home/charts
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.helm.url" -}}
|
||||
https://k8s-at-home.com/charts/
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.helm.path" -}}
|
||||
{{ template "custom.repository.organization" . }}/{{ template "chart.name" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.notes" -}}
|
||||
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/k8s-at-home/charts/issues/new/choose)**
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.requirements" -}}
|
||||
## Requirements
|
||||
|
||||
{{ template "chart.kubeVersionLine" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.dependencies" -}}
|
||||
## Dependencies
|
||||
|
||||
{{ template "chart.requirementsTable" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.install.tldr" -}}
|
||||
## TL;DR
|
||||
|
||||
```console
|
||||
helm repo add {{ template "custom.repository.organization" . }} {{ template "custom.helm.url" . }}
|
||||
helm repo update
|
||||
helm install {{ template "chart.name" . }} {{ template "custom.helm.path" . }}
|
||||
```
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.install" -}}
|
||||
## Installing the Chart
|
||||
|
||||
To install the chart with the release name `{{ template "chart.name" . }}`
|
||||
|
||||
```console
|
||||
helm install {{ template "chart.name" . }} {{ template "custom.helm.path" . }}
|
||||
```
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.uninstall" -}}
|
||||
## Uninstalling the Chart
|
||||
|
||||
To uninstall the `{{ template "chart.name" . }}` deployment
|
||||
|
||||
```console
|
||||
helm uninstall {{ template "chart.name" . }}
|
||||
```
|
||||
|
||||
The command removes all the Kubernetes components associated with the chart **including persistent volumes** and deletes the release.
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.configuration.header" -}}
|
||||
## Configuration
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.configuration.readValues" -}}
|
||||
Read through the [values.yaml](./values.yaml) file. It has several commented out suggested values.
|
||||
Other values may be used from the [values.yaml](../common/values.yaml) from the [common library](../common).
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.configuration.example.set" -}}
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
|
||||
|
||||
```console
|
||||
helm install {{ template "chart.name" . }} \
|
||||
--set env.TZ="America/New York" \
|
||||
{{ template "custom.helm.path" . }}
|
||||
```
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.configuration.example.file" -}}
|
||||
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.
|
||||
|
||||
```console
|
||||
helm install {{ template "chart.name" . }} {{ template "custom.helm.path" . }} -f values.yaml
|
||||
```
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.valuesSection" -}}
|
||||
## Values
|
||||
|
||||
**Important**: When deploying an application Helm chart you can add more values from our common library chart [here](https://github.com/k8s-at-home/charts/tree/master/charts/common/)
|
||||
|
||||
{{ template "chart.valuesTable" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.support" -}}
|
||||
## Support
|
||||
|
||||
- See the [Docs](https://docs.k8s-at-home.com/our-helm-charts/getting-started/)
|
||||
- Open an [issue](https://github.com/k8s-at-home/charts/issues/new/choose)
|
||||
- Ask a [question](https://github.com/k8s-at-home/organization/discussions)
|
||||
- Join our [Discord](https://discord.gg/sTMX7Vh) community
|
||||
{{- end -}}
|
||||
|
||||
{{ template "chart.header" . }}
|
||||
|
||||
{{ template "chart.versionBadge" . }}{{ template "chart.typeBadge" . }}{{ template "chart.appVersionBadge" . }}
|
||||
|
||||
{{ template "chart.description" . }}
|
||||
|
||||
{{ template "custom.notes" . }}
|
||||
|
||||
{{ template "chart.sourcesSection" . }}
|
||||
|
||||
{{ template "custom.requirements" . }}
|
||||
|
||||
{{ template "custom.dependencies" . }}
|
||||
|
||||
{{ template "custom.install.tldr" . }}
|
||||
|
||||
{{ template "custom.install" . }}
|
||||
|
||||
{{ template "custom.uninstall" . }}
|
||||
|
||||
{{ template "custom.configuration.header" . }}
|
||||
|
||||
{{ template "custom.configuration.readValues" . }}
|
||||
|
||||
{{ template "custom.configuration.example.set" . }}
|
||||
|
||||
{{ template "custom.configuration.example.file" . }}
|
||||
|
||||
{{ template "custom.custom.configuration" . }}
|
||||
|
||||
{{ template "custom.valuesSection" . }}
|
||||
|
||||
{{ template "custom.changelog" . }}
|
||||
|
||||
{{ template "custom.support" . }}
|
||||
|
||||
{{ template "helm-docs.versionFooter" . }}
|
||||
12
charts/joplin-server/README_CHANGELOG.md.gotmpl
Normal file
12
charts/joplin-server/README_CHANGELOG.md.gotmpl
Normal file
@@ -0,0 +1,12 @@
|
||||
{{- define "custom.changelog.header" -}}
|
||||
## Changelog
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.changelog" -}}
|
||||
{{ template "custom.changelog.header" . }}
|
||||
|
||||
All notable changes to this application Helm chart will be documented in this file but does not include changes from our common library. To read those click [here](https://github.com/k8s-at-home/charts/tree/master/charts/common/README.md#Changelog).
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
{{- end -}}
|
||||
9
charts/joplin-server/README_CONFIG.md.gotmpl
Normal file
9
charts/joplin-server/README_CONFIG.md.gotmpl
Normal file
@@ -0,0 +1,9 @@
|
||||
{{- define "custom.custom.configuration.header" -}}
|
||||
## Custom configuration
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.custom.configuration" -}}
|
||||
{{ template "custom.custom.configuration.header" . }}
|
||||
|
||||
N/A
|
||||
{{- end -}}
|
||||
1
charts/joplin-server/templates/NOTES.txt
Normal file
1
charts/joplin-server/templates/NOTES.txt
Normal file
@@ -0,0 +1 @@
|
||||
{{- include "common.notes.defaultNotes" . -}}
|
||||
1
charts/joplin-server/templates/common.yaml
Normal file
1
charts/joplin-server/templates/common.yaml
Normal file
@@ -0,0 +1 @@
|
||||
{{ include "common.all" . }}
|
||||
56
charts/joplin-server/values.yaml
Normal file
56
charts/joplin-server/values.yaml
Normal file
@@ -0,0 +1,56 @@
|
||||
# Default values for joplin-server.
|
||||
|
||||
image:
|
||||
# -- joplin-server image
|
||||
repository: joplin/server
|
||||
# -- joplin-server image tag
|
||||
tag: 1.7.2
|
||||
# joplin-server image pull policy
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
resources: {}
|
||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
||||
# choice for the user. This also increases chances charts run on environments with little
|
||||
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
||||
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
||||
# limits:
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
# requests:
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
|
||||
service:
|
||||
port:
|
||||
# -- Kubernetes port where the GUI is exposed
|
||||
port: 22300
|
||||
|
||||
env:
|
||||
# -- joplin-server base URL
|
||||
APP_BASE_URL: https://joplin.domain
|
||||
# -- joplin-server listening port (same as Service port)
|
||||
APP_PORT: 22300
|
||||
# -- Use pg for postgres
|
||||
# DB_CLIENT : pg
|
||||
# -- Postgres DB Host
|
||||
# POSTGRES_HOST : db
|
||||
# -- Postgres DB port
|
||||
# POSTGRES_PORT : 5432
|
||||
# -- Postgres DB name
|
||||
# POSTGRES_DATABASE : joplin
|
||||
# -- Postgres DB Username
|
||||
# POSTGRES_USER : joplin
|
||||
# -- Postgres DB password
|
||||
# POSTGRES_PASSWORD : password
|
||||
|
||||
# -- Node labels for pod assignment of the GUI
|
||||
nodeSelector: {}
|
||||
|
||||
# -- Toleration labels for pod assignment of the GUI
|
||||
tolerations: []
|
||||
|
||||
# -- Affinity settings for pod assignment of the GUI
|
||||
affinity: {}
|
||||
|
||||
# -- Pod annotations
|
||||
podAnnotations: {}
|
||||
26
charts/kanboard/.helmignore
Normal file
26
charts/kanboard/.helmignore
Normal file
@@ -0,0 +1,26 @@
|
||||
# Patterns to ignore when building packages.
|
||||
# This supports shell glob matching, relative path matching, and
|
||||
# negation (prefixed with !). Only one pattern per line.
|
||||
.DS_Store
|
||||
# Common VCS dirs
|
||||
.git/
|
||||
.gitignore
|
||||
.bzr/
|
||||
.bzrignore
|
||||
.hg/
|
||||
.hgignore
|
||||
.svn/
|
||||
# Common backup files
|
||||
*.swp
|
||||
*.bak
|
||||
*.tmp
|
||||
*~
|
||||
# Various IDEs
|
||||
.project
|
||||
.idea/
|
||||
*.tmproj
|
||||
.vscode/
|
||||
# OWNERS file for Kubernetes
|
||||
OWNERS
|
||||
# helm-docs templates
|
||||
*.gotmpl
|
||||
24
charts/kanboard/Chart.yaml
Normal file
24
charts/kanboard/Chart.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
apiVersion: v2
|
||||
appVersion: v1.2.18
|
||||
description: Kanboard is a free and open source Kanban project management software.
|
||||
name: kanboard
|
||||
version: 1.1.0
|
||||
kubeVersion: ">=1.16.0-0"
|
||||
keywords:
|
||||
- kanboard
|
||||
- kanban
|
||||
home: https://github.com/k8s-at-home/charts/tree/master/charts/kanboard
|
||||
icon: https://raw.githubusercontent.com/kanboard/website/master/assets/img/icon.svg
|
||||
sources:
|
||||
- https://github.com/kanboard/kanboard
|
||||
maintainers:
|
||||
- name: trly
|
||||
email: trly@users.noreply.github.com
|
||||
dependencies:
|
||||
- name: common
|
||||
repository: https://k8s-at-home.com/charts/
|
||||
version: 3.1.0
|
||||
- name: postgresql
|
||||
version: 10.3.7
|
||||
repository: https://charts.bitnami.com/bitnami
|
||||
condition: postgresql.enabled
|
||||
141
charts/kanboard/README.md
Normal file
141
charts/kanboard/README.md
Normal file
@@ -0,0 +1,141 @@
|
||||
# kanboard
|
||||
|
||||
 
|
||||
|
||||
Kanboard is a free and open source Kanban project management software.
|
||||
|
||||
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/k8s-at-home/charts/issues/new/choose)**
|
||||
|
||||
## Source Code
|
||||
|
||||
* <https://github.com/kanboard/kanboard>
|
||||
|
||||
## Requirements
|
||||
|
||||
Kubernetes: `>=1.16.0-0`
|
||||
|
||||
## Dependencies
|
||||
|
||||
| Repository | Name | Version |
|
||||
|------------|------|---------|
|
||||
| https://charts.bitnami.com/bitnami | postgresql | 10.3.7 |
|
||||
| https://k8s-at-home.com/charts/ | common | 3.1.0 |
|
||||
|
||||
## TL;DR
|
||||
|
||||
```console
|
||||
helm repo add k8s-at-home https://k8s-at-home.com/charts/
|
||||
helm repo update
|
||||
helm install kanboard k8s-at-home/kanboard
|
||||
```
|
||||
|
||||
## Installing the Chart
|
||||
|
||||
To install the chart with the release name `kanboard`
|
||||
|
||||
```console
|
||||
helm install kanboard k8s-at-home/kanboard
|
||||
```
|
||||
|
||||
## Uninstalling the Chart
|
||||
|
||||
To uninstall the `kanboard` deployment
|
||||
|
||||
```console
|
||||
helm uninstall kanboard
|
||||
```
|
||||
|
||||
The command removes all the Kubernetes components associated with the chart **including persistent volumes** and deletes the release.
|
||||
|
||||
## Configuration
|
||||
|
||||
Read through the [values.yaml](./values.yaml) file. It has several commented out suggested values.
|
||||
Other values may be used from the [values.yaml](../common/values.yaml) from the [common library](../common).
|
||||
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
|
||||
|
||||
```console
|
||||
helm install kanboard \
|
||||
--set env.TZ="America/New York" \
|
||||
k8s-at-home/kanboard
|
||||
```
|
||||
|
||||
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.
|
||||
|
||||
```console
|
||||
helm install kanboard k8s-at-home/kanboard -f values.yaml
|
||||
```
|
||||
|
||||
## Custom configuration
|
||||
|
||||
N/A
|
||||
|
||||
## Values
|
||||
|
||||
**Important**: When deploying an application Helm chart you can add more values from our common library chart [here](https://github.com/k8s-at-home/charts/tree/master/charts/common/)
|
||||
|
||||
| Key | Type | Default | Description |
|
||||
|-----|------|---------|-------------|
|
||||
| config.cache.dir | string | `nil` | Cache folder to use if cache driver is "file" |
|
||||
| config.cache.driver | string | `"memory"` | Available cache drivers are "file" and "memory" |
|
||||
| config.db.driver | string | `"sqlite"` | Database driver: sqlite, mysql or postgres |
|
||||
| config.db.runMigrations | bool | `true` | Run automatically database migrations |
|
||||
| config.debug | bool | `false` | |
|
||||
| config.files.dir | string | `"data/files"` | Folder for uploaded files |
|
||||
| config.logging.driver | string | `"stdout"` | log driver: syslog, stderr, stdout or file |
|
||||
| config.mail.bcc | string | `nil` | |
|
||||
| config.mail.enabled | bool | `false` | Enable/disable email configuration from the user interface |
|
||||
| config.mail.from | string | `"notifications@kanboard.local"` | |
|
||||
| config.plugins.api.url | string | `"https://kanboard.org/plugins.json"` | default plugin directory URL |
|
||||
| config.plugins.dir | string | `"data/plugins"` | Plugin folder |
|
||||
| config.plugins.installer | bool | `false` | Enable/disable plugin installation from the user interface |
|
||||
| config.session.duration | int | `0` | Session duration in second (0 = until the browser is closed) |
|
||||
| config.session.handler | string | `"db"` | Session handler: db or php |
|
||||
| config.urlRewrite | bool | `false` | |
|
||||
| env | object | `{}` | https://docs.kanboard.org/en/latest/admin_guide/docker.html#environment-variables |
|
||||
| image.pullPolicy | string | `"IfNotPresent"` | |
|
||||
| image.repository | string | `"kanboard/kanboard"` | |
|
||||
| image.tag | string | `"v1.2.18"` | |
|
||||
| ingress.enabled | bool | `false` | |
|
||||
| persistence.data | object | `{"accessMode":"ReadWriteOnce","emptyDir":false,"enabled":false,"mountPath":"/var/www/app/data","size":"1Gi"}` | enable data persistence |
|
||||
| persistence.ssl | object | `{"emptyDir":false,"enabled":false,"mountPath":"/etc/nginx/ssl"}` | enable SSL persistence |
|
||||
| postgresql | object | `{"enabled":false,"persistence":{"enabled":false},"postgresqlDatabase":"kanboard","postgresqlPassword":"kanboard","postgresqlUsername":"kanboard"}` | Bitnami postgres chart. For more options see https://github.com/bitnami/charts/tree/master/bitnami/postgresql |
|
||||
| postgresql.enabled | bool | `false` | true: use bitnami postgres instance -- false: use your own postgres instance |
|
||||
| postgresql.persistence.enabled | bool | `false` | if database is stored to a PVC. Set to true when you are done testing. |
|
||||
| postgresql.postgresqlDatabase | string | `"kanboard"` | Postgres database password |
|
||||
| postgresql.postgresqlPassword | string | `"kanboard"` | Postgres database password |
|
||||
| postgresql.postgresqlUsername | string | `"kanboard"` | Postgres database user name |
|
||||
| service.port.port | int | `80` | |
|
||||
| strategy.type | string | `"Recreate"` | |
|
||||
|
||||
## Changelog
|
||||
|
||||
All notable changes to this application Helm chart will be documented in this file but does not include changes from our common library. To read those click [here](https://github.com/k8s-at-home/charts/tree/master/charts/common/README.md#Changelog).
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
### [1.1.0]
|
||||
|
||||
#### Added
|
||||
|
||||
- Added postgres support
|
||||
|
||||
[1.1.0]: https://github.com/k8s-at-home/charts/tree/kanboard-1.1.0/charts/home-assistant
|
||||
|
||||
### [1.0.0]
|
||||
|
||||
#### Added
|
||||
|
||||
- Initial chart release
|
||||
|
||||
[1.0.0]: https://github.com/k8s-at-home/charts/tree/kanboard-1.0.0/charts/home-assistant
|
||||
|
||||
## Support
|
||||
|
||||
- See the [Docs](https://docs.k8s-at-home.com/our-helm-charts/getting-started/)
|
||||
- Open an [issue](https://github.com/k8s-at-home/charts/issues/new/choose)
|
||||
- Ask a [question](https://github.com/k8s-at-home/organization/discussions)
|
||||
- Join our [Discord](https://discord.gg/sTMX7Vh) community
|
||||
|
||||
----------------------------------------------
|
||||
Autogenerated from chart metadata using [helm-docs v1.5.0](https://github.com/norwoodj/helm-docs/releases/v1.5.0)
|
||||
145
charts/kanboard/README.md.gotmpl
Normal file
145
charts/kanboard/README.md.gotmpl
Normal file
@@ -0,0 +1,145 @@
|
||||
{{- define "custom.repository.organization" -}}
|
||||
k8s-at-home
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.repository.url" -}}
|
||||
https://github.com/k8s-at-home/charts
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.helm.url" -}}
|
||||
https://k8s-at-home.com/charts/
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.helm.path" -}}
|
||||
{{ template "custom.repository.organization" . }}/{{ template "chart.name" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.notes" -}}
|
||||
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/k8s-at-home/charts/issues/new/choose)**
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.requirements" -}}
|
||||
## Requirements
|
||||
|
||||
{{ template "chart.kubeVersionLine" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.dependencies" -}}
|
||||
## Dependencies
|
||||
|
||||
{{ template "chart.requirementsTable" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.install.tldr" -}}
|
||||
## TL;DR
|
||||
|
||||
```console
|
||||
helm repo add {{ template "custom.repository.organization" . }} {{ template "custom.helm.url" . }}
|
||||
helm repo update
|
||||
helm install {{ template "chart.name" . }} {{ template "custom.helm.path" . }}
|
||||
```
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.install" -}}
|
||||
## Installing the Chart
|
||||
|
||||
To install the chart with the release name `{{ template "chart.name" . }}`
|
||||
|
||||
```console
|
||||
helm install {{ template "chart.name" . }} {{ template "custom.helm.path" . }}
|
||||
```
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.uninstall" -}}
|
||||
## Uninstalling the Chart
|
||||
|
||||
To uninstall the `{{ template "chart.name" . }}` deployment
|
||||
|
||||
```console
|
||||
helm uninstall {{ template "chart.name" . }}
|
||||
```
|
||||
|
||||
The command removes all the Kubernetes components associated with the chart **including persistent volumes** and deletes the release.
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.configuration.header" -}}
|
||||
## Configuration
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.configuration.readValues" -}}
|
||||
Read through the [values.yaml](./values.yaml) file. It has several commented out suggested values.
|
||||
Other values may be used from the [values.yaml](../common/values.yaml) from the [common library](../common).
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.configuration.example.set" -}}
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
|
||||
|
||||
```console
|
||||
helm install {{ template "chart.name" . }} \
|
||||
--set env.TZ="America/New York" \
|
||||
{{ template "custom.helm.path" . }}
|
||||
```
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.configuration.example.file" -}}
|
||||
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.
|
||||
|
||||
```console
|
||||
helm install {{ template "chart.name" . }} {{ template "custom.helm.path" . }} -f values.yaml
|
||||
```
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.valuesSection" -}}
|
||||
## Values
|
||||
|
||||
**Important**: When deploying an application Helm chart you can add more values from our common library chart [here](https://github.com/k8s-at-home/charts/tree/master/charts/common/)
|
||||
|
||||
{{ template "chart.valuesTable" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.support" -}}
|
||||
## Support
|
||||
|
||||
- See the [Docs](https://docs.k8s-at-home.com/our-helm-charts/getting-started/)
|
||||
- Open an [issue](https://github.com/k8s-at-home/charts/issues/new/choose)
|
||||
- Ask a [question](https://github.com/k8s-at-home/organization/discussions)
|
||||
- Join our [Discord](https://discord.gg/sTMX7Vh) community
|
||||
{{- end -}}
|
||||
|
||||
{{ template "chart.header" . }}
|
||||
|
||||
{{ template "chart.versionBadge" . }}{{ template "chart.typeBadge" . }}{{ template "chart.appVersionBadge" . }}
|
||||
|
||||
{{ template "chart.description" . }}
|
||||
|
||||
{{ template "custom.notes" . }}
|
||||
|
||||
{{ template "chart.sourcesSection" . }}
|
||||
|
||||
{{ template "custom.requirements" . }}
|
||||
|
||||
{{ template "custom.dependencies" . }}
|
||||
|
||||
{{ template "custom.install.tldr" . }}
|
||||
|
||||
{{ template "custom.install" . }}
|
||||
|
||||
{{ template "custom.uninstall" . }}
|
||||
|
||||
{{ template "custom.configuration.header" . }}
|
||||
|
||||
{{ template "custom.configuration.readValues" . }}
|
||||
|
||||
{{ template "custom.configuration.example.set" . }}
|
||||
|
||||
{{ template "custom.configuration.example.file" . }}
|
||||
|
||||
{{ template "custom.custom.configuration" . }}
|
||||
|
||||
{{ template "custom.valuesSection" . }}
|
||||
|
||||
{{ template "custom.changelog" . }}
|
||||
|
||||
{{ template "custom.support" . }}
|
||||
|
||||
{{ template "helm-docs.versionFooter" . }}
|
||||
27
charts/kanboard/README_CHANGELOG.md.gotmpl
Normal file
27
charts/kanboard/README_CHANGELOG.md.gotmpl
Normal file
@@ -0,0 +1,27 @@
|
||||
{{- define "custom.changelog.header" -}}
|
||||
## Changelog
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.changelog" -}}
|
||||
{{ template "custom.changelog.header" . }}
|
||||
|
||||
All notable changes to this application Helm chart will be documented in this file but does not include changes from our common library. To read those click [here](https://github.com/k8s-at-home/charts/tree/master/charts/common/README.md#Changelog).
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
### [1.1.0]
|
||||
|
||||
#### Added
|
||||
|
||||
- Added postgres support
|
||||
|
||||
[1.1.0]: https://github.com/k8s-at-home/charts/tree/kanboard-1.1.0/charts/home-assistant
|
||||
|
||||
### [1.0.0]
|
||||
|
||||
#### Added
|
||||
|
||||
- Initial chart release
|
||||
|
||||
[1.0.0]: https://github.com/k8s-at-home/charts/tree/kanboard-1.0.0/charts/home-assistant
|
||||
{{- end -}}
|
||||
9
charts/kanboard/README_CONFIG.md.gotmpl
Normal file
9
charts/kanboard/README_CONFIG.md.gotmpl
Normal file
@@ -0,0 +1,9 @@
|
||||
{{- define "custom.custom.configuration.header" -}}
|
||||
## Custom configuration
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.custom.configuration" -}}
|
||||
{{ template "custom.custom.configuration.header" . }}
|
||||
|
||||
N/A
|
||||
{{- end -}}
|
||||
1
charts/kanboard/templates/NOTES.txt
Normal file
1
charts/kanboard/templates/NOTES.txt
Normal file
@@ -0,0 +1 @@
|
||||
{{- include "common.notes.defaultNotes" . -}}
|
||||
32
charts/kanboard/templates/_helpers.tpl
Normal file
32
charts/kanboard/templates/_helpers.tpl
Normal file
@@ -0,0 +1,32 @@
|
||||
{{/* vim: set filetype=mustache: */}}
|
||||
{{/*
|
||||
Expand the name of the chart.
|
||||
*/}}
|
||||
{{- define "kanboard.name" -}}
|
||||
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Create a default fully qualified app name.
|
||||
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
|
||||
If release name contains chart name it will be used as a full name.
|
||||
*/}}
|
||||
{{- define "kanboard.fullname" -}}
|
||||
{{- if .Values.fullnameOverride -}}
|
||||
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}}
|
||||
{{- else -}}
|
||||
{{- $name := default .Chart.Name .Values.nameOverride -}}
|
||||
{{- if contains $name .Release.Name -}}
|
||||
{{- .Release.Name | trunc 63 | trimSuffix "-" -}}
|
||||
{{- else -}}
|
||||
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Create chart name and version as used by the chart label.
|
||||
*/}}
|
||||
{{- define "kanboard.chart" -}}
|
||||
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
|
||||
{{- end -}}
|
||||
55
charts/kanboard/templates/common.yaml
Normal file
55
charts/kanboard/templates/common.yaml
Normal file
@@ -0,0 +1,55 @@
|
||||
{{/* Make sure all variables are set properly */}}
|
||||
{{- include "common.values.setup" . }}
|
||||
|
||||
{{/* Set non-sensitive configuration through environment variables */}}
|
||||
{{- $_ := set .Values.env "DEBUG" (printf "%t" .Values.config.debug) -}}
|
||||
{{- $_ := set .Values.env "ENABLE_URL_REWRITE" (printf "%t" .Values.config.urlRewrite) -}}
|
||||
{{- $_ := set .Values.env "PLUGIN_DIR" (printf "%s" .Values.config.plugins.dir) -}}
|
||||
{{- $_ := set .Values.env "PLUGIN_INSTALLER" (printf "%t" .Values.config.plugins.installer) -}}
|
||||
{{- $_ := set .Values.env "PLUGIN_API_URL" (printf "%s" .Values.config.plugins.api.url) -}}
|
||||
{{- $_ := set .Values.env "FILES_DIR" (printf "%s" .Values.config.files.dir) -}}
|
||||
{{- $_ := set .Values.env "CACHE_DRIVER" (printf "%s" .Values.config.cache.driver) -}}
|
||||
{{- if .Values.config.cache.dir -}}
|
||||
{{- $_ := set .Values.env "CACHE_DIR" (printf "%s" .Values.config.cache.dir) -}}
|
||||
{{- end -}}
|
||||
{{- $_ := set .Values.env "MAIL_CONFIGURATION" (printf "%t" .Values.config.mail.enabled) -}}
|
||||
{{- if .Values.config.mail.enabled -}}
|
||||
{{- $_ := set .Values.env "MAIL_FROM" (printf "%s" .Values.config.mail.from) -}}
|
||||
{{- if .Values.config.mail.bcc -}}
|
||||
{{- $_ := set .Values.env "MAIL_BCC" (printf "%s" .Values.config.mail.bcc) -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
{{- $_ := set .Values.env "DB_RUN_MIGRATIONS" (printf "%t" .Values.config.db.runMigrations) -}}
|
||||
{{- $_ := set .Values.env "DB_DRIVER" (printf "%s" .Values.config.db.driver) -}}
|
||||
{{- $_ := set .Values.env "LOG_DRIVER" (printf "%s" .Values.config.logging.driver) -}}
|
||||
{{- $_ := set .Values.env "SESSION_DURATION" (printf "%v" .Values.config.session.duration) -}}
|
||||
{{- $_ := set .Values.env "SESSION_HANDLER" (printf "%s" .Values.config.session.handler) -}}
|
||||
|
||||
{{/* Append the configMap to the additionalVolumes */}}
|
||||
{{- define "kanboard.config.volume" -}}
|
||||
name: config
|
||||
secret:
|
||||
secretName: {{ template "common.names.fullname" . }}-config
|
||||
{{- end -}}
|
||||
|
||||
{{- if .Values.postgresql.enabled -}}
|
||||
{{- $volume := include "kanboard.config.volume" . | fromYaml -}}
|
||||
{{- $additionalVolumes := append .Values.additionalVolumes $volume }}
|
||||
{{- $_ := set .Values "additionalVolumes" (deepCopy $additionalVolumes) -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/* Append the config secret volume to the additionalVolumeMounts */}}
|
||||
{{- define "kanboard.config.volumeMount" -}}
|
||||
name: config
|
||||
mountPath: /var/www/app/config.php
|
||||
subPath: config.php
|
||||
{{- end -}}
|
||||
|
||||
{{- if .Values.postgresql.enabled -}}
|
||||
{{- $volumeMount := include "kanboard.config.volumeMount" . | fromYaml -}}
|
||||
{{- $additionalVolumeMounts := append .Values.additionalVolumeMounts $volumeMount }}
|
||||
{{- $_ := set .Values "additionalVolumeMounts" (deepCopy $additionalVolumeMounts) -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/* Render the templates */}}
|
||||
{{ include "common.all" . }}
|
||||
33
charts/kanboard/templates/config.yaml
Normal file
33
charts/kanboard/templates/config.yaml
Normal file
@@ -0,0 +1,33 @@
|
||||
{{- if .Values.postgresql.enabled -}}
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: {{ include "kanboard.fullname" . }}-config
|
||||
stringData:
|
||||
config.php: |
|
||||
<?php
|
||||
// Mysql/Postgres username
|
||||
define('DB_USERNAME', {{ .Values.postgresql.postgresqlUsername | quote }});
|
||||
|
||||
// Mysql/Postgres password
|
||||
define('DB_PASSWORD', {{ .Values.postgresql.postgresqlPassword | quote }});
|
||||
|
||||
// Mysql/Postgres hostname
|
||||
define('DB_HOSTNAME', "{{ include "kanboard.fullname" . }}-postgresql-headless");
|
||||
|
||||
// Mysql/Postgres database name
|
||||
define('DB_NAME', {{ .Values.postgresql.postgresqlDatabase | quote }});
|
||||
|
||||
// Mysql/Postgres custom port (null = default port)
|
||||
define('DB_PORT', {{ .Values.postgresql.service.port }});
|
||||
|
||||
// Mysql SSL key
|
||||
define('DB_SSL_KEY', null);
|
||||
|
||||
// Mysql SSL certificate
|
||||
define('DB_SSL_CERT', null);
|
||||
|
||||
// Mysql SSL CA
|
||||
define('DB_SSL_CA', null);
|
||||
?>
|
||||
{{- end -}}
|
||||
96
charts/kanboard/values.yaml
Normal file
96
charts/kanboard/values.yaml
Normal file
@@ -0,0 +1,96 @@
|
||||
#
|
||||
# IMPORTANT NOTE
|
||||
#
|
||||
# This chart inherits from our common library chart. You can check the default values/options here:
|
||||
# https://github.com/k8s-at-home/charts/tree/master/charts/common/values.yaml
|
||||
#
|
||||
|
||||
image:
|
||||
repository: kanboard/kanboard
|
||||
pullPolicy: IfNotPresent
|
||||
tag: v1.2.18
|
||||
|
||||
strategy:
|
||||
type: Recreate
|
||||
|
||||
# -- https://docs.kanboard.org/en/latest/admin_guide/docker.html#environment-variables
|
||||
env: {}
|
||||
|
||||
service:
|
||||
port:
|
||||
port: 80
|
||||
|
||||
ingress:
|
||||
enabled: false
|
||||
|
||||
persistence:
|
||||
# -- enable data persistence
|
||||
data:
|
||||
enabled: false
|
||||
emptyDir: false
|
||||
mountPath: /var/www/app/data
|
||||
accessMode: ReadWriteOnce
|
||||
size: 1Gi
|
||||
|
||||
# -- enable SSL persistence
|
||||
ssl:
|
||||
enabled: false
|
||||
emptyDir: false
|
||||
mountPath: /etc/nginx/ssl
|
||||
|
||||
# https://docs.kanboard.org/en/latest/admin_guide/config_file.html
|
||||
config:
|
||||
debug: false
|
||||
urlRewrite: false
|
||||
plugins:
|
||||
# -- Enable/disable plugin installation from the user interface
|
||||
installer: false
|
||||
# -- Plugin folder
|
||||
dir: 'data/plugins'
|
||||
api:
|
||||
# -- default plugin directory URL
|
||||
url: 'https://kanboard.org/plugins.json'
|
||||
files:
|
||||
# -- Folder for uploaded files
|
||||
dir: 'data/files'
|
||||
cache:
|
||||
# -- Available cache drivers are "file" and "memory"
|
||||
driver: 'memory'
|
||||
# -- Cache folder to use if cache driver is "file"
|
||||
dir: null
|
||||
mail:
|
||||
# -- Enable/disable email configuration from the user interface
|
||||
enabled: false
|
||||
from: 'notifications@kanboard.local'
|
||||
bcc: null
|
||||
db:
|
||||
# -- Run automatically database migrations
|
||||
runMigrations: true
|
||||
# -- Database driver: sqlite, mysql or postgres
|
||||
driver: sqlite
|
||||
|
||||
logging:
|
||||
# -- log driver: syslog, stderr, stdout or file
|
||||
driver: stdout
|
||||
|
||||
session:
|
||||
# -- Session duration in second (0 = until the browser is closed)
|
||||
duration: 0
|
||||
# -- Session handler: db or php
|
||||
handler: db
|
||||
|
||||
# -- Bitnami postgres chart. For more options see https://github.com/bitnami/charts/tree/master/bitnami/postgresql
|
||||
postgresql:
|
||||
# -- true: use bitnami postgres instance
|
||||
# -- false: use your own postgres instance
|
||||
enabled: false
|
||||
# -- Postgres database user name
|
||||
postgresqlUsername: kanboard
|
||||
# -- Postgres database password
|
||||
postgresqlPassword: kanboard
|
||||
# -- Postgres database password
|
||||
postgresqlDatabase: kanboard
|
||||
persistence:
|
||||
# -- if database is stored to a PVC. Set to true when you are done testing.
|
||||
enabled: false
|
||||
# storageClass: ""
|
||||
@@ -2,7 +2,7 @@ apiVersion: v2
|
||||
appVersion: 1.0.6-12
|
||||
description: Librespeed is a HTML5 webpage to test upload and download speeds
|
||||
name: librespeed
|
||||
version: 2.0.0
|
||||
version: 2.0.1
|
||||
keywords:
|
||||
- librespeed
|
||||
home: https://github.com/k8s-at-home/charts/tree/master/charts/librespeed
|
||||
|
||||
@@ -1,96 +1,152 @@
|
||||
# Librespeed
|
||||
# librespeed
|
||||
|
||||
HTML5 based speedtest with password protected history
|
||||
 
|
||||
|
||||
**This chart is not maintained by the Librespeed project and any issues with the chart should be raised [here](https://github.com/k8s-at-home/charts/issues/new)**
|
||||
Librespeed is a HTML5 webpage to test upload and download speeds
|
||||
|
||||
## TL;DR;
|
||||
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/k8s-at-home/charts/issues/new/choose)**
|
||||
|
||||
```shell
|
||||
## Source Code
|
||||
|
||||
* <https://github.com/librespeed/speedtest>
|
||||
* <https://hub.docker.com/r/linuxserver/librespeed>
|
||||
* <https://github.com/k8s-at-home/charts/tree/master/charts/librespeed>
|
||||
|
||||
## Requirements
|
||||
|
||||
## Dependencies
|
||||
|
||||
| Repository | Name | Version |
|
||||
|------------|------|---------|
|
||||
|
||||
## TL;DR
|
||||
|
||||
```console
|
||||
helm repo add k8s-at-home https://k8s-at-home.com/charts/
|
||||
helm install k8s-at-home/librespeed
|
||||
helm repo update
|
||||
helm install librespeed k8s-at-home/librespeed
|
||||
```
|
||||
|
||||
## Introduction
|
||||
|
||||
This code is adopted from the [Linuxserver Librespeed docker image](https://hub.docker.com/r/linuxserver/librespeed) which runs the [Librespeed application](https://github.com/librespeed/speedtest)
|
||||
|
||||
## Installing the Chart
|
||||
|
||||
To install the chart with the release name `my-release`:
|
||||
To install the chart with the release name `librespeed`
|
||||
|
||||
```shell
|
||||
helm install --name my-release k8s-at-home/librespeed
|
||||
```console
|
||||
helm install librespeed k8s-at-home/librespeed
|
||||
```
|
||||
|
||||
## Uninstalling the Chart
|
||||
|
||||
To uninstall/delete the `my-release` deployment:
|
||||
To uninstall the `librespeed` deployment
|
||||
|
||||
```shell
|
||||
helm delete my-release --purge
|
||||
```console
|
||||
helm uninstall librespeed
|
||||
```
|
||||
|
||||
The command removes all the Kubernetes components associated with the chart and deletes the release.
|
||||
The command removes all the Kubernetes components associated with the chart **including persistent volumes** and deletes the release.
|
||||
|
||||
## Configuration
|
||||
|
||||
The following tables lists the configurable parameters of the Librespeed chart and their default values.
|
||||
Read through the [values.yaml](./values.yaml) file. It has several commented out suggested values.
|
||||
Other values may be used from the [values.yaml](../common/values.yaml) from the [common library](../common).
|
||||
|
||||
| Parameter | Description | Default |
|
||||
|:---------------------------------- |:----------------------------------------------------------------------- |:------------------------- |
|
||||
| `image.repository` | Librespeed image | `linuxserver/librespeed` |
|
||||
| `image.tag` | Librespeed image tag | `5.2-ls25` |
|
||||
| `image.pullPolicy` | Librespeed image pull policy | `IfNotPresent` |
|
||||
| `strategyType` | Specifies the strategy used to replace old Pods by new ones | `Recreate` |
|
||||
| `livenessProbePath` | Default livenessProbe path | `/` |
|
||||
| `readinessProbePath` | Default readinessProbe path | `/` |
|
||||
| `timezone` | Default timezone | `UTC` |
|
||||
| `puid` | Default UID | `1000` |
|
||||
| `pgid` | Default GID | `1000` |
|
||||
| `telemetry` | Enable/Disable history | `false` |
|
||||
| `title` | Title of your speedtest | `LibreSpeed` |
|
||||
| `idObfuscation` | Test IDs are obfuscated, avoids exposing database internal sequential IDs| `false` |
|
||||
| `redactIPAddresses` | IP addresses/hostnames are redacted from the collected telemetry | `false` |
|
||||
| `email` | Email address for GDPR requests. Must be specified when telemetry=true | `fake@fake.com |
|
||||
| `distance` | how the distance from the server is measured. Options `km`, `mi`, or `` | `km` |
|
||||
| `service.type` | Kubernetes service type for the GUI | `ClusterIP` |
|
||||
| `service.port` | Kubernetes port where the GUI is exposed | `1880` |
|
||||
| `service.nodePort` | Kubernetes nodePort where the GUI is exposed | `` |
|
||||
| `service.annotations` | Service annotations for the GUI | `{}` |
|
||||
| `service.labels` | Custom labels | `{}` |
|
||||
| `service.loadBalancerIP` | Loadbalance IP for the GUI | `{}` |
|
||||
| `service.loadBalancerSourceRanges` | List of IP CIDRs allowed access to load balancer (if supported) | None |
|
||||
| `service.externalTrafficPolicy` | Set the externalTrafficPolicy in the Service to either Cluster or Local | `Cluster` |
|
||||
| `ingress.enabled` | Enables Ingress | `false` |
|
||||
| `ingress.annotations` | Ingress annotations | `{}` |
|
||||
| `ingress.path` | Ingress path | `/` |
|
||||
| `ingress.hosts` | Ingress accepted hostnames | `chart-example.local` |
|
||||
| `ingress.tls` | Ingress TLS configuration | `[]` |
|
||||
| `persistence.enabled` | Use persistent volume to store data | `false` |
|
||||
| `persistence.size` | Size of persistent volume claim | `5Gi` |
|
||||
| `persistence.existingClaim` | Use an existing PVC to persist data | `nil` |
|
||||
| `persistence.storageClass` | Type of persistent volume claim | `-` |
|
||||
| `persistence.accessModes` | Persistence access modes | `ReadWriteOnce` |
|
||||
| `persistence.subPath` | Mount a sub dir of the persistent volume | `nil` |
|
||||
| `resources` | CPU/Memory resource requests/limits | `{}` |
|
||||
| `nodeSelector` | Node labels for pod assignment | `{}` |
|
||||
| `tolerations` | Toleration labels for pod assignment | `[]` |
|
||||
| `affinity` | Affinity settings for pod assignment | `{}` |
|
||||
| `podAnnotations` | Key-value pairs to add as pod annotations | `{}` |
|
||||
| `deploymentAnnotations` | Key-value pairs to add as deployment annotations | `{}` |
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
|
||||
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
|
||||
|
||||
```shell
|
||||
helm install --name my-release \
|
||||
--set config.timezone="America/New_York" \
|
||||
```console
|
||||
helm install librespeed \
|
||||
--set env.TZ="America/New York" \
|
||||
k8s-at-home/librespeed
|
||||
```
|
||||
|
||||
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example,
|
||||
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.
|
||||
|
||||
```shell
|
||||
helm install --name my-release -f values.yaml k8s-at-home/librespeed
|
||||
```console
|
||||
helm install librespeed k8s-at-home/librespeed -f values.yaml
|
||||
```
|
||||
|
||||
Read through the [values.yaml](values.yaml) file. It has several commented out suggested values.
|
||||
## Custom configuration
|
||||
|
||||
N/A
|
||||
|
||||
## Values
|
||||
|
||||
**Important**: When deploying an application Helm chart you can add more values from our common library chart [here](https://github.com/k8s-at-home/charts/tree/master/charts/common/)
|
||||
|
||||
| Key | Type | Default | Description |
|
||||
|-----|------|---------|-------------|
|
||||
| affinity | object | `{}` | Affinity settings for pod assignment or the homebridge GUI |
|
||||
| deploymentAnnotations | object | `{}` | Key-value pairs to add as deployment annotations |
|
||||
| distance | string | `"km"` | how the distance from the server is measured. Options `km`, `mi`, or `` |
|
||||
| email | string | `nil` | Email address for GDPR requests. Must be specified when telemetry=true |
|
||||
| fullnameOverride | string | `""` | |
|
||||
| idObfuscation | bool | `false` | Test IDs are obfuscated, avoids exposing database internal sequential IDs |
|
||||
| image.pullPolicy | string | `"IfNotPresent"` | Librespeed image pull policy |
|
||||
| image.repository | string | `"adolfintel/speedtest"` | Librespeed image |
|
||||
| image.tag | string | `"latest"` | Librespeed image tag |
|
||||
| ingress.annotations | object | `{}` | Ingress annotations |
|
||||
| ingress.enabled | bool | `false` | Enables Ingress |
|
||||
| ingress.hosts | list | `["chart-example.local"]` | Ingress accepted hostnames |
|
||||
| ingress.path | string | `"/"` | Ingress path |
|
||||
| ingress.tls | list | `[]` | Ingress TLS configuration |
|
||||
| livenessProbePath | string | `"/"` | Default livenessProbe path |
|
||||
| nameOverride | string | `""` | |
|
||||
| nodeSelector | object | `{}` | Node labels for pod assignment or the homebridge GUI |
|
||||
| password | string | `"ChangeMe"` | password for stats page |
|
||||
| persistence.accessMode | string | `"ReadWriteOnce"` | Persistence access modes |
|
||||
| persistence.enabled | bool | `true` | Use persistent volume to store data |
|
||||
| persistence.existingClaim | string | `nil` | Use an existing PVC to persist data |
|
||||
| persistence.size | string | `"1Gi"` | Size of persistent volume claim |
|
||||
| persistence.skipuninstall | bool | `false` | Do not delete the pvc upon helm uninstall |
|
||||
| persistence.storageClass | string | `nil` | Type of persistent volume claim |
|
||||
| persistence.subPath | string | `nil` | When mounting the data volume you may specify a subPath |
|
||||
| pgid | string | `"1000"` | Default GID |
|
||||
| podAnnotations | object | `{}` | Key-value pairs to add as pod annotations |
|
||||
| puid | string | `"1000"` | Default UID |
|
||||
| readinessProbePath | string | `"/"` | Default readinessProbe path |
|
||||
| redactIPAddresses | bool | `false` | IP addresses/hostnames are redacted from the collected telemetry |
|
||||
| resources | object | `{}` | CPU/Memory resource requests/limits or the homebridge GUI |
|
||||
| service.annotations | object | `{}` | Service annotations for the GUI |
|
||||
| service.externalTrafficPolicy | string | `"Cluster"` | Set the externalTrafficPolicy in the Service to either Cluster or Local |
|
||||
| service.labels | object | `{}` | Custom labels |
|
||||
| service.loadBalancerIP | string | `nil` | Loadbalance IP for the GUI |
|
||||
| service.loadBalancerSourceRanges | list | `nil` | List of IP CIDRs allowed access to load balancer (if supported) |
|
||||
| service.nodePort | int | `nil` | Kubernetes nodePort where the GUI is exposed |
|
||||
| service.port | int | `80` | Kubernetes port where the GUI is exposed |
|
||||
| service.type | string | `"ClusterIP"` | Kubernetes service type for the GUI |
|
||||
| strategyType | string | `"Recreate"` | Specifies the strategy used to replace old Pods by new ones |
|
||||
| telemetry | bool | `false` | Enable/Disable history |
|
||||
| timezone | string | `"UTC"` | Default timezone |
|
||||
| title | string | `"LibreSpeed"` | Title of your speedtest |
|
||||
| tolerations | list | `[]` | Toleration labels for pod assignment or the homebridge GUI |
|
||||
|
||||
## Changelog
|
||||
|
||||
All notable changes to this application Helm chart will be documented in this file but does not include changes from our common library. To read those click [here](https://github.com/k8s-at-home/charts/tree/master/charts/common/README.md#Changelog).
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
### [2.0.1]
|
||||
|
||||
#### Added
|
||||
|
||||
- N/A
|
||||
|
||||
#### Changed
|
||||
|
||||
- Use helm-docs
|
||||
|
||||
#### Removed
|
||||
|
||||
- N/A
|
||||
|
||||
[2.0.1]: #2.0.1
|
||||
|
||||
## Support
|
||||
|
||||
- See the [Docs](https://docs.k8s-at-home.com/our-helm-charts/getting-started/)
|
||||
- Open an [issue](https://github.com/k8s-at-home/charts/issues/new/choose)
|
||||
- Ask a [question](https://github.com/k8s-at-home/organization/discussions)
|
||||
- Join our [Discord](https://discord.gg/sTMX7Vh) community
|
||||
|
||||
----------------------------------------------
|
||||
Autogenerated from chart metadata using [helm-docs v1.5.0](https://github.com/norwoodj/helm-docs/releases/v1.5.0)
|
||||
145
charts/librespeed/README.md.gotmpl
Normal file
145
charts/librespeed/README.md.gotmpl
Normal file
@@ -0,0 +1,145 @@
|
||||
{{- define "custom.repository.organization" -}}
|
||||
k8s-at-home
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.repository.url" -}}
|
||||
https://github.com/k8s-at-home/charts
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.helm.url" -}}
|
||||
https://k8s-at-home.com/charts/
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.helm.path" -}}
|
||||
{{ template "custom.repository.organization" . }}/{{ template "chart.name" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.notes" -}}
|
||||
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/k8s-at-home/charts/issues/new/choose)**
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.requirements" -}}
|
||||
## Requirements
|
||||
|
||||
{{ template "chart.kubeVersionLine" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.dependencies" -}}
|
||||
## Dependencies
|
||||
|
||||
{{ template "chart.requirementsTable" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.install.tldr" -}}
|
||||
## TL;DR
|
||||
|
||||
```console
|
||||
helm repo add {{ template "custom.repository.organization" . }} {{ template "custom.helm.url" . }}
|
||||
helm repo update
|
||||
helm install {{ template "chart.name" . }} {{ template "custom.helm.path" . }}
|
||||
```
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.install" -}}
|
||||
## Installing the Chart
|
||||
|
||||
To install the chart with the release name `{{ template "chart.name" . }}`
|
||||
|
||||
```console
|
||||
helm install {{ template "chart.name" . }} {{ template "custom.helm.path" . }}
|
||||
```
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.uninstall" -}}
|
||||
## Uninstalling the Chart
|
||||
|
||||
To uninstall the `{{ template "chart.name" . }}` deployment
|
||||
|
||||
```console
|
||||
helm uninstall {{ template "chart.name" . }}
|
||||
```
|
||||
|
||||
The command removes all the Kubernetes components associated with the chart **including persistent volumes** and deletes the release.
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.configuration.header" -}}
|
||||
## Configuration
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.configuration.readValues" -}}
|
||||
Read through the [values.yaml](./values.yaml) file. It has several commented out suggested values.
|
||||
Other values may be used from the [values.yaml](../common/values.yaml) from the [common library](../common).
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.configuration.example.set" -}}
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
|
||||
|
||||
```console
|
||||
helm install {{ template "chart.name" . }} \
|
||||
--set env.TZ="America/New York" \
|
||||
{{ template "custom.helm.path" . }}
|
||||
```
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.configuration.example.file" -}}
|
||||
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.
|
||||
|
||||
```console
|
||||
helm install {{ template "chart.name" . }} {{ template "custom.helm.path" . }} -f values.yaml
|
||||
```
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.valuesSection" -}}
|
||||
## Values
|
||||
|
||||
**Important**: When deploying an application Helm chart you can add more values from our common library chart [here](https://github.com/k8s-at-home/charts/tree/master/charts/common/)
|
||||
|
||||
{{ template "chart.valuesTable" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.support" -}}
|
||||
## Support
|
||||
|
||||
- See the [Docs](https://docs.k8s-at-home.com/our-helm-charts/getting-started/)
|
||||
- Open an [issue](https://github.com/k8s-at-home/charts/issues/new/choose)
|
||||
- Ask a [question](https://github.com/k8s-at-home/organization/discussions)
|
||||
- Join our [Discord](https://discord.gg/sTMX7Vh) community
|
||||
{{- end -}}
|
||||
|
||||
{{ template "chart.header" . }}
|
||||
|
||||
{{ template "chart.versionBadge" . }}{{ template "chart.typeBadge" . }}{{ template "chart.appVersionBadge" . }}
|
||||
|
||||
{{ template "chart.description" . }}
|
||||
|
||||
{{ template "custom.notes" . }}
|
||||
|
||||
{{ template "chart.sourcesSection" . }}
|
||||
|
||||
{{ template "custom.requirements" . }}
|
||||
|
||||
{{ template "custom.dependencies" . }}
|
||||
|
||||
{{ template "custom.install.tldr" . }}
|
||||
|
||||
{{ template "custom.install" . }}
|
||||
|
||||
{{ template "custom.uninstall" . }}
|
||||
|
||||
{{ template "custom.configuration.header" . }}
|
||||
|
||||
{{ template "custom.configuration.readValues" . }}
|
||||
|
||||
{{ template "custom.configuration.example.set" . }}
|
||||
|
||||
{{ template "custom.configuration.example.file" . }}
|
||||
|
||||
{{ template "custom.custom.configuration" . }}
|
||||
|
||||
{{ template "custom.valuesSection" . }}
|
||||
|
||||
{{ template "custom.changelog" . }}
|
||||
|
||||
{{ template "custom.support" . }}
|
||||
|
||||
{{ template "helm-docs.versionFooter" . }}
|
||||
27
charts/librespeed/README_CHANGELOG.md.gotmpl
Normal file
27
charts/librespeed/README_CHANGELOG.md.gotmpl
Normal file
@@ -0,0 +1,27 @@
|
||||
{{- define "custom.changelog.header" -}}
|
||||
## Changelog
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.changelog" -}}
|
||||
{{ template "custom.changelog.header" . }}
|
||||
|
||||
All notable changes to this application Helm chart will be documented in this file but does not include changes from our common library. To read those click [here](https://github.com/k8s-at-home/charts/tree/master/charts/common/README.md#Changelog).
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
### [2.0.1]
|
||||
|
||||
#### Added
|
||||
|
||||
- N/A
|
||||
|
||||
#### Changed
|
||||
|
||||
- Use helm-docs
|
||||
|
||||
#### Removed
|
||||
|
||||
- N/A
|
||||
|
||||
[2.0.1]: #2.0.1
|
||||
{{- end -}}
|
||||
9
charts/librespeed/README_CONFIG.md.gotmpl
Normal file
9
charts/librespeed/README_CONFIG.md.gotmpl
Normal file
@@ -0,0 +1,9 @@
|
||||
{{- define "custom.custom.configuration.header" -}}
|
||||
## Custom configuration
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.custom.configuration" -}}
|
||||
{{ template "custom.custom.configuration.header" . }}
|
||||
|
||||
N/A
|
||||
{{- end -}}
|
||||
@@ -2,112 +2,122 @@
|
||||
# This is a YAML-formatted file.
|
||||
# Declare variables to be passed into your templates.
|
||||
|
||||
# upgrade strategy type (e.g. Recreate or RollingUpdate)
|
||||
# -- Specifies the strategy used to replace old Pods by new ones
|
||||
strategyType: Recreate
|
||||
|
||||
image:
|
||||
# -- Librespeed image
|
||||
repository: adolfintel/speedtest
|
||||
# -- Librespeed image tag
|
||||
tag: latest
|
||||
# -- Librespeed image pull policy
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
nameOverride: ""
|
||||
fullnameOverride: ""
|
||||
|
||||
# -- Default livenessProbe path
|
||||
livenessProbePath: /
|
||||
# -- Default readinessProbe path
|
||||
readinessProbePath: /
|
||||
|
||||
# -- Default timezone
|
||||
timezone: "UTC"
|
||||
# -- Default UID
|
||||
puid: "1000"
|
||||
# -- Default GID
|
||||
pgid: "1000"
|
||||
|
||||
## Store results? If enabled, password is required
|
||||
# -- Enable/Disable history
|
||||
telemetry: false
|
||||
## The following are required when telemetry is enabled
|
||||
## If telemetry is enabled, a stats page will be available at http://your.server/results/stats.php
|
||||
# password: "ChangeMe"
|
||||
# email: "fake@fake.com"
|
||||
# -- password for stats page
|
||||
password: "ChangeMe"
|
||||
# -- (string) Email address for GDPR requests. Must be specified when telemetry=true
|
||||
email:
|
||||
|
||||
## The following are optional. The defaults are listed
|
||||
# title: LibreSpeed
|
||||
## Test IDs are obfuscated, to avoid exposing the database internal sequential IDs
|
||||
# idObfuscation: false
|
||||
## IP addresses and hostnames are redacted from the collected telemetry, for better privacy
|
||||
# redactIPAddresses: false
|
||||
## Specifies how the distance from the server is measured. Can be either km for kilometers, mi for miles, or an empty string to disable distance measurement.
|
||||
# distance: "km"
|
||||
# -- Title of your speedtest
|
||||
title: LibreSpeed
|
||||
# -- Test IDs are obfuscated, avoids exposing database internal sequential IDs
|
||||
idObfuscation: false
|
||||
# -- IP addresses/hostnames are redacted from the collected telemetry
|
||||
redactIPAddresses: false
|
||||
# -- how the distance from the server is measured. Options `km`, `mi`, or ``
|
||||
distance: "km"
|
||||
|
||||
|
||||
service:
|
||||
# -- Kubernetes service type for the GUI
|
||||
type: ClusterIP
|
||||
# -- Kubernetes port where the GUI is exposed
|
||||
port: 80
|
||||
## Specify the nodePort value for the LoadBalancer and NodePort service types.
|
||||
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
|
||||
##
|
||||
# nodePort:
|
||||
## Provide any additional annotations which may be required. This can be used to
|
||||
## set the LoadBalancer service type to internal only.
|
||||
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
|
||||
##
|
||||
# -- (int) Kubernetes nodePort where the GUI is exposed
|
||||
nodePort:
|
||||
# -- Service annotations for the GUI
|
||||
annotations: {}
|
||||
# -- Custom labels
|
||||
labels: {}
|
||||
## Use loadBalancerIP to request a specific static IP,
|
||||
## otherwise leave blank
|
||||
##
|
||||
# -- (string) Loadbalance IP for the GUI
|
||||
loadBalancerIP:
|
||||
# loadBalancerSourceRanges: []
|
||||
## Set the externalTrafficPolicy in the Service to either Cluster or Local
|
||||
# externalTrafficPolicy: Cluster
|
||||
# -- (list) List of IP CIDRs allowed access to load balancer (if supported)
|
||||
loadBalancerSourceRanges:
|
||||
# -- Set the externalTrafficPolicy in the Service to either Cluster or Local
|
||||
externalTrafficPolicy:
|
||||
|
||||
ingress:
|
||||
# -- Enables Ingress
|
||||
enabled: false
|
||||
# -- Ingress annotations
|
||||
annotations: {}
|
||||
# kubernetes.io/ingress.class: nginx
|
||||
# kubernetes.io/tls-acme: "true"
|
||||
# -- Ingress path
|
||||
path: /
|
||||
# -- Ingress accepted hostnames
|
||||
hosts:
|
||||
- chart-example.local
|
||||
# -- Ingress TLS configuration
|
||||
tls: []
|
||||
# - secretName: chart-example-tls
|
||||
# hosts:
|
||||
# - chart-example.local
|
||||
|
||||
persistence:
|
||||
# -- Use persistent volume to store data
|
||||
enabled: false
|
||||
## node-red data Persistent Volume Storage Class
|
||||
## If defined, storageClassName: <storageClass>
|
||||
## If set to "-", storageClassName: "", which disables dynamic provisioning
|
||||
## If undefined (the default) or set to null, no storageClassName spec is
|
||||
## set, choosing the default provisioner. (gp2 on AWS, standard on
|
||||
## GKE, AWS & OpenStack)
|
||||
##
|
||||
# storageClass: "-"
|
||||
##
|
||||
## If you want to reuse an existing claim, you can pass the name of the PVC using
|
||||
## the existingClaim variable
|
||||
# existingClaim: your-claim
|
||||
# -- (string) Type of persistent volume claim
|
||||
storageClass:
|
||||
# -- (string) Use an existing PVC to persist data
|
||||
existingClaim:
|
||||
# -- Persistence access modes
|
||||
accessMode: ReadWriteOnce
|
||||
# -- Size of persistent volume claim
|
||||
size: 1Gi
|
||||
## When mounting the data volume you may specify a subPath
|
||||
# subPath: /configs/node-red
|
||||
|
||||
# -- Do not delete the pvc upon helm uninstall
|
||||
skipuninstall: false
|
||||
# -- (string) When mounting the data volume you may specify a subPath
|
||||
subPath:
|
||||
# -- CPU/Memory resource requests/limits or the homebridge GUI
|
||||
resources: {}
|
||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
||||
# choice for the user. This also increases chances charts run on environments with little
|
||||
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
||||
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
||||
# limits:
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
# requests:
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
|
||||
# -- Node labels for pod assignment or the homebridge GUI
|
||||
nodeSelector: {}
|
||||
|
||||
# -- Toleration labels for pod assignment or the homebridge GUI
|
||||
tolerations: []
|
||||
|
||||
# -- Affinity settings for pod assignment or the homebridge GUI
|
||||
affinity: {}
|
||||
|
||||
# -- Key-value pairs to add as pod annotations
|
||||
podAnnotations: {}
|
||||
|
||||
# -- Key-value pairs to add as deployment annotations
|
||||
deploymentAnnotations: {}
|
||||
|
||||
@@ -2,7 +2,7 @@ apiVersion: v2
|
||||
appVersion: 2.0.7
|
||||
description: Eclipse Mosquitto - An open source MQTT broker
|
||||
name: mosquitto
|
||||
version: 1.2.0
|
||||
version: 1.3.0
|
||||
kubeVersion: ">=1.16.0-0"
|
||||
keywords:
|
||||
- mosquitto
|
||||
|
||||
@@ -83,11 +83,17 @@ N/A
|
||||
| persistence.data.enabled | bool | `false` | |
|
||||
| persistence.data.mountPath | string | `"/mosquitto/data"` | |
|
||||
| persistence.data.size | string | `"100Mi"` | |
|
||||
| persistence.configinc.accessMode | string | `"ReadWriteOnce"` | |
|
||||
| persistence.configinc.emptyDir | bool | `false` | |
|
||||
| persistence.configinc.enabled | bool | `false` | |
|
||||
| persistence.configinc.mountPath | string | `"/mosquitto/configinc"` | |
|
||||
| persistence.configinc.size | string | `"100Mi"` | |
|
||||
| service.annotations | object | `{}` | |
|
||||
| service.port.name | string | `"mqtt"` | |
|
||||
| service.port.port | int | `1883` | |
|
||||
| service.type | string | `"ClusterIP"` | |
|
||||
| strategy.type | string | `"Recreate"` | |
|
||||
| auth.enabled | bool | `false` | |
|
||||
|
||||
## Changelog
|
||||
|
||||
@@ -119,4 +125,4 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
- Join our [Discord](https://discord.gg/sTMX7Vh) community
|
||||
|
||||
----------------------------------------------
|
||||
Autogenerated from chart metadata using [helm-docs v1.5.0](https://github.com/norwoodj/helm-docs/releases/v1.5.0)
|
||||
Autogenerated from chart metadata using [helm-docs v1.5.0](https://github.com/norwoodj/helm-docs/releases/v1.5.0)
|
||||
|
||||
@@ -7,9 +7,16 @@ metadata:
|
||||
data:
|
||||
mosquitto.conf: |
|
||||
listener {{ .Values.service.port.port }}
|
||||
{{- if .Values.auth.enabled }}
|
||||
allow_anonymous false
|
||||
{{- else }}
|
||||
allow_anonymous true
|
||||
{{- end }}
|
||||
{{- if .Values.persistence.data.enabled }}
|
||||
persistence true
|
||||
persistence_location {{ .Values.persistence.data.mountPath }}
|
||||
autosave_interval 1800
|
||||
{{- end }}
|
||||
{{- if .Values.persistence.configinc.enabled }}
|
||||
include_dir {{ .Values.persistence.configinc.mountPath }}
|
||||
{{- end }}
|
||||
|
||||
@@ -21,6 +21,9 @@ service:
|
||||
port: 1883
|
||||
name: mqtt
|
||||
|
||||
auth:
|
||||
enabled: false
|
||||
|
||||
persistence:
|
||||
data:
|
||||
enabled: false
|
||||
@@ -38,3 +41,20 @@ persistence:
|
||||
## Do not delete the pvc upon helm uninstall
|
||||
# skipuninstall: false
|
||||
# existingClaim: ""
|
||||
configinc:
|
||||
# a persistent volume to place *.conf mosquitto-config-files in
|
||||
enabled: false
|
||||
emptyDir: false
|
||||
mountPath: /mosquitto/configinc
|
||||
## Persistent Volume Storage Class
|
||||
## If defined, storageClassName: <storageClass>
|
||||
## If set to "-", storageClassName: "", which disables dynamic provisioning
|
||||
## If undefined (the default) or set to null, no storageClassName spec is
|
||||
## set, choosing the default provisioner. (gp2 on AWS, standard on
|
||||
## GKE, AWS & OpenStack)
|
||||
# storageClass: "-"
|
||||
accessMode: ReadWriteOnce
|
||||
size: 100Mi
|
||||
## Do not delete the pvc upon helm uninstall
|
||||
# skipuninstall: false
|
||||
# existingClaim: ""
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
apiVersion: v2
|
||||
name: node-feature-discovery
|
||||
version: 2.1.0
|
||||
version: 2.1.1
|
||||
appVersion: 0.7.0
|
||||
description: Detect hardware features available on each node in a Kubernetes cluster, and advertises those features using node labels
|
||||
keywords:
|
||||
|
||||
@@ -1,72 +1,141 @@
|
||||
# node-feature-discovery helm chart
|
||||
# node-feature-discovery
|
||||
|
||||
This is a helm chart for [node-feature-discovery](https://github.com/kubernetes-sigs/node-feature-discovery) using the master/worker pattern.
|
||||
 
|
||||
|
||||
Detect hardware features available on each node in a Kubernetes cluster, and advertises those features using node labels
|
||||
|
||||
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/k8s-at-home/charts/issues/new/choose)**
|
||||
|
||||
## Source Code
|
||||
|
||||
* <https://github.com/kubernetes-sigs/node-feature-discovery>
|
||||
* <https://github.com/k8s-at-home/charts>
|
||||
|
||||
## Requirements
|
||||
|
||||
## Dependencies
|
||||
|
||||
| Repository | Name | Version |
|
||||
|------------|------|---------|
|
||||
|
||||
## TL;DR
|
||||
|
||||
```shell
|
||||
```console
|
||||
helm repo add k8s-at-home https://k8s-at-home.com/charts/
|
||||
helm install k8s-at-home/node-feature-discovery
|
||||
helm repo update
|
||||
helm install node-feature-discovery k8s-at-home/node-feature-discovery
|
||||
```
|
||||
|
||||
## Installing the Chart
|
||||
|
||||
To install the chart with the release name `my-release`:
|
||||
To install the chart with the release name `node-feature-discovery`
|
||||
|
||||
```shell
|
||||
helm install my-release k8s-at-home/node-feature-discovery
|
||||
```console
|
||||
helm install node-feature-discovery k8s-at-home/node-feature-discovery
|
||||
```
|
||||
|
||||
## Uninstalling the Chart
|
||||
|
||||
To uninstall/delete the `my-release` deployment:
|
||||
To uninstall the `node-feature-discovery` deployment
|
||||
|
||||
```shell
|
||||
helm delete my-release --purge
|
||||
```console
|
||||
helm uninstall node-feature-discovery
|
||||
```
|
||||
|
||||
The command removes all the Kubernetes components associated with the chart and deletes the release.
|
||||
The command removes all the Kubernetes components associated with the chart **including persistent volumes** and deletes the release.
|
||||
|
||||
## Configuration
|
||||
|
||||
The following tables lists the configurable parameters of the Sentry chart and their default values.
|
||||
Read through the [values.yaml](https://github.com/k8s-at-home/charts/blob/master/charts/node-feature-discovery/values.yaml) file. It has several commented out suggested values.
|
||||
Read through the [values.yaml](./values.yaml) file. It has several commented out suggested values.
|
||||
Other values may be used from the [values.yaml](../common/values.yaml) from the [common library](../common).
|
||||
|
||||
| Parameter | Description | Default |
|
||||
| ------------------------------------------- | -------------------------------------------------------------------------------------------- | ----------------------------------------------------- |
|
||||
| `image.repository` | Image repository | `quay.io/kubernetes_incubator/node-feature-discovery` |
|
||||
| `image.tag` | Image tag. Possible values listed [here](https://github.com/kubernetes-sigs/node-feature-discovery/releases). | `v0.6.0` |
|
||||
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
|
||||
| `strategyType` | Specifies the strategy used to replace old Pods by new ones | `Recreate` |
|
||||
| `sources` | List of sources to consider when labeling - see [documentation](https://github.com/kubernetes-sigs/node-feature-discovery#feature-sources) for info | `[]` |
|
||||
| `config` | node-feature-discovery configuration - see [nfd-worker.conf.example](https://github.com/kubernetes-sigs/node-feature-discovery/blob/master/nfd-worker.conf.example) for example | `{}` |
|
||||
| `service.type` | Kubernetes service type for the GUI | `ClusterIP` |
|
||||
| `service.port` | Kubernetes port where the GUI is exposed | `8080` |
|
||||
| `service.annotations` | Service annotations for the GUI | `{}` |
|
||||
| `service.labels` | Custom labels | `{}` |
|
||||
| `service.loadBalancerIP` | Loadbalancer IP for the GUI | `{}` |
|
||||
| `service.loadBalancerSourceRanges` | List of IP CIDRs allowed access to load balancer (if supported) | `nil` |
|
||||
| `podAnnotations` | Key-value pairs to add as pod annotations | `{}` |
|
||||
| `master.replicaCount` | Number of replicas to scale the master component to | `1` |
|
||||
| `master.resources` | CPU/Memory resource requests/limits for master component | `{}` |
|
||||
| `master.nodeSelector` | Node labels for master component pod assignment | `{}` |
|
||||
| `master.tolerations` | Toleration labels for master component pod assignment | See [values.yaml](https://github.com/k8s-at-home/charts/blob/master/charts/node-feature-discovery/values.yaml) |
|
||||
| `master.affinity` | Affinity settings for master component pod assignment | See [values.yaml](https://github.com/k8s-at-home/charts/blob/master/charts/node-feature-discovery/values.yaml) |
|
||||
| `worker.resources` | CPU/Memory resource requests/limits for worker component | `{}` |
|
||||
| `worker.nodeSelector` | Node labels for worker component pod assignment | `{}` |
|
||||
| `worker.tolerations` | Toleration labels for worker component pod assignment | `[]` |
|
||||
| `worker.affinity` | Affinity settings for worker component pod assignment | `{}` |
|
||||
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
|
||||
|
||||
```console
|
||||
helm install my-release \
|
||||
--set image.pullPolicy="Always" \
|
||||
helm install node-feature-discovery \
|
||||
--set env.TZ="America/New York" \
|
||||
k8s-at-home/node-feature-discovery
|
||||
```
|
||||
|
||||
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example,
|
||||
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.
|
||||
|
||||
```console
|
||||
helm install my-release -f values.yaml k8s-at-home/node-feature-discovery
|
||||
helm install node-feature-discovery k8s-at-home/node-feature-discovery -f values.yaml
|
||||
```
|
||||
|
||||
## Custom configuration
|
||||
|
||||
N/A
|
||||
|
||||
## Values
|
||||
|
||||
**Important**: When deploying an application Helm chart you can add more values from our common library chart [here](https://github.com/k8s-at-home/charts/tree/master/charts/common/)
|
||||
|
||||
| Key | Type | Default | Description |
|
||||
|-----|------|---------|-------------|
|
||||
| config | string | `"#sources:\n# cpu:\n# cpuid:\n## NOTE: whitelist has priority over blacklist\n# attributeBlacklist:\n# - \"BMI1\"\n# - \"BMI2\"\n# - \"CLMUL\"\n# - \"CMOV\"\n# - \"CX16\"\n# - \"ERMS\"\n# - \"F16C\"\n# - \"HTT\"\n# - \"LZCNT\"\n# - \"MMX\"\n# - \"MMXEXT\"\n# - \"NX\"\n# - \"POPCNT\"\n# - \"RDRAND\"\n# - \"RDSEED\"\n# - \"RDTSCP\"\n# - \"SGX\"\n# - \"SSE\"\n# - \"SSE2\"\n# - \"SSE3\"\n# - \"SSE4.1\"\n# - \"SSE4.2\"\n# - \"SSSE3\"\n# attributeWhitelist:\n# kernel:\n# kconfigFile: \"/path/to/kconfig\"\n# configOpts:\n# - \"NO_HZ\"\n# - \"X86\"\n# - \"DMI\"\n# pci:\n# deviceClassWhitelist:\n# - \"0200\"\n# - \"03\"\n# - \"12\"\n# deviceLabelFields:\n# - \"class\"\n# - \"vendor\"\n# - \"device\"\n# - \"subsystem_vendor\"\n# - \"subsystem_device\"\n# usb:\n# deviceClassWhitelist:\n# - \"0e\"\n# - \"ef\"\n# - \"fe\"\n# - \"ff\"\n# deviceLabelFields:\n# - \"class\"\n# - \"vendor\"\n# - \"device\"\n# custom:\n# - name: \"my.kernel.feature\"\n# matchOn:\n# - loadedKMod: [\"example_kmod1\", \"example_kmod2\"]\n# - name: \"my.pci.feature\"\n# matchOn:\n# - pciId:\n# class: [\"0200\"]\n# vendor: [\"15b3\"]\n# device: [\"1014\", \"1017\"]\n# - pciId :\n# vendor: [\"8086\"]\n# device: [\"1000\", \"1100\"]\n# - name: \"my.usb.feature\"\n# matchOn:\n# - usbId:\n# class: [\"ff\"]\n# vendor: [\"03e7\"]\n# device: [\"2485\"]\n# - usbId:\n# class: [\"fe\"]\n# vendor: [\"1a6e\"]\n# device: [\"089a\"]\n# - name: \"my.combined.feature\"\n# matchOn:\n# - pciId:\n# vendor: [\"15b3\"]\n# device: [\"1014\", \"1017\"]\n# loadedKMod : [\"vendor_kmod1\", \"vendor_kmod2\"]\n"` | node-feature-discovery configuration - see https://github.com/kubernetes-sigs/node-feature-discovery/blob/master/nfd-worker.conf.example for example |
|
||||
| fullnameOverride | string | `""` | |
|
||||
| image.pullPolicy | string | `"IfNotPresent"` | Image pull policy |
|
||||
| image.repository | string | `"gcr.io/k8s-staging-nfd/node-feature-discovery"` | Image repository |
|
||||
| image.tag | string | `"v0.7.0"` | Image tag. Possible values listed [here](https://github.com/kubernetes-sigs/node-feature-discovery/releases). |
|
||||
| imagePullSecrets | list | `[]` | |
|
||||
| master.affinity | object | `{"nodeAffinity":{"preferredDuringSchedulingIgnoredDuringExecution":[{"preference":{"matchExpressions":[{"key":"node-role.kubernetes.io/master","operator":"In","values":[""]}]},"weight":1}]}}` | Affinity settings for master component pod assignment |
|
||||
| master.nodeSelector | object | `{}` | Node labels for master component pod assignment |
|
||||
| master.replicaCount | int | `1` | Number of replicas to scale the master component to |
|
||||
| master.resources | object | `{}` | CPU/Memory resource requests/limits for master component |
|
||||
| master.securityContext | object | `{}` | |
|
||||
| master.tolerations | list | `[{"effect":"NoSchedule","key":"node-role.kubernetes.io/master","operator":"Equal","value":""}]` | Toleration labels for master component pod assignment. |
|
||||
| nameOverride | string | `""` | |
|
||||
| podAnnotations | object | `{}` | Key-value pairs to add as pod annotations |
|
||||
| podSecurityContext | object | `{}` | |
|
||||
| rbac.create | bool | `true` | |
|
||||
| service.annotations | object | `{}` | Service annotations for the GUI |
|
||||
| service.clusterIP | string | `""` | |
|
||||
| service.externalTrafficPolicy | string | `"Local"` | Set the externalTrafficPolicy in the Service to either Cluster or Local |
|
||||
| service.labels | object | `{}` | Custom labels |
|
||||
| service.loadBalancerIP | string | `nil` | Loadbalance IP for the GUI |
|
||||
| service.loadBalancerSourceRanges | list | `nil` | List of IP CIDRs allowed access to load balancer (if supported) |
|
||||
| service.nodePort | int | `nil` | Kubernetes nodePort where the GUI is exposed |
|
||||
| service.port | int | `8080` | Kubernetes port where the GUI is exposed |
|
||||
| service.type | string | `"ClusterIP"` | Kubernetes service type for the GUI |
|
||||
| serviceAccount.annotations | object | `{}` | |
|
||||
| serviceAccount.create | bool | `true` | |
|
||||
| serviceAccount.name | string | `""` | |
|
||||
| sources | list | `[]` | List of sources to consider when labeling - see [documentation](https://github.com/kubernetes-sigs/node-feature-discovery#feature-sources) for info |
|
||||
| worker.affinity | object | `{}` | Affinity settings for worker component pod assignment |
|
||||
| worker.nodeSelector | object | `{}` | Node labels for worker component pod assignment |
|
||||
| worker.resources | object | `{}` | CPU/Memory resource requests/limits for worker component |
|
||||
| worker.securityContext | object | `{}` | |
|
||||
| worker.tolerations | list | `[]` | Toleration labels for worker component pod assignment |
|
||||
|
||||
## Changelog
|
||||
|
||||
All notable changes to this application Helm chart will be documented in this file but does not include changes from our common library. To read those click [here](https://github.com/k8s-at-home/charts/tree/master/charts/common/README.md#Changelog).
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
### [1.0.0]
|
||||
|
||||
#### Added
|
||||
|
||||
- N/A
|
||||
|
||||
#### Changed
|
||||
|
||||
- N/A
|
||||
|
||||
#### Removed
|
||||
|
||||
- N/A
|
||||
|
||||
[1.0.0]: #1.0.0
|
||||
|
||||
## Support
|
||||
|
||||
- See the [Docs](https://docs.k8s-at-home.com/our-helm-charts/getting-started/)
|
||||
- Open an [issue](https://github.com/k8s-at-home/charts/issues/new/choose)
|
||||
- Ask a [question](https://github.com/k8s-at-home/organization/discussions)
|
||||
- Join our [Discord](https://discord.gg/sTMX7Vh) community
|
||||
|
||||
----------------------------------------------
|
||||
Autogenerated from chart metadata using [helm-docs v1.5.0](https://github.com/norwoodj/helm-docs/releases/v1.5.0)
|
||||
145
charts/node-feature-discovery/README.md.gotmpl
Normal file
145
charts/node-feature-discovery/README.md.gotmpl
Normal file
@@ -0,0 +1,145 @@
|
||||
{{- define "custom.repository.organization" -}}
|
||||
k8s-at-home
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.repository.url" -}}
|
||||
https://github.com/k8s-at-home/charts
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.helm.url" -}}
|
||||
https://k8s-at-home.com/charts/
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.helm.path" -}}
|
||||
{{ template "custom.repository.organization" . }}/{{ template "chart.name" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.notes" -}}
|
||||
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/k8s-at-home/charts/issues/new/choose)**
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.requirements" -}}
|
||||
## Requirements
|
||||
|
||||
{{ template "chart.kubeVersionLine" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.dependencies" -}}
|
||||
## Dependencies
|
||||
|
||||
{{ template "chart.requirementsTable" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.install.tldr" -}}
|
||||
## TL;DR
|
||||
|
||||
```console
|
||||
helm repo add {{ template "custom.repository.organization" . }} {{ template "custom.helm.url" . }}
|
||||
helm repo update
|
||||
helm install {{ template "chart.name" . }} {{ template "custom.helm.path" . }}
|
||||
```
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.install" -}}
|
||||
## Installing the Chart
|
||||
|
||||
To install the chart with the release name `{{ template "chart.name" . }}`
|
||||
|
||||
```console
|
||||
helm install {{ template "chart.name" . }} {{ template "custom.helm.path" . }}
|
||||
```
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.uninstall" -}}
|
||||
## Uninstalling the Chart
|
||||
|
||||
To uninstall the `{{ template "chart.name" . }}` deployment
|
||||
|
||||
```console
|
||||
helm uninstall {{ template "chart.name" . }}
|
||||
```
|
||||
|
||||
The command removes all the Kubernetes components associated with the chart **including persistent volumes** and deletes the release.
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.configuration.header" -}}
|
||||
## Configuration
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.configuration.readValues" -}}
|
||||
Read through the [values.yaml](./values.yaml) file. It has several commented out suggested values.
|
||||
Other values may be used from the [values.yaml](../common/values.yaml) from the [common library](../common).
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.configuration.example.set" -}}
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
|
||||
|
||||
```console
|
||||
helm install {{ template "chart.name" . }} \
|
||||
--set env.TZ="America/New York" \
|
||||
{{ template "custom.helm.path" . }}
|
||||
```
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.configuration.example.file" -}}
|
||||
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.
|
||||
|
||||
```console
|
||||
helm install {{ template "chart.name" . }} {{ template "custom.helm.path" . }} -f values.yaml
|
||||
```
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.valuesSection" -}}
|
||||
## Values
|
||||
|
||||
**Important**: When deploying an application Helm chart you can add more values from our common library chart [here](https://github.com/k8s-at-home/charts/tree/master/charts/common/)
|
||||
|
||||
{{ template "chart.valuesTable" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.support" -}}
|
||||
## Support
|
||||
|
||||
- See the [Docs](https://docs.k8s-at-home.com/our-helm-charts/getting-started/)
|
||||
- Open an [issue](https://github.com/k8s-at-home/charts/issues/new/choose)
|
||||
- Ask a [question](https://github.com/k8s-at-home/organization/discussions)
|
||||
- Join our [Discord](https://discord.gg/sTMX7Vh) community
|
||||
{{- end -}}
|
||||
|
||||
{{ template "chart.header" . }}
|
||||
|
||||
{{ template "chart.versionBadge" . }}{{ template "chart.typeBadge" . }}{{ template "chart.appVersionBadge" . }}
|
||||
|
||||
{{ template "chart.description" . }}
|
||||
|
||||
{{ template "custom.notes" . }}
|
||||
|
||||
{{ template "chart.sourcesSection" . }}
|
||||
|
||||
{{ template "custom.requirements" . }}
|
||||
|
||||
{{ template "custom.dependencies" . }}
|
||||
|
||||
{{ template "custom.install.tldr" . }}
|
||||
|
||||
{{ template "custom.install" . }}
|
||||
|
||||
{{ template "custom.uninstall" . }}
|
||||
|
||||
{{ template "custom.configuration.header" . }}
|
||||
|
||||
{{ template "custom.configuration.readValues" . }}
|
||||
|
||||
{{ template "custom.configuration.example.set" . }}
|
||||
|
||||
{{ template "custom.configuration.example.file" . }}
|
||||
|
||||
{{ template "custom.custom.configuration" . }}
|
||||
|
||||
{{ template "custom.valuesSection" . }}
|
||||
|
||||
{{ template "custom.changelog" . }}
|
||||
|
||||
{{ template "custom.support" . }}
|
||||
|
||||
{{ template "helm-docs.versionFooter" . }}
|
||||
27
charts/node-feature-discovery/README_CHANGELOG.md.gotmpl
Normal file
27
charts/node-feature-discovery/README_CHANGELOG.md.gotmpl
Normal file
@@ -0,0 +1,27 @@
|
||||
{{- define "custom.changelog.header" -}}
|
||||
## Changelog
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.changelog" -}}
|
||||
{{ template "custom.changelog.header" . }}
|
||||
|
||||
All notable changes to this application Helm chart will be documented in this file but does not include changes from our common library. To read those click [here](https://github.com/k8s-at-home/charts/tree/master/charts/common/README.md#Changelog).
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
### [1.0.0]
|
||||
|
||||
#### Added
|
||||
|
||||
- N/A
|
||||
|
||||
#### Changed
|
||||
|
||||
- N/A
|
||||
|
||||
#### Removed
|
||||
|
||||
- N/A
|
||||
|
||||
[1.0.0]: #1.0.0
|
||||
{{- end -}}
|
||||
9
charts/node-feature-discovery/README_CONFIG.md.gotmpl
Normal file
9
charts/node-feature-discovery/README_CONFIG.md.gotmpl
Normal file
@@ -0,0 +1,9 @@
|
||||
{{- define "custom.custom.configuration.header" -}}
|
||||
## Custom configuration
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.custom.configuration" -}}
|
||||
{{ template "custom.custom.configuration.header" . }}
|
||||
|
||||
N/A
|
||||
{{- end -}}
|
||||
@@ -3,9 +3,11 @@
|
||||
# Declare variables to be passed into your templates.
|
||||
|
||||
image:
|
||||
# -- Image repository
|
||||
repository: gcr.io/k8s-staging-nfd/node-feature-discovery
|
||||
# -- Image pull policy
|
||||
pullPolicy: IfNotPresent
|
||||
# Overrides the image tag whose default is the chart appVersion.
|
||||
# -- Image tag. Possible values listed [here](https://github.com/kubernetes-sigs/node-feature-discovery/releases).
|
||||
tag: "v0.7.0"
|
||||
|
||||
imagePullSecrets: []
|
||||
@@ -25,7 +27,7 @@ rbac:
|
||||
# Specifies whether RBAC roles should be created
|
||||
create: true
|
||||
|
||||
# Comma separated list of feature sources.
|
||||
# -- List of sources to consider when labeling - see [documentation](https://github.com/kubernetes-sigs/node-feature-discovery#feature-sources) for info
|
||||
sources: []
|
||||
# - cpu
|
||||
# - custom
|
||||
@@ -39,7 +41,7 @@ sources: []
|
||||
# - system
|
||||
# - usb
|
||||
|
||||
# node-feature-discovery configuration - see https://github.com/kubernetes-sigs/node-feature-discovery/blob/master/nfd-worker.conf.example for example
|
||||
# -- node-feature-discovery configuration - see https://github.com/kubernetes-sigs/node-feature-discovery/blob/master/nfd-worker.conf.example for example
|
||||
config: |
|
||||
#sources:
|
||||
# cpu:
|
||||
@@ -128,28 +130,32 @@ config: |
|
||||
# loadedKMod : ["vendor_kmod1", "vendor_kmod2"]
|
||||
|
||||
service:
|
||||
# -- Kubernetes service type for the GUI
|
||||
type: ClusterIP
|
||||
clusterIP: ""
|
||||
# -- Kubernetes port where the GUI is exposed
|
||||
port: 8080
|
||||
# -- (int) Kubernetes nodePort where the GUI is exposed
|
||||
nodePort:
|
||||
# -- Service annotations for the GUI
|
||||
annotations: {}
|
||||
# -- Custom labels
|
||||
labels: {}
|
||||
# -- (string) Loadbalance IP for the GUI
|
||||
loadBalancerIP:
|
||||
# -- (list) List of IP CIDRs allowed access to load balancer (if supported)
|
||||
loadBalancerSourceRanges:
|
||||
# -- Set the externalTrafficPolicy in the Service to either Cluster or Local
|
||||
externalTrafficPolicy:
|
||||
|
||||
## Specify the nodePort value for the LoadBalancer and NodePort service types.
|
||||
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
|
||||
# nodePort:
|
||||
## List of IP addresses at which the hass-configurator service is available
|
||||
## Ref: https://kubernetes.io/docs/user-guide/services/#external-ips
|
||||
externalIPs: []
|
||||
## Use loadBalancerIP to request a specific static IP, otherwise leave blank
|
||||
loadBalancerIP: ""
|
||||
# loadBalancerSourceRanges: []
|
||||
## Set the externalTrafficPolicy in the Service to either Cluster or Local
|
||||
externalTrafficPolicy: # Local
|
||||
|
||||
# -- Key-value pairs to add as pod annotations
|
||||
podAnnotations: {}
|
||||
|
||||
podSecurityContext: {}
|
||||
# fsGroup: 2000
|
||||
|
||||
master:
|
||||
# -- Number of replicas to scale the master component to
|
||||
replicaCount: 1
|
||||
|
||||
securityContext: {}
|
||||
@@ -160,6 +166,7 @@ master:
|
||||
# runAsNonRoot: true
|
||||
# runAsUser: 1000
|
||||
|
||||
# -- CPU/Memory resource requests/limits for master component
|
||||
resources: {}
|
||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
||||
# choice for the user. This also increases chances charts run on environments with little
|
||||
@@ -172,14 +179,17 @@ master:
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
|
||||
# -- Node labels for master component pod assignment
|
||||
nodeSelector: {}
|
||||
|
||||
# -- Toleration labels for master component pod assignment.
|
||||
tolerations:
|
||||
- key: "node-role.kubernetes.io/master"
|
||||
operator: "Equal"
|
||||
value: ""
|
||||
effect: "NoSchedule"
|
||||
|
||||
# -- Affinity settings for master component pod assignment
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
preferredDuringSchedulingIgnoredDuringExecution:
|
||||
@@ -199,6 +209,7 @@ worker:
|
||||
# runAsNonRoot: true
|
||||
# runAsUser: 1000
|
||||
|
||||
# -- CPU/Memory resource requests/limits for worker component
|
||||
resources: {}
|
||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
||||
# choice for the user. This also increases chances charts run on environments with little
|
||||
@@ -211,8 +222,11 @@ worker:
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
|
||||
# -- Node labels for worker component pod assignment
|
||||
nodeSelector: {}
|
||||
|
||||
# -- Toleration labels for worker component pod assignment
|
||||
tolerations: []
|
||||
|
||||
# -- Affinity settings for worker component pod assignment
|
||||
affinity: {}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
name: oauth2-proxy
|
||||
version: 5.0.0
|
||||
version: 5.0.1
|
||||
apiVersion: v1
|
||||
appVersion: 7.0.1
|
||||
home: https://oauth2-proxy.github.io/oauth2-proxy/
|
||||
|
||||
@@ -1,154 +1,72 @@
|
||||
# oauth2-proxy
|
||||
|
||||
[oauth2-proxy](https://github.com/pusher/oauth2_proxy) is a reverse proxy and static file server that provides authentication using Providers (Google, GitHub, and others) to validate accounts by email, domain or group.
|
||||
 
|
||||
|
||||
## TL;DR;
|
||||
A reverse proxy that provides authentication with Google, Github or other providers
|
||||
|
||||
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/k8s-at-home/charts/issues/new/choose)**
|
||||
|
||||
## Source Code
|
||||
|
||||
* <https://github.com/oauth2-proxy/oauth2-proxy>
|
||||
|
||||
## Requirements
|
||||
|
||||
Kubernetes: `>=1.9.0-0`
|
||||
|
||||
## Dependencies
|
||||
|
||||
| Repository | Name | Version |
|
||||
|------------|------|---------|
|
||||
|
||||
## TL;DR
|
||||
|
||||
```console
|
||||
$ helm install stable/oauth2-proxy
|
||||
helm repo add k8s-at-home https://k8s-at-home.com/charts/
|
||||
helm repo update
|
||||
helm install oauth2-proxy k8s-at-home/oauth2-proxy
|
||||
```
|
||||
|
||||
## Introduction
|
||||
|
||||
This chart bootstraps an oauth2-proxy deployment on a [Kubernetes](http://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager.
|
||||
|
||||
## Installing the Chart
|
||||
|
||||
To install the chart with the release name `my-release`:
|
||||
To install the chart with the release name `oauth2-proxy`
|
||||
|
||||
```console
|
||||
$ helm install stable/oauth2-proxy --name my-release
|
||||
helm install oauth2-proxy k8s-at-home/oauth2-proxy
|
||||
```
|
||||
|
||||
The command deploys oauth2-proxy on the Kubernetes cluster in the default configuration. The [configuration](#configuration) section lists the parameters that can be configured during installation.
|
||||
|
||||
## Uninstalling the Chart
|
||||
|
||||
To uninstall/delete the `my-release` deployment:
|
||||
To uninstall the `oauth2-proxy` deployment
|
||||
|
||||
```console
|
||||
$ helm delete my-release
|
||||
helm uninstall oauth2-proxy
|
||||
```
|
||||
|
||||
The command removes all the Kubernetes components associated with the chart and deletes the release.
|
||||
|
||||
## Upgrading an existing Release to a new major version
|
||||
|
||||
A major chart version change (like v1.2.3 -> v2.0.0) indicates that there is an
|
||||
incompatible breaking change needing manual actions.
|
||||
|
||||
### To 1.0.0
|
||||
|
||||
This version upgrade oauth2-proxy to v4.0.0. Please see the [changelog](https://github.com/pusher/oauth2_proxy/blob/v4.0.0/CHANGELOG.md#v400) in order to upgrade.
|
||||
|
||||
### To 2.0.0
|
||||
|
||||
Version 2.0.0 of this chart introduces support for Kubernetes v1.16.x by way of addressing the deprecation of the Deployment object apiVersion `apps/v1beta2`. See [the v1.16 API deprecations page](https://kubernetes.io/blog/2019/07/18/api-deprecations-in-1-16/) for more information.
|
||||
|
||||
Due to [this issue](https://github.com/helm/helm/issues/6583) there may be errors performing a `helm upgrade`of this chart from versions earlier than 2.0.0.
|
||||
|
||||
### To 3.0.0
|
||||
|
||||
Version 3.0.0 introduces support for [EKS IAM roles for service accounts](https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts.html) by adding a managed service account to the chart. This is a breaking change since the service account is enabled by default. To disable this behaviour set `serviceAccount.enabled` to `false`
|
||||
|
||||
### To 4.0.0
|
||||
|
||||
This is a breaking change as the chart was moved to k8s-at-home. No other change on top of the 3.x.x branch.
|
||||
|
||||
## To 5.0.0
|
||||
|
||||
Not many breaking changes. See the [changelog](https://github.com/oauth2-proxy/oauth2-proxy/releases/tag/v7.0.0) for oauth2-proxy, specifically the section "Breaking Changes" for a few configuration changes, particularly to do with the Azure provider.
|
||||
The command removes all the Kubernetes components associated with the chart **including persistent volumes** and deletes the release.
|
||||
|
||||
## Configuration
|
||||
|
||||
The following table lists the configurable parameters of the oauth2-proxy chart and their default values.
|
||||
Read through the [values.yaml](./values.yaml) file. It has several commented out suggested values.
|
||||
Other values may be used from the [values.yaml](../common/values.yaml) from the [common library](../common).
|
||||
|
||||
Parameter | Description | Default
|
||||
--- | --- | ---
|
||||
`affinity` | node/pod affinities | None
|
||||
`authenticatedEmailsFile.enabled` | Enables authorize individual email addresses | `false`
|
||||
`authenticatedEmailsFile.template` | Name of the configmap that is handled outside of that chart | `""`
|
||||
`authenticatedEmailsFile.restricted_access` | [email addresses](https://github.com/pusher/oauth2_proxy#email-authentication) list config | `""`
|
||||
`config.clientID` | oauth client ID | `""`
|
||||
`config.clientSecret` | oauth client secret | `""`
|
||||
`config.cookieSecret` | server specific cookie for the secret; create a new one with `openssl rand -base64 32 | head -c 32 | base64` | `""`
|
||||
`config.existingSecret` | existing Kubernetes secret to use for OAuth2 credentials. See [secret template](https://github.com/helm/charts/blob/master/stable/oauth2-proxy/templates/secret.yaml) for the required values | `nil`
|
||||
`config.configFile` | custom [oauth2_proxy.cfg](https://github.com/pusher/oauth2_proxy/blob/master/contrib/oauth2_proxy.cfg.example) contents for settings not overridable via environment nor command line | `""`
|
||||
`config.existingConfig` | existing Kubernetes configmap to use for the configuration file. See [config template](https://github.com/helm/charts/blob/master/stable/oauth2-proxy/templates/configmap.yaml) for the required values | `nil`
|
||||
`config.google.adminEmail` | user impersonated by the google service account | `""`
|
||||
`config.google.serviceAccountJson` | google service account json contents | `""`
|
||||
`config.google.existingConfig` | existing Kubernetes configmap to use for the service account file. See [google secret template](https://github.com/helm/charts/blob/master/stable/oauth2-proxy/templates/google-secret.yaml) for the required values | `nil`
|
||||
`extraArgs` | key:value list of extra arguments to give the binary | `{}`
|
||||
`extraEnv` | key:value list of extra environment variables to give the binary | `[]`
|
||||
`extraVolumes` | list of extra volumes | `[]`
|
||||
`extraVolumeMounts` | list of extra volumeMounts | `[]`
|
||||
`htpasswdFile.enabled` | enable htpasswd-file option | `false`
|
||||
`htpasswdFile.entries` | list of [SHA encrypted user:passwords](https://pusher.github.io/oauth2_proxy/configuration#command-line-options) | `{}`
|
||||
`htpasswdFile.existingSecret` | existing Kubernetes secret to use for OAuth2 htpasswd file | `""`
|
||||
`httpScheme` | `http` or `https`. `name` used for port on the deployment. `httpGet` port `name` and `scheme` used for `liveness`- and `readinessProbes`. `name` and `targetPort` used for the service. | `http`
|
||||
`image.pullPolicy` | Image pull policy | `IfNotPresent`
|
||||
`image.repository` | Image repository | `quay.io/pusher/oauth2_proxy`
|
||||
`image.tag` | Image tag | `v5.1.0`
|
||||
`imagePullSecrets` | Specify image pull secrets | `nil` (does not add image pull secrets to deployed pods)
|
||||
`ingress.enabled` | Enable Ingress | `false`
|
||||
`ingress.ingressClassName` | Set ingressClassName | `nil`
|
||||
`ingress.path` | Ingress accepted path | `/`
|
||||
`ingress.extraPaths` | Ingress extra paths to prepend to every host configuration. Useful when configuring [custom actions with AWS ALB Ingress Controller](https://kubernetes-sigs.github.io/aws-alb-ingress-controller/guide/ingress/annotation/#actions). | `[]`
|
||||
`ingress.annotations` | Ingress annotations | `nil`
|
||||
`ingress.hosts` | Ingress accepted hostnames | `nil`
|
||||
`ingress.tls` | Ingress TLS configuration | `nil`
|
||||
`initContainers` | pod init containers | `[]`
|
||||
`livenessProbe.enabled` | enable Kubernetes livenessProbe. Disable to use oauth2-proxy with Istio mTLS. See [Istio FAQ](https://istio.io/help/faq/security/#k8s-health-checks) | `true`
|
||||
`livenessProbe.initialDelaySeconds` | number of seconds | 0
|
||||
`livenessProbe.timeoutSeconds` | number of seconds | 1
|
||||
`nodeSelector` | node labels for pod assignment | `{}`
|
||||
`podAnnotations` | annotations to add to each pod | `{}`
|
||||
`podLabels` | additional labesl to add to each pod | `{}`
|
||||
`podDisruptionBudget.enabled`| Enabled creation of PodDisruptionBudget (only if replicaCount > 1) | true
|
||||
`podDisruptionBudget.minAvailable`| minAvailable parameter for PodDisruptionBudget | 1
|
||||
`podSecurityContext` | Kubernetes security context to apply to pod | `{}`
|
||||
`priorityClassName` | priorityClassName | `nil`
|
||||
`readinessProbe.enabled` | enable Kubernetes readinessProbe. Disable to use oauth2-proxy with Istio mTLS. See [Istio FAQ](https://istio.io/help/faq/security/#k8s-health-checks) | `true`
|
||||
`readinessProbe.initialDelaySeconds` | number of seconds | 0
|
||||
`readinessProbe.timeoutSeconds` | number of seconds | 1
|
||||
`readinessProbe.periodSeconds` | number of seconds | 10
|
||||
`readinessProbe.successThreshold` | number of successes | 1
|
||||
`replicaCount` | desired number of pods | `1`
|
||||
`resources` | pod resource requests & limits | `{}`
|
||||
`service.port` | port for the service | `80`
|
||||
`service.type` | type of service | `ClusterIP`
|
||||
`service.clusterIP` | cluster ip address | `nil`
|
||||
`service.loadBalancerIP` | ip of load balancer | `nil`
|
||||
`service.loadBalancerSourceRanges` | allowed source ranges in load balancer | `nil`
|
||||
`serviceAccount.enabled` | create a service account | `true`
|
||||
`serviceAccount.name` | the service account name | ``
|
||||
`serviceAccount.annotations` | (optional) annotations for the service account | `{}`
|
||||
`tolerations` | list of node taints to tolerate | `[]`
|
||||
`topologySpreadConstraints.enabled` | enable Kubernetes [topologySpreadConstraints](https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/) | `false`
|
||||
`topologySpreadConstraints.maxSkew` | the degree to which Pods may be unevenly distributed | `1`
|
||||
`topologySpreadConstraints.topologyKey` | the key of node labels | `topology.kubernetes.io/zone`
|
||||
`topologySpreadConstraints.whenUnsatisfiable` | how to deal with a Pod if it doesn't satisfy the spread constraint (`DoNotSchedule`, `ScheduleAnyway`) | `DoNotSchedule`
|
||||
`securityContext.enabled` | enable Kubernetes security context on container | `false`
|
||||
`securityContext.runAsNonRoot` | make sure that the container runs as a non-root user | `true`
|
||||
`proxyVarsAsSecrets` | choose between environment values or secrets for setting up OAUTH2_PROXY variables. When set to false, remember to add the variables OAUTH2_PROXY_CLIENT_ID, OAUTH2_PROXY_CLIENT_SECRET, OAUTH2_PROXY_COOKIE_SECRET in extraEnv | `true`
|
||||
|
||||
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
|
||||
|
||||
```console
|
||||
$ helm install stable/oauth2-proxy --name my-release \
|
||||
--set=image.tag=v0.0.2,resources.limits.cpu=200m
|
||||
helm install oauth2-proxy \
|
||||
--set env.TZ="America/New York" \
|
||||
k8s-at-home/oauth2-proxy
|
||||
```
|
||||
|
||||
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example,
|
||||
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.
|
||||
|
||||
```console
|
||||
$ helm install stable/oauth2-proxy --name my-release -f values.yaml
|
||||
helm install oauth2-proxy k8s-at-home/oauth2-proxy -f values.yaml
|
||||
```
|
||||
|
||||
> **Tip**: You can use the default [values.yaml](values.yaml)
|
||||
## Custom configuration
|
||||
|
||||
## SSL Configuration
|
||||
### SSL Configuration
|
||||
|
||||
See: [SSL Configuration](https://pusher.github.io/oauth2_proxy/tls-configuration).
|
||||
Use ```values.yaml``` like:
|
||||
@@ -178,3 +96,126 @@ data:
|
||||
cert.pem: AB..==
|
||||
cert.key: CD..==
|
||||
```
|
||||
|
||||
## Values
|
||||
|
||||
**Important**: When deploying an application Helm chart you can add more values from our common library chart [here](https://github.com/k8s-at-home/charts/tree/master/charts/common/)
|
||||
|
||||
| Key | Type | Default | Description |
|
||||
|-----|------|---------|-------------|
|
||||
| affinity | object | `{}` | node/pod affinities Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity |
|
||||
| authenticatedEmailsFile.enabled | bool | `false` | Enables authorize individual email addresses |
|
||||
| authenticatedEmailsFile.restricted_access | string | `""` | [email addresses](https://github.com/pusher/oauth2_proxy#email-authentication) list config |
|
||||
| authenticatedEmailsFile.template | string | `""` | Name of the configmap that is handled outside of that chart It's a simpler way to maintain only one configmap (user list) instead changing it for each oauth2-proxy service. Be aware the value name in the extern config map in data needs to be named to "restricted_user_access". One email per line example: restricted_access: |- name1@domain name2@domain If you override the config with restricted_access it will configure a user list within this chart what takes care of the config map resource. |
|
||||
| config.clientID | string | `"XXXXXXX"` | OAuth client ID |
|
||||
| config.clientSecret | string | `"XXXXXXXX"` | OAuth client secret |
|
||||
| config.configFile | string | `"email_domains = [ \"*\" ]\nupstreams = [ \"file:///dev/null\" ]"` | google service account json contents serviceAccountJson: xxxx -- Alternatively, use an existing secret (see google-secret.yaml for required fields) existingSecret: google-secret -- custom [oauth2_proxy.cfg](https://github.com/pusher/oauth2_proxy/blob/master/contrib/oauth2_proxy.cfg.example) contents for settings not overridable via environment nor command line |
|
||||
| config.cookieSecret | string | `"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"` | server specific cookie for the secret; create a new one with `openssl rand -base64 32 | head -c 32 | base64` |
|
||||
| config.existingConfig | string | `nil` | xisting Kubernetes configmap to use for the configuration file. See [config template](https://github.com/helm/charts/blob/master/stable/oauth2-proxy/templates/configmap.yaml) for the required values |
|
||||
| config.google | object | `{}` | |
|
||||
| extraArgs | object | `{}` | key:value list of extra arguments to give the binary |
|
||||
| extraEnv | list | `[]` | key:value list of extra environment variables to give the binary |
|
||||
| extraVolumeMounts | list | `[]` | list of extra volumeMounts |
|
||||
| extraVolumes | list | `[]` | list of extra volumes |
|
||||
| htpasswdFile.enabled | bool | `false` | enable htpasswd-file option |
|
||||
| htpasswdFile.entries | object | `{}` | list of [SHA encrypted user:passwords](https://pusher.github.io/oauth2_proxy/configuration#command-line-options) |
|
||||
| htpasswdFile.existingSecret | string | `""` | existing Kubernetes secret to use for OAuth2 htpasswd file |
|
||||
| httpScheme | string | `"http"` | `http` or `https`. `name` used for port on the deployment. `httpGet` port `name` and `scheme` used for `liveness`- and `readinessProbes`. `name` and `targetPort` used for the service. |
|
||||
| image.pullPolicy | string | `"IfNotPresent"` | Image pull policy |
|
||||
| image.repository | string | `"quay.io/oauth2-proxy/oauth2-proxy"` | Image repository |
|
||||
| image.tag | string | `"v7.0.1"` | Image tag |
|
||||
| imagePullSecrets | list | `nil` | Optionally specify an array of imagePullSecrets. Secrets must be manually created in the namespace. ref: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod |
|
||||
| ingress.annotations | object | `{}` | Ingress annotations |
|
||||
| ingress.enabled | bool | `false` | Enable Ingress |
|
||||
| ingress.extraPaths | list | `[]` | Ingress extra paths to prepend to every host configuration. Useful when configuring [custom actions with AWS ALB Ingress Controller](https://kubernetes-sigs.github.io/aws-alb-ingress-controller/guide/ingress/annotation/#actions). |
|
||||
| ingress.hosts | list | `[]` | Ingress accepted hostnames |
|
||||
| ingress.ingressClassName | string | `nil` | Set ingressClassName |
|
||||
| ingress.path | string | `"/"` | Ingress accepted path |
|
||||
| ingress.tls | list | `nil` | Ingress TLS configuration |
|
||||
| initContainers | list | `[]` | Configure init containers for pod Ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/ |
|
||||
| livenessProbe | object | `{"enabled":true,"initialDelaySeconds":0,"timeoutSeconds":1}` | Configure Kubernetes liveness probes. Ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/ Disable both when deploying with Istio 1.0 mTLS. https://istio.io/help/faq/security/#k8s-health-checks |
|
||||
| nodeSelector | object | `{}` | Node labels for pod assignment Ref: https://kubernetes.io/docs/user-guide/node-selection/ |
|
||||
| podAnnotations | object | `{}` | annotations to add to each pod |
|
||||
| podDisruptionBudget | object | `{"enabled":true,"minAvailable":1}` | PodDisruptionBudget settings Ref: https://kubernetes.io/docs/concepts/workloads/pods/disruptions/ |
|
||||
| podLabels | object | `{}` | labels to add to each pod |
|
||||
| podSecurityContext | object | `{}` | |
|
||||
| priorityClassName | string | `""` | |
|
||||
| proxyVarsAsSecrets | bool | `true` | |
|
||||
| readinessProbe | object | `{"enabled":true,"initialDelaySeconds":0,"periodSeconds":10,"successThreshold":1,"timeoutSeconds":1}` | Configure Kubernetes readiness probes. |
|
||||
| replicaCount | int | `1` | |
|
||||
| resources | object | `{}` | |
|
||||
| securityContext | object | `{"enabled":false,"runAsNonRoot":true}` | Configure Kubernetes security context for container Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ |
|
||||
| service.annotations | object | `{}` | Service annotations for the GUI |
|
||||
| service.loadBalancerIP | string | `nil` | Loadbalance IP for the GUI |
|
||||
| service.loadBalancerSourceRanges | list | `nil` | List of IP CIDRs allowed access to load balancer (if supported) |
|
||||
| service.port | int | `80` | Kubernetes port where the GUI is exposed |
|
||||
| service.type | string | `"ClusterIP"` | Kubernetes service type for the GUI |
|
||||
| serviceAccount.annotations | object | `{}` | |
|
||||
| serviceAccount.enabled | bool | `true` | |
|
||||
| serviceAccount.name | string | `nil` | |
|
||||
| tolerations | list | `[]` | Tolerations for pod assignment Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ |
|
||||
| topologySpreadConstraints | object | `{"enabled":false,"maxSkew":1,"topologyKey":"topology.kubernetes.io/zone","whenUnsatisfiable":"DoNotSchedule"}` | Configure Pod Topology Spread Constraints See https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/ Requires Kubernetes >= v1.16 |
|
||||
|
||||
## Changelog
|
||||
|
||||
All notable changes to this application Helm chart will be documented in this file but does not include changes from our common library. To read those click [here](https://github.com/k8s-at-home/charts/tree/master/charts/common/README.md#Changelog).
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
### [1.0.0]
|
||||
|
||||
#### Changed
|
||||
|
||||
- This version upgrade oauth2-proxy to v4.0.0. Please see the [changelog](https://github.com/pusher/oauth2_proxy/blob/v4.0.0/CHANGELOG.md#v400) in order to upgrade.
|
||||
|
||||
### [2.0.0]
|
||||
|
||||
#### Changed
|
||||
|
||||
- support for Kubernetes v1.16.x by way of addressing the deprecation of the Deployment object apiVersion `apps/v1beta2`. See [the v1.16 API deprecations page](https://kubernetes.io/blog/2019/07/18/api-deprecations-in-1-16/) for more information.
|
||||
|
||||
Due to [this issue](https://github.com/helm/helm/issues/6583) there may be errors performing a `helm upgrade`of this chart from versions earlier than 2.0.0.
|
||||
|
||||
### [3.0.0]
|
||||
|
||||
#### Changed
|
||||
|
||||
- support for [EKS IAM roles for service accounts](https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts.html) by adding a managed service account to the chart. This is a breaking change since the service account is enabled by default. To disable this behaviour set `serviceAccount.enabled` to `false`
|
||||
|
||||
### [4.0.0]
|
||||
|
||||
#### Changed
|
||||
|
||||
- This is a breaking change as the chart was moved to k8s-at-home. No other change on top of the 3.x.x branch.
|
||||
|
||||
### [5.0.0]
|
||||
|
||||
#### Changed
|
||||
|
||||
- Not many breaking changes. See the [changelog](https://github.com/oauth2-proxy/oauth2-proxy/releases/tag/v7.0.0) for oauth2-proxy, specifically the section "Breaking Changes" for a few configuration changes, particularly to do with the Azure provider.
|
||||
|
||||
### [5.0.1]
|
||||
|
||||
#### Added
|
||||
|
||||
- N/A
|
||||
|
||||
#### Changed
|
||||
|
||||
- Use helm-docs
|
||||
|
||||
#### Removed
|
||||
|
||||
- N/A
|
||||
|
||||
[5.0.1]: #5.0.1
|
||||
|
||||
## Support
|
||||
|
||||
- See the [Docs](https://docs.k8s-at-home.com/our-helm-charts/getting-started/)
|
||||
- Open an [issue](https://github.com/k8s-at-home/charts/issues/new/choose)
|
||||
- Ask a [question](https://github.com/k8s-at-home/organization/discussions)
|
||||
- Join our [Discord](https://discord.gg/sTMX7Vh) community
|
||||
|
||||
----------------------------------------------
|
||||
Autogenerated from chart metadata using [helm-docs v1.5.0](https://github.com/norwoodj/helm-docs/releases/v1.5.0)
|
||||
145
charts/oauth2-proxy/README.md.gotmpl
Normal file
145
charts/oauth2-proxy/README.md.gotmpl
Normal file
@@ -0,0 +1,145 @@
|
||||
{{- define "custom.repository.organization" -}}
|
||||
k8s-at-home
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.repository.url" -}}
|
||||
https://github.com/k8s-at-home/charts
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.helm.url" -}}
|
||||
https://k8s-at-home.com/charts/
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.helm.path" -}}
|
||||
{{ template "custom.repository.organization" . }}/{{ template "chart.name" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.notes" -}}
|
||||
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/k8s-at-home/charts/issues/new/choose)**
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.requirements" -}}
|
||||
## Requirements
|
||||
|
||||
{{ template "chart.kubeVersionLine" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.dependencies" -}}
|
||||
## Dependencies
|
||||
|
||||
{{ template "chart.requirementsTable" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.install.tldr" -}}
|
||||
## TL;DR
|
||||
|
||||
```console
|
||||
helm repo add {{ template "custom.repository.organization" . }} {{ template "custom.helm.url" . }}
|
||||
helm repo update
|
||||
helm install {{ template "chart.name" . }} {{ template "custom.helm.path" . }}
|
||||
```
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.install" -}}
|
||||
## Installing the Chart
|
||||
|
||||
To install the chart with the release name `{{ template "chart.name" . }}`
|
||||
|
||||
```console
|
||||
helm install {{ template "chart.name" . }} {{ template "custom.helm.path" . }}
|
||||
```
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.uninstall" -}}
|
||||
## Uninstalling the Chart
|
||||
|
||||
To uninstall the `{{ template "chart.name" . }}` deployment
|
||||
|
||||
```console
|
||||
helm uninstall {{ template "chart.name" . }}
|
||||
```
|
||||
|
||||
The command removes all the Kubernetes components associated with the chart **including persistent volumes** and deletes the release.
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.configuration.header" -}}
|
||||
## Configuration
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.configuration.readValues" -}}
|
||||
Read through the [values.yaml](./values.yaml) file. It has several commented out suggested values.
|
||||
Other values may be used from the [values.yaml](../common/values.yaml) from the [common library](../common).
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.configuration.example.set" -}}
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
|
||||
|
||||
```console
|
||||
helm install {{ template "chart.name" . }} \
|
||||
--set env.TZ="America/New York" \
|
||||
{{ template "custom.helm.path" . }}
|
||||
```
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.configuration.example.file" -}}
|
||||
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.
|
||||
|
||||
```console
|
||||
helm install {{ template "chart.name" . }} {{ template "custom.helm.path" . }} -f values.yaml
|
||||
```
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.valuesSection" -}}
|
||||
## Values
|
||||
|
||||
**Important**: When deploying an application Helm chart you can add more values from our common library chart [here](https://github.com/k8s-at-home/charts/tree/master/charts/common/)
|
||||
|
||||
{{ template "chart.valuesTable" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.support" -}}
|
||||
## Support
|
||||
|
||||
- See the [Docs](https://docs.k8s-at-home.com/our-helm-charts/getting-started/)
|
||||
- Open an [issue](https://github.com/k8s-at-home/charts/issues/new/choose)
|
||||
- Ask a [question](https://github.com/k8s-at-home/organization/discussions)
|
||||
- Join our [Discord](https://discord.gg/sTMX7Vh) community
|
||||
{{- end -}}
|
||||
|
||||
{{ template "chart.header" . }}
|
||||
|
||||
{{ template "chart.versionBadge" . }}{{ template "chart.typeBadge" . }}{{ template "chart.appVersionBadge" . }}
|
||||
|
||||
{{ template "chart.description" . }}
|
||||
|
||||
{{ template "custom.notes" . }}
|
||||
|
||||
{{ template "chart.sourcesSection" . }}
|
||||
|
||||
{{ template "custom.requirements" . }}
|
||||
|
||||
{{ template "custom.dependencies" . }}
|
||||
|
||||
{{ template "custom.install.tldr" . }}
|
||||
|
||||
{{ template "custom.install" . }}
|
||||
|
||||
{{ template "custom.uninstall" . }}
|
||||
|
||||
{{ template "custom.configuration.header" . }}
|
||||
|
||||
{{ template "custom.configuration.readValues" . }}
|
||||
|
||||
{{ template "custom.configuration.example.set" . }}
|
||||
|
||||
{{ template "custom.configuration.example.file" . }}
|
||||
|
||||
{{ template "custom.custom.configuration" . }}
|
||||
|
||||
{{ template "custom.valuesSection" . }}
|
||||
|
||||
{{ template "custom.changelog" . }}
|
||||
|
||||
{{ template "custom.support" . }}
|
||||
|
||||
{{ template "helm-docs.versionFooter" . }}
|
||||
59
charts/oauth2-proxy/README_CHANGELOG.md.gotmpl
Normal file
59
charts/oauth2-proxy/README_CHANGELOG.md.gotmpl
Normal file
@@ -0,0 +1,59 @@
|
||||
{{- define "custom.changelog.header" -}}
|
||||
## Changelog
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.changelog" -}}
|
||||
{{ template "custom.changelog.header" . }}
|
||||
|
||||
All notable changes to this application Helm chart will be documented in this file but does not include changes from our common library. To read those click [here](https://github.com/k8s-at-home/charts/tree/master/charts/common/README.md#Changelog).
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
### [1.0.0]
|
||||
|
||||
#### Changed
|
||||
|
||||
- This version upgrade oauth2-proxy to v4.0.0. Please see the [changelog](https://github.com/pusher/oauth2_proxy/blob/v4.0.0/CHANGELOG.md#v400) in order to upgrade.
|
||||
|
||||
### [2.0.0]
|
||||
|
||||
#### Changed
|
||||
|
||||
- support for Kubernetes v1.16.x by way of addressing the deprecation of the Deployment object apiVersion `apps/v1beta2`. See [the v1.16 API deprecations page](https://kubernetes.io/blog/2019/07/18/api-deprecations-in-1-16/) for more information.
|
||||
|
||||
Due to [this issue](https://github.com/helm/helm/issues/6583) there may be errors performing a `helm upgrade`of this chart from versions earlier than 2.0.0.
|
||||
|
||||
### [3.0.0]
|
||||
|
||||
#### Changed
|
||||
|
||||
- support for [EKS IAM roles for service accounts](https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts.html) by adding a managed service account to the chart. This is a breaking change since the service account is enabled by default. To disable this behaviour set `serviceAccount.enabled` to `false`
|
||||
|
||||
### [4.0.0]
|
||||
|
||||
#### Changed
|
||||
|
||||
- This is a breaking change as the chart was moved to k8s-at-home. No other change on top of the 3.x.x branch.
|
||||
|
||||
### [5.0.0]
|
||||
|
||||
#### Changed
|
||||
|
||||
- Not many breaking changes. See the [changelog](https://github.com/oauth2-proxy/oauth2-proxy/releases/tag/v7.0.0) for oauth2-proxy, specifically the section "Breaking Changes" for a few configuration changes, particularly to do with the Azure provider.
|
||||
|
||||
### [5.0.1]
|
||||
|
||||
#### Added
|
||||
|
||||
- N/A
|
||||
|
||||
#### Changed
|
||||
|
||||
- Use helm-docs
|
||||
|
||||
#### Removed
|
||||
|
||||
- N/A
|
||||
|
||||
[5.0.1]: #5.0.1
|
||||
{{- end -}}
|
||||
38
charts/oauth2-proxy/README_CONFIG.md.gotmpl
Normal file
38
charts/oauth2-proxy/README_CONFIG.md.gotmpl
Normal file
@@ -0,0 +1,38 @@
|
||||
{{- define "custom.custom.configuration.header" -}}
|
||||
## Custom configuration
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.custom.configuration" -}}
|
||||
{{ template "custom.custom.configuration.header" . }}
|
||||
|
||||
### SSL Configuration
|
||||
|
||||
See: [SSL Configuration](https://pusher.github.io/oauth2_proxy/tls-configuration).
|
||||
Use ```values.yaml``` like:
|
||||
|
||||
```yaml
|
||||
...
|
||||
extraArgs:
|
||||
tls-cert: /path/to/cert.pem
|
||||
tls-key: /path/to/cert.key
|
||||
|
||||
extraVolumes:
|
||||
- name: ssl-cert
|
||||
secret:
|
||||
secretName: my-ssl-secret
|
||||
|
||||
extraVolumeMounts:
|
||||
- mountPath: /path/to/
|
||||
name: ssl-cert
|
||||
...
|
||||
```
|
||||
|
||||
With a secret called `my-ssl-secret`:
|
||||
|
||||
```yaml
|
||||
...
|
||||
data:
|
||||
cert.pem: AB..==
|
||||
cert.key: CD..==
|
||||
```
|
||||
{{- end -}}
|
||||
@@ -1,22 +1,22 @@
|
||||
# Oauth client configuration specifics
|
||||
config:
|
||||
# OAuth client ID
|
||||
# -- OAuth client ID
|
||||
clientID: "XXXXXXX"
|
||||
# OAuth client secret
|
||||
# -- OAuth client secret
|
||||
clientSecret: "XXXXXXXX"
|
||||
# Create a new secret with the following command
|
||||
# openssl rand -base64 32 | head -c 32 | base64
|
||||
# Use an existing secret for OAuth2 credentials (see secret.yaml for required fields)
|
||||
# Example:
|
||||
# existingSecret: secret
|
||||
# -- server specific cookie for the secret; create a new one with `openssl rand -base64 32 | head -c 32 | base64`
|
||||
cookieSecret: "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
|
||||
google: {}
|
||||
# -- user impersonated by the google service account
|
||||
# adminEmail: xxxx
|
||||
|
||||
# -- google service account json contents
|
||||
# serviceAccountJson: xxxx
|
||||
# Alternatively, use an existing secret (see google-secret.yaml for required fields)
|
||||
# Example:
|
||||
|
||||
# -- Alternatively, use an existing secret (see google-secret.yaml for required fields)
|
||||
# existingSecret: google-secret
|
||||
# Default configuration, to be overridden
|
||||
|
||||
# -- custom [oauth2_proxy.cfg](https://github.com/pusher/oauth2_proxy/blob/master/contrib/oauth2_proxy.cfg.example) contents for settings not overridable via environment nor command line
|
||||
configFile: |-
|
||||
email_domains = [ "*" ]
|
||||
upstreams = [ "file:///dev/null" ]
|
||||
@@ -24,32 +24,37 @@ config:
|
||||
# configFile: |-
|
||||
# pass_basic_auth = false
|
||||
# pass_access_token = true
|
||||
# Use an existing config map (see configmap.yaml for required fields)
|
||||
# Example:
|
||||
# existingConfig: config
|
||||
|
||||
# -- (string)existing Kubernetes configmap to use for the configuration file. See [config template](https://github.com/helm/charts/blob/master/stable/oauth2-proxy/templates/configmap.yaml) for the required values
|
||||
existingConfig:
|
||||
|
||||
image:
|
||||
# -- Image repository
|
||||
repository: "quay.io/oauth2-proxy/oauth2-proxy"
|
||||
# -- Image tag
|
||||
tag: "v7.0.1"
|
||||
# -- Image pull policy
|
||||
pullPolicy: "IfNotPresent"
|
||||
|
||||
# Optionally specify an array of imagePullSecrets.
|
||||
# -- (list) Optionally specify an array of imagePullSecrets.
|
||||
# Secrets must be manually created in the namespace.
|
||||
# ref: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
|
||||
# imagePullSecrets:
|
||||
imagePullSecrets:
|
||||
# - name: myRegistryKeySecretName
|
||||
|
||||
# -- key:value list of extra arguments to give the binary
|
||||
extraArgs: {}
|
||||
# -- key:value list of extra environment variables to give the binary
|
||||
extraEnv: []
|
||||
|
||||
# To authorize individual email addresses
|
||||
# That is part of extraArgs but since this needs special treatment we need to do a separate section
|
||||
authenticatedEmailsFile:
|
||||
# -- Enables authorize individual email addresses
|
||||
enabled: false
|
||||
# template is the name of the configmap what contains the email user list but has been configured without this chart.
|
||||
# -- Name of the configmap that is handled outside of that chart
|
||||
# It's a simpler way to maintain only one configmap (user list) instead changing it for each oauth2-proxy service.
|
||||
# Be aware the value name in the extern config map in data needs to be named to "restricted_user_access".
|
||||
template: ""
|
||||
# One email per line
|
||||
# example:
|
||||
# restricted_access: |-
|
||||
@@ -57,18 +62,22 @@ authenticatedEmailsFile:
|
||||
# name2@domain
|
||||
# If you override the config with restricted_access it will configure a user list within this chart what takes care of the
|
||||
# config map resource.
|
||||
template: ""
|
||||
|
||||
# -- [email addresses](https://github.com/pusher/oauth2_proxy#email-authentication) list config
|
||||
restricted_access: ""
|
||||
|
||||
service:
|
||||
# -- Kubernetes service type for the GUI
|
||||
type: ClusterIP
|
||||
# when service.type is ClusterIP ...
|
||||
# clusterIP: 192.0.2.20
|
||||
# when service.type is LoadBalancer ...
|
||||
# loadBalancerIP: 198.51.100.40
|
||||
# loadBalancerSourceRanges: 203.0.113.0/24
|
||||
# -- Kubernetes port where the GUI is exposed
|
||||
port: 80
|
||||
# -- Service annotations for the GUI
|
||||
annotations: {}
|
||||
# foo.io/bar: "true"
|
||||
# -- (string) Loadbalance IP for the GUI
|
||||
loadBalancerIP:
|
||||
# -- (list) List of IP CIDRs allowed access to load balancer (if supported)
|
||||
loadBalancerSourceRanges:
|
||||
|
||||
## Create or use ServiceAccount
|
||||
serviceAccount:
|
||||
@@ -80,27 +89,33 @@ serviceAccount:
|
||||
annotations: {}
|
||||
|
||||
ingress:
|
||||
# -- Enable Ingress
|
||||
enabled: false
|
||||
# -- Ingress accepted path
|
||||
path: /
|
||||
# Used to create an Ingress record.
|
||||
# hosts:
|
||||
# - chart-example.local
|
||||
# Extra paths to prepend to every host configuration. This is useful when working with annotation based services.
|
||||
# extraPaths:
|
||||
# -- Ingress accepted hostnames
|
||||
hosts: []
|
||||
# -- Ingress extra paths to prepend to every host configuration. Useful when configuring [custom actions with AWS ALB Ingress Controller](https://kubernetes-sigs.github.io/aws-alb-ingress-controller/guide/ingress/annotation/#actions).
|
||||
extraPaths: []
|
||||
# - path: /*
|
||||
# backend:
|
||||
# serviceName: ssl-redirect
|
||||
# servicePort: use-annotation
|
||||
# annotations:
|
||||
|
||||
# -- Ingress annotations
|
||||
annotations: {}
|
||||
# kubernetes.io/ingress.class: nginx
|
||||
# kubernetes.io/tls-acme: "true"
|
||||
# tls:
|
||||
|
||||
# -- (list) Ingress TLS configuration
|
||||
tls:
|
||||
# Secrets must be manually created in the namespace.
|
||||
# - secretName: chart-example-tls
|
||||
# hosts:
|
||||
# - chart-example.local
|
||||
# Define the ingressClassName
|
||||
# ingressClassName: nginx
|
||||
|
||||
# -- (string) Set ingressClassName
|
||||
ingressClassName:
|
||||
|
||||
resources: {}
|
||||
# limits:
|
||||
@@ -110,33 +125,35 @@ resources: {}
|
||||
# cpu: 100m
|
||||
# memory: 300Mi
|
||||
|
||||
# -- list of extra volumes
|
||||
extraVolumes: []
|
||||
# - name: ca-bundle-cert
|
||||
# secret:
|
||||
# secretName: <secret-name>
|
||||
|
||||
# -- list of extra volumeMounts
|
||||
extraVolumeMounts: []
|
||||
# - mountPath: /etc/ssl/certs/
|
||||
# name: ca-bundle-cert
|
||||
|
||||
priorityClassName: ""
|
||||
|
||||
# Affinity for pod assignment
|
||||
# -- node/pod affinities
|
||||
# Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
|
||||
# affinity: {}
|
||||
affinity: {}
|
||||
|
||||
# Tolerations for pod assignment
|
||||
# -- Tolerations for pod assignment
|
||||
# Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
|
||||
tolerations: []
|
||||
|
||||
# Node labels for pod assignment
|
||||
# -- Node labels for pod assignment
|
||||
# Ref: https://kubernetes.io/docs/user-guide/node-selection/
|
||||
nodeSelector: {}
|
||||
|
||||
# Whether to use secrets instead of environment values for setting up OAUTH2_PROXY variables
|
||||
proxyVarsAsSecrets: true
|
||||
|
||||
# Configure Kubernetes liveness and readiness probes.
|
||||
# -- Configure Kubernetes liveness probes.
|
||||
# Ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/
|
||||
# Disable both when deploying with Istio 1.0 mTLS. https://istio.io/help/faq/security/#k8s-health-checks
|
||||
livenessProbe:
|
||||
@@ -144,6 +161,7 @@ livenessProbe:
|
||||
initialDelaySeconds: 0
|
||||
timeoutSeconds: 1
|
||||
|
||||
# -- Configure Kubernetes readiness probes.
|
||||
readinessProbe:
|
||||
enabled: true
|
||||
initialDelaySeconds: 0
|
||||
@@ -151,18 +169,20 @@ readinessProbe:
|
||||
periodSeconds: 10
|
||||
successThreshold: 1
|
||||
|
||||
# Configure Kubernetes security context for container
|
||||
# -- Configure Kubernetes security context for container
|
||||
# Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
|
||||
securityContext:
|
||||
enabled: false
|
||||
runAsNonRoot: true
|
||||
|
||||
# -- annotations to add to each pod
|
||||
podAnnotations: {}
|
||||
# -- labels to add to each pod
|
||||
podLabels: {}
|
||||
replicaCount: 1
|
||||
|
||||
## PodDisruptionBudget settings
|
||||
## ref: https://kubernetes.io/docs/concepts/workloads/pods/disruptions/
|
||||
# -- PodDisruptionBudget settings
|
||||
# Ref: https://kubernetes.io/docs/concepts/workloads/pods/disruptions/
|
||||
podDisruptionBudget:
|
||||
enabled: true
|
||||
minAvailable: 1
|
||||
@@ -171,27 +191,30 @@ podDisruptionBudget:
|
||||
# Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
|
||||
podSecurityContext: {}
|
||||
|
||||
# Configure init containers for pod
|
||||
# REF: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
|
||||
# -- Configure init containers for pod
|
||||
# Ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
|
||||
initContainers: []
|
||||
|
||||
# whether to use http or https
|
||||
# -- `http` or `https`. `name` used for port on the deployment. `httpGet` port `name` and `scheme` used for `liveness`- and `readinessProbes`. `name` and `targetPort` used for the service.
|
||||
httpScheme: http
|
||||
|
||||
# Additionally authenticate against a htpasswd file. Entries must be created with "htpasswd -s" for SHA encryption.
|
||||
# Alternatively supply an existing secret which contains the required information.
|
||||
htpasswdFile:
|
||||
# -- enable htpasswd-file option
|
||||
enabled: false
|
||||
# -- existing Kubernetes secret to use for OAuth2 htpasswd file
|
||||
existingSecret: ""
|
||||
# -- list of [SHA encrypted user:passwords](https://pusher.github.io/oauth2_proxy/configuration#command-line-options)
|
||||
entries: {}
|
||||
# One row for each user
|
||||
# example:
|
||||
# entries:
|
||||
# - testuser:{SHA}EWhzdhgoYJWy0z2gyzhRYlN9DSiv
|
||||
|
||||
## Configure Pod Topology Spread Constraints
|
||||
## See https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
|
||||
## Requires Kubernetes >= v1.16
|
||||
# -- Configure Pod Topology Spread Constraints
|
||||
# See https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
|
||||
# Requires Kubernetes >= v1.16
|
||||
topologySpreadConstraints:
|
||||
enabled: false
|
||||
maxSkew: 1
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
apiVersion: v2
|
||||
appVersion: v1.21.3.4021-5a0a3e4b2
|
||||
appVersion: v1.22.0.4163-d8c4875dd
|
||||
description: Plex Media Server
|
||||
name: plex-media-server
|
||||
version: 2.2.0
|
||||
version: 2.3.0
|
||||
kubeVersion: ">=1.16.0-0"
|
||||
keywords:
|
||||
- plex
|
||||
@@ -10,8 +10,8 @@ keywords:
|
||||
home: https://plex.tv/
|
||||
icon: https://www.plex.tv/wp-content/uploads/2018/01/pmp-icon-1.png
|
||||
sources:
|
||||
- https://github.com/k8s-at-home/charts/tree/master/charts/plex
|
||||
- https://hub.docker.com/r/plexinc/pms-docker/
|
||||
- https://github.com/k8s-at-home/charts/tree/master/charts/plex-media-server
|
||||
- https://github.com/k8s-at-home/container-images/
|
||||
maintainers:
|
||||
- name: billimek
|
||||
email: jeff@billimek.com
|
||||
|
||||
@@ -8,17 +8,40 @@
|
||||
image:
|
||||
repository: ghcr.io/k8s-at-home/plex-media-server
|
||||
pullPolicy: IfNotPresent
|
||||
tag: v1.21.3.4021-5a0a3e4b2
|
||||
tag: v1.22.0.4163-d8c4875dd
|
||||
|
||||
strategy:
|
||||
type: Recreate
|
||||
|
||||
env: {}
|
||||
# TZ:
|
||||
# ADVERTISE_IP:
|
||||
# ALLOWED_NETWORKS:
|
||||
# PLEX_CLAIM:
|
||||
# # NOTE: Plex preference options are camelCase and CASE SENSITIVE!
|
||||
# # You can do horrible things to your Plex configuration if you are not careful
|
||||
# # See a full list at https://support.plex.tv/articles/201105343-advanced-hidden-server-settings/
|
||||
# PLEX_PREFERENCE_1: "FriendlyName=plex-kubernetes"
|
||||
# PLEX_PREFERENCE_2: "EnableIPv6=0"
|
||||
# PLEX_PREFERENCE_3: "logDebug=0"
|
||||
# PLEX_PREFERENCE_4: "DisableTLSv1_0=1"
|
||||
# PLEX_PREFERENCE_5: "LanNetworksBandwidth=xxx.xxx.xxx.0/18\,xxx.xxx.xxx.0/24\,xxx.xxx.xxx.0/24"
|
||||
# PLEX_PREFERENCE_6: "TranscoderQuality=2"
|
||||
# PLEX_PREFERENCE_7: "TreatWanIpAsLocal=0"
|
||||
# PLEX_PREFERENCE_8: "TranscoderH264BackgroundPreset=fast"
|
||||
|
||||
service:
|
||||
port:
|
||||
port: 32400
|
||||
# additionalPorts:
|
||||
# - port: 1900
|
||||
# name: dnla-udp
|
||||
# protocol: UDP
|
||||
# targetPort: 1900
|
||||
# - port: 32469
|
||||
# name: dnla-tcp
|
||||
# protocol: TCP
|
||||
# targetPort: 32469
|
||||
|
||||
ingress:
|
||||
enabled: false
|
||||
@@ -57,3 +80,28 @@ persistence:
|
||||
## Do not delete the pvc upon helm uninstall
|
||||
# skipuninstall: false
|
||||
# existingClaim: ""
|
||||
|
||||
# podSecurityContext:
|
||||
# runAsUser: 568
|
||||
# runAsGroup: 568
|
||||
# fsGroup: 568
|
||||
# # Hardware acceleration using an Intel iGPU w/ QuickSync
|
||||
# # These IDs below should be matched to your `video` and `render` group on the host
|
||||
# # To obtain those IDs run the following grep statement on the host:
|
||||
# # $ cat /etc/group | grep "video\|render"
|
||||
# # video:x:44:
|
||||
# # render:x:109:
|
||||
# supplementalGroups:
|
||||
# - 44
|
||||
# - 109
|
||||
|
||||
# resources:
|
||||
# requests:
|
||||
# # Hardware acceleration using an Intel iGPU w/ QuickSync
|
||||
# gpu.intel.com/i915: 1
|
||||
# cpu: 200m
|
||||
# memory: 256Mi
|
||||
# limits:
|
||||
# # Hardware acceleration using an Intel iGPU w/ QuickSync
|
||||
# gpu.intel.com/i915: 1
|
||||
# memory: 4096Mi
|
||||
|
||||
@@ -2,7 +2,7 @@ apiVersion: v2
|
||||
appVersion: 1.0.0
|
||||
description: Serial to Socket Redirector
|
||||
name: ser2sock
|
||||
version: 2.0.1
|
||||
version: 2.0.2
|
||||
keywords:
|
||||
- ser2sock
|
||||
home: https://github.com/k8s-at-home/charts/tree/master/charts/ser2sock
|
||||
|
||||
@@ -1,22 +1,70 @@
|
||||
# ser2sock: Serial to Socket Redirector
|
||||
# ser2sock
|
||||
|
||||
This is a helm chart for [ser2sock](https://github.com/nutechsoftware/ser2sock)
|
||||
 
|
||||
|
||||
## TL;DR;
|
||||
Serial to Socket Redirector
|
||||
|
||||
```shell
|
||||
$ helm repo add k8s-at-home https://k8s-at-home.com/charts/
|
||||
$ helm install k8s-at-home/ser2sock
|
||||
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/k8s-at-home/charts/issues/new/choose)**
|
||||
|
||||
## Source Code
|
||||
|
||||
* <https://github.com/nutechsoftware/ser2sock>
|
||||
* <https://github.com/tenstartups/ser2sock>
|
||||
|
||||
## Requirements
|
||||
|
||||
## Dependencies
|
||||
|
||||
| Repository | Name | Version |
|
||||
|------------|------|---------|
|
||||
|
||||
## TL;DR
|
||||
|
||||
```console
|
||||
helm repo add k8s-at-home https://k8s-at-home.com/charts/
|
||||
helm repo update
|
||||
helm install ser2sock k8s-at-home/ser2sock
|
||||
```
|
||||
|
||||
## Installing the Chart
|
||||
|
||||
To install the chart with the release name `my-release`:
|
||||
To install the chart with the release name `ser2sock`
|
||||
|
||||
```console
|
||||
helm install --name my-release k8s-at-home/ser2sock
|
||||
helm install ser2sock k8s-at-home/ser2sock
|
||||
```
|
||||
|
||||
## Uninstalling the Chart
|
||||
|
||||
To uninstall the `ser2sock` deployment
|
||||
|
||||
```console
|
||||
helm uninstall ser2sock
|
||||
```
|
||||
|
||||
The command removes all the Kubernetes components associated with the chart **including persistent volumes** and deletes the release.
|
||||
|
||||
## Configuration
|
||||
|
||||
Read through the [values.yaml](./values.yaml) file. It has several commented out suggested values.
|
||||
Other values may be used from the [values.yaml](../common/values.yaml) from the [common library](../common).
|
||||
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
|
||||
|
||||
```console
|
||||
helm install ser2sock \
|
||||
--set env.TZ="America/New York" \
|
||||
k8s-at-home/ser2sock
|
||||
```
|
||||
|
||||
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.
|
||||
|
||||
```console
|
||||
helm install ser2sock k8s-at-home/ser2sock -f values.yaml
|
||||
```
|
||||
|
||||
## Custom configuration
|
||||
|
||||
**IMPORTANT NOTE:** the USB device must be accessible on the node where this pod runs, in order for this chart to function properly.
|
||||
|
||||
A way to achieve this can be with nodeAffinity rules, for example:
|
||||
@@ -35,52 +83,66 @@ affinity:
|
||||
|
||||
... where a node with an attached Coral USB device is labeled with `usb: alarmdecoder`
|
||||
|
||||
## Uninstalling the Chart
|
||||
## Values
|
||||
|
||||
To uninstall/delete the `my-release` deployment:
|
||||
**Important**: When deploying an application Helm chart you can add more values from our common library chart [here](https://github.com/k8s-at-home/charts/tree/master/charts/common/)
|
||||
|
||||
```console
|
||||
helm delete my-release --purge
|
||||
```
|
||||
| Key | Type | Default | Description |
|
||||
|-----|------|---------|-------------|
|
||||
| affinity | object | `{}` | Affinity settings for pod assignment of the GUI |
|
||||
| baudRate | int | `115200` | Baudrate |
|
||||
| device | string | `"/dev/ttyUSB0"` | USB Device to use |
|
||||
| fullnameOverride | string | `""` | |
|
||||
| image.pullPolicy | string | `"IfNotPresent"` | Image pull policy |
|
||||
| image.repository | string | `"tenstartups/ser2sock"` | Image repository |
|
||||
| image.tag | string | `"latest"` | Image tag. Possible values listed [here](https://hub.docker.com/r/tenstartups/ser2sock/tags). |
|
||||
| nameOverride | string | `""` | |
|
||||
| nodeSelector | object | `{}` | Node labels for pod assignment of the GUI |
|
||||
| pgid | string | `"1001"` | GID to run as |
|
||||
| podAnnotations | object | `{}` | Pod annotations |
|
||||
| puid | string | `"1001"` | UID to run as |
|
||||
| resources | object | `{}` | CPU/Memory resource requests/limits or the GUI |
|
||||
| service.annotations | object | `{}` | Service annotations for the GUI |
|
||||
| service.clusterIP | string | `nil` | Cluster IP for the GUI |
|
||||
| service.externalIPs | string | `nil` | External IPs for the GUI |
|
||||
| service.externalTrafficPolicy | string | `nil` | Loadbalancer externalTrafficPolicy |
|
||||
| service.loadBalancerIP | string | `nil` | Loadbalancer IP for the GUI |
|
||||
| service.loadBalancerSourceRanges | string | `nil` | Loadbalancer client IP restriction range for the GUI |
|
||||
| service.nodePort | string | `nil` | nodePort to listen on for the GUI |
|
||||
| service.port | int | `10000` | Kubernetes port where the GUI is exposed |
|
||||
| service.type | string | `"ClusterIP"` | Kubernetes service type for the GUI |
|
||||
| strategyType | string | `"Recreate"` | Specifies the strategy used to replace old Pods by new ones |
|
||||
| timezone | string | `nil` | Timezone the ser2sock instance should run as, e.g. 'America/New_York' |
|
||||
| tolerations | list | `[]` | Toleration labels for pod assignment of the GUI |
|
||||
|
||||
The command removes all the Kubernetes components associated with the chart and deletes the release.
|
||||
## Changelog
|
||||
|
||||
## Configuration
|
||||
All notable changes to this application Helm chart will be documented in this file but does not include changes from our common library. To read those click [here](https://github.com/k8s-at-home/charts/tree/master/charts/common/README.md#Changelog).
|
||||
|
||||
The following tables lists the configurable parameters of the Sentry chart and their default values.
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
| Parameter | Description | Default |
|
||||
|----------------------------|-------------------------------------|---------------------------------------------------------|
|
||||
| `image.repository` | Image repository | `tenstartups/ser2sock` |
|
||||
| `image.tag` | Image tag. Possible values listed [here](https://hub.docker.com/r/tenstartups/ser2sock/tags).| `latest`|
|
||||
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
|
||||
| `strategyType` | Specifies the strategy used to replace old Pods by new ones | `Recreate` |
|
||||
| `timezone` | Timezone the ser2sock instance should run as, e.g. 'America/New_York' | `` |
|
||||
| `device` | USB Device to use | `/dev/ttyUSB0` |
|
||||
| `puid` | UID to run as | `1001` |
|
||||
| `pgid` | GID to run as | `1001` |
|
||||
| `Service.type` | Kubernetes service type for the ser2sock GUI | `ClusterIP` |
|
||||
| `Service.port` | Kubernetes port where the ser2sock GUI is exposed| `5000` |
|
||||
| `Service.annotations` | Service annotations for the ser2sock GUI | `{}` |
|
||||
| `Service.labels` | Custom labels | `{}` |
|
||||
| `Service.loadBalancerIP` | Loadbalance IP for the ser2sock GUI | `{}` |
|
||||
| `Service.loadBalancerSourceRanges` | List of IP CIDRs allowed access to load balancer (if supported) | None
|
||||
| `resources` | CPU/Memory resource requests/limits | `{}` |
|
||||
| `nodeSelector` | Node labels for pod assignment | `{}` |
|
||||
| `tolerations` | Toleration labels for pod assignment | `[]` |
|
||||
| `affinity` | Affinity settings for pod assignment | `{}` |
|
||||
### [2.0.2]
|
||||
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
|
||||
#### Added
|
||||
|
||||
```console
|
||||
helm install --name my-release \
|
||||
k8s-at-home/ser2sock
|
||||
```
|
||||
- N/A
|
||||
|
||||
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example,
|
||||
#### Changed
|
||||
|
||||
```console
|
||||
helm install --name my-release -f values.yaml k8s-at-home/ser2sock
|
||||
```
|
||||
- N/A
|
||||
|
||||
Read through the [values.yaml](https://github.com/k8s-at-home/charts/blob/master/charts/ser2sock/values.yaml) file. It has several commented out suggested values.
|
||||
#### Removed
|
||||
|
||||
- N/A
|
||||
|
||||
[2.0.2]: #2.0.2
|
||||
|
||||
## Support
|
||||
|
||||
- See the [Docs](https://docs.k8s-at-home.com/our-helm-charts/getting-started/)
|
||||
- Open an [issue](https://github.com/k8s-at-home/charts/issues/new/choose)
|
||||
- Ask a [question](https://github.com/k8s-at-home/organization/discussions)
|
||||
- Join our [Discord](https://discord.gg/sTMX7Vh) community
|
||||
|
||||
----------------------------------------------
|
||||
Autogenerated from chart metadata using [helm-docs v1.5.0](https://github.com/norwoodj/helm-docs/releases/v1.5.0)
|
||||
145
charts/ser2sock/README.md.gotmpl
Normal file
145
charts/ser2sock/README.md.gotmpl
Normal file
@@ -0,0 +1,145 @@
|
||||
{{- define "custom.repository.organization" -}}
|
||||
k8s-at-home
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.repository.url" -}}
|
||||
https://github.com/k8s-at-home/charts
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.helm.url" -}}
|
||||
https://k8s-at-home.com/charts/
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.helm.path" -}}
|
||||
{{ template "custom.repository.organization" . }}/{{ template "chart.name" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.notes" -}}
|
||||
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/k8s-at-home/charts/issues/new/choose)**
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.requirements" -}}
|
||||
## Requirements
|
||||
|
||||
{{ template "chart.kubeVersionLine" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.dependencies" -}}
|
||||
## Dependencies
|
||||
|
||||
{{ template "chart.requirementsTable" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.install.tldr" -}}
|
||||
## TL;DR
|
||||
|
||||
```console
|
||||
helm repo add {{ template "custom.repository.organization" . }} {{ template "custom.helm.url" . }}
|
||||
helm repo update
|
||||
helm install {{ template "chart.name" . }} {{ template "custom.helm.path" . }}
|
||||
```
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.install" -}}
|
||||
## Installing the Chart
|
||||
|
||||
To install the chart with the release name `{{ template "chart.name" . }}`
|
||||
|
||||
```console
|
||||
helm install {{ template "chart.name" . }} {{ template "custom.helm.path" . }}
|
||||
```
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.uninstall" -}}
|
||||
## Uninstalling the Chart
|
||||
|
||||
To uninstall the `{{ template "chart.name" . }}` deployment
|
||||
|
||||
```console
|
||||
helm uninstall {{ template "chart.name" . }}
|
||||
```
|
||||
|
||||
The command removes all the Kubernetes components associated with the chart **including persistent volumes** and deletes the release.
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.configuration.header" -}}
|
||||
## Configuration
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.configuration.readValues" -}}
|
||||
Read through the [values.yaml](./values.yaml) file. It has several commented out suggested values.
|
||||
Other values may be used from the [values.yaml](../common/values.yaml) from the [common library](../common).
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.configuration.example.set" -}}
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
|
||||
|
||||
```console
|
||||
helm install {{ template "chart.name" . }} \
|
||||
--set env.TZ="America/New York" \
|
||||
{{ template "custom.helm.path" . }}
|
||||
```
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.configuration.example.file" -}}
|
||||
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.
|
||||
|
||||
```console
|
||||
helm install {{ template "chart.name" . }} {{ template "custom.helm.path" . }} -f values.yaml
|
||||
```
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.valuesSection" -}}
|
||||
## Values
|
||||
|
||||
**Important**: When deploying an application Helm chart you can add more values from our common library chart [here](https://github.com/k8s-at-home/charts/tree/master/charts/common/)
|
||||
|
||||
{{ template "chart.valuesTable" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.support" -}}
|
||||
## Support
|
||||
|
||||
- See the [Docs](https://docs.k8s-at-home.com/our-helm-charts/getting-started/)
|
||||
- Open an [issue](https://github.com/k8s-at-home/charts/issues/new/choose)
|
||||
- Ask a [question](https://github.com/k8s-at-home/organization/discussions)
|
||||
- Join our [Discord](https://discord.gg/sTMX7Vh) community
|
||||
{{- end -}}
|
||||
|
||||
{{ template "chart.header" . }}
|
||||
|
||||
{{ template "chart.versionBadge" . }}{{ template "chart.typeBadge" . }}{{ template "chart.appVersionBadge" . }}
|
||||
|
||||
{{ template "chart.description" . }}
|
||||
|
||||
{{ template "custom.notes" . }}
|
||||
|
||||
{{ template "chart.sourcesSection" . }}
|
||||
|
||||
{{ template "custom.requirements" . }}
|
||||
|
||||
{{ template "custom.dependencies" . }}
|
||||
|
||||
{{ template "custom.install.tldr" . }}
|
||||
|
||||
{{ template "custom.install" . }}
|
||||
|
||||
{{ template "custom.uninstall" . }}
|
||||
|
||||
{{ template "custom.configuration.header" . }}
|
||||
|
||||
{{ template "custom.configuration.readValues" . }}
|
||||
|
||||
{{ template "custom.configuration.example.set" . }}
|
||||
|
||||
{{ template "custom.configuration.example.file" . }}
|
||||
|
||||
{{ template "custom.custom.configuration" . }}
|
||||
|
||||
{{ template "custom.valuesSection" . }}
|
||||
|
||||
{{ template "custom.changelog" . }}
|
||||
|
||||
{{ template "custom.support" . }}
|
||||
|
||||
{{ template "helm-docs.versionFooter" . }}
|
||||
27
charts/ser2sock/README_CHANGELOG.md.gotmpl
Normal file
27
charts/ser2sock/README_CHANGELOG.md.gotmpl
Normal file
@@ -0,0 +1,27 @@
|
||||
{{- define "custom.changelog.header" -}}
|
||||
## Changelog
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.changelog" -}}
|
||||
{{ template "custom.changelog.header" . }}
|
||||
|
||||
All notable changes to this application Helm chart will be documented in this file but does not include changes from our common library. To read those click [here](https://github.com/k8s-at-home/charts/tree/master/charts/common/README.md#Changelog).
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
### [2.0.2]
|
||||
|
||||
#### Added
|
||||
|
||||
- N/A
|
||||
|
||||
#### Changed
|
||||
|
||||
- N/A
|
||||
|
||||
#### Removed
|
||||
|
||||
- N/A
|
||||
|
||||
[2.0.2]: #2.0.2
|
||||
{{- end -}}
|
||||
25
charts/ser2sock/README_CONFIG.md.gotmpl
Normal file
25
charts/ser2sock/README_CONFIG.md.gotmpl
Normal file
@@ -0,0 +1,25 @@
|
||||
{{- define "custom.custom.configuration.header" -}}
|
||||
## Custom configuration
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.custom.configuration" -}}
|
||||
{{ template "custom.custom.configuration.header" . }}
|
||||
|
||||
**IMPORTANT NOTE:** the USB device must be accessible on the node where this pod runs, in order for this chart to function properly.
|
||||
|
||||
A way to achieve this can be with nodeAffinity rules, for example:
|
||||
|
||||
```yaml
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: usb
|
||||
operator: In
|
||||
values:
|
||||
- alarmdecoder
|
||||
```
|
||||
|
||||
... where a node with an attached Coral USB device is labeled with `usb: alarmdecoder`
|
||||
{{- end -}}
|
||||
@@ -2,44 +2,52 @@
|
||||
# This is a YAML-formatted file.
|
||||
# Declare variables to be passed into your templates.
|
||||
|
||||
# upgrade strategy type (e.g. Recreate or RollingUpdate)
|
||||
# -- Specifies the strategy used to replace old Pods by new ones
|
||||
strategyType: Recreate
|
||||
|
||||
image:
|
||||
# -- Image repository
|
||||
repository: tenstartups/ser2sock
|
||||
# -- Image tag. Possible values listed [here](https://hub.docker.com/r/tenstartups/ser2sock/tags).
|
||||
tag: latest
|
||||
# -- Image pull policy
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
nameOverride: ""
|
||||
fullnameOverride: ""
|
||||
|
||||
# timezone: "America/New York"
|
||||
# -- (string) Timezone the ser2sock instance should run as, e.g. 'America/New_York'
|
||||
timezone:
|
||||
# -- USB Device to use
|
||||
device: "/dev/ttyUSB0"
|
||||
# -- UID to run as
|
||||
puid: "1001"
|
||||
# -- GID to run as
|
||||
pgid: "1001"
|
||||
# -- Baudrate
|
||||
baudRate: 115200
|
||||
|
||||
service:
|
||||
# -- Kubernetes service type for the GUI
|
||||
type: ClusterIP
|
||||
# -- Kubernetes port where the GUI is exposed
|
||||
port: 10000
|
||||
## Specify the nodePort value for the LoadBalancer and NodePort service types.
|
||||
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
|
||||
##
|
||||
# nodePort:
|
||||
## Provide any additional annotations which may be required. This can be used to
|
||||
## set the LoadBalancer service type to internal only.
|
||||
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
|
||||
##
|
||||
# -- Service annotations for the GUI
|
||||
annotations: {}
|
||||
labels: {}
|
||||
## Use loadBalancerIP to request a specific static IP,
|
||||
## otherwise leave blank
|
||||
##
|
||||
# -- (string) Cluster IP for the GUI
|
||||
clusterIP:
|
||||
# -- (string) External IPs for the GUI
|
||||
externalIPs:
|
||||
# -- (string) Loadbalancer IP for the GUI
|
||||
loadBalancerIP:
|
||||
# loadBalancerSourceRanges: []
|
||||
## Set the externalTrafficPolicy in the Service to either Cluster or Local
|
||||
# externalTrafficPolicy: Cluster
|
||||
# -- (string) Loadbalancer client IP restriction range for the GUI
|
||||
loadBalancerSourceRanges:
|
||||
# -- (string) Loadbalancer externalTrafficPolicy
|
||||
externalTrafficPolicy:
|
||||
# -- (string) nodePort to listen on for the GUI
|
||||
nodePort:
|
||||
|
||||
# -- CPU/Memory resource requests/limits or the GUI
|
||||
resources: {}
|
||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
||||
# choice for the user. This also increases chances charts run on environments with little
|
||||
@@ -52,10 +60,14 @@ resources: {}
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
|
||||
# -- Node labels for pod assignment of the GUI
|
||||
nodeSelector: {}
|
||||
|
||||
# -- Toleration labels for pod assignment of the GUI
|
||||
tolerations: []
|
||||
|
||||
# -- Affinity settings for pod assignment of the GUI
|
||||
affinity: {}
|
||||
|
||||
# -- Pod annotations
|
||||
podAnnotations: {}
|
||||
|
||||
26
charts/sharry/.helmignore
Normal file
26
charts/sharry/.helmignore
Normal file
@@ -0,0 +1,26 @@
|
||||
# Patterns to ignore when building packages.
|
||||
# This supports shell glob matching, relative path matching, and
|
||||
# negation (prefixed with !). Only one pattern per line.
|
||||
.DS_Store
|
||||
# Common VCS dirs
|
||||
.git/
|
||||
.gitignore
|
||||
.bzr/
|
||||
.bzrignore
|
||||
.hg/
|
||||
.hgignore
|
||||
.svn/
|
||||
# Common backup files
|
||||
*.swp
|
||||
*.bak
|
||||
*.tmp
|
||||
*~
|
||||
# Various IDEs
|
||||
.project
|
||||
.idea/
|
||||
*.tmproj
|
||||
.vscode/
|
||||
# OWNERS file for Kubernetes
|
||||
OWNERS
|
||||
# helm-docs templates
|
||||
*.gotmpl
|
||||
19
charts/sharry/Chart.yaml
Normal file
19
charts/sharry/Chart.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
apiVersion: v2
|
||||
appVersion: 1.6.0
|
||||
description: Sharry allows to share files with others in a simple way. It is a self-hosted web application. The basic concept is to upload files and get a url back that can then be shared.
|
||||
name: sharry
|
||||
version: 1.0.0
|
||||
keywords:
|
||||
- file sharing
|
||||
home: https://github.com/k8s-at-home/charts/tree/master/charts/sharry
|
||||
icon: https://github.com/eikek/sharry/blob/master/artwork/logo.svg?raw=true
|
||||
sources:
|
||||
- https://github.com/eikek/sharry
|
||||
- https://hub.docker.com/r/eikek0/sharry
|
||||
maintainers:
|
||||
- name: auricom
|
||||
email: k8s-at-home@xpander.eml.cc
|
||||
dependencies:
|
||||
- name: common
|
||||
repository: https://library-charts.k8s-at-home.com
|
||||
version: 1.0.0
|
||||
119
charts/sharry/README.md
Normal file
119
charts/sharry/README.md
Normal file
@@ -0,0 +1,119 @@
|
||||
# sharry
|
||||
|
||||
 
|
||||
|
||||
Sharry allows to share files with others in a simple way. It is a self-hosted web application. The basic concept is to upload files and get a url back that can then be shared.
|
||||
|
||||
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/k8s-at-home/charts/issues/new/choose)**
|
||||
|
||||
## Source Code
|
||||
|
||||
* <https://github.com/eikek/sharry>
|
||||
* <https://hub.docker.com/r/eikek0/sharry>
|
||||
|
||||
## Requirements
|
||||
|
||||
## Dependencies
|
||||
|
||||
| Repository | Name | Version |
|
||||
|------------|------|---------|
|
||||
| https://library-charts.k8s-at-home.com | common | 1.0.0 |
|
||||
|
||||
## TL;DR
|
||||
|
||||
```console
|
||||
helm repo add k8s-at-home https://k8s-at-home.com/charts/
|
||||
helm repo update
|
||||
helm install sharry k8s-at-home/sharry
|
||||
```
|
||||
|
||||
## Installing the Chart
|
||||
|
||||
To install the chart with the release name `sharry`
|
||||
|
||||
```console
|
||||
helm install sharry k8s-at-home/sharry
|
||||
```
|
||||
|
||||
## Uninstalling the Chart
|
||||
|
||||
To uninstall the `sharry` deployment
|
||||
|
||||
```console
|
||||
helm uninstall sharry
|
||||
```
|
||||
|
||||
The command removes all the Kubernetes components associated with the chart **including persistent volumes** and deletes the release.
|
||||
|
||||
## Configuration
|
||||
|
||||
Read through the [values.yaml](./values.yaml) file. It has several commented out suggested values.
|
||||
Other values may be used from the [values.yaml](../common/values.yaml) from the [common library](../common).
|
||||
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
|
||||
|
||||
```console
|
||||
helm install sharry \
|
||||
--set env.TZ="America/New York" \
|
||||
k8s-at-home/sharry
|
||||
```
|
||||
|
||||
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.
|
||||
|
||||
```console
|
||||
helm install sharry k8s-at-home/sharry -f values.yaml
|
||||
```
|
||||
|
||||
## Custom configuration
|
||||
|
||||
N/A
|
||||
|
||||
## Values
|
||||
|
||||
**Important**: When deploying an application Helm chart you can add more values from our common library chart [here](https://github.com/k8s-at-home/charts/tree/master/charts/common/)
|
||||
|
||||
| Key | Type | Default | Description |
|
||||
|-----|------|---------|-------------|
|
||||
| additionalVolumeMounts[0].mountPath | string | `"/opt/sharry.conf"` | |
|
||||
| additionalVolumeMounts[0].name | string | `"sharry-config"` | |
|
||||
| additionalVolumeMounts[0].subPath | string | `"sharry.conf"` | |
|
||||
| additionalVolumes[0].configMap.name | string | `"sharry-config"` | |
|
||||
| additionalVolumes[0].name | string | `"sharry-config"` | |
|
||||
| affinity | object | `{}` | Affinity settings for pod assignment of the GUI |
|
||||
| args[0] | string | `"/opt/sharry.conf"` | |
|
||||
| image.pullPolicy | string | `"IfNotPresent"` | |
|
||||
| image.repository | string | `"eikek0/sharry"` | sharry image |
|
||||
| image.tag | string | `"1.6.0"` | sharry image tag |
|
||||
| ingress.annotations."nginx.ingress.kubernetes.io/client-body-buffer-size" | string | `"2048m"` | Nginx client Body Buffer Size |
|
||||
| ingress.annotations."nginx.ingress.kubernetes.io/proxy-body-size" | string | `"2048m"` | Nginx Proxy Body Size |
|
||||
| ingress.annotations."nginx.ingress.kubernetes.io/proxy-buffering" | string | `"off"` | |
|
||||
| ingress.enabled | bool | `false` | |
|
||||
| nodeSelector | object | `{}` | Node labels for pod assignment of the GUI |
|
||||
| podAnnotations | object | `{}` | Pod annotations |
|
||||
| resources | object | `{}` | |
|
||||
| service.port.port | int | `9090` | Kubernetes port where the GUI is exposed |
|
||||
| sharry.baseUrl | string | `"http://localhost:9090"` | This is the base URL this application is deployed to. |
|
||||
| sharry.chunkSize | string | `"512K"` | When storing binary data use chunks of this size. |
|
||||
| sharry.jdbcPassword | string | `""` | jdbc Password |
|
||||
| sharry.jdbcUrl | string | `"jdbc:h2://\"${java.io.tmpdir}\"/sharry-demo.db;MODE=PostgreSQL;DATABASE_TO_LOWER=TRUE"` | By default a H2 file-based database is configured. You can provide a postgresql or mariadb connection here. |
|
||||
| sharry.jdbcUser | string | `"sa"` | jdbc Username |
|
||||
| sharry.maxSize | string | `"1.5G"` | Maximum size of a share. |
|
||||
| sharry.maxValidity | string | `"365 days"` | Maximum validity for uploads. |
|
||||
| sharry.signup | string | `"open"` | The mode defines if new users can signup or not. It can have three values : open, invite, closed |
|
||||
| tolerations | list | `[]` | Toleration labels for pod assignment of the GUI |
|
||||
|
||||
## Changelog
|
||||
|
||||
All notable changes to this application Helm chart will be documented in this file but does not include changes from our common library. To read those click [here](https://github.com/k8s-at-home/charts/tree/master/charts/common/README.md#Changelog).
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## Support
|
||||
|
||||
- See the [Docs](https://docs.k8s-at-home.com/our-helm-charts/getting-started/)
|
||||
- Open an [issue](https://github.com/k8s-at-home/charts/issues/new/choose)
|
||||
- Ask a [question](https://github.com/k8s-at-home/organization/discussions)
|
||||
- Join our [Discord](https://discord.gg/sTMX7Vh) community
|
||||
|
||||
----------------------------------------------
|
||||
Autogenerated from chart metadata using [helm-docs v1.5.0](https://github.com/norwoodj/helm-docs/releases/v1.5.0)
|
||||
145
charts/sharry/README.md.gotmpl
Normal file
145
charts/sharry/README.md.gotmpl
Normal file
@@ -0,0 +1,145 @@
|
||||
{{- define "custom.repository.organization" -}}
|
||||
k8s-at-home
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.repository.url" -}}
|
||||
https://github.com/k8s-at-home/charts
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.helm.url" -}}
|
||||
https://k8s-at-home.com/charts/
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.helm.path" -}}
|
||||
{{ template "custom.repository.organization" . }}/{{ template "chart.name" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.notes" -}}
|
||||
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/k8s-at-home/charts/issues/new/choose)**
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.requirements" -}}
|
||||
## Requirements
|
||||
|
||||
{{ template "chart.kubeVersionLine" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.dependencies" -}}
|
||||
## Dependencies
|
||||
|
||||
{{ template "chart.requirementsTable" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.install.tldr" -}}
|
||||
## TL;DR
|
||||
|
||||
```console
|
||||
helm repo add {{ template "custom.repository.organization" . }} {{ template "custom.helm.url" . }}
|
||||
helm repo update
|
||||
helm install {{ template "chart.name" . }} {{ template "custom.helm.path" . }}
|
||||
```
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.install" -}}
|
||||
## Installing the Chart
|
||||
|
||||
To install the chart with the release name `{{ template "chart.name" . }}`
|
||||
|
||||
```console
|
||||
helm install {{ template "chart.name" . }} {{ template "custom.helm.path" . }}
|
||||
```
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.uninstall" -}}
|
||||
## Uninstalling the Chart
|
||||
|
||||
To uninstall the `{{ template "chart.name" . }}` deployment
|
||||
|
||||
```console
|
||||
helm uninstall {{ template "chart.name" . }}
|
||||
```
|
||||
|
||||
The command removes all the Kubernetes components associated with the chart **including persistent volumes** and deletes the release.
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.configuration.header" -}}
|
||||
## Configuration
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.configuration.readValues" -}}
|
||||
Read through the [values.yaml](./values.yaml) file. It has several commented out suggested values.
|
||||
Other values may be used from the [values.yaml](../common/values.yaml) from the [common library](../common).
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.configuration.example.set" -}}
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
|
||||
|
||||
```console
|
||||
helm install {{ template "chart.name" . }} \
|
||||
--set env.TZ="America/New York" \
|
||||
{{ template "custom.helm.path" . }}
|
||||
```
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.configuration.example.file" -}}
|
||||
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.
|
||||
|
||||
```console
|
||||
helm install {{ template "chart.name" . }} {{ template "custom.helm.path" . }} -f values.yaml
|
||||
```
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.valuesSection" -}}
|
||||
## Values
|
||||
|
||||
**Important**: When deploying an application Helm chart you can add more values from our common library chart [here](https://github.com/k8s-at-home/charts/tree/master/charts/common/)
|
||||
|
||||
{{ template "chart.valuesTable" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.support" -}}
|
||||
## Support
|
||||
|
||||
- See the [Docs](https://docs.k8s-at-home.com/our-helm-charts/getting-started/)
|
||||
- Open an [issue](https://github.com/k8s-at-home/charts/issues/new/choose)
|
||||
- Ask a [question](https://github.com/k8s-at-home/organization/discussions)
|
||||
- Join our [Discord](https://discord.gg/sTMX7Vh) community
|
||||
{{- end -}}
|
||||
|
||||
{{ template "chart.header" . }}
|
||||
|
||||
{{ template "chart.versionBadge" . }}{{ template "chart.typeBadge" . }}{{ template "chart.appVersionBadge" . }}
|
||||
|
||||
{{ template "chart.description" . }}
|
||||
|
||||
{{ template "custom.notes" . }}
|
||||
|
||||
{{ template "chart.sourcesSection" . }}
|
||||
|
||||
{{ template "custom.requirements" . }}
|
||||
|
||||
{{ template "custom.dependencies" . }}
|
||||
|
||||
{{ template "custom.install.tldr" . }}
|
||||
|
||||
{{ template "custom.install" . }}
|
||||
|
||||
{{ template "custom.uninstall" . }}
|
||||
|
||||
{{ template "custom.configuration.header" . }}
|
||||
|
||||
{{ template "custom.configuration.readValues" . }}
|
||||
|
||||
{{ template "custom.configuration.example.set" . }}
|
||||
|
||||
{{ template "custom.configuration.example.file" . }}
|
||||
|
||||
{{ template "custom.custom.configuration" . }}
|
||||
|
||||
{{ template "custom.valuesSection" . }}
|
||||
|
||||
{{ template "custom.changelog" . }}
|
||||
|
||||
{{ template "custom.support" . }}
|
||||
|
||||
{{ template "helm-docs.versionFooter" . }}
|
||||
12
charts/sharry/README_CHANGELOG.md.gotmpl
Normal file
12
charts/sharry/README_CHANGELOG.md.gotmpl
Normal file
@@ -0,0 +1,12 @@
|
||||
{{- define "custom.changelog.header" -}}
|
||||
## Changelog
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.changelog" -}}
|
||||
{{ template "custom.changelog.header" . }}
|
||||
|
||||
All notable changes to this application Helm chart will be documented in this file but does not include changes from our common library. To read those click [here](https://github.com/k8s-at-home/charts/tree/master/charts/common/README.md#Changelog).
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
{{- end -}}
|
||||
9
charts/sharry/README_CONFIG.md.gotmpl
Normal file
9
charts/sharry/README_CONFIG.md.gotmpl
Normal file
@@ -0,0 +1,9 @@
|
||||
{{- define "custom.custom.configuration.header" -}}
|
||||
## Custom configuration
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.custom.configuration" -}}
|
||||
{{ template "custom.custom.configuration.header" . }}
|
||||
|
||||
N/A
|
||||
{{- end -}}
|
||||
1
charts/sharry/templates/NOTES.txt
Normal file
1
charts/sharry/templates/NOTES.txt
Normal file
@@ -0,0 +1 @@
|
||||
{{- include "common.notes.defaultNotes" . -}}
|
||||
1
charts/sharry/templates/common.yaml
Normal file
1
charts/sharry/templates/common.yaml
Normal file
@@ -0,0 +1 @@
|
||||
{{ include "common.all" . }}
|
||||
91
charts/sharry/templates/configmap.yaml
Normal file
91
charts/sharry/templates/configmap.yaml
Normal file
@@ -0,0 +1,91 @@
|
||||
|
||||
{{/*
|
||||
Sharry Configuration files.
|
||||
*/}}
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: "sharry-config"
|
||||
labels:
|
||||
{{- include "common.labels" . | nindent 4 }}
|
||||
data:
|
||||
sharry.conf: |
|
||||
sharry.restserver {
|
||||
|
||||
{{- if .Values.sharry.baseUrl }}
|
||||
base-url = "{{ .Values.sharry.baseUrl }}"
|
||||
{{ end }}
|
||||
bind {
|
||||
address = "0.0.0.0"
|
||||
port = {{- if .Values.service.port.port }}{{ .Values.service.port.port }}{{ end }}
|
||||
}
|
||||
|
||||
backend {
|
||||
auth {
|
||||
fixed.enabled = true ## enabled admin:admin access
|
||||
}
|
||||
|
||||
jdbc {
|
||||
url = "{{- if .Values.sharry.jdbcUrl }}{{ .Values.sharry.jdbcUrl }}{{ end }}"
|
||||
user = "{{- if .Values.sharry.jdbcUser }}{{ .Values.sharry.jdbcUser }}{{ end }}"
|
||||
password = "{{- if .Values.sharry.jdbcPassword }}{{ .Values.sharry.jdbcPassword }}{{ end }}"
|
||||
}
|
||||
|
||||
webapp {
|
||||
# This is shown in the top right corner of the web application
|
||||
app-name = "Sharry"
|
||||
|
||||
# The icon next to the app-name. Needs to be an URL to a image.
|
||||
app-icon = ""
|
||||
|
||||
# The login and register page displays a logo image, by default
|
||||
# the Sharry logo. This can be changed here. It needs to be an URL
|
||||
# to an image.
|
||||
app-logo = ""
|
||||
|
||||
# This is markdown that is inserted as the footer on each page in
|
||||
# the ui. If left empty, a link to the project is rendered.
|
||||
app-footer = ""
|
||||
|
||||
# Whether to display the footer on each page in the ui. Set it to
|
||||
# false to hide it.
|
||||
app-footer-visible = true
|
||||
|
||||
# Chunk size used for one request. The server will re-chunk the
|
||||
# stream into smaller chunks. But the client can transfer more in
|
||||
# one requests, resulting in faster uploads.
|
||||
#
|
||||
# You might need to adjust this value depending on your setup. A
|
||||
# higher value usually means faster uploads.
|
||||
chunk-size = "100M"
|
||||
|
||||
# Number of milliseconds the client should wait before doing a new
|
||||
# upload attempt after something failed. The length of the array
|
||||
# denotes the number of retries.
|
||||
retry-delays = [0, 3000, 6000, 12000, 24000, 48000]
|
||||
|
||||
# The login page can display a welcome message that is readable by
|
||||
# everyone. The text is processed as markdown.
|
||||
welcome-message = ""
|
||||
|
||||
}
|
||||
|
||||
share {
|
||||
# When storing binary data use chunks of this size.
|
||||
chunk-size = "{{- if .Values.sharry.chunkSize }}{{ .Values.sharry.chunkSize }}{{ end }}"
|
||||
|
||||
# Maximum size of a share.
|
||||
max-size = "{{- if .Values.sharry.maxSize }}{{ .Values.sharry.maxSize }}{{ end }}"
|
||||
|
||||
# Maximum validity for uploads
|
||||
max-validity = {{- if .Values.sharry.maxValidity }}{{ .Values.sharry.maxValidity }}{{ end }}
|
||||
}
|
||||
|
||||
signup {
|
||||
mode = "{{- if .Values.sharry.signup }}{{ .Values.sharry.signup }}{{ end }}"
|
||||
invite-time = "3 days"
|
||||
invite-password = "generate-invite"
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
77
charts/sharry/values.yaml
Normal file
77
charts/sharry/values.yaml
Normal file
@@ -0,0 +1,77 @@
|
||||
# Default values for sharry.
|
||||
|
||||
image:
|
||||
# -- sharry image
|
||||
repository: eikek0/sharry
|
||||
# -- sharry image tag
|
||||
tag: 1.6.0
|
||||
# sharry image pull policy
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
resources: {}
|
||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
||||
# choice for the user. This also increases chances charts run on environments with little
|
||||
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
||||
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
||||
# limits:
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
# requests:
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
|
||||
service:
|
||||
port:
|
||||
# -- Kubernetes port where the GUI is exposed
|
||||
port: 9090
|
||||
|
||||
args:
|
||||
- "/opt/sharry.conf"
|
||||
|
||||
sharry:
|
||||
# -- This is the base URL this application is deployed to.
|
||||
baseUrl: "http://localhost:9090"
|
||||
# -- By default a H2 file-based database is configured. You can provide a postgresql or mariadb connection here.
|
||||
jdbcUrl: "jdbc:h2://\"${java.io.tmpdir}\"/sharry-demo.db;MODE=PostgreSQL;DATABASE_TO_LOWER=TRUE"
|
||||
# -- jdbc Username
|
||||
jdbcUser: sa
|
||||
# -- jdbc Password
|
||||
jdbcPassword: ""
|
||||
# -- When storing binary data use chunks of this size.
|
||||
chunkSize: "512K"
|
||||
# -- Maximum size of a share.
|
||||
maxSize: "1.5G"
|
||||
# -- Maximum validity for uploads.
|
||||
maxValidity: "365 days"
|
||||
# -- The mode defines if new users can signup or not. It can have three values : open, invite, closed
|
||||
signup: "open"
|
||||
|
||||
# -- Node labels for pod assignment of the GUI
|
||||
nodeSelector: {}
|
||||
|
||||
# -- Toleration labels for pod assignment of the GUI
|
||||
tolerations: []
|
||||
|
||||
# -- Affinity settings for pod assignment of the GUI
|
||||
affinity: {}
|
||||
|
||||
# -- Pod annotations
|
||||
podAnnotations: {}
|
||||
|
||||
additionalVolumes:
|
||||
- name: sharry-config
|
||||
configMap:
|
||||
name: sharry-config
|
||||
additionalVolumeMounts:
|
||||
- name: sharry-config
|
||||
mountPath: /opt/sharry.conf
|
||||
subPath: sharry.conf
|
||||
|
||||
ingress:
|
||||
enabled: false
|
||||
annotations:
|
||||
# -- Nginx client Body Buffer Size
|
||||
nginx.ingress.kubernetes.io/client-body-buffer-size: "2048m"
|
||||
# -- Nginx Proxy Body Size
|
||||
nginx.ingress.kubernetes.io/proxy-body-size: "2048m"
|
||||
nginx.ingress.kubernetes.io/proxy-buffering: "off"
|
||||
@@ -1,6 +1,6 @@
|
||||
apiVersion: v2
|
||||
name: speedtest
|
||||
version: 3.0.0
|
||||
version: 3.0.1
|
||||
appVersion: 1.0.0
|
||||
description: periodic speedtest and save the results to InfluxDB
|
||||
keywords:
|
||||
@@ -15,3 +15,9 @@ sources:
|
||||
maintainers:
|
||||
- name: billimek
|
||||
email: jeff@billimek.com
|
||||
|
||||
dependencies:
|
||||
- name: influxdb
|
||||
version: 1.1.9
|
||||
repository: https://charts.bitnami.com/bitnami
|
||||
condition: influxdb.enabled
|
||||
|
||||
@@ -1,71 +1,129 @@
|
||||
# Speedtest.net Collector For InfluxDB and Grafana
|
||||
# speedtest
|
||||
|
||||

|
||||
 
|
||||
|
||||
This tool is a wrapper for speedtest-cli which allows you to run periodic speedtets and save the results to Influxdb
|
||||
periodic speedtest and save the results to InfluxDB
|
||||
|
||||
## TL;DR;
|
||||
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/k8s-at-home/charts/issues/new/choose)**
|
||||
|
||||
## Source Code
|
||||
|
||||
* <https://github.com/k8s-at-home/Speedtest-for-InfluxDB-and-Grafana>
|
||||
* <https://github.com/k8s-at-home/charts>
|
||||
|
||||
## Requirements
|
||||
|
||||
## Dependencies
|
||||
|
||||
| Repository | Name | Version |
|
||||
|------------|------|---------|
|
||||
| https://charts.bitnami.com/bitnami | influxdb | 1.1.9 |
|
||||
|
||||
## TL;DR
|
||||
|
||||
```console
|
||||
$ helm repo add k8s-at-home https://k8s-at-home.com/charts/
|
||||
$ helm install k8s-at-home/speedtest
|
||||
helm repo add k8s-at-home https://k8s-at-home.com/charts/
|
||||
helm repo update
|
||||
helm install speedtest k8s-at-home/speedtest
|
||||
```
|
||||
|
||||
## Installing the Chart
|
||||
|
||||
To install the chart with the release name `my-release`:
|
||||
To install the chart with the release name `speedtest`
|
||||
|
||||
```console
|
||||
$ helm install --name my-release k8s-at-home/speedtest
|
||||
helm install speedtest k8s-at-home/speedtest
|
||||
```
|
||||
|
||||
## Uninstalling the Chart
|
||||
|
||||
To uninstall/delete the `my-release` deployment:
|
||||
To uninstall the `speedtest` deployment
|
||||
|
||||
```console
|
||||
$ helm delete my-release --purge
|
||||
helm uninstall speedtest
|
||||
```
|
||||
|
||||
The command removes all the Kubernetes components associated with the chart and deletes the release.
|
||||
The command removes all the Kubernetes components associated with the chart **including persistent volumes** and deletes the release.
|
||||
|
||||
## Configuration
|
||||
|
||||
The configuration is set as a block of text through a configmap and mounted as a file in /src/config.ini Any value in this text block should match the defined speedtest configuration. There are several values here that will have to match our kubernetes configuration.
|
||||
Read through the [values.yaml](./values.yaml) file. It has several commented out suggested values.
|
||||
Other values may be used from the [values.yaml](../common/values.yaml) from the [common library](../common).
|
||||
|
||||
## Configuration
|
||||
|
||||
The following tables lists the configurable parameters of the Sentry chart and their default values.
|
||||
|
||||
| Parameter | Description | Default |
|
||||
| ------------------------------- | ------------------------------- | ---------------------------------------------------------- |
|
||||
| `image.repository` | speedtest image | `k8s-at-home/speedtestusage-for-influxdb` |
|
||||
| `image.tag` | speedtest image tag | `latest` |
|
||||
| `image.pullPolicy` | speedtest image pull policy | `IfNotPresent` |
|
||||
| `debug` | Display debugging output | `false` |
|
||||
| `config.delay` | how many seconds to wait between checks | `3600` |
|
||||
| `config.influxdb.host` | InfluxDB hostname | `influxdb-influxdb` |
|
||||
| `config.influxdb.port` | InfluxDB port | `8086` |
|
||||
| `config.influxdb.database` | InfluxDB database | `speedtests` |
|
||||
| `config.influxdb.username` | InfluxDB username | `` |
|
||||
| `config.influxdb.password` | InfluxDB password | `` |
|
||||
| `config.influxdb.ssl` | InfluxDB connection using SSL | `false` |
|
||||
| `config.speedtest.server` | server to use for speedtest - leave blank to auto-pick | `` |
|
||||
| `podAnnotations` | Key-value pairs to add as pod annotations | `{}` |
|
||||
|
||||
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
|
||||
|
||||
```console
|
||||
$ helm install --name my-release \
|
||||
--set config.influxdb.host=some-influx-host \
|
||||
helm install speedtest \
|
||||
--set env.TZ="America/New York" \
|
||||
k8s-at-home/speedtest
|
||||
```
|
||||
|
||||
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example,
|
||||
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.
|
||||
|
||||
```console
|
||||
$ helm install --name my-release -f values.yaml k8s-at-home/speedtest
|
||||
helm install speedtest k8s-at-home/speedtest -f values.yaml
|
||||
```
|
||||
|
||||
Read through the [values.yaml](https://github.com/k8s-at-home/charts/blob/master/charts/speedtest/values.yaml) file. It has several commented out suggested values.
|
||||
## Custom configuration
|
||||
|
||||
N/A
|
||||
|
||||
## Values
|
||||
|
||||
**Important**: When deploying an application Helm chart you can add more values from our common library chart [here](https://github.com/k8s-at-home/charts/tree/master/charts/common/)
|
||||
|
||||
| Key | Type | Default | Description |
|
||||
|-----|------|---------|-------------|
|
||||
| config.delay | int | `3600` | how many seconds to wait between checks |
|
||||
| config.influxdb.database | string | `"speedtests"` | InfluxDB database |
|
||||
| config.influxdb.host | string | `nil` | InfluxDB host @default - internal influxDB chart if not set |
|
||||
| config.influxdb.password | string | `nil` | InfluxDB password |
|
||||
| config.influxdb.port | int | `8086` | InfluxDB port |
|
||||
| config.influxdb.ssl | bool | `false` | enable TLS |
|
||||
| config.influxdb.username | string | `nil` | InfluxDB username |
|
||||
| config.speedtest.server | string | `nil` | server to use for speedtest - leave blank to auto-pick |
|
||||
| debug | bool | `false` | Display debugging output |
|
||||
| image.pullPolicy | string | `"IfNotPresent"` | speedtest image pull policy |
|
||||
| image.repository | string | `"atribe/speedtest-for-influxdb-and-grafana"` | speedtest image |
|
||||
| image.tag | string | `"latest"` | speedtest image tag |
|
||||
| influxdb.architecture | string | `"standalone"` | |
|
||||
| influxdb.authEnabled | bool | `false` | |
|
||||
| influxdb.database | string | `"speedtests"` | |
|
||||
| influxdb.enabled | bool | `true` | |
|
||||
| influxdb.persistence.enabled | bool | `false` | |
|
||||
| nodeSelector | object | `{}` | |
|
||||
| podAnnotations | object | `{}` | Key-value pairs to add as pod annotations |
|
||||
| replicaCount | int | `1` | |
|
||||
| resources | object | `{}` | |
|
||||
|
||||
## Changelog
|
||||
|
||||
All notable changes to this application Helm chart will be documented in this file but does not include changes from our common library. To read those click [here](https://github.com/k8s-at-home/charts/tree/master/charts/common/README.md#Changelog).
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
### [3.0.1]
|
||||
|
||||
#### Added
|
||||
|
||||
- N/A
|
||||
|
||||
#### Changed
|
||||
|
||||
- USe helm-docs
|
||||
|
||||
#### Removed
|
||||
|
||||
- N/A
|
||||
|
||||
[3.0.1]: #3.0.1
|
||||
|
||||
## Support
|
||||
|
||||
- See the [Docs](https://docs.k8s-at-home.com/our-helm-charts/getting-started/)
|
||||
- Open an [issue](https://github.com/k8s-at-home/charts/issues/new/choose)
|
||||
- Ask a [question](https://github.com/k8s-at-home/organization/discussions)
|
||||
- Join our [Discord](https://discord.gg/sTMX7Vh) community
|
||||
|
||||
----------------------------------------------
|
||||
Autogenerated from chart metadata using [helm-docs v1.5.0](https://github.com/norwoodj/helm-docs/releases/v1.5.0)
|
||||
145
charts/speedtest/README.md.gotmpl
Normal file
145
charts/speedtest/README.md.gotmpl
Normal file
@@ -0,0 +1,145 @@
|
||||
{{- define "custom.repository.organization" -}}
|
||||
k8s-at-home
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.repository.url" -}}
|
||||
https://github.com/k8s-at-home/charts
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.helm.url" -}}
|
||||
https://k8s-at-home.com/charts/
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.helm.path" -}}
|
||||
{{ template "custom.repository.organization" . }}/{{ template "chart.name" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.notes" -}}
|
||||
**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/k8s-at-home/charts/issues/new/choose)**
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.requirements" -}}
|
||||
## Requirements
|
||||
|
||||
{{ template "chart.kubeVersionLine" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.dependencies" -}}
|
||||
## Dependencies
|
||||
|
||||
{{ template "chart.requirementsTable" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.install.tldr" -}}
|
||||
## TL;DR
|
||||
|
||||
```console
|
||||
helm repo add {{ template "custom.repository.organization" . }} {{ template "custom.helm.url" . }}
|
||||
helm repo update
|
||||
helm install {{ template "chart.name" . }} {{ template "custom.helm.path" . }}
|
||||
```
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.install" -}}
|
||||
## Installing the Chart
|
||||
|
||||
To install the chart with the release name `{{ template "chart.name" . }}`
|
||||
|
||||
```console
|
||||
helm install {{ template "chart.name" . }} {{ template "custom.helm.path" . }}
|
||||
```
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.uninstall" -}}
|
||||
## Uninstalling the Chart
|
||||
|
||||
To uninstall the `{{ template "chart.name" . }}` deployment
|
||||
|
||||
```console
|
||||
helm uninstall {{ template "chart.name" . }}
|
||||
```
|
||||
|
||||
The command removes all the Kubernetes components associated with the chart **including persistent volumes** and deletes the release.
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.configuration.header" -}}
|
||||
## Configuration
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.configuration.readValues" -}}
|
||||
Read through the [values.yaml](./values.yaml) file. It has several commented out suggested values.
|
||||
Other values may be used from the [values.yaml](../common/values.yaml) from the [common library](../common).
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.configuration.example.set" -}}
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
|
||||
|
||||
```console
|
||||
helm install {{ template "chart.name" . }} \
|
||||
--set env.TZ="America/New York" \
|
||||
{{ template "custom.helm.path" . }}
|
||||
```
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.configuration.example.file" -}}
|
||||
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.
|
||||
|
||||
```console
|
||||
helm install {{ template "chart.name" . }} {{ template "custom.helm.path" . }} -f values.yaml
|
||||
```
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.valuesSection" -}}
|
||||
## Values
|
||||
|
||||
**Important**: When deploying an application Helm chart you can add more values from our common library chart [here](https://github.com/k8s-at-home/charts/tree/master/charts/common/)
|
||||
|
||||
{{ template "chart.valuesTable" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.support" -}}
|
||||
## Support
|
||||
|
||||
- See the [Docs](https://docs.k8s-at-home.com/our-helm-charts/getting-started/)
|
||||
- Open an [issue](https://github.com/k8s-at-home/charts/issues/new/choose)
|
||||
- Ask a [question](https://github.com/k8s-at-home/organization/discussions)
|
||||
- Join our [Discord](https://discord.gg/sTMX7Vh) community
|
||||
{{- end -}}
|
||||
|
||||
{{ template "chart.header" . }}
|
||||
|
||||
{{ template "chart.versionBadge" . }}{{ template "chart.typeBadge" . }}{{ template "chart.appVersionBadge" . }}
|
||||
|
||||
{{ template "chart.description" . }}
|
||||
|
||||
{{ template "custom.notes" . }}
|
||||
|
||||
{{ template "chart.sourcesSection" . }}
|
||||
|
||||
{{ template "custom.requirements" . }}
|
||||
|
||||
{{ template "custom.dependencies" . }}
|
||||
|
||||
{{ template "custom.install.tldr" . }}
|
||||
|
||||
{{ template "custom.install" . }}
|
||||
|
||||
{{ template "custom.uninstall" . }}
|
||||
|
||||
{{ template "custom.configuration.header" . }}
|
||||
|
||||
{{ template "custom.configuration.readValues" . }}
|
||||
|
||||
{{ template "custom.configuration.example.set" . }}
|
||||
|
||||
{{ template "custom.configuration.example.file" . }}
|
||||
|
||||
{{ template "custom.custom.configuration" . }}
|
||||
|
||||
{{ template "custom.valuesSection" . }}
|
||||
|
||||
{{ template "custom.changelog" . }}
|
||||
|
||||
{{ template "custom.support" . }}
|
||||
|
||||
{{ template "helm-docs.versionFooter" . }}
|
||||
27
charts/speedtest/README_CHANGELOG.md.gotmpl
Normal file
27
charts/speedtest/README_CHANGELOG.md.gotmpl
Normal file
@@ -0,0 +1,27 @@
|
||||
{{- define "custom.changelog.header" -}}
|
||||
## Changelog
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.changelog" -}}
|
||||
{{ template "custom.changelog.header" . }}
|
||||
|
||||
All notable changes to this application Helm chart will be documented in this file but does not include changes from our common library. To read those click [here](https://github.com/k8s-at-home/charts/tree/master/charts/common/README.md#Changelog).
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
### [3.0.1]
|
||||
|
||||
#### Added
|
||||
|
||||
- N/A
|
||||
|
||||
#### Changed
|
||||
|
||||
- USe helm-docs
|
||||
|
||||
#### Removed
|
||||
|
||||
- N/A
|
||||
|
||||
[3.0.1]: #3.0.1
|
||||
{{- end -}}
|
||||
9
charts/speedtest/README_CONFIG.md.gotmpl
Normal file
9
charts/speedtest/README_CONFIG.md.gotmpl
Normal file
@@ -0,0 +1,9 @@
|
||||
{{- define "custom.custom.configuration.header" -}}
|
||||
## Custom configuration
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.custom.configuration" -}}
|
||||
{{ template "custom.custom.configuration.header" . }}
|
||||
|
||||
N/A
|
||||
{{- end -}}
|
||||
@@ -12,7 +12,7 @@ data:
|
||||
[GENERAL]
|
||||
Delay = {{ .Values.config.delay }}
|
||||
[INFLUXDB]
|
||||
Address = {{ .Values.config.influxdb.host }}
|
||||
Address = {{ default .Values.config.influxdb.host (printf "%s-influxdb" .Release.Name) }}
|
||||
Port = {{ .Values.config.influxdb.port }}
|
||||
Database = {{ .Values.config.influxdb.database }}
|
||||
Username = {{ .Values.config.influxdb.username }}
|
||||
|
||||
@@ -3,8 +3,11 @@
|
||||
# Declare variables to be passed into your templates.
|
||||
replicaCount: 1
|
||||
image:
|
||||
# -- speedtest image
|
||||
repository: atribe/speedtest-for-influxdb-and-grafana
|
||||
# -- speedtest image tag
|
||||
tag: latest
|
||||
# -- speedtest image pull policy
|
||||
pullPolicy: IfNotPresent
|
||||
resources: {}
|
||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
||||
@@ -17,21 +20,43 @@ resources: {}
|
||||
# requests:
|
||||
# cpu: 100m
|
||||
# memory: 128Mi
|
||||
|
||||
nodeSelector: {}
|
||||
# -- Display debugging output
|
||||
debug: false
|
||||
config:
|
||||
# how many seconds to wait between checks
|
||||
# -- how many seconds to wait between checks
|
||||
delay: 3600
|
||||
influxdb:
|
||||
# host/port/database are mandatory - change as needed
|
||||
host: influxdb-influxdb
|
||||
# -- InfluxDB host
|
||||
# @default - internal influxDB chart if not set
|
||||
host:
|
||||
# -- InfluxDB port
|
||||
port: 8086
|
||||
# -- InfluxDB database
|
||||
database: speedtests
|
||||
# username:
|
||||
# password:
|
||||
# -- (string) InfluxDB username
|
||||
username:
|
||||
# -- (string) InfluxDB password
|
||||
password:
|
||||
# -- enable TLS
|
||||
ssl: false
|
||||
speedtest:
|
||||
# Leave blank to auto pick server
|
||||
# -- server to use for speedtest - leave blank to auto-pick
|
||||
server:
|
||||
|
||||
# -- Key-value pairs to add as pod annotations
|
||||
podAnnotations: {}
|
||||
|
||||
# Enable embeded influxdb
|
||||
# ... for more options see https://github.com/bitnami/charts/tree/master/bitnami/influxdb
|
||||
influxdb:
|
||||
# - Use internal Influx DB. Set to false if you use an external DB.
|
||||
enabled: true
|
||||
architecture: standalone
|
||||
database: speedtests
|
||||
authEnabled: false
|
||||
persistence:
|
||||
enabled: false
|
||||
# storageClass: ""
|
||||
# size: 8Gi
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user