Compare commits

...

6 Commits

Author SHA1 Message Date
k8s-at-home[bot]
86e5851a3c Auto-generate chart README [no ci] 2021-06-22 08:48:21 +00:00
Angel Nunez Mencias
d4bfcc43a8 [multus] Update to common-v3 (#1040)
* [multus] Update to common-v3

Co-authored-by: angelnu <git@angelnucom>
2021-06-22 10:47:56 +02:00
Angel Nunez Mencias
1659f3c867 [paperless] Update to common-v3 (#1039)
* [paperless] Update to common-v3

Co-authored-by: angelnu <git@angelnucom>
2021-06-22 10:42:02 +02:00
allcontributors[bot]
750d536fbd docs: add jmmaloney4 as a contributor for code (#1045)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2021-06-21 15:22:12 +02:00
k8s-at-home[bot]
1a86731252 Auto-generate chart README [no ci] 2021-06-21 13:11:18 +00:00
Jack Maloney
e5a2f699e5 [pod-gateway] Fix bug with multiple strategy definitions in webhook-deployment.yaml (#1042)
Co-authored-by: Angel Nunez Mencias <git@angelnu.com>
2021-06-21 15:10:56 +02:00
16 changed files with 211 additions and 140 deletions

View File

@@ -256,6 +256,15 @@
"contributions": [
"code"
]
},
{
"login": "jmmaloney4",
"name": "Jack Maloney",
"avatar_url": "https://avatars.githubusercontent.com/u/5781547?v=4",
"profile": "https://github.com/jmmaloney4",
"contributions": [
"code"
]
}
],
"contributorsPerLine": 7,

View File

@@ -1,6 +1,6 @@
# Helm charts
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
[![All Contributors](https://img.shields.io/badge/all_contributors-28-orange.svg?style=flat-square)](#contributors-)
[![All Contributors](https://img.shields.io/badge/all_contributors-29-orange.svg?style=flat-square)](#contributors-)
<!-- ALL-CONTRIBUTORS-BADGE:END -->
[![docs](https://img.shields.io/badge/docs-rtfm-yellow?logo=gitbook&logoColor=white&style=for-the-badge)](https://docs.k8s-at-home.com/)
@@ -83,6 +83,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
<td align="center"><a href="https://github.com/brandon099"><img src="https://avatars.githubusercontent.com/u/1628223?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Brandon Clifford</b></sub></a><br /><a href="https://github.com/k8s-at-home/charts/commits?author=brandon099" title="Code">💻</a></td>
<td align="center"><a href="http://www.voltaicforge.com"><img src="https://avatars.githubusercontent.com/u/19149206?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Nat Allan</b></sub></a><br /><a href="https://github.com/k8s-at-home/charts/commits?author=Truxnell" title="Code">💻</a></td>
</tr>
<tr>
<td align="center"><a href="https://github.com/jmmaloney4"><img src="https://avatars.githubusercontent.com/u/5781547?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Jack Maloney</b></sub></a><br /><a href="https://github.com/k8s-at-home/charts/commits?author=jmmaloney4" title="Code">💻</a></td>
</tr>
</table>
<!-- markdownlint-restore -->

View File

@@ -2,7 +2,7 @@ apiVersion: v2
appVersion: v3.7.1
description: multus CNI allows multiple NICs per pod
name: multus
version: 1.1.0
version: 2.0.0
kubeVersion: ">=1.16.0-0"
keywords:
- multus
@@ -16,4 +16,4 @@ maintainers:
dependencies:
- name: common
repository: https://library-charts.k8s-at-home.com
version: 2.5.0
version: 3.2.0

View File

@@ -1,6 +1,6 @@
# multus
![Version: 1.1.0](https://img.shields.io/badge/Version-1.1.0-informational?style=flat-square) ![AppVersion: v3.7.1](https://img.shields.io/badge/AppVersion-v3.7.1-informational?style=flat-square)
![Version: 2.0.0](https://img.shields.io/badge/Version-2.0.0-informational?style=flat-square) ![AppVersion: v3.7.1](https://img.shields.io/badge/AppVersion-v3.7.1-informational?style=flat-square)
multus CNI allows multiple NICs per pod
@@ -18,7 +18,7 @@ Kubernetes: `>=1.16.0-0`
| Repository | Name | Version |
|------------|------|---------|
| https://library-charts.k8s-at-home.com | common | 2.5.0 |
| https://library-charts.k8s-at-home.com | common | 3.2.0 |
## TL;DR
@@ -91,33 +91,15 @@ rm -rf /var/lib/rancher/k3s/agent/etc/cni/net.d/*multus*
| 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"` | |
| cni.image.pullPolicy | string | `"IfNotPresent"` | CNI installer pull policy |
| cni.image.repository | string | `"ghcr.io/k8s-at-home/cni-plugins"` | CNI installer repostory |
| cni.image.tag | string | `"v0.9.1"` | CNI installer tag |
| cni.paths.bin | string | `"/var/lib/rancher/k3s/data/current/bin"` | CNI plugin binaries folder for k3s. Change to `/opt/cni/bin` for non k3s |
| cni.paths.config | string | `"/var/lib/rancher/k3s/agent/etc/cni/net.d"` | CNI config folder for k3s. Change to `/etc/cni/net.d` for non k3s |
| cni.paths.version | string | `"0.3.1"` | CNI interface version |
| image.pullPolicy | string | `"IfNotPresent"` | multus installer pull policy |
| image.repository | string | `"ghcr.io/k8snetworkplumbingwg/multus-cni"` | multus installer repostory |
| image.tag | string | `"v3.7.1"` | multus installer tag |
## Changelog
@@ -125,6 +107,13 @@ 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]
#### Changed
- **BREAKING**: Upgraded the common library dependency to version 3.2.0. This introduces several breaking changes (`service`, `ingress` and `persistence` keys have been refactored).
Be sure to check out the [library chart](https://github.com/k8s-at-home/library-charts/blob/common-3.2.0/charts/stable/common/) for the up-to-date values.
### [1.0.0]
#### Added

View File

@@ -9,6 +9,13 @@ 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]
#### Changed
- **BREAKING**: Upgraded the common library dependency to version 3.2.0. This introduces several breaking changes (`service`, `ingress` and `persistence` keys have been refactored).
Be sure to check out the [library chart](https://github.com/k8s-at-home/library-charts/blob/common-3.2.0/charts/stable/common/) for the up-to-date values.
### [1.0.0]
#### Added

View File

@@ -1,2 +1,74 @@
{{/* Make sure all variables are set properly */}}
{{- include "common.values.setup" . }}
{{/* Append the hardcoded settings */}}
{{- define "multus.harcodedValues" -}}
controller:
# -- deploy to all nodes
type: daemonset
# -- Init container that installs reference CNI plugins
initContainers:
- name: cni-installer
# -- CNI installer image
image: {{ .Values.cni.image.repository }}:{{ .Values.cni.image.tag }}
pullPolicy: {{ .Values.cni.image.pullPolicy }}
# -- Mounts host CNI binary folder
volumeMounts:
- name: cnibin
mountPath: /host/opt/cni/bin
# -- Command used by the Multus installer
command:
- /entrypoint.sh
# -- Arguments used by the Multus installer.
# See https://github.com/k8snetworkplumbingwg/multus-cni/blob/master/docs/how-to-use.md
# If you are not using k3s you will need to adjust the multus-kubeconfig.
args:
- "--multus-conf-file=auto"
- "--cleanup-config-on-exit=true"
- "--cni-version={{ .Values.cni.version }}"
- "--multus-kubeconfig-file-host={{ .Values.cni.paths.config }}/multus.d/multus.kubeconfig"
# -- Need to run as privileged to install
securityContext:
privileged: true
# -- Configures volumes used by the multus installer.
persistence:
cni:
enabled: true
type: hostPath
hostPath: {{ .Values.cni.paths.config }}
hostPathType: Directory
mountPath: /host/etc/cni/net.d
cnibin:
enabled: true
type: hostPath
hostPath: {{ .Values.cni.paths.bin }}
hostPathType: Directory
mountPath: /host/opt/cni/bin
serviceAccount:
# -- create needed service account
create: true
# -- Disable probes as installer completes after installing
probes:
liveness:
enabled: false
readiness:
enabled: false
startup:
enabled: false
# -- Disable probes as installer completes after installing
service:
main:
enabled: false
{{- end -}}
{{- $_ := mergeOverwrite .Values (include "multus.harcodedValues" . | fromYaml) -}}
{{/* Render the templates */}}
{{ include "common.all" . }}

View File

@@ -22,11 +22,11 @@ spec:
- 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) }}
- name: cni
mountPath: /host/etc/cni/net.d
volumes:
{{- . | nindent 8 }}
{{- end }}
- name: cni
hostPath:
path: {{ .Values.cni.paths.config }}
type: Directory

View File

@@ -6,64 +6,30 @@
#
image:
# -- multus installer repostory
repository: ghcr.io/k8snetworkplumbingwg/multus-cni
# -- multus installer tag
tag: v3.7.1
# -- multus installer pull policy
pullPolicy: IfNotPresent
controllerType: daemonset
cni:
image:
# -- CNI installer repostory
repository: ghcr.io/k8s-at-home/cni-plugins
# -- CNI installer tag
tag: v0.9.1
# -- CNI installer pull policy
pullPolicy: IfNotPresent
serviceAccount:
create: true
paths:
# -- CNI config folder for k3s.
# Change to `/etc/cni/net.d` for non k3s
config: /var/lib/rancher/k3s/agent/etc/cni/net.d
# -- 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
# -- CNI plugin binaries folder for k3s.
# Change to `/opt/cni/bin` for non k3s
bin: /var/lib/rancher/k3s/data/current/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
# -- CNI interface version
version: "0.3.1"

View File

@@ -2,7 +2,7 @@ apiVersion: v2
appVersion: 1.0.0
description: Paperless - Index and archive all of your scanned paper documents
name: paperless
version: 5.4.0
version: 6.0.0
kubeVersion: ">=1.16.0-0"
keywords:
- paperless
@@ -15,4 +15,4 @@ maintainers:
dependencies:
- name: common
repository: https://library-charts.k8s-at-home.com
version: 2.5.0
version: 3.2.0

View File

@@ -1,6 +1,6 @@
# paperless
![Version: 5.4.0](https://img.shields.io/badge/Version-5.4.0-informational?style=flat-square) ![AppVersion: 1.0.0](https://img.shields.io/badge/AppVersion-1.0.0-informational?style=flat-square)
![Version: 6.0.0](https://img.shields.io/badge/Version-6.0.0-informational?style=flat-square) ![AppVersion: 1.0.0](https://img.shields.io/badge/AppVersion-1.0.0-informational?style=flat-square)
Paperless - Index and archive all of your scanned paper documents
@@ -18,7 +18,7 @@ Kubernetes: `>=1.16.0-0`
| Repository | Name | Version |
|------------|------|---------|
| https://library-charts.k8s-at-home.com | common | 2.5.0 |
| https://library-charts.k8s-at-home.com | common | 3.2.0 |
## TL;DR
@@ -75,30 +75,20 @@ N/A
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| additionalContainers[0].image | string | `"redis:6.0"` | |
| additionalContainers[0].imagePullPolicy | string | `"IfNotPresent"` | |
| additionalContainers[0].name | string | `"broker"` | |
| env.COMPOSE_PROJECT_NAME | string | `"paperless"` | |
| env.PAPERLESS_OCR_LANGUAGE | string | `"eng"` | |
| env.PAPERLESS_REDIS | string | `"redis://localhost:6379"` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"jonaswinkler/paperless-ng"` | |
| image.tag | string | `"latest"` | |
| ingress.enabled | bool | `false` | |
| persistence.consume.emptyDir.enabled | bool | `false` | |
| persistence.consume.enabled | bool | `false` | |
| persistence.consume.mountPath | string | `"/usr/src/paperless/consume"` | |
| persistence.data.emptyDir.enabled | bool | `false` | |
| persistence.data.enabled | bool | `false` | |
| persistence.data.mountPath | string | `"/usr/src/paperless/data"` | |
| persistence.export.emptyDir.enabled | bool | `false` | |
| persistence.export.enabled | bool | `false` | |
| persistence.export.mountPath | string | `"/usr/src/paperless/export"` | |
| persistence.media.emptyDir.enabled | bool | `false` | |
| persistence.media.enabled | bool | `false` | |
| persistence.media.mountPath | string | `"/usr/src/paperless/media"` | |
| service.port.port | int | `8000` | |
| strategy.type | string | `"Recreate"` | |
| additionalContainers | list | See values.yaml | Deploy local redis instance. |
| env | object | See below | See the following files for additional environment variables: https://github.com/jonaswinkler/paperless-ng/tree/master/docker/compose/ https://github.com/jonaswinkler/paperless-ng/blob/master/paperless.conf.example |
| env.COMPOSE_PROJECT_NAME | string | `"paperless"` | Project name |
| env.PAPERLESS_OCR_LANGUAGE | string | `"eng"` | OCR languages to install |
| env.PAPERLESS_REDIS | string | `"redis://localhost:6379"` | Redis to use |
| image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
| image.repository | string | `"jonaswinkler/paperless-ng"` | image repository |
| image.tag | string | `"1.4.5"` | image tag |
| ingress.main | object | See values.yaml | Enable and configure ingress settings for the chart under this key. |
| persistence.consume | object | See values.yaml | Configure volume to monitor for new documents. |
| persistence.data | object | See values.yaml | Configure persistence for data. |
| persistence.export | object | See values.yaml | Configure export volume. |
| persistence.media | object | See values.yaml | Configure persistence for media. |
| service | object | See values.yaml | Configures service settings for the chart. |
## Changelog
@@ -106,6 +96,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).
### [6.0.0]
#### Changed
- **BREAKING**: Upgraded the common library dependency to version 3.2.0. This introduces several breaking changes (`service`, `ingress` and `persistence` keys have been refactored).
Be sure to check out the [library chart](https://github.com/k8s-at-home/library-charts/blob/common-3.2.0/charts/stable/common/) for the up-to-date values.
- Changed the image tag to `1.4.5`.
### [5.3.2]
#### Added

View File

@@ -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).
### [6.0.0]
#### Changed
- **BREAKING**: Upgraded the common library dependency to version 3.2.0. This introduces several breaking changes (`service`, `ingress` and `persistence` keys have been refactored).
Be sure to check out the [library chart](https://github.com/k8s-at-home/library-charts/blob/common-3.2.0/charts/stable/common/) for the up-to-date values.
- Changed the image tag to `1.4.5`.
### [5.3.2]
#### Added

View File

@@ -1,17 +1,13 @@
persistence:
data:
enabled: true
emptyDir:
enabled: true
type: emptyDir
media:
enabled: true
emptyDir:
enabled: true
type: emptyDir
consume:
enabled: true
emptyDir:
enabled: true
type: emptyDir
export:
enabled: true
emptyDir:
enabled: true
type: emptyDir

View File

@@ -6,53 +6,78 @@
#
image:
# -- image repository
repository: jonaswinkler/paperless-ng
# -- image pull policy
pullPolicy: IfNotPresent
tag: latest
# -- image tag
tag: 1.4.5
strategy:
type: Recreate
# See the following files for additional environment variables
# -- See the following files for additional environment variables:
# https://github.com/jonaswinkler/paperless-ng/tree/master/docker/compose/
# https://github.com/jonaswinkler/paperless-ng/blob/master/paperless.conf.example
# @default -- See below
env:
# -- Project name
COMPOSE_PROJECT_NAME: paperless
# -- Redis to use
PAPERLESS_REDIS: redis://localhost:6379
# -- OCR languages to install
PAPERLESS_OCR_LANGUAGE: eng
# USERMAP_UID: 1000
# USERMAP_GID: 1000
# PAPERLESS_TIME_ZONE: Europe/London
# -- Configures service settings for the chart.
# @default -- See values.yaml
service:
port:
port: 8000
main:
ports:
http:
port: 8000
ingress:
enabled: false
# -- Enable and configure ingress settings for the chart under this key.
# @default -- See values.yaml
main:
enabled: false
persistence:
# -- Configure persistence for data.
# @default -- See values.yaml
data:
enabled: false
mountPath: /usr/src/paperless/data
accessMode: ReadWriteOnce
emptyDir:
enabled: false
# -- Configure persistence for media.
# @default -- See values.yaml
media:
enabled: false
mountPath: /usr/src/paperless/media
accessMode: ReadWriteOnce
emptyDir:
enabled: false
# -- Configure volume to monitor for new documents.
# @default -- See values.yaml
consume:
enabled: false
mountPath: /usr/src/paperless/consume
accessMode: ReadWriteOnce
emptyDir:
enabled: false
# -- Configure export volume.
# @default -- See values.yaml
export:
enabled: false
mountPath: /usr/src/paperless/export
accessMode: ReadWriteOnce
emptyDir:
enabled: false
# -- Deploy local redis instance.
# @default -- See values.yaml
additionalContainers:
- name: broker
image: redis:6.0

View File

@@ -2,7 +2,7 @@ apiVersion: v2
appVersion: 1.2.6
description: Admision controller to change the default gateway and DNS server of PODs
name: pod-gateway
version: 3.2.0
version: 3.2.1
kubeVersion: ">=1.16.0-0"
keywords:
- pod-gateway

View File

@@ -1,6 +1,6 @@
# pod-gateway
![Version: 3.2.0](https://img.shields.io/badge/Version-3.2.0-informational?style=flat-square) ![AppVersion: 1.2.6](https://img.shields.io/badge/AppVersion-1.2.6-informational?style=flat-square)
![Version: 3.2.1](https://img.shields.io/badge/Version-3.2.1-informational?style=flat-square) ![AppVersion: 1.2.6](https://img.shields.io/badge/AppVersion-1.2.6-informational?style=flat-square)
Admision controller to change the default gateway and DNS server of PODs

View File

@@ -103,5 +103,3 @@ spec:
terminationMessagePolicy: File
imagePullPolicy: {{ .Values.image.pullPolicy }}
restartPolicy: Always
strategy:
type: {{ .Values.webhook.strategy.type }}