Compare commits

...

5 Commits

Author SHA1 Message Date
ᗪєνιη ᗷυнʟ
d81c4b586f [common] 3.0.1 (#591) 2021-02-16 06:58:53 +01:00
Antoine Bertin
a4b4eee806 [oauth2-proxy] add support for ingressClassName (#592) 2021-02-15 18:17:57 -05:00
charlie-haley
bb810f947a [omada-controller] - Add chart (#588) 2021-02-15 15:47:16 -05:00
ᗪєνιη ᗷυнʟ
951cdba374 [actions] remove updating timestamps in index.yaml (#585)
* actions: remove updating timestamps

* Update charts-release.yaml
2021-02-14 17:13:55 +01:00
Ryan Turner
d297f8b474 chore: fix chart home URL after it was missed (#583) 2021-02-13 19:29:16 -05:00
17 changed files with 162 additions and 49 deletions

View File

@@ -45,46 +45,12 @@ jobs:
uses: azure/setup-helm@v1
with:
version: v3.4.0
# Waiting on new version to be released that supports updating the genereated timestamp field
# https://github.com/helm/chart-releaser/issues/103
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.1.0
with:
charts_repo_url: https://k8s-at-home.com/charts/
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
# Update the generated timestamp in the index.yaml
# needed until https://github.com/helm/chart-releaser/issues/90
# or helm/chart-releaser-action supports this
post-release:
needs: release
runs-on: ubuntu-latest
steps:
- name: Block concurrent jobs
uses: softprops/turnstyle@v1
with:
continue-after-seconds: 180
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout
uses: actions/checkout@v2
with:
ref: "gh-pages"
fetch-depth: 0
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
- name: Commit and push timestamp updates
run: |
if [[ -f index.yaml ]]; then
git pull
export generated_date=$(date --utc +%FT%T.%9NZ)
sed -i -e "s/^generated:.*/generated: \"$generated_date\"/" index.yaml
git add index.yaml
git commit -sm "Update generated timestamp [ci-skip]" || exit 0
git push
fi

View File

@@ -1,8 +1,8 @@
apiVersion: v2
name: common-test
description: Helper chart to test different use cases of the common library
version: 1.0.3
kubeVersion: ">=1.16.0"
version: 1.0.4
kubeVersion: ">=1.16.0-0"
keywords:
- k8s-at-home
- common

View File

@@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [3.0.1]
### Fixed
- Fixed `kubeVersion` in `Chart.yaml` not working with people running k8s pre-releases
- Added `ingressClassName` to `values.yaml`
## [3.0.0]
### Changed
@@ -109,6 +116,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
This is the last version before starting this changelog. All sorts of cool stuff was changed, but only `git log` remembers what that was :slightly_frowning_face:
[3.0.1]: https://github.com/k8s-at-home/charts/tree/common-3.0.1/charts/common
[3.0.0]: https://github.com/k8s-at-home/charts/tree/common-3.0.0/charts/common
[2.5.1]: https://github.com/k8s-at-home/charts/tree/common-2.5.1/charts/common

View File

@@ -2,12 +2,12 @@ apiVersion: v2
name: common
description: Function library for k8s-at-home charts
type: library
version: 3.0.0
kubeVersion: ">=1.16.0"
version: 3.0.1
kubeVersion: ">=1.16.0-0"
keywords:
- k8s-at-home
- common
- k8s-at-home
- common
home: https://github.com/k8s-at-home/charts/tree/master/charts/common
maintainers:
- name: bjw-s
email: me@bjw-s.dev
- name: bjw-s
email: me@bjw-s.dev

View File

@@ -177,6 +177,7 @@ ingress:
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
labels: {}
# ingressClassName: "nginx"
hosts:
- host: chart-example.local
## Or a tpl that is evaluated

View File

@@ -1,5 +1,5 @@
name: oauth2-proxy
version: 4.3.0
version: 4.4.0
apiVersion: v1
appVersion: 5.1.0
home: https://oauth2-proxy.github.io/oauth2-proxy/

View File

@@ -87,6 +87,7 @@ Parameter | Description | Default
`image.tag` | Image tag | `v5.1.0`
`imagePullSecrets` | Specify image pull secrets | `nil` (does not add image pull secrets to deployed pods)
`ingress.enabled` | Enable Ingress | `false`
`ingress.ingressClassName` | Set ingressClassName | `nil`
`ingress.path` | Ingress accepted path | `/`
`ingress.extraPaths` | Ingress extra paths to prepend to every host configuration. Useful when configuring [custom actions with AWS ALB Ingress Controller](https://kubernetes-sigs.github.io/aws-alb-ingress-controller/guide/ingress/annotation/#actions). | `[]`
`ingress.annotations` | Ingress annotations | `nil`

View File

@@ -21,6 +21,11 @@ metadata:
{{ toYaml . | indent 4 }}
{{- end }}
spec:
{{- if .Capabilities.APIVersions.Has "networking.k8s.io/v1" -}}
{{- if .Values.ingress.ingressClassName }}
ingressClassName: {{ .Values.ingress.ingressClassName }}
{{- end }}
{{- end }}
rules:
{{- range $host := .Values.ingress.hosts }}
- host: {{ $host | quote }}

View File

@@ -99,6 +99,8 @@ ingress:
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
# Define the ingressClassName
# ingressClassName: nginx
resources: {}
# limits:

View File

@@ -0,0 +1,20 @@
apiVersion: v2
appVersion: 4.2.11
description: Omada enables the network administrators to monitor and manage all the Omada products in the network with a centralized management platform.
name: omada-controller
version: 1.0.0
kubeVersion: ">=1.16.0"
keywords:
- omada-controller
home: https://github.com/k8s-at-home/charts/tree/master/charts/omada-controller
icon: https://www.tp-link.com/assets/images/icon/logo-white.svg
sources:
- https://github.com/omada-controller/omada-controller-docker
- https://github.com/k8s-at-home/charts/tree/master/charts/omada-controller
maintainers:
- name: charlie-haley
email: charlie-haley@users.noreply.github.com
dependencies:
- name: common
repository: https://k8s-at-home.com/charts/
version: 3.0.0

View File

@@ -0,0 +1,8 @@
approvers:
- billimek
- onedr0p
- bjw-s
reviewers:
- billimek
- onedr0p
- bjw-s

View File

@@ -0,0 +1,68 @@
# omada-controller
This is a helm chart for [omada-controller](https://github.com/mbentley/docker-omada-controller).
**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)**
## TL;DR;
```shell
$ helm repo add k8s-at-home https://k8s-at-home.com/charts/
$ helm install k8s-at-home/omada-controller
```
## Installing the Chart
To install the chart with the release name `my-release`:
```console
helm install --name my-release k8s-at-home/omada-controller
```
## Uninstalling the Chart
To uninstall/delete the `my-release` deployment:
```console
helm delete my-release --purge
```
The command removes all the Kubernetes components associated with the chart and deletes the release.
## Configuration
Read through the charts [values.yaml](https://github.com/k8s-at-home/charts/blob/master/charts/omada-controller/values.yaml)
file. It has several commented out suggested values.
Additionally you can take a look at the common library [values.yaml](https://github.com/k8s-at-home/charts/blob/master/charts/common/values.yaml) for more (advanced) configuration options.
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
```console
helm install omada-controller \
--set env.TZ="America/New_York" \
k8s-at-home/omada-controller
```
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the
chart. For example,
```console
helm install omada-controller k8s-at-home/omada-controller --values values.yaml
```
These values will be nested as it is a dependency, for example
```yaml
image:
tag: ...
```
---
**NOTE**
If you get
```console
Error: rendered manifests contain a resource that already exists. Unable to continue with install: existing resource conflict: ...`
```
it may be because you uninstalled the chart with `skipuninstall` enabled, you need to manually delete the pvc or use `existingClaim`.
---
## Upgrading an existing Release to a new major version
A major chart version change (like 4.0.1 -> 5.0.0) indicates that there is an incompatible breaking change potentially needing manual actions.

View File

@@ -0,0 +1 @@
{{- include "common.notes.defaultNotes" . -}}

View File

@@ -0,0 +1 @@
{{ include "common.all" . }}

View File

@@ -0,0 +1,31 @@
#
# IMPORTANT NOTE
#
# This chart inherits from our common library chart. You can check the default values/options here:
# https://github.com/k8s-at-home/charts/tree/master/charts/common/values.yaml
#
image:
repository: mbentley/omada-controller
pullPolicy: IfNotPresent
tag: 4.2
strategy:
type: Recreate
# See more environment variables in the omada-controller documentation
# https://github.com/mbentley/docker-omada-controller
env: {}
# TZ:
service:
port:
port: 8043
ingress:
enabled: false
persistence:
data:
enabled: false
emptyDir: false

View File

@@ -2,13 +2,13 @@ apiVersion: v2
appVersion: 3.0.4.993
description: Smart PVR for newsgroup and bittorrent users
name: sonarr
version: 9.0.0
version: 9.0.1
kubeVersion: ">=1.16.0"
keywords:
- sonarr
- torrent
- usenet
home: https://github.com/k8s-at-home/charts/tree/master/charts/media-common/sonarr
home: https://github.com/k8s-at-home/charts/tree/master/charts/sonarr
icon: https://github.com/Sonarr/Sonarr/blob/phantom-develop/Logo/512.png?raw=true
sources:
- https://github.com/Sonarr/Sonarr

View File

@@ -3,7 +3,7 @@ appVersion: 1.0.0
description: ${CHARTNAME} helm package
name: ${CHARTNAME}
version: 1.0.0
kubeVersion: ">=1.16.0"
kubeVersion: ">=1.16.0-0"
keywords:
- ${CHARTNAME}
home: https://github.com/k8s-at-home/charts/tree/master/charts/${CHARTNAME}