Files
cert-manager-armada-app/helm-charts/upstream/cert-manager-helm/debian/deb_folder/patches/0001-Patch-for-chartyaml-cm-v1.13.1.patch
Joshua Reed c5b20d9770 Auto-increment chart versions
Enable auto-versioning of helm charts to ensure the FluxCD helm
controller recognizes chart changes.

To guarantee the helm chart version is incremented when a helm chart
change is submitted, the following is implemented:
 - Provide a top level hierarchy for helm charts to differentiate
   between upstream and custom charts: helm-charts/{custom,upstream}
 - Arrange exiting helm chart in appropriate helm-charts location.
   Custom for helm. Charts built and maintained in this repository.
   Upstream for directly used and/or directly used plus patched.
 - stx-APP-helm now contains only manifests and final application
   packaging rules. No custom helm charts should be delivered here.
 - Use StarlingX debian git revcount packaging mechanisms to derive the
   semver BUILD version for upstream helm charts which maintains the
   upstream chart version and adds a versioned BUILD extension.

     <version core> ::= <major> "." <minor> "." <patch>
     <valid semver> ::= <version core> "+" <build>

   Chart version (MAJOR.MINOR.PATCH+STX.REV) is passed to 'helm package'
   command to force the version, where REV == 'git revcount'
 - Establish a new package(s) for the custom or upstream helm chart(s).
 - Enforce a baseline version for all helm charts; eg 'APP-helm'.
    Maintain current rev counts for all new packages, where applicable.
- Update 'stx-APP-helm' to:
   - Update the build dependencies to include the new helm chart package
     and remove dependency on helm
   - Update the rules to remove building the dependency APP helm
     chart(s) and automatically update the chart versions in the
     FluxCD helmrelease.yaml files.

Test Plan:
PASS - Build all packages generating an application tarball verifying
       all versions on the charts and application make sense.
PASS - Introduce temporary chart changes and ensure that the versions
       increment as expected.
PASS - Validate basic application lifecycle operations:
       upload/apply/remove/delete.

Story: 2010929
Task: 49602

Change-Id: Idd2cc177c8f4217583470ebff24f7ce5e7bb01ff
Signed-off-by: Joshua Reed <joshua.reed@windriver.com>
2024-03-05 13:35:33 -07:00

39 lines
1.2 KiB
Diff

From 33cf9baf34b3006d997e951a9cf787fb6a04c450 Mon Sep 17 00:00:00 2001
From: Ayyappa Mantri <ayyappa.mantri@windriver.com>
Date: Wed, 27 Oct 2023 14:46:24 -0500
Subject: [PATCH] add chart yaml for cert-manager
---
deploy/charts/cert-manager/Chart.yaml | 20 +++++++++++++++++++
1 files changed, 20 insertions(+)
create mode 100644 deploy/charts/cert-manager/Chart.yaml
diff --git a/deploy/charts/cert-manager/Chart.yaml b/deploy/charts/cert-manager/Chart.yaml
new file mode 100644
index 000000000..d4476fd70
--- /dev/null
+++ b/deploy/charts/cert-manager/Chart.yaml
@@ -0,0 +1,20 @@
+apiVersion: v1
+name: cert-manager
+# The version and appVersion fields are set automatically by the release tool
+version: v1.13.1
+appVersion: v1.13.1
+description: A Helm chart for cert-manager
+home: https://github.com/cert-manager/cert-manager
+icon: https://raw.githubusercontent.com/jetstack/cert-manager/master/logo/logo.png
+keywords:
+ - cert-manager
+ - kube-lego
+ - letsencrypt
+ - tls
+sources:
+ - https://github.com/cert-manager/cert-manager
+maintainers:
+ - name: cert-manager-maintainers
+ email: cert-manager-maintainers@googlegroups.com
+annotations:
+ artifacthub.io/prerelease: "{{IS_PRERELEASE}}"
--
2.29.2