feat(app-template): Bump common library (#426)

This commit is contained in:
Bernd Schorgers 2025-06-11 16:35:20 +02:00 committed by GitHub
parent db552e2dee
commit 2a97bb6ed8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 20 additions and 20 deletions

View file

@ -132,7 +132,7 @@ jobs:
working-directory: charts/${{ matrix.chart }} working-directory: charts/${{ matrix.chart }}
run: | run: |
yq -i '. |= .dependencies |= map(select(.name == "common" and .repository == "https://bjw-s-labs.github.io/helm-charts").version = ">0.0.0-0")' Chart.yaml yq -i '. |= .dependencies |= map(select(.name == "common" and .repository == "https://bjw-s-labs.github.io/helm-charts").version = ">0.0.0-0")' Chart.yaml
yq -i '. |= .dependencies |= map(select(.name == "common" and .repository == "https://bjw-s-labs.github.io/helm-charts").repository = "file://${COMMON_LIBRARY_LOCATION}")' Chart.yaml yq -i '. |= .dependencies |= map(select(.name == "common" and .repository == "https://bjw-s-labs.github.io/helm-charts").repository = "file://" + strenv(COMMON_LIBRARY_LOCATION))' Chart.yaml
echo "::group::Modified Chart.yaml" echo "::group::Modified Chart.yaml"
cat Chart.yaml cat Chart.yaml
echo "::endgroup::" echo "::endgroup::"

View file

@ -89,7 +89,7 @@ jobs:
working-directory: charts/${{ matrix.chart }} working-directory: charts/${{ matrix.chart }}
run: | run: |
yq -i '. |= .dependencies |= map(select(.name == "common" and .repository == "https://bjw-s-labs.github.io/helm-charts").version = ">0.0.0-0")' Chart.yaml yq -i '. |= .dependencies |= map(select(.name == "common" and .repository == "https://bjw-s-labs.github.io/helm-charts").version = ">0.0.0-0")' Chart.yaml
yq -i '. |= .dependencies |= map(select(.name == "common" and .repository == "https://bjw-s-labs.github.io/helm-charts").repository = "file://${COMMON_LIBRARY_LOCATION}")' Chart.yaml yq -i '. |= .dependencies |= map(select(.name == "common" and .repository == "https://bjw-s-labs.github.io/helm-charts").repository = "file://" + strenv(COMMON_LIBRARY_LOCATION))' Chart.yaml
echo "::group::Modified Chart.yaml" echo "::group::Modified Chart.yaml"
cat Chart.yaml cat Chart.yaml
echo "::endgroup::" echo "::endgroup::"

View file

@ -2,7 +2,7 @@
apiVersion: v2 apiVersion: v2
description: A common powered chart template. This can be useful for small projects that don't have their own chart. description: A common powered chart template. This can be useful for small projects that don't have their own chart.
name: app-template name: app-template
version: 4.0.1 version: 4.1.0
kubeVersion: ">=1.28.0-0" kubeVersion: ">=1.28.0-0"
maintainers: maintainers:
- name: bjw-s - name: bjw-s
@ -10,16 +10,16 @@ maintainers:
dependencies: dependencies:
- name: common - name: common
repository: https://bjw-s-labs.github.io/helm-charts repository: https://bjw-s-labs.github.io/helm-charts
version: 4.0.1 version: 4.1.0
sources: sources:
- https://github.com/bjw-s-labs/helm-charts - https://github.com/bjw-s-labs/helm-charts
annotations: annotations:
artifacthub.io/changes: |- artifacthub.io/changes: |-
- kind: changed - kind: changed
description: |- description: |-
Upgraded the common library to v4.0.1 Upgraded the common library to v4.1.0
links: links:
- name: Upgrade notes - name: Upgrade notes
url: https://bjw-s-labs.github.io/helm-charts/docs/app-template/upgrade-instructions/ url: https://bjw-s-labs.github.io/helm-charts/docs/app-template/upgrade-instructions/
- name: Detailed release notes - name: Detailed release notes
url: https://github.com/bjw-s-labs/helm-charts/releases/tag/common-4.0.1 url: https://github.com/bjw-s-labs/helm-charts/releases/tag/common-4.1.0

View file

@ -1,6 +1,6 @@
# app-template # app-template
![Version: 4.0.1](https://img.shields.io/badge/Version-4.0.1-informational?style=flat-square) ![Version: 4.1.0](https://img.shields.io/badge/Version-4.1.0-informational?style=flat-square)
A common powered chart template. This can be useful for small projects that don't have their own chart. A common powered chart template. This can be useful for small projects that don't have their own chart.
@ -12,7 +12,7 @@ Kubernetes: `>=1.28.0-0`
| Repository | Name | Version | | Repository | Name | Version |
|------------|------|---------| |------------|------|---------|
| https://bjw-s-labs.github.io/helm-charts | common | 4.0.1 | | https://bjw-s-labs.github.io/helm-charts | common | 4.1.0 |
## Installing the Chart ## Installing the Chart

View file

@ -726,7 +726,7 @@
"values": { "values": {
"description": "Values holds the values for this Helm release.", "description": "Values holds the values for this Helm release.",
"x-kubernetes-preserve-unknown-fields": true, "x-kubernetes-preserve-unknown-fields": true,
"$ref": "https://raw.githubusercontent.com/bjw-s-labs/helm-charts/common-4.0.1/charts/library/common/values.schema.json" "$ref": "https://raw.githubusercontent.com/bjw-s-labs/helm-charts/common-4.1.0/charts/library/common/values.schema.json"
}, },
"valuesFrom": { "valuesFrom": {
"description": "ValuesFrom holds references to resources containing Helm values for this HelmRelease,\nand information about how they should be merged.", "description": "ValuesFrom holds references to resources containing Helm values for this HelmRelease,\nand information about how they should be merged.",

View file

@ -727,7 +727,7 @@
"values": { "values": {
"description": "Values holds the values for this Helm release.", "description": "Values holds the values for this Helm release.",
"x-kubernetes-preserve-unknown-fields": true, "x-kubernetes-preserve-unknown-fields": true,
"$ref": "https://raw.githubusercontent.com/bjw-s-labs/helm-charts/common-4.0.1/charts/library/common/values.schema.json" "$ref": "https://raw.githubusercontent.com/bjw-s-labs/helm-charts/common-4.1.0/charts/library/common/values.schema.json"
}, },
"valuesFrom": { "valuesFrom": {
"description": "ValuesFrom holds references to resources containing Helm values for this HelmRelease, and information about how they should be merged.", "description": "ValuesFrom holds references to resources containing Helm values for this HelmRelease, and information about how they should be merged.",

View file

@ -1,3 +1,3 @@
{ {
"$ref": "https://raw.githubusercontent.com/bjw-s-labs/helm-charts/common-4.0.1/charts/library/common/values.schema.json" "$ref": "https://raw.githubusercontent.com/bjw-s-labs/helm-charts/common-4.1.0/charts/library/common/values.schema.json"
} }

View file

@ -1,6 +1,6 @@
--- ---
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s-labs/helm-charts/app-template-3.2.0/charts/other/app-template/schemas/helmrelease-helm-v2beta2.schema.json # yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s-labs/helm-charts/app-template-4.1.0/charts/other/app-template/schemas/helmrelease-helm-v2.schema.json
apiVersion: helm.toolkit.fluxcd.io/v2beta1 apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease kind: HelmRelease
metadata: metadata:
name: &app vaultwarden name: &app vaultwarden
@ -12,7 +12,7 @@ spec:
chart: app-template chart: app-template
# -- Version of the app-template helm chart # -- Version of the app-template helm chart
# this example is not automatically updated, so be sure to use the latest chart version # this example is not automatically updated, so be sure to use the latest chart version
version: 3.2.0 version: 4.1.0
interval: 15m interval: 15m
sourceRef: sourceRef:
kind: HelmRepository kind: HelmRepository

View file

@ -1,5 +1,5 @@
--- ---
apiVersion: source.toolkit.fluxcd.io/v1beta2 apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository kind: HelmRepository
metadata: metadata:
name: bjw-s-helm-charts name: bjw-s-helm-charts

View file

@ -1,5 +1,5 @@
--- ---
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s-labs/helm-charts/app-template-3.2.0/charts/other/app-template/values.schema.json # yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s-labs/helm-charts/app-template-4.1.0/charts/other/app-template/values.schema.json
# Configure options applied to all pods # Configure options applied to all pods
defaultPodOptions: defaultPodOptions:

View file

@ -1,5 +1,5 @@
--- ---
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s-labs/helm-charts/app-template-3.2.0/charts/other/app-template/values.schema.json # yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s-labs/helm-charts/app-template-4.1.0/charts/other/app-template/values.schema.json
# Configure options applied to all pods # Configure options applied to all pods
defaultPodOptions: defaultPodOptions:

View file

@ -1,5 +1,5 @@
--- ---
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s-labs/helm-charts/app-template-3.2.0/charts/other/app-template/values.schema.json # yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s-labs/helm-charts/app-template-4.1.0/charts/other/app-template/values.schema.json
controllers: controllers:
main: main:

View file

@ -5,7 +5,7 @@ helmCharts:
- name: app-template - name: app-template
repo: https://bjw-s-labs.github.io/helm-charts/ repo: https://bjw-s-labs.github.io/helm-charts/
# this example is not automatically updated, so be sure to use the latest chart version # this example is not automatically updated, so be sure to use the latest chart version
version: 3.2.0 version: 4.1.0
releaseName: &releaseName vaultwarden releaseName: &releaseName vaultwarden
namespace: &releaseNamespace default namespace: &releaseNamespace default
valuesFile: values.yaml valuesFile: values.yaml

View file

@ -1,5 +1,5 @@
--- ---
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s-labs/helm-charts/app-template-3.2.0/charts/other/app-template/values.schema.json # yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s-labs/helm-charts/app-template-4.1.0/charts/other/app-template/values.schema.json
controllers: controllers:
main: main: