mirror of
https://github.com/Luzifer/go-latestver.git
synced 2025-01-09 19:51:49 +00:00
Compare commits
3 commits
e7d89a1f3f
...
d7de10cbef
Author | SHA1 | Date | |
---|---|---|---|
d7de10cbef | |||
b9784623fe | |||
eda8f666b4 |
4 changed files with 24 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
9
charts/latestver/templates/configmap.yaml
Normal file
9
charts/latestver/templates/configmap.yaml
Normal 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 }}
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue