Compare commits
20 Commits
truecomman
...
smarter-de
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dfa264038d | ||
|
|
1340f023f9 | ||
|
|
7464125591 | ||
|
|
862c1c75d7 | ||
|
|
30fd19148f | ||
|
|
6b2491898a | ||
|
|
db04081491 | ||
|
|
03fe978070 | ||
|
|
41f2093c87 | ||
|
|
2cde36472e | ||
|
|
c6e87d10b5 | ||
|
|
17234658c8 | ||
|
|
b842379fef | ||
|
|
8b92339f42 | ||
|
|
671ff5362b | ||
|
|
4b52e9e01a | ||
|
|
b6ce1780ee | ||
|
|
cf6454cad6 | ||
|
|
53d80f14c9 | ||
|
|
c6cc0d6b3f |
@@ -220,6 +220,24 @@
|
||||
"contributions": [
|
||||
"code"
|
||||
]
|
||||
},
|
||||
{
|
||||
"login": "beshkenadze",
|
||||
"name": "Aleksandr Beshkenadze",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/167288?v=4",
|
||||
"profile": "https://4xxi.com",
|
||||
"contributions": [
|
||||
"code"
|
||||
]
|
||||
},
|
||||
{
|
||||
"login": "unasuke",
|
||||
"name": "Yusuke Nakamura",
|
||||
"avatar_url": "https://avatars.githubusercontent.com/u/4487291?v=4",
|
||||
"profile": "https://unasuke.com",
|
||||
"contributions": [
|
||||
"code"
|
||||
]
|
||||
}
|
||||
],
|
||||
"contributorsPerLine": 7,
|
||||
|
||||
2
.github/ct-install.yaml
vendored
2
.github/ct-install.yaml
vendored
@@ -7,11 +7,13 @@ chart-dirs:
|
||||
excluded-charts:
|
||||
- charts/stable/alertmanager-bot
|
||||
- charts/stable/dnsmadeeasy-webhook
|
||||
- charts/stable/multus
|
||||
- charts/stable/promcord
|
||||
- charts/stable/reg
|
||||
- charts/stable/ser2sock
|
||||
- charts/stable/zalando-postgres-cluster
|
||||
- charts/stable/zigbee2mqtt
|
||||
- charts/stable/founderyvtt
|
||||
chart-repos:
|
||||
- bitnami=https://charts.bitnami.com/bitnami
|
||||
- k8s-at-home-libraries=https://library-charts.k8s-at-home.com
|
||||
|
||||
20
.github/workflows/incomplete-pr.yaml
vendored
Normal file
20
.github/workflows/incomplete-pr.yaml
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
---
|
||||
|
||||
name: 'Incomplete PR'
|
||||
|
||||
on:
|
||||
issues:
|
||||
types: [labeled, unlabeled, reopened]
|
||||
|
||||
jobs:
|
||||
support:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: dessant/support-requests@v2
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
support-label: 'kind:incomplete-pr'
|
||||
issue-comment: >
|
||||
:wave: @{issue-author}, thanks for taking the time to submit this PR. 🙏🏽 Would you mind updating the `version` in `Chart.yaml` per [semver](http://semver.org/) and then update `README_CHANGELOG.md.gotmpl` and run `./hack/gen-helm-docs.sh stable <chart>` again?
|
||||
close-issue: false
|
||||
lock-issue: false
|
||||
@@ -1,6 +1,6 @@
|
||||
# Helm charts
|
||||
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
|
||||
[](#contributors-)
|
||||
[](#contributors-)
|
||||
<!-- ALL-CONTRIBUTORS-BADGE:END -->
|
||||
|
||||
[](https://docs.k8s-at-home.com/)
|
||||
@@ -78,6 +78,8 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
|
||||
<td align="center"><a href="https://blog.waltr.tech"><img src="https://avatars.githubusercontent.com/u/11428125?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Ryan Walter</b></sub></a><br /><a href="https://github.com/k8s-at-home/charts/commits?author=rwaltr" title="Code">💻</a></td>
|
||||
<td align="center"><a href="https://chipwolf.uk"><img src="https://avatars.githubusercontent.com/u/3164166?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Chip Wolf </b></sub></a><br /><a href="https://github.com/k8s-at-home/charts/commits?author=ChipWolf" title="Code">💻</a></td>
|
||||
<td align="center"><a href="https://github.com/jr0dd"><img src="https://avatars.githubusercontent.com/u/285797?v=4?s=100" width="100px;" alt=""/><br /><sub><b>jr0dd</b></sub></a><br /><a href="https://github.com/k8s-at-home/charts/commits?author=jr0dd" title="Code">💻</a></td>
|
||||
<td align="center"><a href="https://4xxi.com"><img src="https://avatars.githubusercontent.com/u/167288?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Aleksandr Beshkenadze</b></sub></a><br /><a href="https://github.com/k8s-at-home/charts/commits?author=beshkenadze" title="Code">💻</a></td>
|
||||
<td align="center"><a href="https://unasuke.com"><img src="https://avatars.githubusercontent.com/u/4487291?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Yusuke Nakamura</b></sub></a><br /><a href="https://github.com/k8s-at-home/charts/commits?author=unasuke" title="Code">💻</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ apiVersion: v2
|
||||
appVersion: v0.105.2
|
||||
description: DNS proxy as ad-blocker for local network
|
||||
name: adguard-home
|
||||
version: 3.3.0
|
||||
version: 3.3.1
|
||||
kubeVersion: ">=1.16.0-0"
|
||||
keywords:
|
||||
- adguard-home
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# adguard-home
|
||||
|
||||
 
|
||||
 
|
||||
|
||||
DNS proxy as ad-blocker for local network
|
||||
|
||||
@@ -18,7 +18,7 @@ Kubernetes: `>=1.16.0-0`
|
||||
|
||||
| Repository | Name | Version |
|
||||
|------------|------|---------|
|
||||
| https://library-charts.k8s-at-home.com | common | 2.2.0 |
|
||||
| https://library-charts.k8s-at-home.com | common | 2.5.0 |
|
||||
|
||||
## TL;DR
|
||||
|
||||
@@ -77,7 +77,9 @@ N/A
|
||||
|-----|------|---------|-------------|
|
||||
| args[0] | string | `"--config"` | |
|
||||
| args[1] | string | `"/opt/adguardhome/conf/AdGuardHome.yaml"` | |
|
||||
| args[2] | string | `"--no-check-update"` | |
|
||||
| args[2] | string | `"--work-dir"` | |
|
||||
| args[3] | string | `"/opt/adguardhome/work"` | |
|
||||
| args[4] | string | `"--no-check-update"` | |
|
||||
| config | string | `"bind_host: 0.0.0.0\nbind_port: 3000\nbeta_bind_port: 0\nusers: []\nhttp_proxy: \"\"\nlanguage: en\nrlimit_nofile: 0\ndebug_pprof: false\nweb_session_ttl: 720\ndns:\n bind_host: 0.0.0.0\n port: 53\n statistics_interval: 1\n querylog_enabled: true\n querylog_file_enabled: true\n querylog_interval: 90\n querylog_size_memory: 1000\n anonymize_client_ip: false\n protection_enabled: true\n blocking_mode: default\n blocking_ipv4: \"\"\n blocking_ipv6: \"\"\n blocked_response_ttl: 10\n parental_block_host: family-block.dns.adguard.com\n safebrowsing_block_host: standard-block.dns.adguard.com\n ratelimit: 0\n ratelimit_whitelist: []\n refuse_any: true\n upstream_dns:\n - https://dns10.quad9.net/dns-query\n upstream_dns_file: \"\"\n bootstrap_dns:\n - 9.9.9.10\n - 149.112.112.10\n - 2620:fe::10\n - 2620:fe::fe:10\n all_servers: false\n fastest_addr: false\n allowed_clients: []\n disallowed_clients: []\n blocked_hosts: []\n cache_size: 4194304\n cache_ttl_min: 0\n cache_ttl_max: 0\n bogus_nxdomain: []\n aaaa_disabled: false\n enable_dnssec: false\n edns_client_subnet: false\n max_goroutines: 300\n ipset: []\n filtering_enabled: true\n filters_update_interval: 24\n parental_enabled: false\n safesearch_enabled: false\n safebrowsing_enabled: false\n safebrowsing_cache_size: 1048576\n safesearch_cache_size: 1048576\n parental_cache_size: 1048576\n cache_time: 30\n rewrites: []\n blocked_services: []\n customresolver: null\ntls:\n enabled: false\n server_name: \"\"\n force_https: false\n port_https: 443\n port_dns_over_tls: 853\n port_dns_over_quic: 784\n port_dnscrypt: 0\n dnscrypt_config_file: \"\"\n allow_unencrypted_doh: false\n strict_sni_check: false\n certificate_chain: \"\"\n private_key: \"\"\n certificate_path: \"\"\n private_key_path: \"\"\nfilters:\n- enabled: true\n url: https://adguardteam.github.io/AdGuardSDNSFilter/Filters/filter.txt\n name: AdGuard DNS filter\n id: 1\n- enabled: false\n url: https://adaway.org/hosts.txt\n name: AdAway\n id: 2\n- enabled: false\n url: https://www.malwaredomainlist.com/hostslist/hosts.txt\n name: MalwareDomainList.com Hosts List\n id: 4\nwhitelist_filters: []\nuser_rules: []\ndhcp:\n enabled: false\n interface_name: \"\"\n dhcpv4:\n gateway_ip: \"\"\n subnet_mask: \"\"\n range_start: \"\"\n range_end: \"\"\n lease_duration: 86400\n icmp_timeout_msec: 1000\n options: []\n dhcpv6:\n range_start: \"\"\n lease_duration: 86400\n ra_slaac_only: false\n ra_allow_slaac: false\nclients: []\nlog_compress: false\nlog_localtime: false\nlog_max_backups: 0\nlog_max_size: 100\nlog_max_age: 3\nlog_file: \"\"\nverbose: false\nschema_version: 7\n"` | |
|
||||
| env | object | `{}` | |
|
||||
| image.pullPolicy | string | `"IfNotPresent"` | |
|
||||
@@ -113,6 +115,12 @@ All notable changes to this application Helm chart will be documented in this fi
|
||||
|
||||
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.3.1]
|
||||
|
||||
#### Changed
|
||||
|
||||
- Updated `work-dir` arg to point to the correct directory within the container
|
||||
|
||||
### [3.0.0]
|
||||
|
||||
#### Added
|
||||
@@ -127,6 +135,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
|
||||
- N/A
|
||||
|
||||
[3.3.1]: #3.3.1
|
||||
[3.0.0]: #3.0.0
|
||||
|
||||
## Support
|
||||
|
||||
@@ -143,3 +143,4 @@ helm install {{ template "chart.name" . }} {{ template "custom.helm.path" . }} -
|
||||
{{ template "custom.support" . }}
|
||||
|
||||
{{ template "helm-docs.versionFooter" . }}
|
||||
{{ "" }}
|
||||
|
||||
@@ -9,6 +9,12 @@ All notable changes to this application Helm chart will be documented in this fi
|
||||
|
||||
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.3.1]
|
||||
|
||||
#### Changed
|
||||
|
||||
- Updated `work-dir` arg to point to the correct directory within the container
|
||||
|
||||
### [3.0.0]
|
||||
|
||||
#### Added
|
||||
@@ -23,5 +29,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
|
||||
- N/A
|
||||
|
||||
[3.3.1]: #3.3.1
|
||||
[3.0.0]: #3.0.0
|
||||
{{- end -}}
|
||||
|
||||
@@ -41,6 +41,8 @@ env: {}
|
||||
args:
|
||||
- "--config"
|
||||
- "/opt/adguardhome/conf/AdGuardHome.yaml"
|
||||
- "--work-dir"
|
||||
- "/opt/adguardhome/work"
|
||||
- "--no-check-update"
|
||||
|
||||
# -- (int) Number of pods to load balance between
|
||||
@@ -104,7 +106,7 @@ prometheus:
|
||||
# prometheus.io/port: "api"
|
||||
|
||||
# -- Full list of options https://github.com/AdguardTeam/AdGuardHome/wiki/Configuration
|
||||
# @default -- see URL to default config
|
||||
# @default -- string
|
||||
config: |
|
||||
bind_host: 0.0.0.0
|
||||
bind_port: 3000
|
||||
|
||||
@@ -2,7 +2,7 @@ apiVersion: v2
|
||||
appVersion: 4.0.8
|
||||
description: AppDaemon is a loosely coupled, multi-threaded, sandboxed python execution environment for writing automation apps for various types of Home Automation Software including Home Assistant and MQTT.
|
||||
name: appdaemon
|
||||
version: 5.1.0
|
||||
version: 6.0.0
|
||||
kubeVersion: ">=1.16.0-0"
|
||||
keywords:
|
||||
- appdaemon
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# appdaemon
|
||||
|
||||
 
|
||||
 
|
||||
|
||||
AppDaemon is a loosely coupled, multi-threaded, sandboxed python execution environment for writing automation apps for various types of Home Automation Software including Home Assistant and MQTT.
|
||||
|
||||
@@ -19,7 +19,7 @@ Kubernetes: `>=1.16.0-0`
|
||||
|
||||
| Repository | Name | Version |
|
||||
|------------|------|---------|
|
||||
| https://library-charts.k8s-at-home.com | common | 2.3.1 |
|
||||
| https://library-charts.k8s-at-home.com | common | 2.5.0 |
|
||||
|
||||
## TL;DR
|
||||
|
||||
@@ -83,6 +83,7 @@ N/A
|
||||
| ingress.enabled | bool | `false` | |
|
||||
| persistence.config.emptyDir.enabled | bool | `false` | |
|
||||
| persistence.config.enabled | bool | `false` | |
|
||||
| persistence.config.mountPath | string | `"/conf"` | |
|
||||
| service.port.port | int | `5050` | |
|
||||
| strategy.type | string | `"Recreate"` | |
|
||||
|
||||
@@ -92,6 +93,20 @@ All notable changes to this application Helm chart will be documented in this fi
|
||||
|
||||
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).
|
||||
|
||||
### [6.0.0]
|
||||
|
||||
#### Added
|
||||
|
||||
- Added persistence.config.mountPath
|
||||
|
||||
#### Changed
|
||||
|
||||
- N/A
|
||||
|
||||
#### Removed
|
||||
|
||||
- Commented items under persistence.
|
||||
|
||||
### [5.0.1]
|
||||
|
||||
#### Added
|
||||
|
||||
@@ -143,3 +143,4 @@ helm install {{ template "chart.name" . }} {{ template "custom.helm.path" . }} -
|
||||
{{ template "custom.support" . }}
|
||||
|
||||
{{ template "helm-docs.versionFooter" . }}
|
||||
{{ "" }}
|
||||
|
||||
@@ -9,6 +9,20 @@ All notable changes to this application Helm chart will be documented in this fi
|
||||
|
||||
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).
|
||||
|
||||
### [6.0.0]
|
||||
|
||||
#### Added
|
||||
|
||||
- Added persistence.config.mountPath
|
||||
|
||||
#### Changed
|
||||
|
||||
- N/A
|
||||
|
||||
#### Removed
|
||||
|
||||
- Commented items under persistence.
|
||||
|
||||
### [5.0.1]
|
||||
|
||||
#### Added
|
||||
|
||||
@@ -36,15 +36,4 @@ persistence:
|
||||
enabled: false
|
||||
emptyDir:
|
||||
enabled: false
|
||||
## 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
|
||||
## Set to true to retain the PVC upon helm uninstall
|
||||
# skipuninstall: false
|
||||
# existingClaim: ""
|
||||
mountPath: /conf
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
apiVersion: v2
|
||||
appVersion: 1.0.0
|
||||
appVersion: 1.1.0
|
||||
description: Cert-Manager Webhook for DNSMadeEasy
|
||||
name: dnsmadeeasy-webhook
|
||||
version: 2.4.0
|
||||
version: 2.5.0
|
||||
keywords:
|
||||
- cert-manager
|
||||
- dnsmadeeasy
|
||||
|
||||
26
charts/stable/founderyvtt/.helmignore
Normal file
26
charts/stable/founderyvtt/.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/stable/founderyvtt/Chart.yaml
Normal file
19
charts/stable/founderyvtt/Chart.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
apiVersion: v2
|
||||
appVersion: 0.8.3
|
||||
description: An easy-to-deploy Dockerized Foundry Virtual Tabletop server
|
||||
name: foundryvtt
|
||||
version: 0.8.3
|
||||
kubeVersion: ">=1.16.0-0"
|
||||
keywords:
|
||||
- foundryvtt
|
||||
home: https://github.com/felddy/foundryvtt-docker
|
||||
icon: https://raw.githubusercontent.com/felddy/foundryvtt-docker/develop/assets/logo.png
|
||||
sources:
|
||||
- https://github.com/felddy/foundryvtt-docker
|
||||
maintainers:
|
||||
- name: rwaltr
|
||||
email: rwalt@pm.me
|
||||
dependencies:
|
||||
- name: common
|
||||
repository: https://library-charts.k8s-at-home.com
|
||||
version: 2.5.0
|
||||
119
charts/stable/founderyvtt/README.md
Normal file
119
charts/stable/founderyvtt/README.md
Normal file
@@ -0,0 +1,119 @@
|
||||
# foundryvtt
|
||||
|
||||
 
