diff --git a/charts/spire/Chart.yaml b/charts/spire/Chart.yaml index e5619d633..266ed069f 100644 --- a/charts/spire/Chart.yaml +++ b/charts/spire/Chart.yaml @@ -22,6 +22,9 @@ maintainers: email: edwbuck@gmail.com kubeVersion: ">=1.21.0-0" dependencies: + - name: spire-lib + repository: file://./charts/spire-lib + version: 0.1.0 - name: spire-server condition: spire-server.enabled repository: file://./charts/spire-server diff --git a/charts/spire/README.md b/charts/spire/README.md index f7610473a..0b812f5b5 100644 --- a/charts/spire/README.md +++ b/charts/spire/README.md @@ -82,6 +82,7 @@ Now you can interact with the Spire agent socket from your own application. The | file://./charts/spiffe-oidc-discovery-provider | spiffe-oidc-discovery-provider | 0.1.0 | | file://./charts/spire-agent | spire-agent | 0.1.0 | | file://./charts/spire-agent | upstream-spire-agent(spire-agent) | 0.1.0 | +| file://./charts/spire-lib | spire-lib | 0.1.0 | | file://./charts/spire-server | spire-server | 0.1.0 | | file://./charts/tornjak-frontend | tornjak-frontend | 0.1.0 | diff --git a/charts/spire/charts/spire-lib/.helmignore b/charts/spire/charts/spire-lib/.helmignore new file mode 100644 index 000000000..0e8a0eb36 --- /dev/null +++ b/charts/spire/charts/spire-lib/.helmignore @@ -0,0 +1,23 @@ +# Patterns to ignore when building packages. +# This supports shell glob matching, relative path matching, and +# negation (prefixed with !). Only one pattern per line. +.DS_Store +# Common VCS dirs +.git/ +.gitignore +.bzr/ +.bzrignore +.hg/ +.hgignore +.svn/ +# Common backup files +*.swp +*.bak +*.tmp +*.orig +*~ +# Various IDEs +.project +.idea/ +*.tmproj +.vscode/ diff --git a/charts/spire/charts/spire-lib/Chart.yaml b/charts/spire/charts/spire-lib/Chart.yaml new file mode 100644 index 000000000..48a76bf20 --- /dev/null +++ b/charts/spire/charts/spire-lib/Chart.yaml @@ -0,0 +1,20 @@ +apiVersion: v2 +name: spire-lib +description: A library of helper templates for spire +type: library +version: 0.1.0 +appVersion: "0.1.0" +home: https://github.com/spiffe/helm-charts/tree/main/charts/spire +sources: + - https://github.com/spiffe/helm-charts/tree/main/charts/spire +icon: https://spiffe.io/img/logos/spire/icon/color/spire-icon-color.png +maintainers: + - name: marcofranssen + email: marco.franssen@gmail.com + url: https://marcofranssen.nl + - name: kfox1111 + email: Kevin.Fox@pnnl.gov + - name: faisal-memon + email: fymemon@yahoo.com + - name: edwbuck + email: edwbuck@gmail.com diff --git a/charts/spire/templates/_spire-lib.tpl b/charts/spire/charts/spire-lib/templates/_helpers.tpl similarity index 100% rename from charts/spire/templates/_spire-lib.tpl rename to charts/spire/charts/spire-lib/templates/_helpers.tpl