Skip to content

Commit

Permalink
Merge pull request #86 from djjudas21/smokeping
Browse files Browse the repository at this point in the history
Smokeping
  • Loading branch information
djjudas21 authored Sep 29, 2024
2 parents 202b18b + 55c8d0a commit 2a9b7ad
Show file tree
Hide file tree
Showing 22 changed files with 793 additions and 11 deletions.
2 changes: 1 addition & 1 deletion charts/ecowitt-exporter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: v2
name: ecowitt-exporter
description: A Prometheus & InfluxDB exporter for Ecowitt weather stations
type: application
version: 0.6.1
version: 0.6.2
appVersion: "0.6.1"
keywords:
- ecowitt
Expand Down
2 changes: 1 addition & 1 deletion charts/ecowitt-exporter/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ecowitt-exporter

![Version: 0.5.4](https://img.shields.io/badge/Version-0.5.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.5.3](https://img.shields.io/badge/AppVersion-0.5.3-informational?style=flat-square)
![Version: 0.6.2](https://img.shields.io/badge/Version-0.6.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.6.1](https://img.shields.io/badge/AppVersion-0.6.1-informational?style=flat-square)

A Prometheus & InfluxDB exporter for Ecowitt weather stations

Expand Down
2 changes: 1 addition & 1 deletion charts/jellyfin/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
type: application
name: jellyfin
description: Your media, your server, your way
version: 3.1.6
version: 3.1.7
appVersion: 10.9.10
kubeVersion: '>=1.20'
home: https://jellyfin.org/
Expand Down
4 changes: 2 additions & 2 deletions charts/jellyfin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
](LICENSE)
<br/>
![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
![Version: 3.1.5](https://img.shields.io/badge/Version-3.1.5-informational?style=flat-square)
![AppVersion: 10.9.9](https://img.shields.io/badge/AppVersion-10.9.9-informational?style=flat-square)
![Version: 3.1.7](https://img.shields.io/badge/Version-3.1.7-informational?style=flat-square)
![AppVersion: 10.9.10](https://img.shields.io/badge/AppVersion-10.9.10-informational?style=flat-square)

</div>

Expand Down
2 changes: 1 addition & 1 deletion charts/jellystat/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
type: application
name: jellystat
description: Jellystat is a free and open source Statistics App for Jellyfin
version: 0.1.1
version: 0.1.2
appVersion: "1.1.0"
home: https://github.com/CyferShepard/Jellystat
icon: https://raw.githubusercontent.com/CyferShepard/Jellystat/main/public/icon-b-192.png
Expand Down
2 changes: 1 addition & 1 deletion charts/jellystat/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# jellystat

![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: 1.1.0](https://img.shields.io/badge/AppVersion-1.1.0-informational?style=flat-square)
![Version: 0.1.2](https://img.shields.io/badge/Version-0.1.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.1.0](https://img.shields.io/badge/AppVersion-1.1.0-informational?style=flat-square)

Jellystat is a free and open source Statistics App for Jellyfin

Expand Down
2 changes: 1 addition & 1 deletion charts/navidrome/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: v2
appVersion: 0.53.2
description: Navidrome is an open source web-based music collection server and streamer
name: navidrome
version: 6.6.12
version: 6.6.13
kubeVersion: ">=1.16.0-0"
keywords:
- navidrome
Expand Down
2 changes: 1 addition & 1 deletion charts/navidrome/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# navidrome

![Version: 6.6.11](https://img.shields.io/badge/Version-6.6.11-informational?style=flat-square) ![AppVersion: 0.52.5](https://img.shields.io/badge/AppVersion-0.52.5-informational?style=flat-square)
![Version: 6.6.13](https://img.shields.io/badge/Version-6.6.13-informational?style=flat-square) ![AppVersion: 0.53.2](https://img.shields.io/badge/AppVersion-0.53.2-informational?style=flat-square)

Navidrome is an open source web-based music collection server and streamer

Expand Down
23 changes: 23 additions & 0 deletions charts/smokeping/.helmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# 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
*.orig
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
17 changes: 17 additions & 0 deletions charts/smokeping/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
apiVersion: v2
name: smokeping
description: SmokePing is a latency logging and graphing and alerting system
type: application
version: 0.1.0
appVersion: "2.8.2"
keywords:
- smokeping
home: https://oss.oetiker.ch/smokeping/
icon: https://raw.githubusercontent.com/RubxKube/charts/main/img/smokeping-logo.png
maintainers:
- name: djjudas21
email: [email protected]
url: https://github.com/djjudas21
sources:
- https://github.com/oetiker/SmokePing
105 changes: 105 additions & 0 deletions charts/smokeping/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
# smokeping

![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: 2.8.2](https://img.shields.io/badge/AppVersion-2.8.2-informational?style=flat-square)

SmokePing is a latency logging and graphing and alerting system

**Homepage:** <https://oss.oetiker.ch/smokeping/>

## Maintainers

| Name | Email | Url |
| ---- | ------ | --- |
| djjudas21 | <[email protected]> | <https://github.com/djjudas21> |

## Source Code

* <https://github.com/oetiker/SmokePing>

## Values

| Key | Type | Default | Description |
|-----|------|---------|-------------|
| affinity | object | `{}` | |
| fullnameOverride | string | `""` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"linuxserver/smokeping"` | |
| image.tag | string | `""` | |
| imagePullSecrets | list | `[]` | |
| ingress.annotations | object | `{}` | |
| ingress.className | string | `""` | |
| ingress.enabled | bool | `false` | |
| ingress.hosts[0].host | string | `"chart-example.local"` | |
| ingress.hosts[0].paths[0].path | string | `"/"` | |
| ingress.hosts[0].paths[0].pathType | string | `"ImplementationSpecific"` | |
| ingress.tls | list | `[]` | |
| nameOverride | string | `""` | |
| nodeSelector | object | `{}` | |
| persistence.accessMode | string | `"ReadWriteOnce"` | |
| persistence.enabled | bool | `true` | |
| persistence.mountPath | string | `"/data/"` | |
| persistence.size | string | `"5Gi"` | |
| persistence.storageClass | string | `""` | |
| podAnnotations | object | `{}` | |
| podLabels | object | `{}` | |
| podSecurityContext | object | `{}` | |
| probes | object | `{"liveness":{"enabled":true,"failureThreshold":3,"initialDelaySeconds":0,"periodSeconds":10,"timeoutSeconds":1},"readiness":{"enabled":true,"failureThreshold":3,"initialDelaySeconds":0,"periodSeconds":10,"timeoutSeconds":1}}` | configure probes |
| resources | object | `{}` | |
| securityContext | object | `{}` | |
| service.port | int | `80` | |
| service.type | string | `"ClusterIP"` | |
| serviceAccount.annotations | object | `{}` | Annotations to add to the service account |
| serviceAccount.automount | bool | `false` | Automatically mount a ServiceAccount's API credentials? |
| serviceAccount.create | bool | `true` | Specifies whether a service account should be created |
| 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 |
| smokeping.contact | string | `"[email protected]"` | |
| smokeping.database.pings | int | `20` | How many pings to send for each test |
| smokeping.database.step | int | `300` | How many seconds between tests |
| smokeping.email.AuthPass | string | `nil` | |
| smokeping.email.AuthUser | string | `nil` | |
| smokeping.email.UseSTARTTLS | string | `"yes"` | |
| smokeping.email.from | string | `"[email protected]"` | |
| smokeping.email.hostname | string | `nil` | The full hostname |
| smokeping.email.mailhub | string | `"smtp.gmail.com:587"` | The place where the mail goes. The actual machine name is required - no MX records are consulted. Commonly mailhosts are named mail.domain.com |
| smokeping.email.rewriteDomain | string | `nil` | Where will the mail seem to come from? |
| smokeping.email.root | string | `nil` | The person who gets all mail for userids < 1000. Make this empty to disable rewriting. |
| smokeping.email.to | string | `"[email protected]"` | |
| smokeping.owner | string | `"LinuxServer.io"` | |
| smokeping.targets[0].hosts[0].host | string | `"192.168.0.1"` | |
| smokeping.targets[0].hosts[0].menu | string | `"Router"` | |
| smokeping.targets[0].hosts[0].name | string | `"Router"` | |
| smokeping.targets[0].hosts[0].title | string | `"Router"` | |
| smokeping.targets[0].menu | string | `"Internal Devices"` | |
| smokeping.targets[0].name | string | `"Internet"` | |
| smokeping.targets[0].title | string | `"Internal Devices"` | |
| smokeping.targets[1].hosts[0].host | string | `"google.com"` | |
| smokeping.targets[1].hosts[0].menu | string | `"Google"` | |
| smokeping.targets[1].hosts[0].name | string | `"GoogleSearch"` | |
| smokeping.targets[1].hosts[0].title | string | `"google.com"` | |
| smokeping.targets[1].menu | string | `"Internet Sites"` | |
| smokeping.targets[1].name | string | `"InternetSites"` | |
| smokeping.targets[1].title | string | `"Internet Sites"` | |
| smokeping.targets[2].hosts[0].host | string | `"8.8.8.8"` | |
| smokeping.targets[2].hosts[0].menu | string | `"Google DNS 1"` | |
| smokeping.targets[2].hosts[0].name | string | `"GoogleDNS1"` | |
| smokeping.targets[2].hosts[0].title | string | `"Google DNS 8.8.8.8"` | |
| smokeping.targets[2].hosts[1].host | string | `"8.8.4.4"` | |
| smokeping.targets[2].hosts[1].menu | string | `"Google DNS 2"` | |
| smokeping.targets[2].hosts[1].name | string | `"GoogleDNS2"` | |
| smokeping.targets[2].hosts[1].title | string | `"Google DNS 8.8.4.4"` | |
| smokeping.targets[2].hosts[2].host | string | `"1.1.1.1"` | |
| smokeping.targets[2].hosts[2].menu | string | `"Cloudflare DNS 1"` | |
| smokeping.targets[2].hosts[2].name | string | `"CloudflareDNS1"` | |
| smokeping.targets[2].hosts[2].title | string | `"Cloudflare DNS 1.1.1.1"` | |
| smokeping.targets[2].hosts[3].host | string | `"1.0.0.1"` | |
| smokeping.targets[2].hosts[3].menu | string | `"Cloudflare DNS 2"` | |
| smokeping.targets[2].hosts[3].name | string | `"CloudflareDNS2"` | |
| smokeping.targets[2].hosts[3].title | string | `"Cloudflare DNS 1.0.0.1"` | |
| smokeping.targets[2].menu | string | `"DNS Probes"` | |
| smokeping.targets[2].name | string | `"DNSProbes"` | |
| smokeping.targets[2].probe | string | `"DNS"` | |
| smokeping.targets[2].title | string | `"DNS Probes"` | |
| tolerations | list | `[]` | |

----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2)
22 changes: 22 additions & 0 deletions charts/smokeping/templates/NOTES.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
1. Get the application URL by running these commands:
{{- if .Values.ingress.enabled }}
{{- range $host := .Values.ingress.hosts }}
{{- range .paths }}
http{{ if $.Values.ingress.tls }}s{{ end }}://{{ $host.host }}{{ .path }}
{{- end }}
{{- end }}
{{- else if contains "NodePort" .Values.service.type }}
export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "smokeping.fullname" . }})
export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
echo http://$NODE_IP:$NODE_PORT
{{- else if contains "LoadBalancer" .Values.service.type }}
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
You can watch its status by running 'kubectl get --namespace {{ .Release.Namespace }} svc -w {{ include "smokeping.fullname" . }}'
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "smokeping.fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}")
echo http://$SERVICE_IP:{{ .Values.service.port }}
{{- else if contains "ClusterIP" .Values.service.type }}
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "smokeping.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
export CONTAINER_PORT=$(kubectl get pod --namespace {{ .Release.Namespace }} $POD_NAME -o jsonpath="{.spec.containers[0].ports[0].containerPort}")
echo "Visit http://127.0.0.1:8080 to use your application"
kubectl --namespace {{ .Release.Namespace }} port-forward $POD_NAME 8080:$CONTAINER_PORT
{{- end }}
62 changes: 62 additions & 0 deletions charts/smokeping/templates/_helpers.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{{/*
Expand the name of the chart.
*/}}
{{- define "smokeping.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 "smokeping.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 "smokeping.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
{{- end }}

{{/*
Common labels
*/}}
{{- define "smokeping.labels" -}}
helm.sh/chart: {{ include "smokeping.chart" . }}
{{ include "smokeping.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end }}

{{/*
Selector labels
*/}}
{{- define "smokeping.selectorLabels" -}}
app.kubernetes.io/name: {{ include "smokeping.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}

{{/*
Create the name of the service account to use
*/}}
{{- define "smokeping.serviceAccountName" -}}
{{- if .Values.serviceAccount.create }}
{{- default (include "smokeping.fullname" .) .Values.serviceAccount.name }}
{{- else }}
{{- default "default" .Values.serviceAccount.name }}
{{- end }}
{{- end }}
Loading

0 comments on commit 2a9b7ad

Please sign in to comment.