Compare commits

...

3 commits

Author SHA1 Message Date
d7de10cbef
Fix: Update documentation
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-04-17 14:11:47 +02:00
b9784623fe
Release: Go-LatestVer v0.10.1 2024-04-17 12:45:30 +02:00
eda8f666b4
Fix: Add missing configmap creation
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-04-17 12:45:17 +02:00
4 changed files with 24 additions and 2 deletions

View file

@ -1,3 +1,7 @@
# 0.10.1 / 2024-04-17
* Fix: Add missing configmap creation
# 0.10.0 / 2024-04-16
* Switch to pure-go sqlite driver

View file

@ -2,5 +2,5 @@ apiVersion: v2
name: latestver
description: Hosting go-latestver on Kubernetes
type: application
version: 0.2.0
appVersion: v0.10.0
version: 0.3.0
appVersion: v0.10.1

View file

@ -0,0 +1,9 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "go-latestver.fullname" . }}
labels:
{{- include "go-latestver.labels" . | nindent 4 }}
data:
config.yaml: |
{{- .Values.config | toYaml | nindent 4 }}

View file

@ -64,6 +64,15 @@ Fetches the latest release from Github for a given repository not marked as pre-
| --------- | :--: | ---- | ------------- | ----------- |
| `repository` | ✅ | string | | Repository to fetch in form `owner/repo` |
## Fetcher: `helm`
Fetches the index file of a Helm Repo and yields the latest Helm-Chart version
| Attribute | Req. | Type | Default Value | Description |
| --------- | :--: | ---- | ------------- | ----------- |
| `chart` | ✅ | string | | Chart to fetch the version of (i.e. "grafana") |
| `repo` | ✅ | string | | URL of the repo (i.e. "https://grafana.github.io/helm-charts") |
## Fetcher: `html`
Downloads website, selects text-node using XPath and optionally applies custom regular expression