Compare commits

...

23 Commits

Author SHA1 Message Date
ca8620cafe feat: replace deprecated Unifi controller with Unifi Network Application (#77) 2024-07-13 15:18:51 +00:00
c3ae45852d chore: bump freshrss to 1.24.1 (#76) 2024-06-06 20:34:35 +00:00
f805f9d579 chore: bump jellyfin to 10.9.6 (#75) 2024-06-06 20:32:08 +00:00
0cde0b894a chore: bump jellyfin to 10.9.5 (#74) 2024-06-06 20:30:02 +00:00
b53fb31cf6 chore: bump jellyfin to 10.9.4 (#73) 2024-06-06 20:27:56 +00:00
1203b8a693 chore: bump jellyfin to 10.9.3 (#72) 2024-05-27 19:22:34 +00:00
e609c9f122 chore: bump jellyfin to 10.9.2 (#71) 2024-05-25 16:30:48 +00:00
1577d19b31 chore: bump freshrss to 1.24.0 (#70) 2024-05-25 16:24:34 +00:00
8404c02d02 chore: bump pgadmin to 8.5 (#69) 2024-04-06 16:07:31 +00:00
8d96241dc9 chore: update tandoor-recipes to 1.5.16 (#68)
update bitnami-postgresql to 15.2.4
revert startupProbe to readinessProbe
2024-04-06 16:04:35 +00:00
b70163cea1 fix: increase startupProbe failureThreshold (#67) 2024-03-18 20:08:50 +00:00
25c69e5cb3 chore: bump pgadmin to 8.4 (#66) 2024-03-16 18:05:09 +00:00
4ec99d4e9a chore: bump pgadmin to 8.3 (#65) 2024-03-16 18:03:27 +00:00
515ccba8b7 chore: bump silverbullet to 0.7.6 (#64) 2024-03-16 17:54:10 +00:00
829030e476 chore: bump tandoor 1.5.14 (#63) 2024-03-16 17:29:41 +00:00
85673aae0a chore: bump tandoor-recipes to 1.5.13 (#62) 2024-03-16 16:20:51 +00:00
0edd260675 chore: bump tandoor-recipes to 1.5.12 (#61) 2024-03-16 16:17:45 +00:00
2e0637bcd7 chore: upgrade postgresql chart to 14.3.3 (#60) 2024-03-16 16:14:16 +00:00
cb85166fd3 chore: upgrade actions/checkout to v4 (#59) 2024-03-06 21:47:55 +00:00
b25ecdc938 chore: bump silverbullet to 0.7.5 (#58) 2024-02-29 23:08:42 +00:00
b1403ccd9c chore: bump silverbullet to 0.7.3 (#57) 2024-02-27 19:21:10 +00:00
2c625fe9ae chore: bump helm in workflows to 3.14.1 (#56) 2024-02-14 21:57:00 +00:00
3909f439ed chore: update setup-helm action to v4 (#55) 2024-02-14 21:49:47 +00:00
18 changed files with 176 additions and 34 deletions

View File

@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0
@ -24,9 +24,9 @@ jobs:
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
- name: Install Helm
uses: azure/setup-helm@v3
uses: azure/setup-helm@v4.0.0 # using exact version because of https://github.com/Azure/setup-helm/issues/126
with:
version: v3.14.0
version: v3.14.1
- name: Add Bitnami Helm Repo
run: helm repo add bitnami https://charts.bitnami.com/bitnami

View File

@ -10,14 +10,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Helm
uses: azure/setup-helm@v3
uses: azure/setup-helm@v4.0.0 # using exact version because of https://github.com/Azure/setup-helm/issues/126
with:
version: v3.14.0
version: v3.14.1
- name: Lint charts
run: helm lint charts/*

View File

@ -23,10 +23,10 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.3.1
version: 1.4.1
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "1.23.1"
appVersion: "1.24.1"

View File

@ -1,6 +1,6 @@
# freshrss
![Version: 1.1.0](https://img.shields.io/badge/Version-1.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.21.0](https://img.shields.io/badge/AppVersion-1.21.0-informational?style=flat-square)
![Version: 1.4.1](https://img.shields.io/badge/Version-1.4.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.24.1](https://img.shields.io/badge/AppVersion-1.24.1-informational?style=flat-square)
A Helm chart for FreshRSS
@ -64,5 +64,3 @@ A Helm chart for FreshRSS
| strategy.type | string | `"Recreate"` | |
| tolerations | list | `[]` | |
----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0)

View File

@ -25,10 +25,10 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.1.1
version: 1.2.4
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "10.8.13"
appVersion: "10.9.6"

View File

@ -1,6 +1,6 @@
# jellyfin
![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 10.8.11](https://img.shields.io/badge/AppVersion-10.8.11-informational?style=flat-square)
![Version: 1.2.4](https://img.shields.io/badge/Version-1.2.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 10.9.6](https://img.shields.io/badge/AppVersion-10.9.6-informational?style=flat-square)
A Helm chart for Jellyfin, the Free Software Media System that puts you in control of managing and streaming your media.
@ -27,6 +27,7 @@ A Helm chart for Jellyfin, the Free Software Media System that puts you in contr
| ingress.hosts[0].paths[0].path | string | `"/"` | |
| ingress.hosts[0].paths[0].pathType | string | `"ImplementationSpecific"` | |
| ingress.tls | list | `[]` | |
| jellyfin.publishedServerUrl | string | `""` | See PublishedServerUrl at https://jellyfin.org/docs/general/administration/configuration#main-configuration-options |
| nameOverride | string | `""` | |
| nodeSelector | object | `{}` | |
| persistence.cache | object | `{"accessMode":"ReadWriteOnce","annotations":{},"enabled":false,"existingClaim":"","size":"10Gi","storageClass":""}` | Persistence config for the /cache volume |
@ -34,10 +35,9 @@ A Helm chart for Jellyfin, the Free Software Media System that puts you in contr
| persistence.media | object | `{"accessMode":"ReadWriteOnce","annotations":{},"enabled":false,"existingClaim":"","size":"10Gi","storageClass":""}` | Persistence config for the /media volume |
| podAnnotations | object | `{}` | |
| podSecurityContext | object | `{}` | |
| replicaCount | int | `1` | |
| resources | object | `{}` | |
| securityContext.fsGroup | int | `1000` | |
| securityContext.readOnlyRootFilesystem | bool | `false` | |
| securityContext.runAsGroup | int | `1000` | |
| securityContext.runAsNonRoot | bool | `true` | |
| securityContext.runAsUser | int | `1000` | |
| service.port | int | `8096` | |
@ -47,5 +47,3 @@ A Helm chart for Jellyfin, the Free Software Media System that puts you in contr
| serviceAccount.name | string | `""` | The name of the service account to use. If not set and create is true, a name is generated using the fullname template |
| tolerations | list | `[]` | |
----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0)

View File

@ -24,10 +24,10 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 2.2.0
version: 2.5.0
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "8.2"
appVersion: "8.5"

View File

@ -22,10 +22,10 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.0
version: 0.1.3
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "0.7.1"
appVersion: "0.7.6"

View File

@ -1,6 +1,6 @@
dependencies:
- name: postgresql
repository: https://charts.bitnami.com/bitnami
version: 12.12.10
digest: sha256:c46f569535f1fbc2cbd743df1c0c38af969b6f82d638705af20aaba0af03d71b
generated: "2024-01-20T17:18:32.741753422Z"
version: 15.2.4
digest: sha256:4c9000555069870f9a043b345251dfe8634bc00e008a87d01ac95bfb5c81bba2
generated: "2024-04-06T16:59:33.832232151+01:00"

View File

@ -16,16 +16,16 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.2
version: 1.0.0
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "1.5.11"
appVersion: "1.5.16"
dependencies:
- name: postgresql
version: ^12.12.10
version: ^15.2.4
repository: https://charts.bitnami.com/bitnami
condition: postgresql.enabled

View File

@ -67,11 +67,11 @@ spec:
key: password
livenessProbe:
httpGet:
path: /
path: /accounts/login/
port: http
readinessProbe:
httpGet:
path: /
path: /accounts/login/
port: http
resources:
{{- toYaml .Values.resources | nindent 12 }}

View File

@ -1 +1,2 @@
values.test.yaml
charts/*.tgz

View File

@ -0,0 +1,6 @@
dependencies:
- name: mongodb
repository: https://charts.bitnami.com/bitnami
version: 15.3.0
digest: sha256:f6cc8e47d7f68e327889b4807f488a346c70c7da8c80ea623aa7a1a8c6d95877
generated: "2024-05-10T21:31:20.762106802+01:00"

View File

@ -15,10 +15,16 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 2.0.0
version: 3.0.0
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "8.0.7"
appVersion: "8.1.127"
dependencies:
- name: mongodb
version: ^15.3.0
repository: https://charts.bitnami.com/bitnami
condition: mongodb.enabled

View File

@ -60,3 +60,81 @@ Create the name of the service account to use
{{- default "default" .Values.serviceAccount.name }}
{{- end }}
{{- 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).
*/}}
{{- define "unifi-controller.mongodb.fullname" -}}
{{- printf "%s-%s" .Release.Name "mongodb" | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{/*
Set mongodb host
*/}}
{{- define "unifi-controller.mongodb.host" -}}
{{- if .Values.mongodb.enabled -}}
{{- template "unifi-controller.mongodb.fullname" . -}}
{{- else -}}
{{ required "A valid externalMongodb.host is required" .Values.externalMongodb.host }}
{{- end -}}
{{- end -}}
{{/*
Set mongodb secret
*/}}
{{- define "unifi-controller.mongodb.secret" -}}
{{- if .Values.mongodb.enabled -}}
{{- template "unifi-controller.mongodb.fullname" . -}}
{{- else -}}
{{- template "unifi-controller.fullname" . -}}
{{- end -}}
{{- end -}}
{{/*
Set mongodb port
*/}}
{{- define "unifi-controller.mongodb.port" -}}
{{- if .Values.mongodb.enabled -}}
{{- if .Values.mongodb.service -}}
{{- .Values.mongodb.service.port | default 27017 }}
{{- else -}}
5432
{{- end -}}
{{- else -}}
{{- required "A valid externalMongodb.port is required" .Values.externalMongodb.port -}}
{{- end -}}
{{- end -}}
{{/*
Set mongodb username
*/}}
{{- define "unifi-controller.mongodb.username" -}}
{{- if .Values.mongodb.enabled -}}
{{ required "A valid mongodb.auth.usernames is required" (first .Values.mongodb.auth.usernames) }}
{{- else -}}
{{ required "A valid externalMongodb.username is required" .Values.externalMongodb.username }}
{{- end -}}
{{- end -}}
{{/*
Set mongodb password
*/}}
{{- define "unifi-controller.mongodb.password" -}}
{{- if .Values.mongodb.enabled -}}
{{ required "A valid mongodb.auth.passwords is required" (first .Values.mongodb.auth.passwords) }}
{{- else if not (and .Values.externalMongodb.existingSecret .Values.externalMongodb.existingSecretPasswordKey) -}}
{{ required "A valid externalMongodb.password is required" .Values.externalMongodb.password }}
{{- end -}}
{{- end -}}
{{/*
Set mongodb database
*/}}
{{- define "unifi-controller.mongodb.database" -}}
{{- if .Values.mongodb.enabled -}}
{{- (first .Values.mongodb.auth.databases) | default "unifi" }}
{{- else -}}
{{ required "A valid externalMongodb.database is required" .Values.externalMongodb.database }}
{{- end -}}
{{- end -}}

View File

@ -0,0 +1,10 @@
{{- if .Values.mongodb.enabled -}}
apiVersion: v1
kind: ConfigMap
metadata:
name: initdb-scripts
data:
init-mongo.js: |
db = db.getSiblingDB("{{ include "unifi-controller.mongodb.database" . }}");
db.grantRolesToUser("{{ include "unifi-controller.mongodb.username" . }}", [{role: "dbOwner", db: "{{ include "unifi-controller.mongodb.database" . }}_stat"}])
{{- end }}

View File

@ -67,6 +67,26 @@ spec:
value: {{ .Values.config.jvmMemory.startup }}
- name: MEM_LIMIT
value: {{ .Values.config.jvmMemory.limit }}
- name: MONGO_HOST
value: {{ include "unifi-controller.mongodb.host" . }}
- name: MONGO_PORT
value: {{ include "unifi-controller.mongodb.port" . | quote }}
- name: MONGO_USER
value: {{ include "unifi-controller.mongodb.username" . }}
{{- if or .Values.mongodb.enabled .Values.externalMongodb.existingSecret }}
- name: MONGO_PASS
valueFrom:
secretKeyRef:
{{- if .Values.mongodb.enabled }}
name: {{ .Values.mongodb.existingSecret | default (include "unifi-controller.mongodb.fullname" .) }}
key: mongodb-passwords
{{- else }}
name: {{ .Values.externalMongodb.existingSecret }}
key: {{ .Values.externalMongodb.existingSecretPasswordKey }}
{{- end }}
{{- end }}
- name: MONGO_DBNAME
value: {{ include "unifi-controller.mongodb.database" . }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
volumeMounts:

View File

@ -3,7 +3,7 @@
# Declare variables to be passed into your templates.
image:
repository: quay.io/linuxserver.io/unifi-controller
repository: lscr.io/linuxserver/unifi-network-application
pullPolicy: IfNotPresent
# -- Overrides the image tag whose default is the chart appVersion.
tag: ""
@ -56,6 +56,31 @@ service:
combinedProtocols: true
annotations: {}
mongodb:
# -- Deploy Bitnami MongoDB sub-chart
enabled: true
auth:
rootUser: root
rootPassword: unifi
databases:
- unifi
usernames:
- unifi
passwords:
- unifi
initdbScriptsConfigMap: initdb-scripts
externalMongodb:
# -- Use an external MongoDB database
enabled: false
# host: mongodb
port: 5432
database: mongo
username: mongo
# password: mongo
# existingSecret: mongo
# existingSecretPasswordKey: password
ingress:
enabled: false
className: ""