|
||||
|
||||
An easy-to-deploy Dockerized Foundry Virtual Tabletop server
|
||||
|
||||
**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/felddy/foundryvtt-docker>
|
||||
|
||||
## Requirements
|
||||
|
||||
Kubernetes: `>=1.16.0-0`
|
||||
|
||||
## Dependencies
|
||||
|
||||
| Repository | Name | Version |
|
||||
|------------|------|---------|
|
||||
| https://library-charts.k8s-at-home.com | common | 2.5.0 |
|
||||
|
||||
## TL;DR
|
||||
|
||||
```console
|
||||
helm repo add k8s-at-home https://k8s-at-home.com/charts/
|
||||
helm repo update
|
||||
helm install foundryvtt k8s-at-home/foundryvtt
|
||||
```
|
||||
|
||||
## Installing the Chart
|
||||
|
||||
To install the chart with the release name `foundryvtt`
|
||||
|
||||
```console
|
||||
helm install foundryvtt k8s-at-home/foundryvtt
|
||||
```
|
||||
|
||||
## Uninstalling the Chart
|
||||
|
||||
To uninstall the `foundryvtt` deployment
|
||||
|
||||
```console
|
||||
helm uninstall foundryvtt
|
||||
```
|
||||
|
||||
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](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common/values.yaml) from the [common library](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common).
|
||||
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
|
||||
|
||||
```console
|
||||
helm install foundryvtt \
|
||||
--set env.TZ="America/New York" \
|
||||
k8s-at-home/foundryvtt
|
||||
```
|
||||
|
||||
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.
|
||||
|
||||
```console
|
||||
helm install foundryvtt k8s-at-home/foundryvtt -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/library-charts/tree/main/charts/stable/common)
|
||||
|
||||
| Key | Type | Default | Description |
|
||||
|-----|------|---------|-------------|
|
||||
| env | object | `{}` | |
|
||||
| image.pullPolicy | string | `"IfNotPresent"` | |
|
||||
| image.repository | string | `"felddy/foundryvtt"` | |
|
||||
| image.tag | string | `"0.8.3"` | |
|
||||
| ingress.enabled | bool | `false` | |
|
||||
| persistence.data.emptyDir.enabled | bool | `false` | |
|
||||
| persistence.data.enabled | bool | `false` | |
|
||||
| persistence.data.mountPath | string | `"/data"` | |
|
||||
| service.port.port | int | `30000` | |
|
||||
| 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/library-charts/tree/main/charts/stable/common#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
|
||||
|
||||
- Initial version
|
||||
|
||||
#### 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)
|
||||
146
charts/stable/founderyvtt/README.md.gotmpl
Normal file
146
charts/stable/founderyvtt/README.md.gotmpl
Normal file
@@ -0,0 +1,146 @@
|
||||
{{- 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](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common/values.yaml) from the [common library](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/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/library-charts/tree/main/charts/stable/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/stable/founderyvtt/README_CHANGELOG.md.gotmpl
Normal file
27
charts/stable/founderyvtt/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/library-charts/tree/main/charts/stable/common#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
|
||||
|
||||
- Initial version
|
||||
|
||||
#### Changed
|
||||
|
||||
- N/A
|
||||
|
||||
#### Removed
|
||||
|
||||
- N/A
|
||||
|
||||
[1.0.0]: #1.0.0
|
||||
{{- end -}}
|
||||
9
charts/stable/founderyvtt/README_CONFIG.md.gotmpl
Normal file
9
charts/stable/founderyvtt/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/stable/founderyvtt/templates/NOTES.txt
Normal file
1
charts/stable/founderyvtt/templates/NOTES.txt
Normal file
@@ -0,0 +1 @@
|
||||
{{- include "common.notes.defaultNotes" . -}}
|
||||
1
charts/stable/founderyvtt/templates/common.yaml
Normal file
1
charts/stable/founderyvtt/templates/common.yaml
Normal file
@@ -0,0 +1 @@
|
||||
{{ include "common.all" . }}
|
||||
36
charts/stable/founderyvtt/values.yaml
Normal file
36
charts/stable/founderyvtt/values.yaml
Normal file
@@ -0,0 +1,36 @@
|
||||
#
|
||||
# IMPORTANT NOTE
|
||||
#
|
||||
# This chart inherits from our common library chart. You can check the default values/options here:
|
||||
# https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common/values.yaml
|
||||
#
|
||||
|
||||
image:
|
||||
repository: felddy/foundryvtt
|
||||
pullPolicy: IfNotPresent
|
||||
tag: 0.8.3
|
||||
|
||||
strategy:
|
||||
type: Recreate
|
||||
|
||||
# See more environment variables in the foundryvtt documentation
|
||||
# https://github.com/felddy/foundryvtt-docker#environment-variables
|
||||
|
||||
env: {}
|
||||
# TZ:
|
||||
|
||||
service:
|
||||
port:
|
||||
port: 30000
|
||||
|
||||
ingress:
|
||||
enabled: false
|
||||
|
||||
|
||||
# Founderyvtt is hardcoded to use /data for its persistance for config and
|
||||
persistence:
|
||||
data:
|
||||
enabled: false
|
||||
emptyDir:
|
||||
enabled: false
|
||||
mountPath: /data
|
||||
21
charts/stable/gollum/Chart.yaml
Normal file
21
charts/stable/gollum/Chart.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
apiVersion: v2
|
||||
appVersion: latest
|
||||
description: Gollum is a simple wiki system built on top of Git
|
||||
name: gollum
|
||||
version: 1.0.0
|
||||
kubeVersion: ">=1.16.0-0"
|
||||
keywords:
|
||||
- gollum
|
||||
- wiki
|
||||
home: https://github.com/k8s-at-home/charts/tree/master/charts/stable/gollum
|
||||
icon: https://gollum.org/icon
|
||||
sources:
|
||||
- https://github.com/gollum/gollum
|
||||
- https://github.com/gollum/docker
|
||||
maintainers:
|
||||
- name: chris-sanders
|
||||
email: sanders.chris@gmail.com
|
||||
dependencies:
|
||||
- name: common
|
||||
repository: https://library-charts.k8s-at-home.com
|
||||
version: 2.5.0
|
||||
50
charts/stable/gollum/README.md
Normal file
50
charts/stable/gollum/README.md
Normal file
@@ -0,0 +1,50 @@
|
||||
# gollum
|
||||
|
||||
 
|
||||
|
||||
gollum helm package
|
||||
|
||||
**Homepage:** <https://github.com/k8s-at-home/charts/tree/master/charts/stable/gollum>
|
||||
|
||||
## Maintainers
|
||||
|
||||
| Name | Email | Url |
|
||||
| ---- | ------ | --- |
|
||||
| Chris Sanders | sanders.chris@gmail.com | |
|
||||
|
||||
## Source Code
|
||||
|
||||
* <https://github.com/gollum/gollum>
|
||||
* <https://github.com/gollum/docker>
|
||||
|
||||
## Requirements
|
||||
|
||||
Kubernetes: `>=1.16.0-0`
|
||||
|
||||
| Repository | Name | Version |
|
||||
|------------|------|---------|
|
||||
| https://library-charts.k8s-at-home.com | common | 2.5.0 |
|
||||
|
||||
## Values
|
||||
|
||||
| Key | Type | Default | Description |
|
||||
|-----|------|---------|-------------|
|
||||
| controllerType | string | `"statefulset"` | |
|
||||
| gollum.additionalArgs | string | `"--h1-title"` | Additional arguments for starting gollum |
|
||||
| gollum.config | string | `"# Push and pull on commit\nGollum::Hook.register(:post_commit, :hook_id) do |committer, sha1|\n committer.wiki.repo.git.pull('origin', committer.wiki.ref)\n committer.wiki.repo.git.push('origin', committer.wiki.ref)\nend\n"` | Gollum config.rb customizations reference https://github.com/gollum/gollum#config-file |
|
||||
| gollum.gitBranch | string | `"master"` | Branch to pull |
|
||||
| gollum.gitUrl | string | `"https://github.com/k8s-at-home/charts.git"` | Repository URL to pull (accepts access tokens) Ex: https://user:access-token@git.example.com/user/repo.git |
|
||||
| gollum.syncCommand | string | `"git pull && git push"` | Command run during the sync cron |
|
||||
| image.pullPolicy | string | `"IfNotPresent"` | |
|
||||
| image.repository | string | `"gollumorg/gollum"` | gollum upstream image |
|
||||
| image.tag | string | `"latest"` | |
|
||||
| ingress.enabled | bool | `false` | |
|
||||
| persistence.wiki.accessMode | string | `"ReadWriteOnce"` | |
|
||||
| persistence.wiki.enabled | bool | `false` | |
|
||||
| persistence.wiki.mountPath | string | `"/wiki"` | |
|
||||
| persistence.wiki.size | string | `"2Gi"` | |
|
||||
| service.port.name | string | `"http"` | |
|
||||
| service.port.port | int | `80` | |
|
||||
| service.port.targetPort | int | `4567` | |
|
||||
| service.type | string | `"ClusterIP"` | |
|
||||
| strategy.type | string | `"RollingUpdate"` | |
|
||||
145
charts/stable/gollum/README.md.gotmpl
Normal file
145
charts/stable/gollum/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](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common/values.yaml) from the [common library](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/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/library-charts/tree/main/charts/stable/common)
|
||||
|
||||
{{ template "chart.valuesTable" . }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.support" -}}
|
||||
## Support
|
||||
|
||||
- See the [Docs](https://docs.k8s-at-home.com/our-helm-charts/introduction/)
|
||||
- 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/stable/gollum/README_CHANGELOG.md.gotmpl
Normal file
27
charts/stable/gollum/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/library-charts/tree/main/charts/stable/common#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
|
||||
|
||||
- Initial version
|
||||
|
||||
#### Changed
|
||||
|
||||
- N/A
|
||||
|
||||
#### Removed
|
||||
|
||||
- N/A
|
||||
|
||||
[1.0.0]: #1.0.0
|
||||
{{- end -}}
|
||||
9
charts/stable/gollum/README_CONFIG.md.gotmpl
Normal file
9
charts/stable/gollum/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/stable/gollum/templates/NOTES.txt
Normal file
1
charts/stable/gollum/templates/NOTES.txt
Normal file
@@ -0,0 +1 @@
|
||||
{{- include "common.notes.defaultNotes" . -}}
|
||||
10
charts/stable/gollum/templates/_additionalVolumeMounts.tpl
Normal file
10
charts/stable/gollum/templates/_additionalVolumeMounts.tpl
Normal file
@@ -0,0 +1,10 @@
|
||||
{{/* Gollum Additional Volume Mounts */}}
|
||||
{{- define "gollum.volumeMounts.config" -}}
|
||||
mountPath: /config
|
||||
name: gollum-config
|
||||
{{- end -}}
|
||||
|
||||
{{- define "gollum.volumeMounts.wiki" -}}
|
||||
mountPath: /wiki
|
||||
name: wiki
|
||||
{{- end -}}
|
||||
25
charts/stable/gollum/templates/_additionalVolumes.tpl
Normal file
25
charts/stable/gollum/templates/_additionalVolumes.tpl
Normal file
@@ -0,0 +1,25 @@
|
||||
{{/* Gollum Additional Volumes */}}
|
||||
{{- define "gollum.volume.sync" -}}
|
||||
name: git-sync
|
||||
configMap:
|
||||
name: {{ include "common.names.fullname" . }}
|
||||
defaultMode: 0755
|
||||
items:
|
||||
- key: git-sync
|
||||
path: git-sync
|
||||
{{- end -}}
|
||||
|
||||
{{- define "gollum.volume.config" -}}
|
||||
name: gollum-config
|
||||
configMap:
|
||||
name: {{ include "common.names.fullname" . }}
|
||||
defaultMode: 0755
|
||||
items:
|
||||
- key: config.rb
|
||||
path: config.rb
|
||||
{{- end -}}
|
||||
|
||||
{{- define "gollum.volume.wiki" -}}
|
||||
name: wiki
|
||||
emptyDir: {}
|
||||
{{- end -}}
|
||||
11
charts/stable/gollum/templates/_containers.tpl
Normal file
11
charts/stable/gollum/templates/_containers.tpl
Normal file
@@ -0,0 +1,11 @@
|
||||
{{/* Gollum Additional Containers */}}
|
||||
{{- define "gollum.container.cron" -}}
|
||||
name: cron
|
||||
image: alpine/git
|
||||
command: ["crond", "-f", "-l", "8"]
|
||||
volumeMounts:
|
||||
- mountPath: /etc/periodic/15min/
|
||||
name: git-sync
|
||||
- mountPath: /wiki
|
||||
name: wiki
|
||||
{{- end -}}
|
||||
25
charts/stable/gollum/templates/_initContainers.yaml
Normal file
25
charts/stable/gollum/templates/_initContainers.yaml
Normal file
@@ -0,0 +1,25 @@
|
||||
{{/* Gollum Init Containers */}}
|
||||
{{- define "gollum.init.clone" -}}
|
||||
name: git-init
|
||||
image: alpine/git
|
||||
args:
|
||||
- clone
|
||||
- -b
|
||||
- {{ (required "gollum.gitBranch is required and not set" .Values.gollum.gitBranch) }}
|
||||
- {{ (required "gollum.gitUrl is required and not set" .Values.gollum.gitUrl) }}
|
||||
- /wiki
|
||||
volumeMounts:
|
||||
- mountPath: /wiki
|
||||
name: wiki
|
||||
{{- end -}}
|
||||
{{- define "gollum.init.clear" -}}
|
||||
name: clear-wiki
|
||||
image: alpine
|
||||
command:
|
||||
- sh
|
||||
- -c
|
||||
- rm -fr /wiki/*; rm -fr /wiki/.*; ls -la /wiki/;
|
||||
volumeMounts:
|
||||
- mountPath: /wiki
|
||||
name: wiki
|
||||
{{- end -}}
|
||||
42
charts/stable/gollum/templates/common.yaml
Normal file
42
charts/stable/gollum/templates/common.yaml
Normal file
@@ -0,0 +1,42 @@
|
||||
{{- include "common.values.setup" . }}
|
||||
|
||||
{{/* Add initContainers */}}
|
||||
{{- $initClear := include "gollum.init.clear" . | fromYaml -}}
|
||||
{{- $initClone := include "gollum.init.clone" . | fromYaml -}}
|
||||
{{- $initContainers := append .Values.initContainers $initClear -}}
|
||||
{{- $initContainers = append $initContainers $initClone -}}
|
||||
{{- $_ := set .Values "initContainers" $initContainers -}}
|
||||
|
||||
{{/* Add conatiners */}}
|
||||
{{- $contCron := include "gollum.container.cron" . | fromYaml -}}
|
||||
{{- $containers := append .Values.additionalContainers $contCron -}}
|
||||
{{- $_ := set .Values "additionalContainers" $containers -}}
|
||||
|
||||
{{/* Add Volumes */}}
|
||||
{{- $volSync := include "gollum.volume.sync" . | fromYaml -}}
|
||||
{{- $volConfig := include "gollum.volume.config" . | fromYaml -}}
|
||||
{{- $volWiki := include "gollum.volume.wiki" . | fromYaml -}}
|
||||
{{- $volumes := append .Values.additionalVolumes $volSync -}}
|
||||
{{- $volumes = append $volumes $volConfig -}}
|
||||
{{- if (not .Values.persistence.wiki.enabled) -}}
|
||||
{{- $volumes = append $volumes $volWiki -}}
|
||||
{{- end -}}
|
||||
{{- $_ := set .Values "additionalVolumes" $volumes -}}
|
||||
|
||||
{{/* Add VolumeMounts */}}
|
||||
{{- $mntConfig := include "gollum.volumeMounts.config" . | fromYaml -}}
|
||||
{{- $mntWiki := include "gollum.volumeMounts.wiki" . | fromYaml -}}
|
||||
{{- $mounts := append .Values.additionalVolumeMounts $mntConfig -}}
|
||||
{{- if (not .Values.persistence.wiki.enabled) -}}
|
||||
{{- $mounts = append $mounts $mntWiki -}}
|
||||
{{- end -}}
|
||||
{{- $_ := set .Values "additionalVolumeMounts" $mounts -}}
|
||||
|
||||
{{/* Setup the start command */}}
|
||||
{{- $command := list "gollum" "/wiki" "--config" "/config/config.rb" "--ref" (required "A branch is requred but unset" .Values.gollum.gitBranch) -}}
|
||||
{{- if .Values.gollum.additionalArgs -}}
|
||||
{{- $command = append $command .Values.gollum.additionalArgs -}}
|
||||
{{- end -}}
|
||||
{{- $_ := set .Values "command" $command -}}
|
||||
|
||||
{{ include "common.all" . }}
|
||||
10
charts/stable/gollum/templates/configmap.yaml
Normal file
10
charts/stable/gollum/templates/configmap.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: {{ include "common.names.fullname" . }}
|
||||
data:
|
||||
git-sync: |
|
||||
#!/bin/bash
|
||||
cd /wiki && {{ .Values.gollum.syncCommand }}
|
||||
config.rb: |
|
||||
{{- nindent 4 .Values.gollum.config }}
|
||||
52
charts/stable/gollum/values.yaml
Normal file
52
charts/stable/gollum/values.yaml
Normal file
@@ -0,0 +1,52 @@
|
||||
#
|
||||
# IMPORTANT NOTE
|
||||
#
|
||||
# This chart inherits from our common library chart. You can check the default values/options here:
|
||||
# https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common/values.yaml
|
||||
#
|
||||
|
||||
image:
|
||||
# -- gollum upstream image
|
||||
repository: gollumorg/gollum
|
||||
tag: latest
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
controllerType: statefulset
|
||||
strategy:
|
||||
type: RollingUpdate
|
||||
|
||||
service:
|
||||
type: ClusterIP
|
||||
port:
|
||||
port: 80
|
||||
name: http
|
||||
targetPort: 4567
|
||||
|
||||
ingress:
|
||||
enabled: false
|
||||
|
||||
persistence:
|
||||
wiki:
|
||||
enabled: false
|
||||
mountPath: /wiki
|
||||
accessMode: ReadWriteOnce
|
||||
size: 2Gi
|
||||
|
||||
gollum:
|
||||
# -- Branch to pull
|
||||
gitBranch: master
|
||||
# -- Repository URL to pull (accepts access tokens)
|
||||
# Ex: https://user:access-token@git.example.com/user/repo.git
|
||||
gitUrl: https://github.com/k8s-at-home/charts.git
|
||||
# -- Additional arguments for starting gollum
|
||||
additionalArgs: --h1-title
|
||||
# -- Command run during the sync cron
|
||||
syncCommand: git pull && git push
|
||||
# -- Gollum config.rb customizations
|
||||
# reference https://github.com/gollum/gollum#config-file
|
||||
config: |
|
||||
# Push and pull on commit
|
||||
Gollum::Hook.register(:post_commit, :hook_id) do |committer, sha1|
|
||||
committer.wiki.repo.git.pull('origin', committer.wiki.ref)
|
||||
committer.wiki.repo.git.push('origin', committer.wiki.ref)
|
||||
end
|
||||
@@ -1,6 +1,6 @@
|
||||
apiVersion: v2
|
||||
name: intel-gpu-plugin
|
||||
version: 1.2.3
|
||||
version: 2.0.0
|
||||
appVersion: 0.20.0
|
||||
description: The Intel GPU plugin facilitates offloading the processing of computation intensive workloads to GPU hardware
|
||||
keywords:
|
||||
@@ -15,3 +15,7 @@ sources:
|
||||
maintainers:
|
||||
- name: billimek
|
||||
email: jeff@billimek.com
|
||||
dependencies:
|
||||
- name: common
|
||||
version: 2.5.0
|
||||
repository: https://library-charts.k8s-at-home.com
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# intel-gpu-plugin
|
||||
|
||||
 
|
||||
 
|
||||
|
||||
The Intel GPU plugin facilitates offloading the processing of computation intensive workloads to GPU hardware
|
||||
|
||||
@@ -16,6 +16,7 @@ The Intel GPU plugin facilitates offloading the processing of computation intens
|
||||
|
||||
| Repository | Name | Version |
|
||||
|------------|------|---------|
|
||||
| https://library-charts.k8s-at-home.com | common | 2.5.0 |
|
||||
|
||||
## TL;DR
|
||||
|
||||
@@ -86,24 +87,37 @@ affinity:
|
||||
|
||||
| Key | Type | Default | Description |
|
||||
|-----|------|---------|-------------|
|
||||
| affinity | object | `{}` | |
|
||||
| fullnameOverride | string | `""` | |
|
||||
| image.pullPolicy | string | `"IfNotPresent"` | Image pull policy |
|
||||
| image.repository | string | `"intel/intel-gpu-plugin"` | Image repository |
|
||||
| image.tag | string | `"0.20.0"` | Image tag. Possible values listed [here](https://hub.docker.com/r/intel/intel-gpu-plugin/tags) |
|
||||
| imagePullSecrets | list | `[]` | |
|
||||
| nameOverride | string | `""` | |
|
||||
| nodeSelector | object | `{}` | |
|
||||
| podAnnotations | object | `{}` | Key-value pairs to add as pod annotations |
|
||||
| podSecurityContext | object | `{}` | |
|
||||
| resources | object | `{}` | |
|
||||
| securityContext | object | `{}` | |
|
||||
| serviceAccount.annotations | object | `{}` | |
|
||||
| args[0] | string | `"-shared-dev-num"` | |
|
||||
| args[1] | string | `"1"` | |
|
||||
| controllerType | string | `"daemonset"` | |
|
||||
| envValueFrom.NODE_NAME.fieldRef.fieldPath | string | `"spec.nodeName"` | |
|
||||
| hostPathMounts[0].emptyDir | bool | `false` | |
|
||||
| hostPathMounts[0].enabled | bool | `true` | |
|
||||
| hostPathMounts[0].hostPath | string | `"/dev/dri"` | |
|
||||
| hostPathMounts[0].mountPath | string | `"/dev/dri"` | |
|
||||
| hostPathMounts[0].name | string | `"devfs"` | |
|
||||
| hostPathMounts[0].readOnly | bool | `true` | |
|
||||
| hostPathMounts[1].emptyDir | bool | `false` | |
|
||||
| hostPathMounts[1].enabled | bool | `true` | |
|
||||
| hostPathMounts[1].hostPath | string | `"/sys/class/drm"` | |
|
||||
| hostPathMounts[1].mountPath | string | `"/sys/class/drm"` | |
|
||||
| hostPathMounts[1].name | string | `"sysfs"` | |
|
||||
| hostPathMounts[1].readOnly | bool | `true` | |
|
||||
| hostPathMounts[2].emptyDir | bool | `false` | |
|
||||
| hostPathMounts[2].enabled | bool | `true` | |
|
||||
| hostPathMounts[2].hostPath | string | `"/var/lib/kubelet/device-plugins"` | |
|
||||
| hostPathMounts[2].mountPath | string | `"/var/lib/kubelet/device-plugins"` | |
|
||||
| hostPathMounts[2].name | string | `"kubeletsockets"` | |
|
||||
| image.pullPolicy | string | `"IfNotPresent"` | |
|
||||
| image.repository | string | `"intel/intel-gpu-plugin"` | |
|
||||
| image.tag | string | `"0.20.0"` | |
|
||||
| ingress.enabled | bool | `false` | |
|
||||
| probes.liveness.enabled | bool | `false` | |
|
||||
| probes.readiness.enabled | bool | `false` | |
|
||||
| probes.startup.enabled | bool | `false` | |
|
||||
| service.enabled | bool | `false` | |
|
||||
| serviceAccount.create | bool | `true` | |
|
||||
| serviceAccount.name | string | `""` | |
|
||||
| sharedDeviceNumber | int | 1 | Number of containers sharing the same GPU device |
|
||||
| strategyType | string | `"Recreate"` | Specifies the strategy used to replace old Pods by new ones |
|
||||
| tolerations | list | `[]` | |
|
||||
| strategy.type | string | `"Recreate"` | |
|
||||
|
||||
## Changelog
|
||||
|
||||
@@ -111,6 +125,20 @@ All notable changes to this application Helm chart will be documented in this fi
|
||||
|
||||
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.0]
|
||||
|
||||
#### Added
|
||||
|
||||
- N/A
|
||||
|
||||
#### Changed
|
||||
|
||||
- **BREAKING** Migrate to the common library, a lot of configuration has changed.
|
||||
|
||||
#### Removed
|
||||
|
||||
- N/A
|
||||
|
||||
### [1.2.0]
|
||||
|
||||
#### Fixed
|
||||
@@ -145,9 +173,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
|
||||
- N/A
|
||||
|
||||
[1.2.0]: #1.2.0
|
||||
[1.1.0]: #1.1.0
|
||||
[1.0.1]: #1.0.1
|
||||
[2.0.0]: #200
|
||||
[1.2.0]: #120
|
||||
[1.1.0]: #110
|
||||
[1.0.1]: #101
|
||||
|
||||
## Support
|
||||
|
||||
|
||||
@@ -143,3 +143,4 @@ helm install {{ template "chart.name" . }} {{ template "custom.helm.path" . }} -
|
||||
{{ template "custom.support" . }}
|
||||
|
||||
{{ template "helm-docs.versionFooter" . }}
|
||||
{{ "" }}
|
||||
|
||||
@@ -9,6 +9,20 @@ All notable changes to this application Helm chart will be documented in this fi
|
||||
|
||||
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.0]
|
||||
|
||||
#### Added
|
||||
|
||||
- N/A
|
||||
|
||||
#### Changed
|
||||
|
||||
- **BREAKING** Migrate to the common library, a lot of configuration has changed.
|
||||
|
||||
#### Removed
|
||||
|
||||
- N/A
|
||||
|
||||
### [1.2.0]
|
||||
|
||||
#### Fixed
|
||||
@@ -44,7 +58,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
|
||||
- N/A
|
||||
|
||||
[1.2.0]: #1.2.0
|
||||
[1.1.0]: #1.1.0
|
||||
[1.0.1]: #1.0.1
|
||||
[2.0.0]: #200
|
||||
[1.2.0]: #120
|
||||
[1.1.0]: #110
|
||||
[1.0.1]: #101
|
||||
{{- end -}}
|
||||
|
||||
1
charts/stable/intel-gpu-plugin/templates/NOTES.txt
Normal file
1
charts/stable/intel-gpu-plugin/templates/NOTES.txt
Normal file
@@ -0,0 +1 @@
|
||||
{{- include "common.notes.defaultNotes" . -}}
|
||||
@@ -1,62 +0,0 @@
|
||||
{{/*
|
||||
Expand the name of the chart.
|
||||
*/}}
|
||||
{{- define "intel-gpu-plugin.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 "intel-gpu-plugin.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 "intel-gpu-plugin.chart" -}}
|
||||
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
|
||||
{{- end }}
|
||||
|
||||
{{/*
|
||||
Common labels
|
||||
*/}}
|
||||
{{- define "intel-gpu-plugin.labels" -}}
|
||||
helm.sh/chart: {{ include "intel-gpu-plugin.chart" . }}
|
||||
{{ include "intel-gpu-plugin.selectorLabels" . }}
|
||||
{{- if .Chart.AppVersion }}
|
||||
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
|
||||
{{- end }}
|
||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||
{{- end }}
|
||||
|
||||
{{/*
|
||||
Selector labels
|
||||
*/}}
|
||||
{{- define "intel-gpu-plugin.selectorLabels" -}}
|
||||
app.kubernetes.io/name: {{ include "intel-gpu-plugin.name" . }}
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
{{- end }}
|
||||
|
||||
{{/*
|
||||
Create the name of the service account to use
|
||||
*/}}
|
||||
{{- define "intel-gpu-plugin.serviceAccountName" -}}
|
||||
{{- if .Values.serviceAccount.create }}
|
||||
{{- default (include "intel-gpu-plugin.fullname" .) .Values.serviceAccount.name }}
|
||||
{{- else }}
|
||||
{{- default "default" .Values.serviceAccount.name }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
1
charts/stable/intel-gpu-plugin/templates/common.yaml
Normal file
1
charts/stable/intel-gpu-plugin/templates/common.yaml
Normal file
@@ -0,0 +1 @@
|
||||
{{ include "common.all" . }}
|
||||
@@ -1,74 +0,0 @@
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: DaemonSet
|
||||
metadata:
|
||||
name: {{ include "intel-gpu-plugin.fullname" . }}
|
||||
labels:
|
||||
{{- include "intel-gpu-plugin.labels" . | nindent 4 }}
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
{{- include "intel-gpu-plugin.selectorLabels" . | nindent 6 }}
|
||||
template:
|
||||
metadata:
|
||||
{{- with .Values.podAnnotations }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
labels:
|
||||
{{- include "intel-gpu-plugin.selectorLabels" . | nindent 8 }}
|
||||
spec:
|
||||
{{- with .Values.imagePullSecrets }}
|
||||
imagePullSecrets:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
serviceAccountName: {{ include "intel-gpu-plugin.serviceAccountName" . }}
|
||||
securityContext:
|
||||
{{- toYaml .Values.podSecurityContext | nindent 8 }}
|
||||
containers:
|
||||
- name: {{ .Chart.Name }}
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
securityContext:
|
||||
{{- toYaml .Values.securityContext | nindent 12 }}
|
||||
env:
|
||||
- name: NODE_NAME
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: spec.nodeName
|
||||
args:
|
||||
- -shared-dev-num
|
||||
- {{ .Values.sharedDeviceNumber | quote }}
|
||||
volumeMounts:
|
||||
- name: devfs
|
||||
mountPath: /dev/dri
|
||||
readOnly: true
|
||||
- name: sysfs
|
||||
mountPath: /sys/class/drm
|
||||
readOnly: true
|
||||
- name: kubeletsockets
|
||||
mountPath: /var/lib/kubelet/device-plugins
|
||||
resources:
|
||||
{{- toYaml .Values.resources | nindent 12 }}
|
||||
volumes:
|
||||
- name: devfs
|
||||
hostPath:
|
||||
path: /dev/dri
|
||||
- name: sysfs
|
||||
hostPath:
|
||||
path: /sys/class/drm
|
||||
- name: kubeletsockets
|
||||
hostPath:
|
||||
path: /var/lib/kubelet/device-plugins
|
||||
{{- with .Values.nodeSelector }}
|
||||
nodeSelector:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.affinity }}
|
||||
affinity:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.tolerations }}
|
||||
tolerations:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
@@ -1,12 +0,0 @@
|
||||
{{- if .Values.serviceAccount.create -}}
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: {{ include "intel-gpu-plugin.serviceAccountName" . }}
|
||||
labels:
|
||||
{{- include "intel-gpu-plugin.labels" . | nindent 4 }}
|
||||
{{- with .Values.serviceAccount.annotations }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
@@ -1,61 +1,61 @@
|
||||
# Default values for intel-gpu-plugin.
|
||||
#
|
||||
# IMPORTANT NOTE
|
||||
#
|
||||
# This chart inherits from our common library chart. You can check the default values/options here:
|
||||
# https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common/values.yaml
|
||||
#
|
||||
|
||||
image:
|
||||
# -- Image repository
|
||||
repository: intel/intel-gpu-plugin
|
||||
# -- Image pull policy
|
||||
pullPolicy: IfNotPresent
|
||||
# -- Image tag. Possible values listed [here](https://hub.docker.com/r/intel/intel-gpu-plugin/tags)
|
||||
tag: 0.20.0
|
||||
|
||||
# -- Specifies the strategy used to replace old Pods by new ones
|
||||
strategyType: Recreate
|
||||
controllerType: daemonset
|
||||
|
||||
imagePullSecrets: []
|
||||
nameOverride: ""
|
||||
fullnameOverride: ""
|
||||
strategy:
|
||||
type: Recreate
|
||||
|
||||
serviceAccount:
|
||||
# Specifies whether a service account should be created
|
||||
create: true
|
||||
# Annotations to add to the service account
|
||||
annotations: {}
|
||||
# The name of the service account to use.
|
||||
# If not set and create is true, a name is generated using the fullname template
|
||||
name: ""
|
||||
|
||||
# -- Number of containers sharing the same GPU device
|
||||
# @default -- 1
|
||||
sharedDeviceNumber: 1
|
||||
args:
|
||||
- -shared-dev-num
|
||||
- "1"
|
||||
|
||||
# -- Key-value pairs to add as pod annotations
|
||||
podAnnotations: {}
|
||||
envValueFrom:
|
||||
NODE_NAME:
|
||||
fieldRef:
|
||||
fieldPath: spec.nodeName
|
||||
|
||||
podSecurityContext: {}
|
||||
# fsGroup: 2000
|
||||
hostPathMounts:
|
||||
- name: "devfs"
|
||||
enabled: true
|
||||
emptyDir: false
|
||||
mountPath: "/dev/dri"
|
||||
hostPath: "/dev/dri"
|
||||
readOnly: true
|
||||
- name: "sysfs"
|
||||
enabled: true
|
||||
emptyDir: false
|
||||
mountPath: "/sys/class/drm"
|
||||
hostPath: "/sys/class/drm"
|
||||
readOnly: true
|
||||
- name: "kubeletsockets"
|
||||
enabled: true
|
||||
emptyDir: false
|
||||
mountPath: "/var/lib/kubelet/device-plugins"
|
||||
hostPath: "/var/lib/kubelet/device-plugins"
|
||||
|
||||
securityContext: {}
|
||||
# capabilities:
|
||||
# drop:
|
||||
# - ALL
|
||||
# readOnlyRootFilesystem: true
|
||||
# runAsNonRoot: true
|
||||
# runAsUser: 1000
|
||||
ingress:
|
||||
enabled: false
|
||||
|
||||
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:
|
||||
enabled: false
|
||||
|
||||
nodeSelector: {}
|
||||
|
||||
tolerations: []
|
||||
|
||||
affinity: {}
|
||||
probes:
|
||||
liveness:
|
||||
enabled: false
|
||||
readiness:
|
||||
enabled: false
|
||||
startup:
|
||||
enabled: false
|
||||
|
||||
26
charts/stable/multus/.helmignore
Normal file
26
charts/stable/multus/.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/stable/multus/Chart.yaml
Normal file
19
charts/stable/multus/Chart.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
apiVersion: v2
|
||||
appVersion: v3.7.1
|
||||
description: multus CNI allows multiple NICs per pod
|
||||
name: multus
|
||||
version: 1.1.0
|
||||
kubeVersion: ">=1.16.0-0"
|
||||
keywords:
|
||||
- multus
|
||||
home: https://github.com/k8s-at-home/charts/tree/master/charts/stable/multus
|
||||
icon: https://multus.org/icon
|
||||
sources:
|
||||
- https://github.com/k8snetworkplumbingwg/multus-cni
|
||||
maintainers:
|
||||
- name: angelnu
|
||||
email: git@angelnu.com
|
||||
dependencies:
|
||||
- name: common
|
||||
repository: https://library-charts.k8s-at-home.com
|
||||
version: 2.5.0
|
||||
152
charts/stable/multus/README.md
Normal file
152
charts/stable/multus/README.md
Normal file
@@ -0,0 +1,152 @@
|
||||
# multus
|
||||
|
||||
 
|
||||
|
||||
multus CNI allows multiple NICs per pod
|
||||
|
||||
**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/k8snetworkplumbingwg/multus-cni>
|
||||
|
||||
## Requirements
|
||||
|
||||
Kubernetes: `>=1.16.0-0`
|
||||
|
||||
## Dependencies
|
||||
|
||||
| Repository | Name | Version |
|
||||
|------------|------|---------|
|
||||
| https://library-charts.k8s-at-home.com | common | 2.4.0 |
|
||||
|
||||
## TL;DR
|
||||
|
||||
```console
|
||||
helm repo add k8s-at-home https://k8s-at-home.com/charts/
|
||||
helm repo update
|
||||
helm install multus k8s-at-home/multus
|
||||
```
|
||||
|
||||
## Installing the Chart
|
||||
|
||||
To install the chart with the release name `multus`
|
||||
|
||||
```console
|
||||
helm install multus k8s-at-home/multus
|
||||
```
|
||||
|
||||
## Uninstalling the Chart
|
||||
|
||||
To uninstall the `multus` deployment
|
||||
|
||||
```console
|
||||
helm uninstall multus
|
||||
```
|
||||
|
||||
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](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common/values.yaml) from the [common library](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common).
|
||||
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
|
||||
|
||||
```console
|
||||
helm install multus \
|
||||
--set env.TZ="America/New York" \
|
||||
k8s-at-home/multus
|
||||
```
|
||||
|
||||
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.
|
||||
|
||||
```console
|
||||
helm install multus k8s-at-home/multus -f values.yaml
|
||||
```
|
||||
|
||||
## Custom configuration
|
||||
|
||||
### Error setting up network for sandbox
|
||||
|
||||
If you remove multus by force, the helm uninstall hook will not
|
||||
be called. In this situation kubelet will still try to call
|
||||
multus to during the creation of every single pod. you wil see
|
||||
this error:
|
||||
|
||||
```
|
||||
Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox
|
||||
```
|
||||
|
||||
If you hit this problem you can manually remove multus config.
|
||||
For k3s you can do so with:
|
||||
|
||||
```sh
|
||||
rm -rf /var/lib/rancher/k3s/agent/etc/cni/net.d/*multus*
|
||||
```
|
||||
|
||||
## 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/library-charts/tree/main/charts/stable/common)
|
||||
|
||||
| Key | Type | Default | Description |
|
||||
|-----|------|---------|-------------|
|
||||
| additionalVolumeMounts[0].mountPath | string | `"/host/etc/cni/net.d"` | |
|
||||
| additionalVolumeMounts[0].name | string | `"cni"` | |
|
||||
| additionalVolumeMounts[1].mountPath | string | `"/host/opt/cni/bin"` | |
|
||||
| additionalVolumeMounts[1].name | string | `"cnibin"` | |
|
||||
| additionalVolumes[0].hostPath.path | string | `"/var/lib/rancher/k3s/agent/etc/cni/net.d"` | |
|
||||
| additionalVolumes[0].hostPath.type | string | `"Directory"` | |
|
||||
| additionalVolumes[0].name | string | `"cni"` | |
|
||||
| additionalVolumes[1].hostPath.path | string | `"/var/lib/rancher/k3s/data/current/bin"` | |
|
||||
| additionalVolumes[1].hostPath.type | string | `"Directory"` | |
|
||||
| additionalVolumes[1].name | string | `"cnibin"` | |
|
||||
| args[0] | string | `"--multus-conf-file=auto"` | |
|
||||
| args[1] | string | `"--cleanup-config-on-exit=true"` | |
|
||||
| args[2] | string | `"--cni-version=0.3.1"` | |
|
||||
| args[3] | string | `"--multus-kubeconfig-file-host=/var/lib/rancher/k3s/agent/etc/cni/net.d/multus.d/multus.kubeconfig"` | |
|
||||
| command[0] | string | `"/entrypoint.sh"` | |
|
||||
| controllerType | string | `"daemonset"` | |
|
||||
| image.pullPolicy | string | `"IfNotPresent"` | |
|
||||
| image.repository | string | `"ghcr.io/k8snetworkplumbingwg/multus-cni"` | |
|
||||
| image.tag | string | `"v3.7.1"` | |
|
||||
| initContainers | list | `[{"image":"ghcr.io/k8s-at-home/cni-plugins:v0.9.1","name":"cni-installer","volumeMounts":[{"mountPath":"/host/opt/cni/bin","name":"cnibin"}]}]` | Init container that install reference CNI plugins |
|
||||
| probes.liveness.enabled | bool | `false` | |
|
||||
| probes.readiness.enabled | bool | `false` | |
|
||||
| probes.startup.enabled | bool | `false` | |
|
||||
| securityContext.privileged | bool | `true` | |
|
||||
| service.enabled | bool | `false` | |
|
||||
| serviceAccount.create | bool | `true` | |
|
||||
| strategy.type | string | `"RollingUpdate"` | |
|
||||
|
||||
## 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/library-charts/tree/main/charts/stable/common#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
|
||||
|
||||
- Initial version
|
||||
|
||||
#### 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)
|
||||
146
charts/stable/multus/README.md.gotmpl
Normal file
146
charts/stable/multus/README.md.gotmpl
Normal file
@@ -0,0 +1,146 @@
|
||||
{{- 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](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common/values.yaml) from the [common library](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/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/library-charts/tree/main/charts/stable/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/stable/multus/README_CHANGELOG.md.gotmpl
Normal file
27
charts/stable/multus/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/library-charts/tree/main/charts/stable/common#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
|
||||
|
||||
- Initial version
|
||||
|
||||
#### Changed
|
||||
|
||||
- N/A
|
||||
|
||||
#### Removed
|
||||
|
||||
- N/A
|
||||
|
||||
[1.0.0]: #1.0.0
|
||||
{{- end -}}
|
||||
26
charts/stable/multus/README_CONFIG.md.gotmpl
Normal file
26
charts/stable/multus/README_CONFIG.md.gotmpl
Normal file
@@ -0,0 +1,26 @@
|
||||
{{- define "custom.custom.configuration.header" -}}
|
||||
## Custom configuration
|
||||
{{- end -}}
|
||||
|
||||
{{- define "custom.custom.configuration" -}}
|
||||
{{ template "custom.custom.configuration.header" . }}
|
||||
|
||||
### Error setting up network for sandbox
|
||||
|
||||
If you remove multus by force, the helm uninstall hook will not
|
||||
be called. In this situation kubelet will still try to call
|
||||
multus to during the creation of every single pod. you wil see
|
||||
this error:
|
||||
|
||||
```
|
||||
Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox
|
||||
```
|
||||
|
||||
If you hit this problem you can manually remove multus config.
|
||||
For k3s you can do so with:
|
||||
|
||||
```sh
|
||||
rm -rf /var/lib/rancher/k3s/agent/etc/cni/net.d/*multus*
|
||||
```
|
||||
|
||||
{{- end -}}
|
||||
44
charts/stable/multus/crds/crd.yaml
Normal file
44
charts/stable/multus/crds/crd.yaml
Normal file
@@ -0,0 +1,44 @@
|
||||
apiVersion: apiextensions.k8s.io/v1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
name: network-attachment-definitions.k8s.cni.cncf.io
|
||||
spec:
|
||||
group: k8s.cni.cncf.io
|
||||
scope: Namespaced
|
||||
names:
|
||||
plural: network-attachment-definitions
|
||||
singular: network-attachment-definition
|
||||
kind: NetworkAttachmentDefinition
|
||||
shortNames:
|
||||
- net-attach-def
|
||||
versions:
|
||||
- name: v1
|
||||
served: true
|
||||
storage: true
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
description: 'NetworkAttachmentDefinition is a CRD schema specified by the Network Plumbing
|
||||
Working Group to express the intent for attaching pods to one or more logical or physical
|
||||
networks. More information available at: https://github.com/k8snetworkplumbingwg/multi-net-spec'
|
||||
type: object
|
||||
properties:
|
||||
apiVersion:
|
||||
description: 'APIVersion defines the versioned schema of this represen
|
||||
tation of an object. Servers should convert recognized schemas to the
|
||||
latest internal value, and may reject unrecognized values. More info:
|
||||
https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
|
||||
type: string
|
||||
kind:
|
||||
description: 'Kind is a string value representing the REST resource this
|
||||
object represents. Servers may infer this from the endpoint the client
|
||||
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
|
||||
type: string
|
||||
metadata:
|
||||
type: object
|
||||
spec:
|
||||
description: 'NetworkAttachmentDefinition spec defines the desired state of a network attachment'
|
||||
type: object
|
||||
properties:
|
||||
config:
|
||||
description: 'NetworkAttachmentDefinition config is a JSON-formatted CNI configuration'
|
||||
type: string
|
||||
29
charts/stable/multus/templates/ClusterRole.yaml
Normal file
29
charts/stable/multus/templates/ClusterRole.yaml
Normal file
@@ -0,0 +1,29 @@
|
||||
kind: ClusterRole
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
metadata:
|
||||
name: {{ include "common.names.fullname" . }}
|
||||
labels:
|
||||
{{- include "common.labels" . | nindent 4 }}
|
||||
rules:
|
||||
- apiGroups: ["k8s.cni.cncf.io"]
|
||||
resources:
|
||||
- '*'
|
||||
verbs:
|
||||
- '*'
|
||||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
- pods
|
||||
- pods/status
|
||||
verbs:
|
||||
- get
|
||||
- update
|
||||
- apiGroups:
|
||||
- ""
|
||||
- events.k8s.io
|
||||
resources:
|
||||
- events
|
||||
verbs:
|
||||
- create
|
||||
- patch
|
||||
- update
|
||||
14
charts/stable/multus/templates/ClusterRoleBinding.yaml
Normal file
14
charts/stable/multus/templates/ClusterRoleBinding.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
kind: ClusterRoleBinding
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
metadata:
|
||||
name: {{ include "common.names.fullname" . }}
|
||||
labels:
|
||||
{{- include "common.labels" . | nindent 4 }}
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
name: {{ include "common.names.fullname" . }}
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: {{ include "common.names.serviceAccountName" . }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
1
charts/stable/multus/templates/NOTES.txt
Normal file
1
charts/stable/multus/templates/NOTES.txt
Normal file
@@ -0,0 +1 @@
|
||||
{{- include "common.notes.defaultNotes" . -}}
|
||||
2
charts/stable/multus/templates/common.yaml
Normal file
2
charts/stable/multus/templates/common.yaml
Normal file
@@ -0,0 +1,2 @@
|
||||
{{/* Render the templates */}}
|
||||
{{ include "common.all" . }}
|
||||
15
charts/stable/multus/templates/tests/network.yaml
Normal file
15
charts/stable/multus/templates/tests/network.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
apiVersion: "k8s.cni.cncf.io/v1"
|
||||
kind: NetworkAttachmentDefinition
|
||||
metadata:
|
||||
name: {{ include "common.names.fullname" . }}-test
|
||||
labels:
|
||||
{{- include "common.labels" . | nindent 4 }}
|
||||
annotations:
|
||||
"helm.sh/hook": test-success
|
||||
spec:
|
||||
config: '{
|
||||
"cniVersion": "0.3.1",
|
||||
"name": "{{ include "common.names.fullname" . }}-test",
|
||||
"type": "macvlan",
|
||||
"capabilities": { "ips": true }
|
||||
}'
|
||||
18
charts/stable/multus/templates/tests/pod-test.yaml
Normal file
18
charts/stable/multus/templates/tests/pod-test.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: {{ include "common.names.fullname" . }}-pod-test
|
||||
labels:
|
||||
{{- include "common.labels" . | nindent 4 }}
|
||||
annotations:
|
||||
"helm.sh/hook": test-success
|
||||
k8s.v1.cni.cncf.io/networks: |
|
||||
[{
|
||||
"name": "{{ include "common.names.fullname" . }}-test"
|
||||
}]
|
||||
spec:
|
||||
containers:
|
||||
- name: podt-test
|
||||
image: "alpine"
|
||||
command: ["/bin/true"]
|
||||
restartPolicy: Never
|
||||
32
charts/stable/multus/templates/uninstallJob.yaml
Normal file
32
charts/stable/multus/templates/uninstallJob.yaml
Normal file
@@ -0,0 +1,32 @@
|
||||
apiVersion: batch/v1
|
||||
kind: Job
|
||||
metadata:
|
||||
name: {{ include "common.names.fullname" . }}-uninstall
|
||||
labels:
|
||||
{{- include "common.labels" . | nindent 4 }}
|
||||
annotations:
|
||||
# This is what defines this resource as a hook. Without this line, the
|
||||
# job is considered part of the release.
|
||||
"helm.sh/hook": pre-delete
|
||||
"helm.sh/hook-weight": "-5"
|
||||
"helm.sh/hook-delete-policy": hook-succeeded
|
||||
spec:
|
||||
template:
|
||||
metadata:
|
||||
name: {{ include "common.names.fullname" . }}-uninstall
|
||||
labels:
|
||||
{{- include "common.labels" . | nindent 8 }}
|
||||
spec:
|
||||
restartPolicy: OnFailure
|
||||
containers:
|
||||
- name: remove-config
|
||||
image: "alpine"
|
||||
command: ["/bin/sh","-c", "rm -rf /host/etc/cni/net.d/*multus*"]
|
||||
{{- with (include "common.controller.volumeMounts" . | trim) }}
|
||||
volumeMounts:
|
||||
{{- . | nindent 10 }}
|
||||
{{- end }}
|
||||
{{- with (include "common.controller.volumes" . | trim) }}
|
||||
volumes:
|
||||
{{- . | nindent 8 }}
|
||||
{{- end }}
|
||||
69
charts/stable/multus/values.yaml
Normal file
69
charts/stable/multus/values.yaml
Normal file
@@ -0,0 +1,69 @@
|
||||
#
|
||||
# IMPORTANT NOTE
|
||||
#
|
||||
# This chart inherits from our common library chart. You can check the default values/options here:
|
||||
# https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common/values.yaml
|
||||
#
|
||||
|
||||
image:
|
||||
repository: ghcr.io/k8snetworkplumbingwg/multus-cni
|
||||
tag: v3.7.1
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
controllerType: daemonset
|
||||
|
||||
serviceAccount:
|
||||
create: true
|
||||
|
||||
# -- Init container that install reference CNI plugins
|
||||
initContainers:
|
||||
- name: cni-installer
|
||||
image: ghcr.io/k8s-at-home/cni-plugins:v0.9.1
|
||||
volumeMounts:
|
||||
- name: cnibin
|
||||
mountPath: /host/opt/cni/bin
|
||||
|
||||
|
||||
command:
|
||||
- /entrypoint.sh
|
||||
|
||||
args:
|
||||
- "--multus-conf-file=auto"
|
||||
- "--cleanup-config-on-exit=true"
|
||||
- "--cni-version=0.3.1"
|
||||
- "--multus-kubeconfig-file-host=/var/lib/rancher/k3s/agent/etc/cni/net.d/multus.d/multus.kubeconfig"
|
||||
|
||||
securityContext:
|
||||
privileged: true
|
||||
|
||||
strategy:
|
||||
type: RollingUpdate
|
||||
|
||||
additionalVolumes:
|
||||
- name: cni
|
||||
hostPath:
|
||||
# path: /etc/cni/net.d
|
||||
path: /var/lib/rancher/k3s/agent/etc/cni/net.d
|
||||
type: Directory
|
||||
- name: cnibin
|
||||
hostPath:
|
||||
# path: /opt/cni/bin
|
||||
path: /var/lib/rancher/k3s/data/current/bin
|
||||
type: Directory
|
||||
|
||||
additionalVolumeMounts:
|
||||
- name: cni
|
||||
mountPath: /host/etc/cni/net.d
|
||||
- name: cnibin
|
||||
mountPath: /host/opt/cni/bin
|
||||
|
||||
probes:
|
||||
liveness:
|
||||
enabled: false
|
||||
readiness:
|
||||
enabled: false
|
||||
startup:
|
||||
enabled: false
|
||||
|
||||
service:
|
||||
enabled: false
|
||||
@@ -1,5 +1,5 @@
|
||||
name: oauth2-proxy
|
||||
version: 5.0.4
|
||||
version: 5.0.5
|
||||
apiVersion: v1
|
||||
appVersion: 7.0.1
|
||||
home: https://github.com/k8s-at-home/charts/tree/master/charts/stable/oauth2-proxy
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# oauth2-proxy
|
||||
|
||||
 
|
||||
 
|
||||
|
||||
A reverse proxy that provides authentication with Google, Github or other providers
|
||||
|
||||
@@ -68,7 +68,7 @@ helm install oauth2-proxy k8s-at-home/oauth2-proxy -f values.yaml
|
||||
|
||||
### SSL Configuration
|
||||
|
||||
See: [SSL Configuration](https://pusher.github.io/oauth2_proxy/tls-configuration).
|
||||
See: [SSL Configuration](https://oauth2-proxy.github.io/oauth2-proxy/docs/configuration/tls).
|
||||
Use ```values.yaml``` like:
|
||||
|
||||
```yaml
|
||||
@@ -105,11 +105,11 @@ data:
|
||||
|-----|------|---------|-------------|
|
||||
| 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.restricted_access | string | `""` | [email addresses](https://oauth2-proxy.github.io/oauth2-proxy/docs/configuration/oauth_provider#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.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/oauth2-proxy/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 | `{}` | |
|
||||
@@ -118,7 +118,7 @@ data:
|
||||
| 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.entries | object | `{}` | list of [SHA encrypted user:passwords](https://oauth2-proxy.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 |
|
||||
@@ -166,7 +166,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/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.
|
||||
- This version upgrade oauth2-proxy to v4.0.0. Please see the [changelog](https://github.com/oauth2-proxy/oauth2-proxy/blob/v4.0.0/CHANGELOG.md#v400) in order to upgrade.
|
||||
|
||||
### [2.0.0]
|
||||
|
||||
@@ -222,6 +222,12 @@ Due to [this issue](https://github.com/helm/helm/issues/6583) there may be error
|
||||
|
||||
- N/A
|
||||
|
||||
### [5.0.5]
|
||||
|
||||
#### Fixed
|
||||
|
||||
- Update oauth2-proxy website URLs.
|
||||
|
||||
[5.0.4]: #5.0.4
|
||||
[5.0.1]: #5.0.1
|
||||
|
||||
|
||||
@@ -143,3 +143,4 @@ helm install {{ template "chart.name" . }} {{ template "custom.helm.path" . }} -
|
||||
{{ template "custom.support" . }}
|
||||
|
||||
{{ template "helm-docs.versionFooter" . }}
|
||||
{{ "" }}
|
||||
|
||||
@@ -13,7 +13,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/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.
|
||||
- This version upgrade oauth2-proxy to v4.0.0. Please see the [changelog](https://github.com/oauth2-proxy/oauth2-proxy/blob/v4.0.0/CHANGELOG.md#v400) in order to upgrade.
|
||||
|
||||
### [2.0.0]
|
||||
|
||||
@@ -69,6 +69,12 @@ Due to [this issue](https://github.com/helm/helm/issues/6583) there may be error
|
||||
|
||||
- N/A
|
||||
|
||||
### [5.0.5]
|
||||
|
||||
#### Fixed
|
||||
|
||||
- Update oauth2-proxy website URLs.
|
||||
|
||||
[5.0.4]: #5.0.4
|
||||
[5.0.1]: #5.0.1
|
||||
{{- end -}}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
### SSL Configuration
|
||||
|
||||
See: [SSL Configuration](https://pusher.github.io/oauth2_proxy/tls-configuration).
|
||||
See: [SSL Configuration](https://oauth2-proxy.github.io/oauth2-proxy/docs/configuration/tls).
|
||||
Use ```values.yaml``` like:
|
||||
|
||||
```yaml
|
||||
|
||||
@@ -16,7 +16,7 @@ config:
|
||||
# -- 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
|
||||
# -- custom [oauth2_proxy.cfg](https://github.com/oauth2-proxy/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" ]
|
||||
@@ -64,7 +64,7 @@ authenticatedEmailsFile:
|
||||
# config map resource.
|
||||
template: ""
|
||||
|
||||
# -- [email addresses](https://github.com/pusher/oauth2_proxy#email-authentication) list config
|
||||
# -- [email addresses](https://oauth2-proxy.github.io/oauth2-proxy/docs/configuration/oauth_provider#email-authentication) list config
|
||||
restricted_access: ""
|
||||
|
||||
service:
|
||||
@@ -205,7 +205,7 @@ htpasswdFile:
|
||||
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)
|
||||
# -- list of [SHA encrypted user:passwords](https://oauth2-proxy.github.io/oauth2-proxy/configuration#command-line-options)
|
||||
entries: {}
|
||||
# One row for each user
|
||||
# example:
|
||||
|
||||
26
charts/stable/openemr/.helmignore
Normal file
26
charts/stable/openemr/.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
|
||||
28
charts/stable/openemr/Chart.yaml
Normal file
28
charts/stable/openemr/Chart.yaml
Normal file
@@ -0,0 +1,28 @@
|
||||
---
|
||||
apiVersion: v2
|
||||
appVersion: 6.0.0
|
||||
description: OpenEMR is the most popular open source electronic health records and medical practice management solution.
|
||||
name: openemr
|
||||
version: 1.0.0
|
||||
kubeVersion: ">=1.16.0-0"
|
||||
keywords:
|
||||
- openemr
|
||||
- health
|
||||
- medical
|
||||
- healthcare
|
||||
- emr
|
||||
home: https://github.com/k8s-at-home/charts/tree/master/charts/stable/openemr
|
||||
icon: https://avatars.githubusercontent.com/u/283089?s=200&v=4
|
||||
sources:
|
||||
- https://github.com/openemr/openemr
|
||||
maintainers:
|
||||
- name: nicholaswilde
|
||||
email: ncwilde43@gmail.com
|
||||
dependencies:
|
||||
- name: common
|
||||
repository: https://library-charts.k8s-at-home.com
|
||||
version: 2.5.0
|
||||
- name: mariadb
|
||||
version: 9.3.9
|
||||
repository: https://charts.bitnami.com/bitnami
|
||||
condition: mariadb.enabled
|
||||
125
charts/stable/openemr/README.md
Normal file
125
charts/stable/openemr/README.md
Normal file
@@ -0,0 +1,125 @@
|
||||
# openemr
|
||||
|
||||
 
|
||||
|
||||
OpenEMR is the most popular open source electronic health records and medical practice management solution.
|
||||
|
||||
**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/openemr/openemr>
|
||||
|
||||
## Requirements
|
||||
|
||||
Kubernetes: `>=1.16.0-0`
|
||||
|
||||
## Dependencies
|
||||
|
||||
| Repository | Name | Version |
|
||||
|------------|------|---------|
|
||||
| https://charts.bitnami.com/bitnami | mariadb | 9.3.9 |
|
||||
| https://library-charts.k8s-at-home.com | common | 2.5.0 |
|
||||
|
||||
## TL;DR
|
||||
|
||||
```console
|
||||
helm repo add k8s-at-home https://k8s-at-home.com/charts/
|
||||
helm repo update
|
||||
helm install openemr k8s-at-home/openemr
|
||||
```
|
||||
|
||||
## Installing the Chart
|
||||
|
||||
To install the chart with the release name `openemr`
|
||||
|
||||
```console
|
||||
helm install openemr k8s-at-home/openemr
|
||||
```
|
||||
|
||||
## Uninstalling the Chart
|
||||
|
||||
To uninstall the `openemr` deployment
|
||||
|
||||
```console
|
||||
helm uninstall openemr
|
||||
```
|
||||
|
||||
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](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common/values.yaml) from the [common library](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common).
|
||||
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
|
||||
|
||||
```console
|
||||
helm install openemr \
|
||||
--set env.TZ="America/New York" \
|
||||
k8s-at-home/openemr
|
||||
```
|
||||
|
||||
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.
|
||||
|
||||
```console
|
||||
helm install openemr k8s-at-home/openemr -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/library-charts/tree/main/charts/stable/common)
|
||||
|
||||
| Key | Type | Default | Description |
|
||||
|-----|------|---------|-------------|
|
||||
| env | object | `{}` | |
|
||||
| image.pullPolicy | string | `"IfNotPresent"` | |
|
||||
| image.repository | string | `"openemr/openemr"` | |
|
||||
| image.tag | string | `"6.0.0"` | |
|
||||
| ingress.enabled | bool | `false` | |
|
||||
| mariadb.architecture | string | `"standalone"` | |
|
||||
| mariadb.auth.database | string | `"openemr"` | |
|
||||
| mariadb.auth.password | string | `"openemr-pass"` | |
|
||||
| mariadb.auth.rootPassword | string | `"openemrrootpass"` | |
|
||||
| mariadb.auth.username | string | `"openemr"` | |
|
||||
| mariadb.enabled | bool | `false` | |
|
||||
| mariadb.fullnameOverride | string | `"openemr-mariadb"` | |
|
||||
| mariadb.primary.persistence.enabled | bool | `false` | |
|
||||
| persistence.log.emptyDir.enabled | bool | `false` | |
|
||||
| persistence.log.enabled | bool | `false` | |
|
||||
| persistence.log.mountPath | string | `"/var/log"` | |
|
||||
| persistence.sites.emptyDir.enabled | bool | `false` | |
|
||||
| persistence.sites.enabled | bool | `false` | |
|
||||
| persistence.sites.mountPath | string | `"/var/www/localhost/htdocs/openemr/sites"` | |
|
||||
| service.additionalPorts[0].name | string | `"websocket"` | |
|
||||
| service.additionalPorts[0].port | int | `443` | |
|
||||
| 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/library-charts/tree/main/charts/stable/common#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
|
||||
|
||||
- Initial version
|
||||
|
||||
[1.0.0]: #100
|
||||
|
||||
## 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/stable/openemr/README.md.gotmpl
Normal file
145
charts/stable/openemr/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](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common/values.yaml) from the [common library](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/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/library-charts/tree/main/charts/stable/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" . }}
|
||||
19
charts/stable/openemr/README_CHANGELOG.md.gotmpl
Normal file
19
charts/stable/openemr/README_CHANGELOG.md.gotmpl
Normal file
@@ -0,0 +1,19 @@
|
||||
{{- 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/library-charts/tree/main/charts/stable/common#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
|
||||
|
||||
- Initial version
|
||||
|
||||
[1.0.0]: #100
|
||||
{{- end -}}
|
||||
9
charts/stable/openemr/README_CONFIG.md.gotmpl
Normal file
9
charts/stable/openemr/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 -}}
|
||||
27
charts/stable/openemr/ci/ct-values.yaml
Normal file
27
charts/stable/openemr/ci/ct-values.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
---
|
||||
env:
|
||||
MYSQL_HOST: openemr-mariadb
|
||||
MYSQL_ROOT_PASS: openemrrootpass
|
||||
MYSQL_USER: openemr
|
||||
MYSQL_PASS: openemr-pass
|
||||
OE_USER: admin
|
||||
OE_PASS: pass
|
||||
|
||||
ingress:
|
||||
enabled: true
|
||||
|
||||
fullnameOverride: openemr
|
||||
|
||||
mariadb:
|
||||
enabled: true
|
||||
architecture: standalone
|
||||
auth:
|
||||
database: openemr
|
||||
username: openemr
|
||||
password: openemr-pass
|
||||
rootPassword: openemrrootpass
|
||||
primary:
|
||||
persistence:
|
||||
enabled: false
|
||||
# storageClass: ""
|
||||
fullnameOverride: openemr-mariadb
|
||||
1
charts/stable/openemr/templates/NOTES.txt
Normal file
1
charts/stable/openemr/templates/NOTES.txt
Normal file
@@ -0,0 +1 @@
|
||||
{{- include "common.notes.defaultNotes" . -}}
|
||||
1
charts/stable/openemr/templates/common.yaml
Normal file
1
charts/stable/openemr/templates/common.yaml
Normal file
@@ -0,0 +1 @@
|
||||
{{ include "common.all" . }}
|
||||
63
charts/stable/openemr/values.yaml
Normal file
63
charts/stable/openemr/values.yaml
Normal file
@@ -0,0 +1,63 @@
|
||||
#
|
||||
# IMPORTANT NOTE
|
||||
#
|
||||
# This chart inherits from our common library chart. You can check the default values/options here:
|
||||
# https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common/values.yaml
|
||||
#
|
||||
|
||||
image:
|
||||
repository: openemr/openemr
|
||||
pullPolicy: IfNotPresent
|
||||
tag: 6.0.0
|
||||
|
||||
strategy:
|
||||
type: Recreate
|
||||
|
||||
# See more environment variables in the openemr documentation
|
||||
# https://github.com/openemr/openemr/blob/master/docker/production/docker-compose.yml
|
||||
env: {}
|
||||
# TZ:
|
||||
# MYSQL_HOST: openemr-mariadb
|
||||
# MYSQL_ROOT_PASS: openemrrootpass
|
||||
# MYSQL_USER: openemr
|
||||
# MYSQL_PASS: openemr-pass
|
||||
# OE_USER: admin
|
||||
# OE_PASS: pass
|
||||
|
||||
service:
|
||||
port:
|
||||
port: 80
|
||||
additionalPorts:
|
||||
- name: websocket
|
||||
port: 443
|
||||
|
||||
ingress:
|
||||
enabled: false
|
||||
|
||||
persistence:
|
||||
log:
|
||||
enabled: false
|
||||
emptyDir:
|
||||
enabled: false
|
||||
mountPath: /var/log
|
||||
sites:
|
||||
enabled: false
|
||||
emptyDir:
|
||||
enabled: false
|
||||
mountPath: /var/www/localhost/htdocs/openemr/sites
|
||||
|
||||
# Enabled mariadb
|
||||
# ... for more options see https://github.com/bitnami/charts/tree/master/bitnami/mariadb
|
||||
mariadb:
|
||||
enabled: false
|
||||
# architecture: standalone
|
||||
# auth:
|
||||
# database: openemr
|
||||
# username: openemr
|
||||
# password: openemr-pass
|
||||
# rootPassword: openemrrootpass
|
||||
# primary:
|
||||
# persistence:
|
||||
# enabled: false
|
||||
# storageClass: ""
|
||||
# fullnameOverride: openemr-mariadb
|
||||
@@ -2,13 +2,13 @@ apiVersion: v2
|
||||
appVersion: 0.4.20
|
||||
description: pyLoad is a Free and Open Source download manager written in Python and designed to be extremely lightweight, easily extensible and fully manageable via web.
|
||||
name: pyload
|
||||
version: 4.4.0
|
||||
version: 4.4.1
|
||||
kubeVersion: ">=1.16.0-0"
|
||||
keywords:
|
||||
- pyload
|
||||
- download
|
||||
home: https://github.com/k8s-at-home/charts/tree/master/charts/stable/pyload
|
||||
icon: https://raw.githubusercontent.com/pyload/pyload/main/media/logo.png
|
||||
icon: https://avatars.githubusercontent.com/u/3521496?s=200&v=4
|
||||
sources:
|
||||
- https://github.com/pyload/pyload
|
||||
- https://hub.docker.com/r/linuxserver/pyload
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# pyload
|
||||
|
||||
 
|
||||
 
|
||||
|
||||
pyLoad is a Free and Open Source download manager written in Python and designed to be extremely lightweight, easily extensible and fully manageable via web.
|
||||
|
||||
@@ -19,7 +19,7 @@ Kubernetes: `>=1.16.0-0`
|
||||
|
||||
| Repository | Name | Version |
|
||||
|------------|------|---------|
|
||||
| https://library-charts.k8s-at-home.com | common | 2.3.1 |
|
||||
| https://library-charts.k8s-at-home.com | common | 2.5.0 |
|
||||
|
||||
## TL;DR
|
||||
|
||||
@@ -95,6 +95,20 @@ All notable changes to this application Helm chart will be documented in this fi
|
||||
|
||||
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).
|
||||
|
||||
### [4.4.1]
|
||||
|
||||
#### Added
|
||||
|
||||
- N/A
|
||||
|
||||
#### Changed
|
||||
|
||||
- Updated icon url again
|
||||
|
||||
#### Removed
|
||||
|
||||
- N/A
|
||||
|
||||
### [4.3.2]
|
||||
|
||||
#### Added
|
||||
@@ -123,8 +137,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
|
||||
- N/A
|
||||
|
||||
[4.3.2]: #4.3.2
|
||||
[1.0.0]: #1.0.0
|
||||
[4.4.1]: #441
|
||||
[4.3.2]: #432
|
||||
[1.0.0]: #100
|
||||
|
||||
## Support
|
||||
|
||||
|
||||
@@ -143,3 +143,4 @@ helm install {{ template "chart.name" . }} {{ template "custom.helm.path" . }} -
|
||||
{{ template "custom.support" . }}
|
||||
|
||||
{{ template "helm-docs.versionFooter" . }}
|
||||
{{ "" }}
|
||||
|
||||
@@ -9,6 +9,20 @@ All notable changes to this application Helm chart will be documented in this fi
|
||||
|
||||
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).
|
||||
|
||||
### [4.4.1]
|
||||
|
||||
#### Added
|
||||
|
||||
- N/A
|
||||
|
||||
#### Changed
|
||||
|
||||
- Updated icon url again
|
||||
|
||||
#### Removed
|
||||
|
||||
- N/A
|
||||
|
||||
### [4.3.2]
|
||||
|
||||
#### Added
|
||||
@@ -37,6 +51,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
|
||||
- N/A
|
||||
|
||||
[4.3.2]: #4.3.2
|
||||
[1.0.0]: #1.0.0
|
||||
[4.4.1]: #441
|
||||
[4.3.2]: #432
|
||||
[1.0.0]: #100
|
||||
{{- end -}}
|
||||
|
||||
26
charts/stable/shlink/.helmignore
Normal file
26
charts/stable/shlink/.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
|
||||
28
charts/stable/shlink/Chart.yaml
Normal file
28
charts/stable/shlink/Chart.yaml
Normal file
@@ -0,0 +1,28 @@
|
||||
apiVersion: v2
|
||||
appVersion: 2.6.2
|
||||
description: A self-hosted and PHP-based URL shortener application with CLI and REST interfaces
|
||||
name: shlink
|
||||
version: 1.0.0
|
||||
kubeVersion: ">=1.16.0-0"
|
||||
keywords:
|
||||
- shlink
|
||||
- url-shortener
|
||||
home: https://github.com/k8s-at-home/charts/tree/master/charts/stable/shlink
|
||||
icon: https://avatars.githubusercontent.com/u/20341790?s=200&v=4
|
||||
sources:
|
||||
- https://github.com/shlinkio/shlink
|
||||
maintainers:
|
||||
- name: nicholaswilde
|
||||
email: ncwilde43@gmail.com
|
||||
dependencies:
|
||||
- name: common
|
||||
repository: https://library-charts.k8s-at-home.com
|
||||
version: 2.5.0
|
||||
- name: postgresql
|
||||
version: 10.4.0
|
||||
repository: https://charts.bitnami.com/bitnami
|
||||
condition: postgresql.enabled
|
||||
- name: mariadb
|
||||
version: 9.3.9
|
||||
repository: https://charts.bitnami.com/bitnami
|
||||
condition: mariadb.enabled
|
||||
128
charts/stable/shlink/README.md
Normal file
128
charts/stable/shlink/README.md
Normal file
@@ -0,0 +1,128 @@
|
||||
# shlink
|
||||
|
||||
 
|
||||
|
||||
A self-hosted and PHP-based URL shortener application with CLI and REST interfaces
|
||||
|
||||
**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/shlinkio/shlink>
|
||||
|
||||
## Requirements
|
||||
|
||||
Kubernetes: `>=1.16.0-0`
|
||||
|
||||
## Dependencies
|
||||
|
||||
| Repository | Name | Version |
|
||||
|------------|------|---------|
|
||||
| https://charts.bitnami.com/bitnami | mariadb | 9.3.9 |
|
||||
| https://charts.bitnami.com/bitnami | postgresql | 10.4.0 |
|
||||
| https://library-charts.k8s-at-home.com | common | 2.5.0 |
|
||||
|
||||
## TL;DR
|
||||
|
||||
```console
|
||||
helm repo add k8s-at-home https://k8s-at-home.com/charts/
|
||||
helm repo update
|
||||
helm install shlink k8s-at-home/shlink
|
||||
```
|
||||
|
||||
## Installing the Chart
|
||||
|
||||
To install the chart with the release name `shlink`
|
||||
|
||||
```console
|
||||
helm install shlink k8s-at-home/shlink
|
||||
```
|
||||
|
||||
## Uninstalling the Chart
|
||||
|
||||
To uninstall the `shlink` deployment
|
||||
|
||||
```console
|
||||
helm uninstall shlink
|
||||
```
|
||||
|
||||
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](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common/values.yaml) from the [common library](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common).
|
||||
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.
|
||||
|
||||
```console
|
||||
helm install shlink \
|
||||
--set env.TZ="America/New York" \
|
||||
k8s-at-home/shlink
|
||||
```
|
||||
|
||||
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.
|
||||
|
||||
```console
|
||||
helm install shlink k8s-at-home/shlink -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/library-charts/tree/main/charts/stable/common)
|
||||
|
||||
| Key | Type | Default | Description |
|
||||
|-----|------|---------|-------------|
|
||||
| env | object | `{}` | |
|
||||
| image.pullPolicy | string | `"IfNotPresent"` | |
|
||||
| image.repository | string | `"shlinkio/shlink"` | |
|
||||
| image.tag | string | `"2.6.2"` | |
|
||||
| ingress.enabled | bool | `false` | |
|
||||
| mariadb.architecture | string | `"standalone"` | |
|
||||
| mariadb.auth.database | string | `"shlink"` | |
|
||||
| mariadb.auth.password | string | `"shlink-pass"` | |
|
||||
| mariadb.auth.rootPassword | string | `"shlinkrootpass"` | |
|
||||
| mariadb.auth.username | string | `"shlink"` | |
|
||||
| mariadb.enabled | bool | `false` | |
|
||||
| mariadb.primary.persistence.enabled | bool | `false` | |
|
||||
| persistence.data.emptyDir.enabled | bool | `false` | |
|
||||
| persistence.data.enabled | bool | `false` | |
|
||||
| persistence.data.mountPath | string | `"/etc/shlink/data"` | |
|
||||
| persistence.params.emptyDir.enabled | bool | `false` | |
|
||||
| persistence.params.enabled | bool | `false` | |
|
||||
| persistence.params.mountPath | string | `"/etc/shlink/config/params"` | |
|
||||
| postgresql.enabled | bool | `false` | |
|
||||
| postgresql.persistence.enabled | bool | `false` | |
|
||||
| postgresql.postgresqlDatabase | string | `"shlink"` | |
|
||||
| postgresql.postgresqlPassword | string | `"shlink-pass"` | |
|
||||
| postgresql.postgresqlUsername | string | `"shlink"` | |
|
||||
| service.port.port | int | `8080` | |
|
||||
| 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/library-charts/tree/main/charts/stable/common#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
|
||||
|
||||
- Initial version
|
||||
|
||||
[1.0.0]: #100
|
||||
|
||||
## 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)
|
||||
146
charts/stable/shlink/README.md.gotmpl
Normal file
146
charts/stable/shlink/README.md.gotmpl
Normal file
@@ -0,0 +1,146 @@
|
||||
{{- 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](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common/values.yaml) from the [common library](https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/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/library-charts/tree/main/charts/stable/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" . }}
|
||||
{{ "" }}
|
||||
19
charts/stable/shlink/README_CHANGELOG.md.gotmpl
Normal file
19
charts/stable/shlink/README_CHANGELOG.md.gotmpl
Normal file
@@ -0,0 +1,19 @@
|
||||
{{- 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/library-charts/tree/main/charts/stable/common#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
|
||||
|
||||
- Initial version
|
||||
|
||||
[1.0.0]: #100
|
||||
{{- end -}}
|
||||
9
charts/stable/shlink/README_CONFIG.md.gotmpl
Normal file
9
charts/stable/shlink/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/stable/shlink/templates/NOTES.txt
Normal file
1
charts/stable/shlink/templates/NOTES.txt
Normal file
@@ -0,0 +1 @@
|
||||
{{- include "common.notes.defaultNotes" . -}}
|
||||
1
charts/stable/shlink/templates/common.yaml
Normal file
1
charts/stable/shlink/templates/common.yaml
Normal file
@@ -0,0 +1 @@
|
||||
{{ include "common.all" . }}
|
||||
66
charts/stable/shlink/values.yaml
Normal file
66
charts/stable/shlink/values.yaml
Normal file
@@ -0,0 +1,66 @@
|
||||
#
|
||||
# IMPORTANT NOTE
|
||||
#
|
||||
# This chart inherits from our common library chart. You can check the default values/options here:
|
||||
# https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common/values.yaml
|
||||
#
|
||||
|
||||
image:
|
||||
repository: shlinkio/shlink
|
||||
pullPolicy: IfNotPresent
|
||||
tag: 2.6.2
|
||||
|
||||
strategy:
|
||||
type: Recreate
|
||||
|
||||
# See more environment variables in the shlink documentation
|
||||
# https://shlink.io/documentation/install-docker-image/
|
||||
env: {}
|
||||
# SHORT_DOMAIN_HOST: "doma.in"
|
||||
# SHORT_DOMAIN_SCHEMA: "https"
|
||||
# GEOLITE_LICENSE_KEY: "kjh23ljkbndskj345"
|
||||
|
||||
service:
|
||||
port:
|
||||
port: 8080
|
||||
|
||||
ingress:
|
||||
enabled: false
|
||||
|
||||
persistence:
|
||||
params:
|
||||
enabled: false
|
||||
emptyDir:
|
||||
enabled: false
|
||||
mountPath: /etc/shlink/config/params
|
||||
data:
|
||||
enabled: false
|
||||
emptyDir:
|
||||
enabled: false
|
||||
mountPath: /etc/shlink/data
|
||||
|
||||
# Enabled mariadb
|
||||
# ... for more options see https://github.com/bitnami/charts/tree/master/bitnami/mariadb
|
||||
mariadb:
|
||||
enabled: false
|
||||
architecture: standalone
|
||||
auth:
|
||||
database: shlink
|
||||
username: shlink
|
||||
password: shlink-pass
|
||||
rootPassword: shlinkrootpass
|
||||
primary:
|
||||
persistence:
|
||||
enabled: false
|
||||
# storageClass: ""
|
||||
|
||||
# Enabled postgres
|
||||
# ... for more options see https://github.com/bitnami/charts/tree/master/bitnami/postgresql
|
||||
postgresql:
|
||||
enabled: false
|
||||
postgresqlUsername: shlink
|
||||
postgresqlPassword: shlink-pass
|
||||
postgresqlDatabase: shlink
|
||||
persistence:
|
||||
enabled: false
|
||||
# storageClass: ""
|
||||
@@ -1,8 +1,8 @@
|
||||
apiVersion: v2
|
||||
appVersion: 1.1.2
|
||||
appVersion: 1.20.7
|
||||
description: Manage hardware resource allocation without a need for privileged containers
|
||||
name: smarter-device-manager
|
||||
version: 3.4.0
|
||||
version: 4.0.0
|
||||
kubeVersion: ">=1.16.0-0"
|
||||
keywords:
|
||||
- kubernetes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# smarter-device-manager
|
||||
|
||||
 
|
||||
 
|
||||
|
||||
Manage hardware resource allocation without a need for privileged containers
|
||||
|
||||
@@ -19,7 +19,7 @@ Kubernetes: `>=1.16.0-0`
|
||||
|
||||
| Repository | Name | Version |
|
||||
|------------|------|---------|
|
||||
| https://library-charts.k8s-at-home.com | common | 2.3.1 |
|
||||
| https://library-charts.k8s-at-home.com | common | 2.5.0 |
|
||||
|
||||
## TL;DR
|
||||
|
||||
@@ -71,7 +71,7 @@ helm install smarter-device-manager k8s-at-home/smarter-device-manager -f values
|
||||
Please consider overriding the default configuration through `values.yaml` file.
|
||||
For example:
|
||||
```yaml
|
||||
config:
|
||||
config: |
|
||||
- devicematch: ^snd$
|
||||
nummaxdevices: 20
|
||||
- devicematch: ^rtc0$
|
||||
@@ -98,8 +98,6 @@ Capacity:
|
||||
smarter-devices/ttyUSB-Z-Stick-Gen5: 1
|
||||
```
|
||||
|
||||
Please note that only the root of the host `/dev` directory is considered for discovery. _Therefore, `by-id` paths will not work and some `udev` rules may be necessary._
|
||||
|
||||
The hardware is requested by pods through `resources`, e.g.:
|
||||
```yaml
|
||||
resources:
|
||||
@@ -117,15 +115,15 @@ In this case host device `/dev/ttyUSB-Conbee-2` will be given at the same path,
|
||||
|
||||
| Key | Type | Default | Description |
|
||||
|-----|------|---------|-------------|
|
||||
| devicePluginPath | string | `"/var/lib/kubelet/device-plugins"` | |
|
||||
| config | string | Refer to values.yaml | Override default configuration See [project repo](https://gitlab.com/arm-research/smarter/smarter-device-manager) for configuration examples |
|
||||
| dnsPolicy | string | `"ClusterFirstWithHostNet"` | |
|
||||
| hostNetwork | bool | `true` | |
|
||||
| image.pullPolicy | string | `"IfNotPresent"` | |
|
||||
| image.repository | string | `"registry.gitlab.com/arm-research/smarter/smarter-device-manager"` | |
|
||||
| image.tag | string | `"v1.1.2"` | |
|
||||
| priorityClassName | string | `"system-node-critical"` | |
|
||||
| securityContext.allowPrivilegeEscalation | bool | `false` | |
|
||||
| securityContext.capabilities.drop[0] | string | `"ALL"` | |
|
||||
| hostPathMounts | list | Refer to values.yaml | Configures the host paths that are mapped through to the container |
|
||||
| image.pullPolicy | string | `"IfNotPresent"` | Configure the image pull policy |
|
||||
| image.repository | string | `"registry.gitlab.com/arm-research/smarter/smarter-device-manager"` | Configure the image |
|
||||
| image.tag | string | `"v1.20.7"` | Configure the image tag |
|
||||
| priorityClassName | string | `"system-node-critical"` | Setting priority class is not necessary, but is recommended. [[Ref]](https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/) |
|
||||
| securityContext | object | Refer to values.yaml | Configure the securityContext for this pod |
|
||||
|
||||
## Changelog
|
||||
|
||||
@@ -133,6 +131,14 @@ All notable changes to this application Helm chart will be documented in this fi
|
||||
|
||||
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).
|
||||
|
||||
### [4.0.0]
|
||||
|
||||
#### Changed
|
||||
|
||||
- BREAKING: The `config` key has been replaced with a multiline string
|
||||
- BREAKING: The chart now uses the `hostPathMounts` feature to mount the host paths
|
||||
- The app version has been bumped to v1.20.7, this should allow better support of `/dev` subfolders.
|
||||
|
||||
### [3.3.2]
|
||||
|
||||
#### Added
|
||||
@@ -161,6 +167,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
|
||||
- N/A
|
||||
|
||||
[4.0.0]: #4.0.0
|
||||
[3.3.2]: #3.3.2
|
||||
[1.0.0]: #1.0.0
|
||||
|
||||
|
||||
@@ -143,3 +143,4 @@ helm install {{ template "chart.name" . }} {{ template "custom.helm.path" . }} -
|
||||
{{ template "custom.support" . }}
|
||||
|
||||
{{ template "helm-docs.versionFooter" . }}
|
||||
{{ "" }}
|
||||
|
||||
@@ -9,6 +9,14 @@ All notable changes to this application Helm chart will be documented in this fi
|
||||
|
||||
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).
|
||||
|
||||
### [4.0.0]
|
||||
|
||||
#### Changed
|
||||
|
||||
- BREAKING: The `config` key has been replaced with a multiline string
|
||||
- BREAKING: The chart now uses the `hostPathMounts` feature to mount the host paths
|
||||
- The app version has been bumped to v1.20.7, this should allow better support of `/dev` subfolders.
|
||||
|
||||
### [3.3.2]
|
||||
|
||||
#### Added
|
||||
@@ -37,6 +45,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
|
||||
- N/A
|
||||
|
||||
[4.0.0]: #4.0.0
|
||||
[3.3.2]: #3.3.2
|
||||
[1.0.0]: #1.0.0
|
||||
{{- end -}}
|
||||
|
||||
@@ -5,10 +5,10 @@
|
||||
{{- define "custom.custom.configuration" -}}
|
||||
{{ template "custom.custom.configuration.header" . }}
|
||||
|
||||
Please consider overriding the default configuration through `values.yaml` file.
|
||||
For example:
|
||||
Please consider overriding the default configuration through `values.yaml` file.
|
||||
For example:
|
||||
```yaml
|
||||
config:
|
||||
config: |
|
||||
- devicematch: ^snd$
|
||||
nummaxdevices: 20
|
||||
- devicematch: ^rtc0$
|
||||
@@ -18,7 +18,7 @@ config:
|
||||
- devicematch: ^ttyACM[0-9]*$
|
||||
nummaxdevices: 1
|
||||
```
|
||||
The above configuration allows up to twenty pods to make use of `/dev/snd`, `/dev/rtc0` and each of `/dev/video[0-9]*` devices.
|
||||
The above configuration allows up to twenty pods to make use of `/dev/snd`, `/dev/rtc0` and each of `/dev/video[0-9]*` devices.
|
||||
Only one pod at a time can use any of the discovered host `/dev/ttyACM[0-9]*` devices. This means that if a pod has reserved a dongle at `/dev/ttyACM0`, another pod requesting the same device will stay pending.
|
||||
|
||||
Once the devices are discovered, they will be added as allocatable resources to the nodes:
|
||||
@@ -35,8 +35,6 @@ Capacity:
|
||||
smarter-devices/ttyUSB-Z-Stick-Gen5: 1
|
||||
```
|
||||
|
||||
Please note that only the root of the host `/dev` directory is considered for discovery. _Therefore, `by-id` paths will not work and some `udev` rules may be necessary._
|
||||
|
||||
The hardware is requested by pods through `resources`, e.g.:
|
||||
```yaml
|
||||
resources:
|
||||
|
||||
@@ -1,36 +1,6 @@
|
||||
{{/* Make sure all variables are set properly */}}
|
||||
{{- include "common.values.setup" . }}
|
||||
|
||||
{{/* Host paths */}}
|
||||
{{- define "sdm.dev.volume" -}}
|
||||
name: host-dev
|
||||
hostPath:
|
||||
path: {{ .Values.devPath | default "/dev" }}
|
||||
{{- end -}}
|
||||
{{- define "sdm.sys.volume" -}}
|
||||
name: host-sys
|
||||
hostPath:
|
||||
path: {{ .Values.sysPath | default "/sys" }}
|
||||
{{- end -}}
|
||||
{{- define "sdm.device-plugins.volume" -}}
|
||||
name: host-device-plugins
|
||||
hostPath:
|
||||
path: {{ .Values.devicePluginPath | default "/var/lib/kubelet/device-plugins" }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "sdm.dev.volumeMount" -}}
|
||||
name: host-dev
|
||||
mountPath: /dev
|
||||
{{- end -}}
|
||||
{{- define "sdm.sys.volumeMount" -}}
|
||||
name: host-sys
|
||||
mountPath: /sys
|
||||
{{- end -}}
|
||||
{{- define "sdm.device-plugins.volumeMount" -}}
|
||||
name: host-device-plugins
|
||||
mountPath: /var/lib/kubelet/device-plugins
|
||||
{{- end -}}
|
||||
|
||||
{{/* Append host paths and the configMap to the additionalVolumes and additionalVolumeMounts */}}
|
||||
{{- define "sdm.configmap.volume" -}}
|
||||
name: configuration
|
||||
@@ -39,12 +9,6 @@ configMap:
|
||||
{{- end -}}
|
||||
|
||||
{{- $additionalVolumes := .Values.additionalVolumes -}}
|
||||
{{- $volume := include "sdm.dev.volume" . | fromYaml -}}
|
||||
{{- $additionalVolumes := append $additionalVolumes $volume -}}
|
||||
{{- $volume := include "sdm.sys.volume" . | fromYaml -}}
|
||||
{{- $additionalVolumes := append $additionalVolumes $volume -}}
|
||||
{{- $volume := include "sdm.device-plugins.volume" . | fromYaml -}}
|
||||
{{- $additionalVolumes := append $additionalVolumes $volume -}}
|
||||
{{- $volume := include "sdm.configmap.volume" . | fromYaml -}}
|
||||
{{- $additionalVolumes := append $additionalVolumes $volume -}}
|
||||
{{- $_ := set .Values "additionalVolumes" (deepCopy $additionalVolumes) -}}
|
||||
@@ -56,12 +20,6 @@ subPath: conf.yaml
|
||||
{{- end -}}
|
||||
|
||||
{{- $additionalVolumeMounts := .Values.additionalVolumeMounts -}}
|
||||
{{- $volumeMount := include "sdm.dev.volumeMount" . | fromYaml -}}
|
||||
{{- $additionalVolumeMounts := append $additionalVolumeMounts $volumeMount -}}
|
||||
{{- $volumeMount := include "sdm.sys.volumeMount" . | fromYaml -}}
|
||||
{{- $additionalVolumeMounts := append $additionalVolumeMounts $volumeMount -}}
|
||||
{{- $volumeMount := include "sdm.device-plugins.volumeMount" . | fromYaml -}}
|
||||
{{- $additionalVolumeMounts := append $additionalVolumeMounts $volumeMount -}}
|
||||
{{- $volumeMount := include "sdm.configmap.volumeMount" . | fromYaml -}}
|
||||
{{- $additionalVolumeMounts := append $additionalVolumeMounts $volumeMount -}}
|
||||
{{- $_ := set .Values "additionalVolumeMounts" (deepCopy $additionalVolumeMounts) -}}
|
||||
|
||||
@@ -6,33 +6,4 @@ metadata:
|
||||
{{- include "common.labels" . | nindent 4 }}
|
||||
data:
|
||||
conf.yaml: |
|
||||
{{- if not .Values.config }}
|
||||
- devicematch: ^snd$
|
||||
nummaxdevices: 20
|
||||
#- devicematch: ^gpiomem$
|
||||
# nummaxdevices: 40
|
||||
#- devicematch: ^gpiochip[0-9]*$
|
||||
# nummaxdevices: 20
|
||||
#- devicematch: ^hci[0-9]*$
|
||||
# nummaxdevices: 1
|
||||
#- devicematch: ^i2c-[0-9]*$
|
||||
# nummaxdevices: 1
|
||||
#- devicematch: ^rtc0$
|
||||
# nummaxdevices: 20
|
||||
#- devicematch: ^video[0-9]*$
|
||||
# nummaxdevices: 20
|
||||
#- devicematch: ^vchiq$
|
||||
# nummaxdevices: 20
|
||||
#- devicematch: ^vcsm.*$
|
||||
# nummaxdevices: 20
|
||||
- devicematch: ^ttyUSB.*$
|
||||
nummaxdevices: 1
|
||||
#- devicematch: ^ttyACM[0-9]*$
|
||||
# nummaxdevices: 1
|
||||
#- devicematch: ^ttyTHS[0-9]*$
|
||||
# nummaxdevices: 1
|
||||
#- devicematch: ^ttyS[0-9]*$
|
||||
# nummaxdevices: 1
|
||||
{{- else }}
|
||||
{{- toYaml .Values.config | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- .Values.config | nindent 4 }}
|
||||
|
||||
@@ -6,28 +6,50 @@
|
||||
#
|
||||
|
||||
image:
|
||||
# -- Configure the image
|
||||
repository: registry.gitlab.com/arm-research/smarter/smarter-device-manager
|
||||
tag: v1.1.2
|
||||
# -- Configure the image tag
|
||||
tag: v1.20.7
|
||||
# -- Configure the image pull policy
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
# Override default configuration
|
||||
# config:
|
||||
# - devicematch: ^snd$
|
||||
# nummaxdevices: 20
|
||||
# - devicematch: ^ttyUSB.*$
|
||||
# nummaxdevices: 1
|
||||
# -- Override default configuration
|
||||
# See [project repo](https://gitlab.com/arm-research/smarter/smarter-device-manager) for configuration examples
|
||||
# @default -- Refer to values.yaml
|
||||
config: |
|
||||
- devicematch: ^ttyUSB.*$
|
||||
nummaxdevices: 1
|
||||
|
||||
hostNetwork: true
|
||||
dnsPolicy: ClusterFirstWithHostNet
|
||||
|
||||
devicePluginPath: "/var/lib/kubelet/device-plugins"
|
||||
# devPath: "/special-dev/"
|
||||
# sysPath: "/special-sys/"
|
||||
# -- Configures the host paths that are mapped through to the container
|
||||
# @default -- Refer to values.yaml
|
||||
hostPathMounts:
|
||||
- name: "devfs"
|
||||
enabled: true
|
||||
emptyDir: false
|
||||
mountPath: "/dev"
|
||||
hostPath: "/dev"
|
||||
readOnly: true
|
||||
- name: "sysfs"
|
||||
enabled: true
|
||||
emptyDir: false
|
||||
mountPath: "/sys"
|
||||
hostPath: "/sys"
|
||||
readOnly: true
|
||||
- name: "kubeletsockets"
|
||||
enabled: true
|
||||
emptyDir: false
|
||||
mountPath: "/var/lib/kubelet/device-plugins"
|
||||
hostPath: "/var/lib/kubelet/device-plugins"
|
||||
|
||||
# Setting priority class is not necessary, but is recommended.
|
||||
# Ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
|
||||
# -- Setting priority class is not necessary, but is recommended.
|
||||
# [[Ref]](https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/)
|
||||
priorityClassName: system-node-critical
|
||||
|
||||
# -- Configure the securityContext for this pod
|
||||
# @default -- Refer to values.yaml
|
||||
securityContext:
|
||||
capabilities:
|
||||
drop:
|
||||
|
||||
@@ -2,7 +2,7 @@ apiVersion: v2
|
||||
appVersion: latest
|
||||
description: An organizer for your porn, written in Go
|
||||
name: stash
|
||||
version: 1.3.0
|
||||
version: 1.3.1
|
||||
kubeVersion: ">=1.16.0-0"
|
||||
keywords:
|
||||
- porn
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user