Support root-level spire-lib chart reuse (#785)

* Add root-level spire-lib chart

Signed-off-by: Faisal Memon <[email protected]>

* Make spire consume root-level spire-lib

Signed-off-by: Faisal Memon <[email protected]>

* Prepare chart dependencies in CI

Signed-off-by: Faisal Memon <[email protected]>

* Document DCO requirement in CODEX

Signed-off-by: Faisal Memon <[email protected]>

* Centralize local chart dependency prep

Signed-off-by: Faisal Memon <[email protected]>

* Exclude spire-lib from chart-testing install

Signed-off-by: Faisal Memon <[email protected]>

* Rename CODEX guide to AGENTS

Signed-off-by: Faisal Memon <[email protected]>

* Add make target for chart dependencies

Signed-off-by: Faisal Memon <[email protected]>

---------

Signed-off-by: Faisal Memon <[email protected]>
This commit is contained in:
Faisal Memon
2026-04-09 05:14:05 -07:00
committed by GitHub
parent 145f3a36b5
commit 9273f11f0a
28 changed files with 184 additions and 41 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ maintainers:
dependencies:
- name: spire-lib
repository: file://../spire/charts/spire-lib
repository: file://../spire-lib
version: 0.1.0
- name: step-certificates
alias: step
+3 -3
View File
@@ -1,6 +1,6 @@
dependencies:
- name: spire-lib
repository: file://../spire/charts/spire-lib
repository: file://../spire-lib
version: 0.1.0
digest: sha256:e397a79d7d3b94b353f8458cb435f2cae9fd9495b367b9216958bff2771b801c
generated: "2024-11-08T00:50:47.925287061Z"
digest: sha256:0c6454c06ba554747a20ec39b7fee1fe4632eb49ceedb8aafacbc9f0bbc84b78
generated: "2026-04-05T16:27:01.136911-07:00"
+1 -1
View File
@@ -19,5 +19,5 @@ maintainers:
email: [email protected]
dependencies:
- name: spire-lib
repository: file://../spire/charts/spire-lib
repository: file://../spire-lib
version: 0.1.0
+25
View File
@@ -0,0 +1,25 @@
apiVersion: v2
name: spire-lib
description: A library of helper templates for SPIRE charts.
type: library
version: 0.1.0
appVersion: "0.1.0"
keywords: ["spiffe", "spire", "library"]
home: https://github.com/spiffe/helm-charts-hardened/tree/main/charts/spire-lib
sources:
- https://github.com/spiffe/helm-charts-hardened/tree/main/charts/spire-lib
icon: https://spiffe.io/img/logos/spire/icon/color/spire-icon-color.png
maintainers:
- name: marcofranssen
email: [email protected]
url: https://marcofranssen.nl
- name: kfox1111
email: [email protected]
- name: faisal-memon
email: [email protected]
- name: edwbuck
email: [email protected]
annotations:
org.opencontainers.image.source: https://github.com/spiffe/helm-charts-hardened
artifacthub.io/category: security
artifacthub.io/license: Apache-2.0
+1 -1
View File
@@ -21,7 +21,7 @@ maintainers:
kubeVersion: ">=1.21.0-0"
dependencies:
- name: spire-lib
repository: file://../spire/charts/spire-lib
repository: file://../spire-lib
version: 0.1.0
- name: spire-server
alias: root-spire-server
+36
View File
@@ -0,0 +1,36 @@
dependencies:
- name: spire-lib
repository: file://../spire-lib
version: 0.1.0
- name: spire-server
repository: file://./charts/spire-server
version: 0.1.0
- name: spire-agent
repository: file://./charts/spire-agent
version: 0.1.0
- name: spire-agent
repository: file://./charts/spire-agent
version: 0.1.0
- name: spiffe-csi-driver
repository: file://./charts/spiffe-csi-driver
version: 0.1.0
- name: spiffe-csi-driver
repository: file://./charts/spiffe-csi-driver
version: 0.1.0
- name: spiffe-oidc-discovery-provider
repository: file://./charts/spiffe-oidc-discovery-provider
version: 0.1.0
- name: tornjak-frontend
repository: file://./charts/tornjak-frontend
version: 0.1.0
- name: spike-keeper
repository: file://./charts/spike-keeper
version: 0.1.0
- name: spike-nexus
repository: file://./charts/spike-nexus
version: 0.1.0
- name: spike-pilot
repository: file://./charts/spike-pilot
version: 0.1.0
digest: sha256:59ed273c48633e8a1ae07be0e1628c9f21849b865dae10195ce46d68c093b4b2
generated: "2026-04-05T16:48:18.584331-07:00"
+1 -1
View File
@@ -23,7 +23,7 @@ maintainers:
kubeVersion: ">=1.21.0-0"
dependencies:
- name: spire-lib
repository: file://./charts/spire-lib
repository: file://../spire-lib
version: 0.1.0
- name: spire-server
condition: spire-server.enabled
-24
View File
@@ -1,24 +0,0 @@
apiVersion: v2
name: spire-lib
description: A Helm chart for Kubernetes
# A chart can be either an 'application' or a 'library' chart.
#
# Application charts are a collection of templates that can be packaged into versioned archives
# to be deployed.
#
# Library charts provide useful utilities or functions for the chart developer. They're included as
# a dependency of application charts to inject those utilities and functions into the rendering
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
type: library
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.0
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: ""