33 Commits

Author SHA1 Message Date
Jochem
56adeb51e6 Merge pull request #32 from librenms/develop
Upgrade librenms
2024-12-03 14:08:22 +01:00
Jochem
4225c25eee Merge branch 'main' into develop 2024-12-03 13:57:10 +01:00
Jochem
04b2891002 Update Chart.yaml 2024-12-03 13:54:18 +01:00
Jochem
3c35474565 Merge pull request #30 from librenms/renovate/redis-20.x
Update Helm release redis to ~20.4.0
2024-12-03 13:53:19 +01:00
Jochem
ecd0ac7568 Merge pull request #29 from librenms/renovate/librenms-librenms-24.x
Update librenms/librenms Docker tag to v24.10.1
2024-12-03 13:52:58 +01:00
renovate[bot]
270d48319a Update Helm release redis to ~20.4.0 2024-12-02 10:42:50 +00:00
Jochem
42250bfe2f Merge branch 'develop' into renovate/librenms-librenms-24.x 2024-11-28 15:15:11 +01:00
Jochem
1fc504b2a7 Merge pull request #25 from librenms/renovate/redis-20.x
Update Helm release redis to ~20.3.0
2024-11-28 15:14:46 +01:00
Jochem
50385f322d Upggrade liubrenms 2024-11-28 15:14:16 +01:00
renovate[bot]
148289bc04 Apply automatic changes 2024-11-28 01:15:09 +00:00
renovate[bot]
32e6757ac6 Update librenms/librenms Docker tag to v24.10.1 2024-11-28 01:14:57 +00:00
renovate[bot]
0298cf9752 Update Helm release redis to ~20.3.0 2024-11-14 14:30:19 +00:00
Neil Lathwood
1a5eb5f378 Merge pull request #26 from librenms/renovate/librenms-librenms-24.x
Update librenms/librenms Docker tag to v24.9.1
2024-10-15 23:30:38 +01:00
renovate[bot]
c614f34af0 Apply automatic changes 2024-10-15 21:04:07 +00:00
renovate[bot]
3a674c499e Update librenms/librenms Docker tag to v24.9.1 2024-10-15 21:03:55 +00:00
Jochem
8ab2cf737c Merge pull request #24 from librenms/develop
Update librenms
2024-09-01 17:26:15 +02:00
Jochem
6a3ed61098 Bump chart 2024-09-01 17:09:31 +02:00
Jochem
2b87f80fcb Merge pull request #23 from librenms/renovate/librenms-librenms-24.x
Update librenms/librenms Docker tag to v24.8.1
2024-09-01 17:08:26 +02:00
renovate[bot]
4e563ae728 Apply automatic changes 2024-08-25 23:29:25 +00:00
renovate[bot]
767f882144 Update librenms/librenms Docker tag to v24.8.1 2024-08-25 23:29:15 +00:00
Jochem
8f119860eb Merge pull request #22 from librenms/develop
Bump redis version
2024-08-15 14:32:28 +02:00
Jochem
70cb6d8662 Update Chart.yaml 2024-08-15 13:52:13 +02:00
Jochem
4c11249a68 Merge pull request #21 from librenms/renovate/redis-20.x
Update Helm release redis to v20
2024-08-15 13:51:38 +02:00
renovate[bot]
92c00d2780 Update Helm release redis to v20 2024-08-09 16:13:17 +00:00
Jochem
992ba1c6c2 Merge pull request #20 from librenms/develop
Update LibreNMS
2024-07-31 12:33:42 +02:00
Jochem
4f2053a1c5 Fix maintainers 2024-07-31 11:58:08 +02:00
Jochem
abdee24ec3 Merge branch 'main' into develop 2024-07-31 11:55:54 +02:00
Jochem
c90f6e3189 Bump version 2024-07-31 11:53:37 +02:00
renovate[bot]
6d597db8ee Update librenms/librenms Docker tag to v24.6.0 (#19)
* Update librenms/librenms Docker tag to v24.6.0

* Apply automatic changes

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
2024-07-31 11:52:22 +02:00
Jochem
62b40e4657 Add ingress object (#16) (#17)
* Add ingress object (#16)

* Add ingress and testing values

* Bump version

* Fix CI values
2024-07-12 11:29:09 +02:00
Jochem
bb54381e1d Fix CI values 2024-07-11 22:31:11 +02:00
Jochem
8750eca39b Add ingress object (#16)
* Add ingress and testing values

* Bump version
2024-07-11 20:46:50 +02:00
Jochem
cd178d3a0a Merge pull request #15 from librenms/develop
Release librenms chart
2024-07-11 13:44:53 +02:00
7 changed files with 166 additions and 13 deletions

View File

@@ -1,9 +1,9 @@
dependencies: dependencies:
- name: redis - name: redis
repository: https://charts.bitnami.com/bitnami repository: https://charts.bitnami.com/bitnami
version: 19.6.1 version: 20.4.0
- name: mysql - name: mysql
repository: https://charts.bitnami.com/bitnami repository: https://charts.bitnami.com/bitnami
version: 11.1.8 version: 11.1.20
digest: sha256:4b82fafdf2c4c72a003d1dc6df9343a089eb5d2f686927d134821854f9633c83 digest: sha256:329a8866f0818e5a3e357592506dd8847c824ada67ae9b716daceab0eb7b40a7
generated: "2024-07-09T10:22:10.255911997Z" generated: "2024-12-02T10:42:37.680187566Z"

View File

@@ -2,14 +2,14 @@ apiVersion: v2
name: librenms name: librenms
description: LibreNMS is an autodiscovering PHP/MySQL-based network monitoring system. description: LibreNMS is an autodiscovering PHP/MySQL-based network monitoring system.
type: application type: application
version: 3.11.1 version: 3.16.0
appVersion: "24.5.0" appVersion: "24.10.1"
maintainers: maintainers:
- name: TheChef23 - name: jochbru
url: https://github.com/TheChef23 url: https://github.com/jochbru
dependencies: dependencies:
- name: redis - name: redis
version: "~19.6.0" version: "~20.4.0"
repository: "https://charts.bitnami.com/bitnami" repository: "https://charts.bitnami.com/bitnami"
condition: redis.enabled condition: redis.enabled
- name: mysql - name: mysql

View File

@@ -1,5 +1,5 @@
# LibreNMS # LibreNMS
![Version: 3.11.0](https://img.shields.io/badge/Version-3.11.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 24.5.0](https://img.shields.io/badge/AppVersion-24.5.0-informational?style=flat-square) ![Version: 3.12.0](https://img.shields.io/badge/Version-3.12.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 24.5.0](https://img.shields.io/badge/AppVersion-24.5.0-informational?style=flat-square)
## TL;DR ## TL;DR
@@ -47,12 +47,17 @@ librenms:
### Available values ### Available values
The following table lists the main configurable parameters of the librenms chart v3.11.0 and their default values. Please, refer to [values.yaml](./values.yaml) for the full list of configurable parameters. The following table lists the main configurable parameters of the librenms chart v3.12.0 and their default values. Please, refer to [values.yaml](./values.yaml) for the full list of configurable parameters.
## Values ## Values
| Key | Type | Default | Description | | Key | Type | Default | Description |
|-----|------|---------|-------------| |-----|------|---------|-------------|
| ingress | object | `{"annotations":{},"className":"","enabled":false,"hosts":[{"host":"chart-example.local","paths":[{"path":"/","pathType":"ImplementationSpecific"}]}],"tls":[]}` | LibreNMS ingress configuration |
| ingress.annotations | object | `{}` | Ingress annotations |
| ingress.className | string | `""` | Ingress class name |
| ingress.enabled | bool | `false` | Enable or disable ingress |
| ingress.hosts | list | `[{"host":"chart-example.local","paths":[{"path":"/","pathType":"ImplementationSpecific"}]}]` | Ingress ingress rules |
| librenms.appkey | string | `nil` | Laravel appkey used by LibreNMS, this should be generated by you and is a required setting. See the README for more information | | librenms.appkey | string | `nil` | Laravel appkey used by LibreNMS, this should be generated by you and is a required setting. See the README for more information |
| librenms.configuration | string | `"$config['distributed_poller_group'] = '0';\n$config['distributed_poller'] = true;\n"` | Custom configuration options for LibreNMS. Fore more infomation on options in this file check the following link: https://docs.librenms.org/Support/Configuration/ | | librenms.configuration | string | `"$config['distributed_poller_group'] = '0';\n$config['distributed_poller'] = true;\n"` | Custom configuration options for LibreNMS. Fore more infomation on options in this file check the following link: https://docs.librenms.org/Support/Configuration/ |
| librenms.extraEnvs | object | `{}` | LibreNMS frontend extra envs | | librenms.extraEnvs | object | `{}` | LibreNMS frontend extra envs |

View File

@@ -1,2 +1,4 @@
librenms: librenms:
appkey: base64:RTMmh+i10E2RMcDxookMu47BTzJQy87hOU+k/zcuPnA= appkey: base64:RTMmh+i10E2RMcDxookMu47BTzJQy87hOU+k/zcuPnA=
ingress:
enabled: true

View File

@@ -1,3 +1,66 @@
{{- define "librenms.configChecksum" -}} {{- define "librenms.configChecksum" -}}
{{- include (print $.Template.BasePath "/librenms-configmap.yml") . | sha256sum -}} {{- include (print $.Template.BasePath "/librenms-configmap.yml") . | sha256sum -}}
{{- end -}} {{- end -}}
{{/*
Expand the name of the chart.
*/}}
{{- define "librenms.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 "librenms.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 "librenms.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Common labels
*/}}
{{- define "librenms.labels" -}}
helm.sh/chart: {{ include "librenms.chart" . }}
{{ include "librenms.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end }}
{{/*
Selector labels
*/}}
{{- define "librenms.selectorLabels" -}}
app.kubernetes.io/name: {{ include "librenms.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}
{{/*
Create the name of the service account to use
*/}}
{{- define "librenms.serviceAccountName" -}}
{{- if .Values.serviceAccount.create }}
{{- default (include "librenms.fullname" .) .Values.serviceAccount.name }}
{{- else }}
{{- default "default" .Values.serviceAccount.name }}
{{- end }}
{{- end }}

View File

@@ -0,0 +1,62 @@
{{- if .Values.ingress.enabled -}}
{{- $fullName := .Release.Name -}}
{{- $svcPort := 8000 -}}
{{- if and .Values.ingress.className (not (semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion)) }}
{{- if not (hasKey .Values.ingress.annotations "kubernetes.io/ingress.class") }}
{{- $_ := set .Values.ingress.annotations "kubernetes.io/ingress.class" .Values.ingress.className}}
{{- end }}
{{- end }}
{{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion -}}
apiVersion: networking.k8s.io/v1
{{- else if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}}
apiVersion: networking.k8s.io/v1beta1
{{- else -}}
apiVersion: extensions/v1beta1
{{- end }}
kind: Ingress
metadata:
name: {{ .Release.Name }}
labels:
app.kubernetes.io/name: {{ .Release.Name }}
app.kubernetes.io/instance: frontend
{{- with .Values.ingress.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
{{- if and .Values.ingress.className (semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion) }}
ingressClassName: {{ .Values.ingress.className }}
{{- end }}
{{- if .Values.ingress.tls }}
tls:
{{- range .Values.ingress.tls }}
- hosts:
{{- range .hosts }}
- {{ . | quote }}
{{- end }}
secretName: {{ .secretName }}
{{- end }}
{{- end }}
rules:
{{- range .Values.ingress.hosts }}
- host: {{ .host | quote }}
http:
paths:
{{- range .paths }}
- path: {{ .path }}
{{- if and .pathType (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion) }}
pathType: {{ .pathType }}
{{- end }}
backend:
{{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }}
service:
name: {{ $fullName }}
port:
number: {{ $svcPort }}
{{- else }}
serviceName: {{ $fullName }}
servicePort: {{ $svcPort }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}

View File

@@ -6,7 +6,7 @@ librenms:
# -- repository is the image repository to pull from. # -- repository is the image repository to pull from.
repository: librenms/librenms repository: librenms/librenms
# -- tag is image tag to pull. # -- tag is image tag to pull.
tag: 24.5.0 tag: 24.10.1
# -- Laravel appkey used by LibreNMS, this should be generated by you and is a # -- Laravel appkey used by LibreNMS, this should be generated by you and is a
# required setting. See the README for more information # required setting. See the README for more information
@@ -123,6 +123,27 @@ librenms:
# -- Extra environment variable for RRDCACHED container # -- Extra environment variable for RRDCACHED container
extraEnvs: {} extraEnvs: {}
# -- LibreNMS ingress configuration
ingress:
# -- Enable or disable ingress
enabled: false
# -- Ingress class name
className: ""
# -- Ingress annotations
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
# -- Ingress ingress rules
hosts:
- host: chart-example.local
paths:
- path: /
pathType: ImplementationSpecific
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
# -- Configuration for MySQL dependency chart by Bitnami. See their chart for # -- Configuration for MySQL dependency chart by Bitnami. See their chart for
# more information: https://github.com/bitnami/charts/tree/master/bitnami/mysql # more information: https://github.com/bitnami/charts/tree/master/bitnami/mysql
mysql: mysql: