Compare commits

...

860 Commits

Author SHA1 Message Date
spire-helm-version-checker[bot] 86f0aecc57
Bump test chart dependencies (#641)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
2025-08-07 07:27:41 -07:00
Eric Cavalcanti 3ef5fe6c49
Add Datadog as telemetry option (#639)
* Add Datadog as telemetry option

Signed-off-by: Eric Cavalcanti <cajuclc@gmail.com>

* Use correct local domain

Signed-off-by: Eric Cavalcanti <cajuclc@gmail.com>

* Change doc

Signed-off-by: Eric Cavalcanti <cajuclc@gmail.com>

* Add docs

Signed-off-by: Eric Cavalcanti <cajuclc@gmail.com>

* remove .cluster.local

Signed-off-by: Eric Cavalcanti <cajuclc@gmail.com>

* Remove cluster.local

Signed-off-by: Eric Cavalcanti <cajuclc@gmail.com>

* Fix doc

Signed-off-by: Eric Cavalcanti <cajuclc@gmail.com>

---------

Signed-off-by: Eric Cavalcanti <cajuclc@gmail.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
2025-08-07 07:03:15 -07:00
Faisal Memon 8443881250
Bump spiffe-step-ssh Helm Chart version from 0.1.0 to 0.1.1 (#640)
* Bump spiffe-step-ssh Helm Chart version from 0.1.0 to 0.1.1

* a7d536c0 tools: Replace rancher/kubectl with registry.k8s.io/kubectl

Signed-off-by: Faisal Memon <fymemon@yahoo.com>

* Update charts/spiffe-step-ssh/Chart.yaml

Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
2025-08-05 03:27:50 -07:00
Faisal Memon 28c65d3458
Bump spire-nested Helm Chart version from 0.26.0 to 0.26.1 (#637)
Signed-off-by: Faisal Memon <fymemon@yahoo.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
2025-07-28 12:42:44 -07:00
Faisal Memon acfcc9d0a4
Bump spire Helm Chart version from 0.26.0 to 0.26.1 (#636)
* 64b9c40 Bump test chart dependencies (#635)
* d516de0 Update spike to 0.4.2 (#632)
* 8904b96 Bump test chart dependencies (#633)
* 6581b11 Add disk based KeyManager (#627)
* d2913ff Remove region from awsiid node attestor (#630)
* 3218db7 Bump test chart dependencies (#628)
* 57a6143 Add aws_iid to helm chart (#620)
* 9a8e5a8 Add Agent TTL to Spire Server (#626)
* 093c593 spire-server: Replace chown image with busybox
* a7d536c tools: Replace rancher/kubectl with registry.k8s.io/kubectl
* fc1791f Bump test chart dependencies (#618)

Signed-off-by: Faisal Memon <fymemon@yahoo.com>
2025-07-28 12:30:10 -07:00
spire-helm-version-checker[bot] 64b9c400cc
Bump test chart dependencies (#635)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2025-07-28 07:19:58 -07:00
dependabot[bot] 0404934d37
Bump github.com/onsi/gomega from 1.37.0 to 1.38.0 in /tests (#634)
---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-version: 1.38.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-24 09:23:16 -07:00
kfox1111 d516de01bd
Update spike to 0.4.2 (#632)
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2025-07-22 11:21:11 +00:00
spire-helm-version-checker[bot] 8904b96be8
Bump test chart dependencies (#633)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2025-07-21 08:18:22 -07:00
Eric Cavalcanti 6581b117a0
Add disk based KeyManager (#627)
* Add disk based KeyManager

Signed-off-by: Eric Cavalcanti <ericcav@amazon.com>
Signed-off-by: Eric Cavalcanti <cajuclc@gmail.com>

* Change disk to false

Signed-off-by: Eric Cavalcanti <ericcav@amazon.com>
Signed-off-by: Eric Cavalcanti <cajuclc@gmail.com>

* Change disk to false

Signed-off-by: Eric Cavalcanti <ericcav@amazon.com>
Signed-off-by: Eric Cavalcanti <cajuclc@gmail.com>

* Fix per requirement

Signed-off-by: Eric Cavalcanti <cajuclc@gmail.com>

* Update information

Signed-off-by: Eric Cavalcanti <cajuclc@gmail.com>

* Detail doc

Signed-off-by: Eric Cavalcanti <cajuclc@gmail.com>

* Test change comment

Signed-off-by: Eric Cavalcanti <cajuclc@gmail.com>

* Commnet better before

Signed-off-by: Eric Cavalcanti <cajuclc@gmail.com>

---------

Signed-off-by: Eric Cavalcanti <ericcav@amazon.com>
Signed-off-by: Eric Cavalcanti <cajuclc@gmail.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
2025-07-19 18:06:02 -07:00
Eric Cavalcanti d2913ffca0
Remove region from awsiid node attestor (#630)
* Remove spire-server.nodeAttestor.awsIID.region

Signed-off-by: Eric Cavalcanti <cajuclc@gmail.com>

* Remove spire-server.nodeAttestor.awsIID.region

Signed-off-by: Eric Cavalcanti <cajuclc@gmail.com>

* Remove spire-server.nodeAttestor.awsIID.region

Signed-off-by: Eric Cavalcanti <cajuclc@gmail.com>

* Update README.md

Signed-off-by: Eric Cavalcanti <cajuclc@gmail.com>

---------

Signed-off-by: Eric Cavalcanti <cajuclc@gmail.com>
2025-07-15 16:23:18 -07:00
spire-helm-version-checker[bot] 3218db7bbb
Bump test chart dependencies (#628)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2025-07-14 09:36:36 -07:00
Eric Cavalcanti 57a61438be
Add aws_iid to helm chart (#620)
* Add aws_iid

Signed-off-by: Eric Cavalcanti <ericcav@amazon.com>

* Change to awsIid

Signed-off-by: Eric Cavalcanti <ericcav@amazon.com>

* Change to awsIid

Signed-off-by: Eric Cavalcanti <ericcav@amazon.com>

* update helm

Signed-off-by: Eric Cavalcanti <ericcav@amazon.com>

* Change to awsIID

Signed-off-by: Eric Cavalcanti <cajuclc@gmail.com>
Signed-off-by: Eric Cavalcanti <ericcav@amazon.com>

* Change to awsIID

Signed-off-by: Eric Cavalcanti <cajuclc@gmail.com>
Signed-off-by: Eric Cavalcanti <ericcav@amazon.com>

* Change to awsIID

Signed-off-by: Eric Cavalcanti <cajuclc@gmail.com>
Signed-off-by: Eric Cavalcanti <ericcav@amazon.com>

* Change to awsIID

Signed-off-by: Eric Cavalcanti <cajuclc@gmail.com>
Signed-off-by: Eric Cavalcanti <ericcav@amazon.com>

* Change to awsIID

Signed-off-by: Eric Cavalcanti <cajuclc@gmail.com>
Signed-off-by: Eric Cavalcanti <ericcav@amazon.com>

* Change to awsIID

Signed-off-by: Eric Cavalcanti <cajuclc@gmail.com>
Signed-off-by: Eric Cavalcanti <ericcav@amazon.com>

* add signed off

Signed-off-by: Eric Cavalcanti <ericcav@amazon.com>

* Add doc

Signed-off-by: Eric Cavalcanti <ericcav@amazon.com>

* remove not used config

Signed-off-by: Eric Cavalcanti <ericcav@amazon.com>

* remove not used config

Signed-off-by: Eric Cavalcanti <ericcav@amazon.com>

* add example awsiid

Signed-off-by: Eric Cavalcanti <ericcav@amazon.com>

---------

Signed-off-by: Eric Cavalcanti <ericcav@amazon.com>
Signed-off-by: Eric Cavalcanti <cajuclc@gmail.com>
2025-07-10 22:27:07 +00:00
Eric Cavalcanti 9a8e5a8398
Add Agent TTL to Spire Server (#626)
* Add Agent TTL

Signed-off-by: Eric Cavalcanti <ericcav@amazon.com>

* Allow unset agentttl

Signed-off-by: Eric Cavalcanti <ericcav@amazon.com>

---------

Signed-off-by: Eric Cavalcanti <ericcav@amazon.com>
2025-07-10 15:06:58 -07:00
dependabot[bot] b1f95b2c6b
Bump helm.sh/helm/v3 from 3.18.3 to 3.18.4 in /tests (#625)
Bumps [helm.sh/helm/v3](https://github.com/helm/helm) from 3.18.3 to 3.18.4.
- [Release notes](https://github.com/helm/helm/releases)
- [Commits](https://github.com/helm/helm/compare/v3.18.3...v3.18.4)

---
updated-dependencies:
- dependency-name: helm.sh/helm/v3
  dependency-version: 3.18.4
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-09 05:32:14 -07:00
Marco Franssen 093c593ff6 spire-server: Replace chown image with busybox
This reduces the footprint for this initContainer to just 4.04MB.

The cgr.dev/chainguard/bash image is 35.2MB in size.

I have used the same tag as the busybox value to ensure no additional
versions have to be pulled on the node running spire-server components.

Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2025-07-08 23:43:53 +02:00
Marco Franssen a7d536c025 tools: Replace rancher/kubectl with registry.k8s.io/kubectl
To have an always up to date kubectl image it is probably better to get kubectl from registry.k8s.io

Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2025-07-08 19:24:08 +02:00
spire-helm-version-checker[bot] fc1791f2eb
Bump test chart dependencies (#618)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2025-07-07 04:33:53 -07:00
Faisal Memon d1f5c7e93d Bump spire-nested Helm Chart version from 0.25.0 to 0.26.0
* 892051c4 Update for 1.12.4 (#605)

Signed-off-by: Faisal Memon <fymemon@yahoo.com>
2025-07-04 07:07:40 -07:00
Faisal Memon 88f0108e10 Bump spire Helm Chart version from 0.25.0 to 0.26.0
* 255106da Update to Tornjak 2.1.0 (#597)
* f37d681b Enable running the oidc discovery provider without cluster-admin/CSI (#570)
* 892051c4 Update for 1.12.4 (#605)
* b74b10a0 Bump test chart dependencies (#615)
* e78400eb Initial spike support (#591)
* 38314ed6 Bump test chart dependencies (#611)
* bfd08bcf Bump test chart dependencies (#608)
* 971e4be7 Bump test chart dependencies (#606)
* ffe43901 Nit: Fix typo in param guide (#595)

Signed-off-by: Faisal Memon <fymemon@yahoo.com>
2025-07-04 06:55:19 -07:00
Alan Cha 255106da84
Update to Tornjak 2.1.0 (#597)
* Update to Tornjak 2.1.0

Signed-off-by: Alan Cha <Alan.cha1@ibm.com>

* Address comments

Signed-off-by: Alan Cha <Alan.cha1@ibm.com>

* Fix Tornjak tests

Signed-off-by: Alan Cha <Alan.cha1@ibm.com>

* revert namespace change

Signed-off-by: Alan Cha <Alan.cha1@ibm.com>

---------

Signed-off-by: Alan Cha <Alan.cha1@ibm.com>
2025-07-02 14:42:18 -07:00
kfox1111 f37d681bc2
Enable running the oidc discovery provider without cluster-admin/CSI (#570)
* Update for 1.12.3

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix typo. Use test image

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix lint

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix format flag. Update config location for k8s configmap bp

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix role

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update rbac

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix key

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix format

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix the bundle format for the fetchca bits

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update key

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test rather then reconfigure

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add namespace

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update to follow the new patch

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix formatting

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix formatting

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update filename based on format

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add upgrade notes

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Enable running the oidc discovery provider without cluster-admin/CSI

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Calm lint

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Switch to testing nightly. Dont manage bundle configmap.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update permissions

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update permissions

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update permissions

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update for final release

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update for final 1.12.4 release

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Update docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2025-07-01 17:26:58 -07:00
kfox1111 892051c466
Update for 1.12.4 (#605)
* Update for 1.12.3

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix typo. Use test image

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix lint

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix format flag. Update config location for k8s configmap bp

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix role

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update rbac

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix key

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix format

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix the bundle format for the fetchca bits

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update key

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test rather then reconfigure

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add namespace

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update to follow the new patch

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix formatting

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix formatting

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update filename based on format

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add upgrade notes

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Switch to testing nightly. Dont manage bundle configmap.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update permissions

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update permissions

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update permissions

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update for final release

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2025-07-01 16:28:57 -07:00
spire-helm-version-checker[bot] b74b10a0f6
Bump test chart dependencies (#615)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2025-06-30 06:08:14 -07:00
kfox1111 e78400ebcd
Initial spike support (#591)
* Initial spike support

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix lint and docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update spike to 0.4.1

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update for multiarch

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix values and docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Pull in changes from Volkan

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix service

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Typo fix

Signed-off-by: Volkan Özçelik <me@volkan.io>

* Apply suggestions from code review

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Update docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: Volkan Özçelik <me@volkan.io>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Volkan Özçelik <me@volkan.io>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2025-06-23 23:07:40 -07:00
spire-helm-version-checker[bot] 38314ed6de
Bump test chart dependencies (#611)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2025-06-23 05:51:32 -07:00
dependabot[bot] fccc154b22
Bump helm.sh/helm/v3 from 3.18.2 to 3.18.3 in /tests (#609)
Bumps [helm.sh/helm/v3](https://github.com/helm/helm) from 3.18.2 to 3.18.3.
- [Release notes](https://github.com/helm/helm/releases)
- [Commits](https://github.com/helm/helm/compare/v3.18.2...v3.18.3)

---
updated-dependencies:
- dependency-name: helm.sh/helm/v3
  dependency-version: 3.18.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-19 08:14:48 -07:00
spire-helm-version-checker[bot] bfd08bcfd1
Bump test chart dependencies (#608)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2025-06-16 12:15:39 -07:00
spire-helm-version-checker[bot] 971e4be7d3
Bump test chart dependencies (#606)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2025-06-09 06:30:15 -07:00
dependabot[bot] c19c7d51d9
Bump helm.sh/helm/v3 from 3.18.1 to 3.18.2 in /tests (#604)
Bumps [helm.sh/helm/v3](https://github.com/helm/helm) from 3.18.1 to 3.18.2.
- [Release notes](https://github.com/helm/helm/releases)
- [Commits](https://github.com/helm/helm/compare/v3.18.1...v3.18.2)

---
updated-dependencies:
- dependency-name: helm.sh/helm/v3
  dependency-version: 3.18.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-08 05:30:11 -07:00
kfox1111 858eb2e4f6
Fix update pattern (#603)
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2025-06-02 12:21:09 -07:00
Faisal Memon ce9b3737ff
Update tests to go 1.24.3 (#600)
Signed-off-by: Faisal Memon <fymemon@yahoo.com>
2025-05-29 08:15:34 -07:00
dependabot[bot] c8bb71bef7
Bump helm.sh/helm/v3 from 3.18.0 to 3.18.1 in /tests (#599)
Bumps [helm.sh/helm/v3](https://github.com/helm/helm) from 3.18.0 to 3.18.1.
- [Release notes](https://github.com/helm/helm/releases)
- [Commits](https://github.com/helm/helm/compare/v3.18.0...v3.18.1)

---
updated-dependencies:
- dependency-name: helm.sh/helm/v3
  dependency-version: 3.18.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-28 21:49:29 -07:00
Pratik Lotia ffe4390136
Nit: Fix typo in param guide (#595)
* nit: fix typo in param guide

Signed-off-by: pratik-lotia <pratik.lotia@colorado.edu>

* Update charts/spire/charts/spire-server/values.yaml

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: Pratik Lotia <pratik.lotia@colorado.edu>

* Update docs

Signed-off-by: Faisal Memon <fymemon@yahoo.com>

---------

Signed-off-by: pratik-lotia <pratik.lotia@colorado.edu>
Signed-off-by: Pratik Lotia <pratik.lotia@colorado.edu>
Signed-off-by: Faisal Memon <fymemon@yahoo.com>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2025-05-23 17:50:07 +00:00
Faisal Memon 0b906b6754 Bump spire-nested Helm Chart version from 0.24.5 to 0.25.0
* bd2e8e3 Update spire to 1.12.2 (#592)
* e4bd1df Bump spire to 1.12.1 (#578)

Signed-off-by: Faisal Memon <fymemon@yahoo.com>
2025-05-22 15:01:41 -07:00
Faisal Memon 18ec1ef9dd Bump spire Helm Chart version from 0.24.5 to 0.25.0
* bd2e8e3 Update spire to 1.12.2 (#592)
* d6684bc Add spire-credentialcomposer-cel support (#587)
* ccfb490 Dynamically build the connection_string with options for the spire server when spire-server.dataStore.sql.databaseType == sqlite3 (#576)
* 87bef26 Bump test chart dependencies (#588)
* b72505b Bump test chart dependencies (#580)
* e4bd1df Bump spire to 1.12.1 (#578)
* 9062710 Bump test chart dependencies (#575)
* 94e1d78 Bump test chart dependencies (#573)

Signed-off-by: Faisal Memon <fymemon@yahoo.com>
2025-05-22 12:08:48 -07:00
kfox1111 bd2e8e3ced
Update spire to 1.12.2 (#592)
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2025-05-22 08:54:36 -07:00
dependabot[bot] b1f3524e47
Bump helm.sh/helm/v3 from 3.17.3 to 3.18.0 in /tests (#590)
Bumps [helm.sh/helm/v3](https://github.com/helm/helm) from 3.17.3 to 3.18.0.
- [Release notes](https://github.com/helm/helm/releases)
- [Commits](https://github.com/helm/helm/compare/v3.17.3...v3.18.0)

---
updated-dependencies:
- dependency-name: helm.sh/helm/v3
  dependency-version: 3.18.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2025-05-21 12:40:37 -07:00
kfox1111 d6684bce19
Add spire-credentialcomposer-cel support (#587)
* Add spire-credentialcomposer-cel support

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Bump version

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2025-05-21 11:59:26 -07:00
Daniel Schlatter ccfb4905e2
Dynamically build the connection_string with options for the spire server when spire-server.dataStore.sql.databaseType == sqlite3 (#576)
Signed-off-by: Daniel Schlatter <djschlatt@gmail.com>
2025-05-20 15:26:29 -07:00
spire-helm-version-checker[bot] 87bef2663a
Bump test chart dependencies (#588)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2025-05-19 05:43:55 -07:00
Alan Cha c11e23ad30
Word smithing Tornjak documentation (#582)
* Word smithing

Signed-off-by: Alan Cha <Alan.cha1@ibm.com>

* Fix typo

Signed-off-by: Alan Cha <Alan.cha1@ibm.com>

* Remove unneccesary dash

Signed-off-by: Alan Cha <Alan.cha1@ibm.com>

---------

Signed-off-by: Alan Cha <Alan.cha1@ibm.com>
2025-05-13 10:16:03 -07:00
spire-helm-version-checker[bot] b72505b9fa
Bump test chart dependencies (#580)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2025-05-12 05:30:43 -07:00
kfox1111 e4bd1df76c
Bump spire to 1.12.1 (#578)
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2025-05-11 01:14:17 -07:00
spire-helm-version-checker[bot] 9062710928
Bump test chart dependencies (#575)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2025-05-05 05:01:59 -07:00
spire-helm-version-checker[bot] 94e1d78d7a
Bump test chart dependencies (#573)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2025-04-28 06:34:29 -07:00
Faisal Memon 27ac69503b Bump spire-nested Helm Chart version from 0.24.4 to 0.24.5
Signed-off-by: Faisal Memon <fymemon@yahoo.com>
2025-04-24 11:20:12 -07:00
Faisal Memon 8ca477a0bf
Bump spire Helm Chart version from 0.24.4 to 0.24.5 (#572)
* 1169dd5 Update spire-controller-manager to 0.6.2 and add its staticManifest support (#563)
* 4dee6ca Fix invalid image name for digest in template function of `spire-lib` (#569)
* ed9fb6a Bump test chart dependencies (#566)
* 912f412 Update tpm plugin version (#564)
* 0fc00cb Bump test chart dependencies (#561)

Signed-off-by: Faisal Memon <fymemon@yahoo.com>
2025-04-24 10:59:19 -07:00
kfox1111 1169dd5692
Update spire-controller-manager to 0.6.2 and add its staticManifest support (#563)
* Update spire-controller-manager to 0.6.2 and add its staticManifest support

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix indent

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2025-04-23 10:56:55 -07:00
Roman Willi 4dee6ca72e
Fix invalid image name for digest in template function of `spire-lib` (#569)
Signed-off-by: Roman Willi <roman.willi@ergon.ch>
2025-04-23 07:14:03 -07:00
spire-helm-version-checker[bot] ed9fb6a121
Bump test chart dependencies (#566)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2025-04-21 06:06:45 -07:00
kfox1111 912f4127ab
Update tpm plugin version (#564)
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2025-04-19 22:06:41 -06:00
dependabot[bot] 33edad1952
Bump golang.org/x/net from 0.37.0 to 0.38.0 in /tests (#565)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.37.0 to 0.38.0.
- [Commits](https://github.com/golang/net/compare/v0.37.0...v0.38.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-version: 0.38.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-19 06:12:07 -07:00
spire-helm-version-checker[bot] 0fc00cbbe6
Bump test chart dependencies (#561)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2025-04-14 05:50:09 -07:00
Faisal Memon e8ba2600cd
Bump spire-nested Helm Chart version from 0.24.3 to 0.24.4 (#559)
Signed-off-by: Faisal Memon <faisalmemon@Faisals-MacBook-Pro.local>
Co-authored-by: Faisal Memon <faisalmemon@Faisals-MacBook-Pro.local>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
2025-04-10 05:46:15 -07:00
Faisal Memon 4b55f65c62
Bump spire Helm Chart version from 0.24.3 to 0.24.4 (#558)
* 240176a Postgresql ro connection string fix (#556)
* 2a48bf9 Update csi driver (#555)
* cd39d7b Bump test chart dependencies (#553)

Signed-off-by: Faisal Memon <faisalmemon@Faisals-MacBook-Pro.local>
Co-authored-by: Faisal Memon <faisalmemon@Faisals-MacBook-Pro.local>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
2025-04-10 04:33:40 -07:00
dependabot[bot] 0c9285ad35
Bump helm.sh/helm/v3 from 3.17.2 to 3.17.3 in /tests (#560)
Bumps [helm.sh/helm/v3](https://github.com/helm/helm) from 3.17.2 to 3.17.3.
- [Release notes](https://github.com/helm/helm/releases)
- [Commits](https://github.com/helm/helm/compare/v3.17.2...v3.17.3)

---
updated-dependencies:
- dependency-name: helm.sh/helm/v3
  dependency-version: 3.17.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-10 04:08:22 -07:00
kfox1111 240176ab2f
Postgresql ro connection string fix (#556)
Fixes: #546

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2025-04-08 08:08:47 +00:00
kfox1111 2a48bf91a0
Update csi driver (#555)
Fixes: #554

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2025-04-08 00:46:07 -07:00
spire-helm-version-checker[bot] cd39d7b5f1
Bump test chart dependencies (#553)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
2025-04-07 07:14:03 -07:00
dependabot[bot] d060711825
Bump github.com/onsi/ginkgo/v2 from 2.23.3 to 2.23.4 in /tests (#552)
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.23.3 to 2.23.4.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v2.23.3...v2.23.4)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-version: 2.23.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-07 06:20:15 -07:00
Faisal Memon cd8215819a
Bump spire-nested Helm Chart version from 0.24.2 to 0.24.3 (#551)
* 663b89e3 Upgrade to SPIRE 1.12.0 (#542)

Signed-off-by: Faisal Memon <fymemon@yahoo.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
2025-04-06 06:01:18 -07:00
Faisal Memon 3b2e564cf0 Bump spire Helm Chart version from 0.24.2 to 0.24.3
* 25967bae Add new config.jwksUri option to oidc-discovery chart (#547)
* 2f96b0b1 Bump test chart dependencies (#545)
* 663b89e3 Upgrade to SPIRE 1.12.0 (#542)
* 1c73035e Add values to configure apiServiceLabel and webhookLabel (#536)
* 385cbb3e Bump test chart dependencies (#539)
* ad44c486 Bump test chart dependencies (#537)
* 86ea90cb Fixes indentation of sync_interval value inside spire-agent configmap (#534)
* 3940ac3c Bump test chart dependencies (#533)

Signed-off-by: Faisal Memon <fymemon@yahoo.com>
2025-04-06 04:55:57 -07:00
dependabot[bot] 7e8f6e7c4a
Bump github.com/onsi/gomega from 1.36.3 to 1.37.0 in /tests (#549)
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.36.3 to 1.37.0.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.36.3...v1.37.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-version: 1.37.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-03 06:42:38 -07:00
RedneckEdamame 25967baeef
Add new config.jwksUri option to oidc-discovery chart (#547)
Signed-off-by: Spencer Hitchins <hitchins.js@gmail.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
2025-03-31 18:13:23 +00:00
spire-helm-version-checker[bot] b330e209d7
Bump test chart dependencies (#548)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2025-03-31 05:41:21 -07:00
dependabot[bot] ba8f448343
Bump github.com/onsi/gomega from 1.36.2 to 1.36.3 in /tests (#543)
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.36.2 to 1.36.3.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.36.2...v1.36.3)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-24 06:50:28 -07:00
dependabot[bot] 765017f504
Bump github.com/onsi/ginkgo/v2 from 2.23.2 to 2.23.3 in /tests (#544)
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.23.2 to 2.23.3.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v2.23.2...v2.23.3)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-24 06:28:44 -07:00
spire-helm-version-checker[bot] 2f96b0b1d0
Bump test chart dependencies (#545)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2025-03-24 05:54:29 -07:00
kfox1111 663b89e3ea
Upgrade to SPIRE 1.12.0 (#542)
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2025-03-21 16:43:10 -07:00
dependabot[bot] 54c913f030
Bump github.com/onsi/ginkgo/v2 from 2.23.1 to 2.23.2 in /tests (#541)
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.23.1 to 2.23.2.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v2.23.1...v2.23.2)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-21 13:16:27 -07:00
dependabot[bot] e0033b37b8 Bump helm.sh/helm/v3 from 3.17.1 to 3.17.2 in /tests
Bumps [helm.sh/helm/v3](https://github.com/helm/helm) from 3.17.1 to 3.17.2.
- [Release notes](https://github.com/helm/helm/releases)
- [Commits](https://github.com/helm/helm/compare/v3.17.1...v3.17.2)

---
updated-dependencies:
- dependency-name: helm.sh/helm/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-20 08:59:18 +01:00
dependabot[bot] 916b551f12 Bump github.com/onsi/ginkgo/v2 from 2.23.0 to 2.23.1 in /tests
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.23.0 to 2.23.1.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v2.23.0...v2.23.1)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-20 08:41:24 +01:00
Tamal Saha 1c73035ecb
Add values to configure apiServiceLabel and webhookLabel (#536)
Signed-off-by: Tamal Saha <tamal@appscode.com>
2025-03-18 11:07:59 -07:00
spire-helm-version-checker[bot] 385cbb3e3d
Bump test chart dependencies (#539)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2025-03-17 06:47:06 -07:00
spire-helm-version-checker[bot] ad44c486b4
Bump test chart dependencies (#537)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2025-03-10 04:33:22 -07:00
nweisenauer 86ea90cbf4
Fixes indentation of sync_interval value inside spire-agent configmap (#534)
Signed-off-by: Nico Weisenauer <137267159+nweisenauer-sap@users.noreply.github.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
2025-03-06 15:40:41 +00:00
dependabot[bot] 9a5d37ace7
Bump github.com/onsi/ginkgo/v2 from 2.22.2 to 2.23.0 in /tests (#535)
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.22.2 to 2.23.0.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v2.22.2...v2.23.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-06 07:19:05 -08:00
spire-helm-version-checker[bot] 3940ac3c22
Bump test chart dependencies (#533)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2025-03-03 06:09:55 -08:00
Faisal Memon ece7f07f70
Bump spire-nested Helm Chart version from 0.24.1 to 0.24.2 (#531)
* 0368210 Update spire to 1.11.2 (#527)

Signed-off-by: Faisal Memon <fymemon@yahoo.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
2025-02-27 11:02:51 -08:00
Faisal Memon 2af830d06d
Bump spire Helm Chart version from 0.24.1 to 0.24.2 (#532)
* b13f4c0 Bump test chart dependencies
* 915744f Bump test chart dependencies (#529)
* 0368210 Update spire to 1.11.2 (#527)
* ea03059 Bump test chart dependencies (#524)
* 762ba40 Bump test chart dependencies (#523)
* f1ba4ba Bump test chart dependencies (#522)
* 413e579 Bump test chart dependencies
* f88e3d5 Bump test chart dependencies (#517)
* 848f491 Bump test chart dependencies (#516)
* 41cbad2 Bump test chart dependencies (#512)
* 8925ed6 Bump test chart dependencies (#508)
* 70f5b19 Bump test chart dependencies (#500)

Signed-off-by: Faisal Memon <fymemon@yahoo.com>
2025-02-27 09:27:47 -08:00
marcofranssen b13f4c0393 Bump test chart dependencies
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-24 09:22:07 +01:00
spire-helm-version-checker[bot] 915744fa46
Bump test chart dependencies (#529)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2025-02-17 06:01:47 -08:00
kfox1111 0368210d6b
Update spire to 1.11.2 (#527)
* Update spire to 1.11.2

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix doc

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2025-02-13 22:39:13 -08:00
dependabot[bot] 6a62880431
Bump helm.sh/helm/v3 from 3.17.0 to 3.17.1 in /tests (#526)
Bumps [helm.sh/helm/v3](https://github.com/helm/helm) from 3.17.0 to 3.17.1.
- [Release notes](https://github.com/helm/helm/releases)
- [Commits](https://github.com/helm/helm/compare/v3.17.0...v3.17.1)

---
updated-dependencies:
- dependency-name: helm.sh/helm/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-13 11:20:43 -08:00
spire-helm-version-checker[bot] ea03059c38
Bump test chart dependencies (#524)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2025-02-10 05:41:32 -08:00
spire-helm-version-checker[bot] 762ba40ef9
Bump test chart dependencies (#523)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2025-02-03 06:04:19 -08:00
spire-helm-version-checker[bot] f1ba4ba62d
Bump test chart dependencies (#522)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2025-01-27 05:26:37 -08:00
marcofranssen 413e579d42 Bump test chart dependencies
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-20 12:33:12 +01:00
dependabot[bot] 7f8e80936c
Bump helm.sh/helm/v3 from 3.16.4 to 3.17.0 in /tests (#518)
Bumps [helm.sh/helm/v3](https://github.com/helm/helm) from 3.16.4 to 3.17.0.
- [Release notes](https://github.com/helm/helm/releases)
- [Commits](https://github.com/helm/helm/compare/v3.16.4...v3.17.0)

---
updated-dependencies:
- dependency-name: helm.sh/helm/v3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-16 09:25:09 -08:00
spire-helm-version-checker[bot] f88e3d52a3
Bump test chart dependencies (#517)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2025-01-13 05:35:20 -08:00
spire-helm-version-checker[bot] 848f49199e
Bump test chart dependencies (#516)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2025-01-06 06:43:10 -08:00
dependabot[bot] f67b537945
Bump github.com/onsi/ginkgo/v2 from 2.22.1 to 2.22.2 in /tests (#515)
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.22.1 to 2.22.2.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v2.22.1...v2.22.2)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-31 06:34:49 -08:00
spire-helm-version-checker[bot] 091ead2a1e
Bump test chart dependencies (#514)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2024-12-30 06:05:21 -08:00
dependabot[bot] a8dd93e501
Bump github.com/onsi/gomega from 1.36.1 to 1.36.2 in /tests (#513)
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.36.1 to 1.36.2.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.36.1...v1.36.2)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-29 08:17:30 -08:00
spire-helm-version-checker[bot] 41cbad2665
Bump test chart dependencies (#512)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2024-12-23 07:45:37 -08:00
dependabot[bot] 81ca00feee
Bump github.com/onsi/ginkgo/v2 from 2.22.0 to 2.22.1 in /tests (#511)
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.22.0 to 2.22.1.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v2.22.0...v2.22.1)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-20 06:44:59 -08:00
dependabot[bot] ae40052f56 Bump helm.sh/helm/v3 from 3.16.3 to 3.16.4 in /tests
Bumps [helm.sh/helm/v3](https://github.com/helm/helm) from 3.16.3 to 3.16.4.
- [Release notes](https://github.com/helm/helm/releases)
- [Commits](https://github.com/helm/helm/compare/v3.16.3...v3.16.4)

---
updated-dependencies:
- dependency-name: helm.sh/helm/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-17 09:02:05 +01:00
kfox1111 cb84489cf2
Fix updater. Crane needs to be installed earlier. (#509)
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2024-12-16 10:00:57 -08:00
spire-helm-version-checker[bot] 8925ed6a46
Bump test chart dependencies (#508)
* Bump test chart dependencies

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Revert blank versions

Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
2024-12-16 09:34:11 -08:00
kfox1111 e307b51ad8
Fix bitnami chart dependencies (#506)
* Fix bitnami chart dependencies

There have been problems with the old style bitami repo. Bitnami is
suggesting users switch to oci for their charts.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix repos

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix repos

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix updater script

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2024-12-12 12:15:35 -08:00
dependabot[bot] 36c6e7bdea
Bump golang.org/x/crypto from 0.28.0 to 0.31.0 in /tests (#507)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.28.0 to 0.31.0.
- [Commits](https://github.com/golang/crypto/compare/v0.28.0...v0.31.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-12 05:52:01 -08:00
dependabot[bot] 68e884c588
Bump github.com/onsi/gomega from 1.36.0 to 1.36.1 in /tests (#505)
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.36.0 to 1.36.1.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.36.0...v1.36.1)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-10 05:04:43 -08:00
dependabot[bot] 31e42ee2b8
Bump github.com/onsi/gomega from 1.35.1 to 1.36.0 in /tests (#503)
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.35.1 to 1.36.0.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.35.1...v1.36.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-26 06:24:27 -08:00
dependabot[bot] a9ec7c41a3
Bump github.com/onsi/ginkgo/v2 from 2.21.0 to 2.22.0 in /tests (#501)
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.21.0 to 2.22.0.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v2.21.0...v2.22.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-21 04:06:28 -08:00
spire-helm-version-checker[bot] 70f5b19d7e
Bump test chart dependencies (#500)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2024-11-18 04:49:13 -08:00
Faisal Memon 17d31f1789
Bump spiffe-step-ssh Helm Chart version from 0.0.1 to 0.1.0 (#499)
Signed-off-by: Faisal Memon <fymemon@yahoo.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
2024-11-17 14:48:08 -08:00
Faisal Memon 18a34f6cab
Bump spire-nested Helm Chart version from 0.24.0 to 0.24.1 (#498)
Signed-off-by: Faisal Memon <fymemon@yahoo.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
2024-11-17 14:27:03 -08:00
Faisal Memon 61eb715029
Bump spire Helm Chart version from 0.24.0 to 0.24.1 (#497)
* 6608fc9 Add extraEnvVars support for spiffe-csi-driver containers (#496)
* 6193717 Bump test chart dependencies (#494)
* d5777c3 Bump test chart dependencies (#493)
* 4993b67 Fix GCS Bundle endpoint format variable (#491)

Signed-off-by: Faisal Memon <fymemon@yahoo.com>
2024-11-17 14:14:01 -08:00
Patrick O'Brien 6608fc980a
Add extraEnvVars support for spiffe-csi-driver containers (#496)
Signed-off-by: Patrick O'Brien <patrick.obrien@thetradedesk.com>
Signed-off-by: Patrick O’Brien <patrick.obrien@thetradedesk.com>
2024-11-17 13:25:29 -08:00
dependabot[bot] dc30efb5eb
Bump helm.sh/helm/v3 from 3.16.2 to 3.16.3 in /tests (#495)
Bumps [helm.sh/helm/v3](https://github.com/helm/helm) from 3.16.2 to 3.16.3.
- [Release notes](https://github.com/helm/helm/releases)
- [Commits](https://github.com/helm/helm/compare/v3.16.2...v3.16.3)

---
updated-dependencies:
- dependency-name: helm.sh/helm/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-14 04:37:02 -08:00
spire-helm-version-checker[bot] 6193717061
Bump test chart dependencies (#494)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2024-11-11 04:15:31 -08:00
kfox1111 ec7259699f
spiffe-step-ssh server (#198)
* Initial prototype of spire-step-ssh integration

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Ingress work, image cleanup and misc cleanup

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* More values rework

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Rename chart spiffe-step-ssh

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update to use shared lib

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update spiffe-helper

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Use URLSAN rather then CN

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Lookup the sans.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Make trust domain configurable

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add flag

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Make driver configurable

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add more configurables. Fix up docs to pass test.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add some metadata

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix metadata

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add default values for lint

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Forgot values updates

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix metadata

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Start working on integration test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix names

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* More test bits

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* More test bits

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* More test bits

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* More test bits

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* More test bits

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* More test bits

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* More fixes

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* More fixes

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* More fixes

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix name conflict. Align naming

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix name

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add more logging

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Disable unneeded test. Add missing file.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Setup more things

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add missing conf file

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix multiple svids

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix ci defaults

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix filename

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Try and get the linter to stop complaining...

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix perms

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* More logs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* More setup

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fixes

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fixes

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add wait

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* More logging

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Test ssh

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Restart fetchca on updates too

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix formating

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add missing file flag

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Increase timeout

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* More flags

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix name

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Finish end to end test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix ingress setting

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* More logging/tests

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* More testing

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix namespace

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fetch correct bundle

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Chart testing will fail as it depends on spire to be preinstalled. Weird dependency loop.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Dont skip tls for testing

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* More logging

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* More debug

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* More debug

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Pass intermediates

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix trustdomain

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add ca authority prefix

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* fix

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* fix

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* fix

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* ci test is just broken. Revert trying to fix it.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update charts/spiffe-step-ssh/files/ssh_x5c.tpl

Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Self review feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Switch ingress to our more functional/easy type

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Simplify the template

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add cast

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add install notes

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update tests for updated client

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix logging and entry

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add missing dir

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix file location

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update timeout

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* More logging

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix filename

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix perms

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update charts/spiffe-step-ssh/README.md

Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2024-11-07 23:43:26 -08:00
spire-helm-version-checker[bot] d5777c3dd2
Bump test chart dependencies (#493)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2024-11-04 05:39:24 -08:00
dependabot[bot] 9b1b8b37a2
Bump github.com/onsi/gomega from 1.35.0 to 1.35.1 in /tests (#490)
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.35.0 to 1.35.1.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.35.0...v1.35.1)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-03 05:44:22 -08:00
Mattias Gees 4993b671b5
Fix GCS Bundle endpoint format variable (#491)
The GCS Bundle endpoint configuration was pointing to the S3 Format variable instead of the GCS one.

Signed-off-by: Mattias Gees <mattias.gees@gmail.com>
2024-11-01 13:26:15 +01:00
dependabot[bot] 5f5fd6a484
Bump github.com/onsi/gomega from 1.34.2 to 1.35.0 in /tests (#489)
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.34.2 to 1.35.0.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.34.2...v1.35.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-30 10:31:11 -07:00
dependabot[bot] 0b14535e9c
Bump github.com/onsi/ginkgo/v2 from 2.20.2 to 2.21.0 in /tests (#488)
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.20.2 to 2.21.0.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v2.20.2...v2.21.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-30 07:57:13 -07:00
Faisal Memon 5b16168e70
Bump spire Helm Chart version from 0.23.0 to 0.24.0 (#487)
* a3e607e Bump test chart dependencies (#484)
* a360646 Add validating admission policy to restrict upstream driver access (#482)
* a7368ee Upgrade to spire 1.11.0 (#483)
* fe5464b Update notes (#479)
* 29e9866 Bump test chart dependencies (#481)
* 13736cd Add support for the new hint spire-controller-manager feature (#472)
* b08e8bf Agent support for bundle on host path (#478)
* 7b409ed Fix cert-manager upstream authority when enabling recommendations (#476)
* 01c7227 Add support for the new fallback spire-controller-manager feature (#471)
* 0a6dd19 Bump test chart dependencies (#477)
* fcbd64e Support federation bundle endpoint profile http_web certificates (#469)
* c29f45f Add AWS DB types (#464)
* 898a349 Add remaining data store options (#463)
* 2443515 Bump test chart dependencies (#474)
* c461794 Update the spire-controller-manager to 0.6.0 (#473)
* 5d07eaf Align more settings to convention (#467)
* ea2d673 Bump test chart dependencies (#470)
* 352aee2 Bump test chart dependencies (#468)
* c3c8514 Change curl --caPath to --capath (#462)
* 68d21cc Add an initial json schema file for spire-agent (#458)
* b7e9823 Add new config.jwtDomain value to oidc-discovery chart (#457)
* 8832da3 Protects SPIRE Agent's Chart Against YAML Template Injection (#450)
* 3bc7025 Update spiffe-helper (#453)
* 86d6fca Bump test chart dependencies (#449)

Signed-off-by: Faisal Memon <fymemon@yahoo.com>
2024-10-28 18:36:17 +00:00
Faisal Memon 6e375ef260
Bump spire-nested Helm Chart version from 0.23.0 to 0.24.0 (#486)
* a7368ee Upgrade to spire 1.11.0 (#483)
* 5d07eaf Align more settings to convention (#467)

Signed-off-by: Faisal Memon <fymemon@yahoo.com>
2024-10-28 18:12:27 +00:00
Faisal Memon cd7c192ad2
Bump spire-crds Helm Chart version from 0.4.0 to 0.5.0 (#485)
* 13736cd Add support for the new hint spire-controller-manager feature (#472)
* 01c7227 Add support for the new fallback spire-controller-manager feature (#471)

Signed-off-by: Faisal Memon <fymemon@yahoo.com>
2024-10-28 11:04:42 -07:00
spire-helm-version-checker[bot] a3e607e7d8
Bump test chart dependencies (#484)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2024-10-28 06:01:02 -07:00
kfox1111 a360646842
Add validating admission policy to restrict upstream driver access (#482)
* Add validating admission policy to restrict upstream driver access

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update charts/spire/charts/spiffe-csi-driver/templates/policy.yaml

Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Fix logic

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Upgrade helm

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Upgrade kind and fix node version

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Upgrade kind and fix node version

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Upgrade kind and fix node version

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Upgrade kind and fix node version

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add version info

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add version info

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix kind version

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix kind version

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix kind version

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix detection

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Just for testing...

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Just for testing...

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Just for testing

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix policy

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix policy

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix policy

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update charts/spire/charts/spiffe-csi-driver/values.yaml

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Update docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2024-10-26 07:40:29 -07:00
kfox1111 a7368eee1f
Upgrade to spire 1.11.0 (#483)
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2024-10-25 22:36:59 -07:00
kfox1111 fe5464ba9f
Update notes (#479)
* Update notes

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update charts/spire/README.md

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Update charts/spire/README.md

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2024-10-24 10:17:46 -07:00
spire-helm-version-checker[bot] 29e9866a8c
Bump test chart dependencies (#481)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2024-10-21 04:59:26 -07:00
kfox1111 13736cdf6f
Add support for the new hint spire-controller-manager feature (#472)
* Add support for the new hint spire-controller-manager feature

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
2024-10-17 15:48:09 -07:00
kfox1111 b08e8bf9b1
Agent support for bundle on host path (#478)
* Agent support for bundle on host path

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update charts/spire/charts/spire-agent/values.yaml

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2024-10-17 15:12:27 -07:00
Yann Soubeyrand 7b409ed912
Fix cert-manager upstream authority when enabling recommendations (#476)
Signed-off-by: Yann Soubeyrand <yann.soubeyrand@camptocamp.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
2024-10-17 14:14:20 -07:00
kfox1111 ba8d993ff4
Changes to make the nested-full test more reliable (#480)
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2024-10-17 19:56:51 +00:00
kfox1111 01c7227b13
Add support for the new fallback spire-controller-manager feature (#471)
* Add support for the new fallback spire-controller-manager feature

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2024-10-17 12:38:25 -07:00
spire-helm-version-checker[bot] 0a6dd19906
Bump test chart dependencies (#477)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2024-10-14 06:26:40 -07:00
kfox1111 fcbd64e011
Support federation bundle endpoint profile http_web certificates (#469)
* Support federation bundle endpoint profile http_web certificates

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix var

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix key

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2024-10-10 12:03:54 -07:00
dependabot[bot] cecf51c27c
Bump helm.sh/helm/v3 from 3.16.1 to 3.16.2 in /tests (#475)
Bumps [helm.sh/helm/v3](https://github.com/helm/helm) from 3.16.1 to 3.16.2.
- [Release notes](https://github.com/helm/helm/releases)
- [Commits](https://github.com/helm/helm/compare/v3.16.1...v3.16.2)

---
updated-dependencies:
- dependency-name: helm.sh/helm/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-10 02:13:56 -07:00
kfox1111 c29f45fc30
Add AWS DB types (#464)
* Add remaining data store options

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix env var

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add aws db types

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update charts/spire/README.md

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Update charts/spire/README.md

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Fix mysql vars

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix missing )

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update charts/spire/charts/spire-server/values.yaml

Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Fix readme

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
2024-10-08 10:50:32 -07:00
kfox1111 898a349297
Add remaining data store options (#463)
* Add remaining data store options

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix env var

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update charts/spire/README.md

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Update charts/spire/README.md

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2024-10-07 16:18:06 -07:00
spire-helm-version-checker[bot] 2443515682
Bump test chart dependencies (#474)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2024-10-07 14:04:33 -07:00
kfox1111 c46179472c
Update the spire-controller-manager to 0.6.0 (#473)
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2024-10-03 16:27:23 -07:00
kfox1111 5d07eaff52
Align more settings to convention (#467)
* Align more settings to convention

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2024-10-03 12:06:38 -07:00
spire-helm-version-checker[bot] ea2d673830
Bump test chart dependencies (#470)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2024-09-30 17:06:39 -07:00
spire-helm-version-checker[bot] 352aee2f0d
Bump test chart dependencies (#468)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2024-09-23 06:50:10 -07:00
Faisal Memon c3c8514333
Change curl --caPath to --capath (#462)
Signed-off-by: Faisal Memon <fymemon@yahoo.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
2024-09-17 14:02:06 -07:00
kfox1111 68d21ccade
Add an initial json schema file for spire-agent (#458)
* Add an initial json schema file for spire-agent

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix tab

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2024-09-17 13:39:22 -07:00
Erik Godding Boye b7e9823a65
Add new config.jwtDomain value to oidc-discovery chart (#457)
Signed-off-by: Erik Godding Boye <egboye@gmail.com>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2024-09-17 12:36:52 -07:00
kfox1111 ee7aacf61b
Fix autoupdate patterns for spiffe-helper (#460)
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2024-09-17 08:27:01 -07:00
nweisenauer 8832da39b4
Protects SPIRE Agent's Chart Against YAML Template Injection (#450)
* protects agent's chart against template injection

Signed-off-by: Nico Weisenauer <137267159+nweisenauer-sap@users.noreply.github.com>

* removes unnecessary braces and whitespace

Signed-off-by: Nico Weisenauer <137267159+nweisenauer-sap@users.noreply.github.com>

* Removes int type validation via cast

Signed-off-by: Nico Weisenauer <137267159+nweisenauer-sap@users.noreply.github.com>

---------

Signed-off-by: Nico Weisenauer <137267159+nweisenauer-sap@users.noreply.github.com>
2024-09-16 06:23:01 -07:00
dependabot[bot] ea710023f4
Bump helm.sh/helm/v3 from 3.16.0 to 3.16.1 in /tests (#456)
Bumps [helm.sh/helm/v3](https://github.com/helm/helm) from 3.16.0 to 3.16.1.
- [Release notes](https://github.com/helm/helm/releases)
- [Commits](https://github.com/helm/helm/compare/v3.16.0...v3.16.1)

---
updated-dependencies:
- dependency-name: helm.sh/helm/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-14 04:38:50 -07:00
kfox1111 3bc70255e7
Update spiffe-helper (#453)
* Update spiffe-helper

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update .github/tests/images.json

Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
2024-09-12 09:49:14 -07:00
dependabot[bot] 98b332b63e
Bump helm.sh/helm/v3 from 3.15.4 to 3.16.0 in /tests (#452)
Bumps [helm.sh/helm/v3](https://github.com/helm/helm) from 3.15.4 to 3.16.0.
- [Release notes](https://github.com/helm/helm/releases)
- [Commits](https://github.com/helm/helm/compare/v3.15.4...v3.16.0)

---
updated-dependencies:
- dependency-name: helm.sh/helm/v3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-12 06:48:30 -07:00
spire-helm-version-checker[bot] 86d6fcac25
Bump test chart dependencies (#449)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2024-09-09 06:36:28 -07:00
Faisal Memon 01b1114e26 Bump spire Helm Chart version from 0.22.0 to 0.23.0
* 7df063f Upgrade SPIRE to 1.10.3 (#412)
* de5ec47 Bump test chart dependencies (#445)
* e72b94f Add all built in BundlePublishers (#430)
* 532852d Bump test chart dependencies (#440)
* 6e8ad56 Add a spire-agent auto kubelet verification mode (#435)
* 50c741e Remove extra check that sometimes breaks oidc (#437)
* e062b9f Support ipv4 only clusters (#434)
* b96e07e Enable more forms of kubelet certificate verification (#426)
* f92d729 Add missing properties required by SecurityContextConstraints CRD (#432)
* 8553a78 Bump test chart dependencies (#431)

Signed-off-by: Faisal Memon <fymemon@yahoo.com>
2024-09-04 14:00:46 -07:00
Faisal Memon 080d101787
Bump spire-nested Helm Chart version from 0.22.0 to 0.23.0 (#447)
* 7df063f Upgrade SPIRE to 1.10.3 (#412)

Signed-off-by: Faisal Memon <fymemon@yahoo.com>
2024-09-04 13:39:53 -07:00
kfox1111 7df063f8db
Upgrade SPIRE to 1.10.3 (#412)
* Update SPIRE to 1.10.3

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update charts/spire/charts/spire-agent/README.md

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2024-09-04 13:16:50 -07:00
spire-helm-version-checker[bot] de5ec47613
Bump test chart dependencies (#445)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2024-09-02 05:51:02 -07:00
dependabot[bot] 15ad08c64f
Bump github.com/onsi/gomega from 1.34.1 to 1.34.2 in /tests (#442)
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.34.1 to 1.34.2.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.34.1...v1.34.2)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-29 13:20:29 +02:00
dependabot[bot] 7297130a27
Bump github.com/onsi/ginkgo/v2 from 2.20.1 to 2.20.2 in /tests (#443)
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.20.1 to 2.20.2.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v2.20.1...v2.20.2)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-29 04:09:00 -07:00
kfox1111 e72b94fc13
Add all built in BundlePublishers (#430)
* Add all built in BundlePublishers

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add secret management

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix typo

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update charts/spire/charts/spire-server/values.yaml

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2024-08-27 12:35:23 -07:00
spire-helm-version-checker[bot] 532852d907
Bump test chart dependencies (#440)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2024-08-26 09:45:03 -07:00
kfox1111 6e8ad569b3
Add a spire-agent auto kubelet verification mode (#435)
* Add a spire-agent auto kubelet verification mode

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2024-08-23 15:09:55 -07:00
kfox1111 50c741e047
Remove extra check that sometimes breaks oidc (#437)
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2024-08-22 12:08:18 -07:00
kfox1111 f6872299e7
Fix delayed ingress startup in tests (#438)
* Fix delayed ingress startup in tests

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix lint

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2024-08-22 09:40:41 -07:00
dependabot[bot] 16283b5365
Bump github.com/onsi/ginkgo/v2 from 2.20.0 to 2.20.1 in /tests (#436)
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.20.0 to 2.20.1.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v2.20.0...v2.20.1)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-22 05:28:21 -07:00
kfox1111 e062b9f196
Support ipv4 only clusters (#434)
* Support ipv4 only clusters

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update charts/spire/charts/spiffe-oidc-discovery-provider/templates/configmap.yaml

Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
2024-08-21 12:00:38 -07:00
kfox1111 b96e07e349
Enable more forms of kubelet certificate verification (#426)
* Enable kubelet certificate verification by default

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update charts/spire/README.md

Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Update charts/spire/charts/spire-agent/templates/configmap.yaml

Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Fix image

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update charts/spire/charts/spire-agent/templates/configmap.yaml

Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2024-08-20 22:08:39 -07:00
Erik Godding Boye f92d729137
Add missing properties required by SecurityContextConstraints CRD (#432)
Signed-off-by: Erik Godding Boye <egboye@gmail.com>
2024-08-20 08:55:35 -07:00
spire-helm-version-checker[bot] 8553a78f6c
Bump test chart dependencies (#431)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2024-08-19 12:39:18 +02:00
Faisal Memon ba35e81247
Bump spire-nested Helm Chart version from 0.21.1 to 0.22.0 (#429)
* 827a3ea Bump spire to 1.10.1 (#424)

Signed-off-by: Faisal Memon <fymemon@yahoo.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
2024-08-15 10:13:02 -07:00
Faisal Memon de1e98337a
Bump spire Helm Chart version from 0.21.1 to 0.22.0 (#428)
* 9b2d72f Fix permission issue with 1.10 and defaults when upgraded (#423)
* 827a3ea Bump spire to 1.10.1 (#424)
* 0289e5f Revert "Added support for specifying Kubelet CA Path (#415)" (#422)
* bf40797 Bump test chart dependencies (#418)
* abcf019 Added support for specifying Kubelet CA Path (#415)
* 6d4d526 Allow configuring persistence in the spire-agent (#414)

Signed-off-by: Faisal Memon <fymemon@yahoo.com>
2024-08-15 13:59:31 +00:00
dependabot[bot] 3e9256ab5c
Bump helm.sh/helm/v3 from 3.15.3 to 3.15.4 in /tests (#427)
Bumps [helm.sh/helm/v3](https://github.com/helm/helm) from 3.15.3 to 3.15.4.
- [Release notes](https://github.com/helm/helm/releases)
- [Commits](https://github.com/helm/helm/compare/v3.15.3...v3.15.4)

---
updated-dependencies:
- dependency-name: helm.sh/helm/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-15 06:32:36 -07:00
kfox1111 9b2d72f6a2
Fix permission issue with 1.10 and defaults when upgraded (#423)
* Fix permission issue with 1.10 and defaults when upgraded

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix indenting

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2024-08-13 22:21:20 -07:00
kfox1111 827a3ea80c
Bump spire to 1.10.1 (#424)
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2024-08-13 11:44:07 -07:00
kfox1111 0289e5fb00
Revert "Added support for specifying Kubelet CA Path (#415)" (#422)
This reverts commit abcf01958a.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2024-08-13 11:03:31 -07:00
spire-helm-version-checker[bot] bf40797049
Bump test chart dependencies (#418)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2024-08-12 07:05:38 -07:00
Andrew Block abcf01958a
Added support for specifying Kubelet CA Path (#415)
Signed-off-by: Andrew Block <andy.block@gmail.com>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2024-08-09 04:56:11 +00:00
kfox1111 41dce8c32f
Add oci registry style chart support to infrastructure (#405)
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2024-08-08 21:35:22 -07:00
kfox1111 6d4d52604a
Allow configuring persistence in the spire-agent (#414)
* Allow configuring persistence in the spire-agent

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Better wording. Leave space for other services if needed some day.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2024-08-08 20:06:06 -07:00
dependabot[bot] 84f4f45e35
Bump github.com/onsi/ginkgo/v2 from 2.19.1 to 2.20.0 in /tests (#413)
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.19.1 to 2.20.0.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v2.19.1...v2.20.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-08 06:42:03 -07:00
Faisal Memon 42e702a8da
Bump spire-nested Helm Chart version from 0.21.0 to 0.21.1 (#410)
* c3d1d39 Update to SPIRE 1.10.0 (#393)

Signed-off-by: Faisal Memon <fymemon@yahoo.com>
2024-08-06 09:31:12 -07:00
Faisal Memon b4d4d901b9
Bump spire Helm Chart version from 0.21.0 to 0.21.1 (#409)
* 82a6d5d Should be `admin_socket_path` not `admin_socket_dir` (#407)
* 6240c0b Bump test chart dependencies (#402)
* c3d1d39 Update to SPIRE 1.10.0 (#393)
* 741cd9c Bump test chart dependencies (#398)
* c507ee0 Bump test chart dependencies (#397)
* 199bb6f Add connect by hostname to agent cofigmap (#392)
* eb6d89b Update charts/spire/README.md
* c93ad87 Add valid kubectl version to examples
* 500fdd9 Bump test chart dependencies (#391)
* 08fc5f3 Bump test chart dependencies (#390)
* 6904295 Bump test chart dependencies (#389)
* fb7fb80 Fix format for ignoreNamespaces (#388)
* 7a0a77b Fix host path of "spire-agent-admin-socket-dir" volume (#386)
* 1d2d755 Add resource limits for upgrade and delete hook batch jobs (#366)
* f7e0d4b Update _spire-system-namespace.yaml (#381)
* 29d4b57 Bump test chart dependencies
* 4c9059e Bump test chart dependencies (#379)
* 1dc650f Apply wildcard for ignoreNamespaces in Controller Manager (#378)
* 6c2b5e6 Bump test chart dependencies (#376)

Signed-off-by: Faisal Memon <fymemon@yahoo.com>
2024-08-06 08:28:22 -07:00
Ben Leggett 82a6d5d410
Should be `admin_socket_path` not `admin_socket_dir` (#407)
Signed-off-by: Benjamin Leggett <benjamin.leggett@solo.io>
2024-08-05 15:49:01 -07:00
spire-helm-version-checker[bot] 1ca738fedc
Bump test chart dependencies (#404)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2024-08-05 10:45:15 -07:00
dependabot[bot] 0fd587a7ad
Bump github.com/onsi/gomega from 1.34.0 to 1.34.1 in /tests (#403)
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.34.0 to 1.34.1.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.34.0...v1.34.1)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-30 08:42:06 -07:00
spire-helm-version-checker[bot] 6240c0b08c
Bump test chart dependencies (#402)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
2024-07-29 12:57:07 +00:00
dependabot[bot] 6679846c29
Bump github.com/onsi/ginkgo/v2 from 2.19.0 to 2.19.1 in /tests (#401)
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.19.0 to 2.19.1.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v2.19.0...v2.19.1)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-29 05:35:35 -07:00
dependabot[bot] 6f38f525c8
Bump github.com/onsi/gomega from 1.33.1 to 1.34.0 in /tests (#400)
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.33.1 to 1.34.0.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.33.1...v1.34.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-26 07:33:26 -07:00
kfox1111 c3d1d39ed7
Update to SPIRE 1.10.0 (#393)
* Update to SPIRE 1.10.0

Remove the options that were removed in 1.10, and update.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix uid mismatch issue on 1.10.0+

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2024-07-24 12:19:06 -07:00
spire-helm-version-checker[bot] 741cd9c6b4
Bump test chart dependencies (#398)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2024-07-22 07:41:57 -07:00
spire-helm-version-checker[bot] c507ee0ea3
Bump test chart dependencies (#397)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2024-07-15 15:14:13 +02:00
tuxotron 199bb6f998
Add connect by hostname to agent cofigmap (#392)
When setting the kubeletConnectByHostname to "true", the charts update the agent daemonset to define the MY_NODE_NAME environment variable, but it doesn't set the "node_name_env" setting in the WorkloadAttestor:k8s plugin, therefore the agent continues trying to connect to the kubelet using the localhost interface

Signed-off-by: tuxotron <tuxotron@gmail.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
2024-07-11 12:47:57 -07:00
dependabot[bot] 9c77280e6e
Bump helm.sh/helm/v3 from 3.15.2 to 3.15.3 in /tests (#395)
Bumps [helm.sh/helm/v3](https://github.com/helm/helm) from 3.15.2 to 3.15.3.
- [Release notes](https://github.com/helm/helm/releases)
- [Commits](https://github.com/helm/helm/compare/v3.15.2...v3.15.3)

---
updated-dependencies:
- dependency-name: helm.sh/helm/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-11 07:53:04 +00:00
Mariusz Sabath 046d91cd90
Merge pull request #394 from spiffe/rancher-version
Add valid `rancher/kubectl` version to examples
2024-07-10 14:58:36 -04:00
Mariusz Sabath eb6d89b472
Update charts/spire/README.md
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>
2024-07-09 14:08:55 -04:00
Mariusz Sabath c93ad87c15
Add valid kubectl version to examples
Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>
2024-07-09 11:42:27 -04:00
spire-helm-version-checker[bot] 500fdd9ac3
Bump test chart dependencies (#391)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2024-07-08 12:03:03 +02:00
spire-helm-version-checker[bot] 08fc5f3d46
Bump test chart dependencies (#390)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2024-07-01 08:20:53 +00:00
spire-helm-version-checker[bot] 690429525c
Bump test chart dependencies (#389)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2024-06-24 08:20:59 +00:00
Mariusz Sabath fb7fb809fa
Fix format for ignoreNamespaces (#388)
Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>
2024-06-23 16:29:39 -07:00
knp-sap 7a0a77b6b8
Fix host path of "spire-agent-admin-socket-dir" volume (#386)
Signed-off-by: knp-sap <140621443+knp-sap@users.noreply.github.com>
2024-06-23 09:54:39 -07:00
kfox1111 1d2d7550c5
Add resource limits for upgrade and delete hook batch jobs (#366)
* Add resource limits for upgrade and delete hook batch jobs

Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>

* Fix value of resource

Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>

* Fix resource limit in server template

Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix up doc comment

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Co-authored-by: aniket patel <apatel10@alumni.ncsu.edu>
2024-06-19 12:50:21 -07:00
tuxotron f7e0d4b831
Update _spire-system-namespace.yaml (#381)
set right namespace labels

Signed-off-by: tuxotron <tuxotron@gmail.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
2024-06-17 16:56:35 -07:00
marcofranssen 29d4b57373 Bump test chart dependencies
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-17 11:37:20 +02:00
dependabot[bot] 2fdebf09a8 Bump helm.sh/helm/v3 from 3.15.1 to 3.15.2 in /tests
Bumps [helm.sh/helm/v3](https://github.com/helm/helm) from 3.15.1 to 3.15.2.
- [Release notes](https://github.com/helm/helm/releases)
- [Commits](https://github.com/helm/helm/compare/v3.15.1...v3.15.2)

---
updated-dependencies:
- dependency-name: helm.sh/helm/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-14 09:41:43 +02:00
spire-helm-version-checker[bot] 4c9059ea52
Bump test chart dependencies (#379)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2024-06-10 05:24:55 -07:00
Mariusz Sabath 1dc650f06e
Apply wildcard for ignoreNamespaces in Controller Manager (#378)
* Apply wildcard for ignoreNamespaces in Controller Manager

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

* Add the doc updates

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

* Update charts/spire/charts/spire-server/values.yaml

Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
Signed-off-by: Edwin Buck <edwbuck@gmail.com>

---------

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>
Signed-off-by: Edwin Buck <edwbuck@gmail.com>
Co-authored-by: Edwin Buck <edwbuck@gmail.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
2024-06-06 15:56:15 -07:00
spire-helm-version-checker[bot] 6c2b5e64cc
Bump test chart dependencies (#376)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2024-06-03 06:50:32 -07:00
Faisal Memon 7eb8c6c98d Bump spire-nested Helm Chart version from 0.20.0 to 0.21.0
Signed-off-by: Faisal Memon <fymemon@yahoo.com>
2024-05-30 15:27:28 -07:00
Faisal Memon 63853f5494
Bump spire Helm Chart version from 0.20.0 to 0.21.0 (#373)
* 54a2f03 Change cleanup default (#349)
* d29ad06 Bump test chart dependencies (#369)
* 7dabbf1 Add Openshift ignore namespaces to Controller Manager (#363)
* db177d4 Fix spelling error in Controller Manager config (#362)
* d236154 Fix upstream ca name suffix issue (#361)
* bfcf418 Bump test chart dependencies (#359)
* c31a2e9 Bump up spire to 1.9.6 (#356)
* 2c5dfa0 Improve Tornjak NOTES. Fixes #132 (#354)
* a453a2c Bump test chart dependencies (#355)
* b6575c1 Update Tornjak deployment docs (#288)
* be560d9 Check for a misconfiguration of bundle endpoint profiles (#348)
* b2e9f40 Bump spire version (#352)
* 7165b20 Bump test chart dependencies (#350)
* da4ebdf Fix federation certificate name when upstream enabled (#347)
* c37de1e Fix Tornjak logsDir for Openshift (#344)
* 8fef1bd Add external spire-controller-managers (#284)
* ee12404 set refresh hint to 1/3 of default CA TTL value fixes #335 (#343)
* 2d9866a Bump test chart dependencies (#338)
* 6de23d3 Don't create role/binding when bundle disabled (#336)
* c132cc4 Add support for externalServer=true (#303)
* a2494ee Add auth option for Tornjak (#259)
* f679a0d Bump test chart dependencies (#333)
* 5149256 Work around curl change
* 3d2ac16 Bump test chart dependencies
* 08f699b Add spire-lib chart (#289)
* 260b02f Add an easy to use identity for child servers (#302)

Signed-off-by: Faisal Memon <fymemon@yahoo.com>
2024-05-30 22:00:00 +00:00
kfox1111 54a2f036bf
Change cleanup default (#349)
* Change cleanup default

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update charts/spire/README.md

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Update charts/spire/README.md

Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Update charts/spire/README.md

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Fix merge issue and incorperate feedback.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2024-05-30 12:22:03 -07:00
spire-helm-version-checker[bot] d29ad0649f
Bump test chart dependencies (#369)
* Bump test chart dependencies

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Remove workaround as they fixed curl

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
Co-authored-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2024-05-27 06:36:36 -07:00
dependabot[bot] 39084afa71 Bump github.com/onsi/ginkgo/v2 from 2.18.0 to 2.19.0 in /tests
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.18.0 to 2.19.0.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v2.18.0...v2.19.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-27 09:39:46 +02:00
dependabot[bot] 6ff84393fc
Bump helm.sh/helm/v3 from 3.15.0 to 3.15.1 in /tests (#365)
Bumps [helm.sh/helm/v3](https://github.com/helm/helm) from 3.15.0 to 3.15.1.
- [Release notes](https://github.com/helm/helm/releases)
- [Commits](https://github.com/helm/helm/compare/v3.15.0...v3.15.1)

---
updated-dependencies:
- dependency-name: helm.sh/helm/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-26 15:03:39 +00:00
Mariusz Sabath 7dabbf16d3
Add Openshift ignore namespaces to Controller Manager (#363)
* Fix spelling error in Controller Manager config

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

* Add ignoreNamespaces to ControllerManager for Openshift

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

---------

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>
2024-05-26 07:55:26 -07:00
Mariusz Sabath db177d4b85
Fix spelling error in Controller Manager config (#362)
Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>
2024-05-23 19:26:44 +00:00
kfox1111 d2361549db
Fix upstream ca name suffix issue (#361)
* Fix upstream ca name suffix issue

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix quoting

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2024-05-23 09:43:19 -07:00
dependabot[bot] f613d1ad5b
--- (#360) 2024-05-22 00:15:28 -07:00
kfox1111 a2689c986c
Add spire-nested chart (#294)
* Complete Server K8S PSAT support

Add all the SPIRE Server supported options for the K8S PSAT attestor. This retains the
ease of use for configuring local cluster support while adding the ability to configure
multiple/external clusters as well. Kubeconfig support is added in its own config block
as it will be used/shared with spire-controller-manager support in the future.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix merge conflict

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add support for integration tests in the tests/integration dir

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix split issue and typo

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add basic psat test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix linter

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix up test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add missing file

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Better encode config

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update charts/spire/charts/spire-server/values.yaml

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Update docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update charts/spire/charts/spire-server/values.yaml

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add external k8s bundler

Adds support to sync the CA bundle to configmaps in external
Kubernetes clusters

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update default

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix config file layout. Incorperate feedback.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update based on parent pr feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Reformat config file

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix some things

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Reconfigure kind

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* More debugging

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix up kind

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add external spire-controller-managers

Only one external controller manager is supported at a time until
https://github.com/spiffe/spire/issues/4898 is resolved.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix tests

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add Entry ID Prefix support

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Mulitcluster test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Implement cleanup setting too

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Make spire-lib bits into its own library chart.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add spire-nested chart

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix tests

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix lint issue

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add missing file

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add nameOverride option

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Simplify upstream config. Reorder test for faster executation

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Enable service account allow list to calculate namespace

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add identity type for child servers

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Enable name override setting

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix printing

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix formatting

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix name length issue

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Switch to non cluster-admin user

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Test out adding roles

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Namespace needs to exist

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Remove tty

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix name

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add missing role

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add kind=none to not require extra objects

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Remove unneeded code

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add security cluster example

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Dont preinstall crds for nested-security

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix tests

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix address

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update port

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update psat setting

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update psat setting

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix tests

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix tests

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Remove older tests that newer tests cover

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix kind logic

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Seems unneeded. Try and remove

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update the default ports to be more user friendly

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* See if we can leave controller manager port alone

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Change the agent default port too

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Bump up test container

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Swith to testing with nightly

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix value name

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Upgrade to spire-controller-manager 0.5.0

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Try to isolate config differences just to child cluster

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update for released 0.5.0

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Merge in some of the id prefix pr

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Entry ID Prefix (#287)

* Add Entry ID Prefix support

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Mulitcluster test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Implement cleanup setting too

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Bump up test container

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Swith to testing with nightly

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix value name

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Fix up doc formatting

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Revert notes

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Use tags for nested chart

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add missing tag

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix formatting

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix class name

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix merge conflict issue

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix merge issue

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix merge issue

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback. Switch setting to be externalServer.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update nested chart to use new setting

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix merge issue

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix merge conflict

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix merge conflict

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add docs about which sections are used with which tags

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update versions

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2024-05-20 08:58:22 -07:00
spire-helm-version-checker[bot] bfcf418301
Bump test chart dependencies (#359)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2024-05-20 06:33:31 -07:00
dependabot[bot] 39453a1365
Bump helm.sh/helm/v3 from 3.14.4 to 3.15.0 in /tests (#357)
Bumps [helm.sh/helm/v3](https://github.com/helm/helm) from 3.14.4 to 3.15.0.
- [Release notes](https://github.com/helm/helm/releases)
- [Commits](https://github.com/helm/helm/compare/v3.14.4...v3.15.0)

---
updated-dependencies:
- dependency-name: helm.sh/helm/v3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-16 16:39:17 +00:00
kfox1111 c31a2e9f65
Bump up spire to 1.9.6 (#356)
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2024-05-16 09:20:14 -07:00
Mariusz Sabath 2c5dfa010f
Improve Tornjak NOTES. Fixes #132 (#354)
* Improve Tornjak NOTES. Fixes #132

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

* Fix Tornjak ingress value

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

---------

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>
2024-05-14 13:52:55 -07:00
spire-helm-version-checker[bot] a453a2c1b4
Bump test chart dependencies (#355)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2024-05-13 13:11:02 +02:00
Mariusz Sabath b6575c172d
Update Tornjak deployment docs (#288)
* Update Tornjak deployment docs

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

* Change the  reference for installing standard Tornjak

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

* Update examples/tornjak/README.md

Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

* Adjust deployment paths

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

* Remove the production README changes

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

* Minor text edits

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

* Fix incorrect namespace value

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

* Updat Tornjak README

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

* Update Keycloak README

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

* Text updates in Keycloak doc

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

* Post-review updates

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

* Update Tornjak message for User Management

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

* Update examples/tornjak/keycloak/README.md

Co-authored-by: Mohammed Abdi <mohammma@usc.edu>
Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

* Update Tornjak deployment doc

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

* Improve the Tornjak Auth message

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

* Fix error with incorrect Ingress value

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

* Fix documentation format

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

* Update parameter format

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

* Removed redundand doc sections

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

---------

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Mohammed Abdi <mohammma@usc.edu>
2024-05-09 04:26:17 -07:00
dependabot[bot] a9b04fd86c
Bump github.com/onsi/ginkgo/v2 from 2.17.2 to 2.17.3 in /tests (#353) 2024-05-07 22:16:18 -07:00
kfox1111 be560d95d8
Check for a misconfiguration of bundle endpoint profiles (#348)
* Check for a misconfiguration of bundle endpoint profiles

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update charts/spire/charts/spire-server/templates/configmap.yaml

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2024-05-08 03:38:04 +00:00
kfox1111 b2e9f40774
Bump spire version (#352)
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2024-05-07 20:16:15 -07:00
spire-helm-version-checker[bot] 7165b20ddf
Bump test chart dependencies (#350)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2024-05-06 12:57:43 -07:00
kfox1111 da4ebdfcaf
Fix federation certificate name when upstream enabled (#347)
When both federation certificates and upstream authority both
use cert-manager, there is a naming conflict.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2024-05-03 14:17:31 -07:00
Mariusz Sabath c37de1ea0c
Fix Tornjak logsDir for Openshift (#344)
* Fix Tornjak logsDir for Openshift

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

* Update docs

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

* Update charts/spire/charts/tornjak-frontend/templates/_helpers.tpl

Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

---------

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
2024-05-03 08:04:38 -07:00
kfox1111 8fef1bd050
Add external spire-controller-managers (#284)
* Complete Server K8S PSAT support

Add all the SPIRE Server supported options for the K8S PSAT attestor. This retains the
ease of use for configuring local cluster support while adding the ability to configure
multiple/external clusters as well. Kubeconfig support is added in its own config block
as it will be used/shared with spire-controller-manager support in the future.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix merge conflict

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add support for integration tests in the tests/integration dir

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix split issue and typo

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add basic psat test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix linter

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix up test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add missing file

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Better encode config

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update charts/spire/charts/spire-server/values.yaml

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Update docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update charts/spire/charts/spire-server/values.yaml

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add external k8s bundler

Adds support to sync the CA bundle to configmaps in external
Kubernetes clusters

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update default

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix config file layout. Incorperate feedback.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update based on parent pr feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Reformat config file

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix some things

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Reconfigure kind

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* More debugging

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix up kind

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add external spire-controller-managers

Only one external controller manager is supported at a time until
https://github.com/spiffe/spire/issues/4898 is resolved.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix tests

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Upgrade to spire-controller-manager 0.5.0

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update for released 0.5.0

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Merge in some of the id prefix pr

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Entry ID Prefix (#287)

* Add Entry ID Prefix support

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Mulitcluster test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Implement cleanup setting too

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Bump up test container

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Swith to testing with nightly

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix value name

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Fix up doc formatting

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix merge conflict

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update charts/spire/charts/spire-server/values.yaml

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2024-05-02 21:08:31 +00:00
Drew Wells ee124042c2
set refresh hint to 1/3 of default CA TTL value fixes #335 (#343)
Signed-off-by: Drew Wells <drew.wells00@gmail.com>
2024-05-02 13:24:51 -07:00
dependabot[bot] f8fd46a28d
Bump github.com/onsi/gomega from 1.33.0 to 1.33.1 in /tests (#340)
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.33.0 to 1.33.1.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.33.0...v1.33.1)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-30 08:10:29 -07:00
spire-helm-version-checker[bot] 2d9866ada2
Bump test chart dependencies (#338)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
2024-04-29 06:10:16 -07:00
dependabot[bot] d92e8b0497
Bump github.com/onsi/ginkgo/v2 from 2.17.1 to 2.17.2 in /tests (#337)
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.17.1 to 2.17.2.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v2.17.1...v2.17.2)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-29 05:15:11 -07:00
kfox1111 6de23d3303
Don't create role/binding when bundle disabled (#336)
When the bundle notifier is disabled, there is no need to create
a role and role binding for it.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2024-04-26 14:21:16 -07:00
kfox1111 c132cc481e
Add support for externalServer=true (#303) 2024-04-26 19:19:01 +00:00
Mohammed Abdi a2494ee45e
Add auth option for Tornjak (#259)
* Added auth option, specifically keycloak for tornjak production use

Signed-off-by: Mohammed Abdi <moabdi@Mohammeds-MBP.attlocal.net>

* Added auth values for tornjak

Signed-off-by: Mohammed Abdi <moabdi@Mohammeds-MBP.attlocal.net>

* Update charts/spire/charts/tornjak-frontend/values.yaml

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: Mohammed Abdi <mohammma@usc.edu>

* Update examples/tornjak/keycloak/README.md

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: Mohammed Abdi <mohammma@usc.edu>

* Update examples/tornjak/keycloak/README.md

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: Mohammed Abdi <mohammma@usc.edu>

* Update examples/tornjak/keycloak/README.md

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: Mohammed Abdi <mohammma@usc.edu>

* Update examples/tornjak/keycloak/README.md

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: Mohammed Abdi <mohammma@usc.edu>

* Update examples/tornjak/keycloak/README.md

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: Mohammed Abdi <mohammma@usc.edu>

* Update examples/tornjak/keycloak/README.md

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: Mohammed Abdi <mohammma@usc.edu>

* nit

Signed-off-by: Mohammed Abdi <moabdi@Mohammeds-MBP.attlocal.net>

* nit

Signed-off-by: Mohammed Abdi <moabdi@Mohammeds-MBP.attlocal.net>

* nit

Signed-off-by: Mohammed Abdi <moabdi@Mohammeds-MBP.attlocal.net>

* Update examples/tornjak/keycloak/README.md

Co-authored-by: Mariusz Sabath <mrsabath@gmail.com>
Signed-off-by: Mohammed Abdi <mohammma@usc.edu>

* nit

Signed-off-by: Mohammed Abdi <moabdi@Mohammeds-MBP.attlocal.net>

* install keycloak first

Signed-off-by: Mohammed Abdi <moabdi@Mohammeds-MBP.attlocal.net>

* add logs volume back

Signed-off-by: Mohammed Abdi <moabdi@Mohammeds-MBP.attlocal.net>

* Fixed NPM init error

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

* Fixed the values documentation errors

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

* Post-review suggestion fixes

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

* Fixed typo

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

* Updating Keyclaok examples README

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

* Fixed the parameter reference

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

* Fix typo

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

* use keycloak-config-cli to simplify tornjak realm import

Signed-off-by: MohammedAbdi <mohammma@usc.edu>

* edit client id

Signed-off-by: MohammedAbdi <mohammma@usc.edu>

* reverse client id

Signed-off-by: MohammedAbdi <mohammma@usc.edu>

* fix the doc

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

* update tornjak version and backend auth

Signed-off-by: MohammedAbdi <mohammma@usc.edu>

* update client id

Signed-off-by: MohammedAbdi <mohammma@usc.edu>

* updates values yaml

Signed-off-by: MohammedAbdi <mohammma@usc.edu>

* update documentation

Signed-off-by: MohammedAbdi <mohammma@usc.edu>

* nit

Signed-off-by: MohammedAbdi <mohammma@usc.edu>

* update doc

Signed-off-by: MohammedAbdi <mohammma@usc.edu>

* add audience check tornjak

Signed-off-by: MohammedAbdi <mohammma@usc.edu>

* remove unused file

Signed-off-by: MohammedAbdi <mohammma@usc.edu>

* update doc

Signed-off-by: MohammedAbdi <mohammma@usc.edu>

* nit and add auth not enabled warning back

Signed-off-by: MohammedAbdi <mohammma@usc.edu>

* adjust liveness probe until tornjak handles liveendpoint for auth and direct connection to discovery

Signed-off-by: MohammedAbdi <mohammma@usc.edu>

* update doc and add keycloak proxy

Signed-off-by: MohammedAbdi <mohammma@usc.edu>

---------

Signed-off-by: Mohammed Abdi <moabdi@Mohammeds-MBP.attlocal.net>
Signed-off-by: Mohammed Abdi <mohammma@usc.edu>
Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>
Signed-off-by: MohammedAbdi <mohammma@usc.edu>
Co-authored-by: Mohammed Abdi <moabdi@Mohammeds-MBP.attlocal.net>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Co-authored-by: Mariusz Sabath <mrsabath@gmail.com>
2024-04-25 15:49:20 -07:00
spire-helm-version-checker[bot] f679a0dab6
Bump test chart dependencies (#333)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2024-04-22 06:34:39 -07:00
Kevin Fox 5149256671 Work around curl change
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2024-04-19 16:36:40 +02:00
marcofranssen 3d2ac166b9 Bump test chart dependencies
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-19 16:36:40 +02:00
dependabot[bot] 184372690a
Bump github.com/onsi/gomega from 1.32.0 to 1.33.0 in /tests (#332)
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.32.0 to 1.33.0.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.32.0...v1.33.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-19 06:58:44 -07:00
kfox1111 08f699bdb0
Add spire-lib chart (#289)
* Add spire-lib chart

Make spire-lib bits into its own library chart.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Move notes back

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix NOTES

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
2024-04-18 08:21:31 -07:00
kfox1111 260b02f973
Add an easy to use identity for child servers (#302)
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2024-04-16 08:35:07 -07:00
dependabot[bot] 1304364770
Bump helm.sh/helm/v3 from 3.14.3 to 3.14.4 in /tests (#325)
Bumps [helm.sh/helm/v3](https://github.com/helm/helm) from 3.14.3 to 3.14.4.
- [Release notes](https://github.com/helm/helm/releases)
- [Commits](https://github.com/helm/helm/compare/v3.14.3...v3.14.4)

---
updated-dependencies:
- dependency-name: helm.sh/helm/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
2024-04-11 19:27:38 -07:00
Faisal Memon 27689e797b
Bump spire Helm Chart version from 0.19.2 to 0.20.0 (#329)
* 1bf3aa7 Default spire-server port 443 (#308)
* 1ef979c Remove upgrade hook needed in 0.19.x (#317)
* aa92791 Upgrade to spire-controller-manager 0.5.0 (#316)
* c1e4feb Fix ingress host with a dot (#323)
* 5b1bf43 Update spire to 1.9.4 (#324)
* dcd11e9 Fix chainguard issue (#326)
* bc79f58 AWS KMS key_identifier upgrade (#314)

Signed-off-by: Faisal Memon <fymemon@yahoo.com>
2024-04-11 16:10:50 -07:00
Faisal Memon a5613b8cd7
Bump spire-crds Helm Chart version from 0.3.0 to 0.4.0 (#328)
* aa92791 Upgrade to spire-controller-manager 0.5.0 (#316)

Signed-off-by: Faisal Memon <fymemon@yahoo.com>
2024-04-11 15:56:57 -07:00
kfox1111 1bf3aa77ef
Default spire-server port 443 (#308)
Changes the default service port for the spire-server to 443 to allow easier switching between internal access and external access through an ingress controller.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: Faisal Memon <fymemon@yahoo.com>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2024-04-11 12:29:28 -07:00
kfox1111 1ef979c4e7
Remove upgrade hook needed in 0.19.x (#317)
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2024-04-11 12:00:34 -07:00
kfox1111 aa92791df2
Upgrade to spire-controller-manager 0.5.0 (#316)
* Upgrade to spire-controller-manager 0.5.0

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update for released 0.5.0

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix up doc formatting

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
2024-04-11 11:58:00 -07:00
kfox1111 c1e4feb34d
Fix ingress host with a dot (#323)
Fixes: https://github.com/spiffe/helm-charts-hardened/issues/312

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2024-04-11 11:16:08 -07:00
kfox1111 5b1bf432f4
Update spire to 1.9.4 (#324)
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2024-04-11 11:15:05 -07:00
kfox1111 dcd11e9ff4
Fix chainguard issue (#326)
Chainguard renamed an image we depend on. Update to the new name.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2024-04-11 11:14:05 -07:00
anhpatel bc79f58ab7
AWS KMS key_identifier upgrade (#314)
* Allow use of key_identifier_file or key_identifier_value in place of key_metadata_file

Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>

* Change key identifier values to have enabled flags

Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>

* Update charts/spire/charts/spire-server/templates/configmap.yaml

Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
Signed-off-by: anhpatel <162738027+anhpatel@users.noreply.github.com>

* Update charts/spire/charts/spire-server/templates/configmap.yaml

Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
Signed-off-by: anhpatel <162738027+anhpatel@users.noreply.github.com>

* Update charts/spire/charts/spire-server/values.yaml

Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
Signed-off-by: anhpatel <162738027+anhpatel@users.noreply.github.com>

* Update docs

Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>

* Update charts/spire/charts/spire-server/values.yaml

Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
Signed-off-by: anhpatel <162738027+anhpatel@users.noreply.github.com>

* Update docs

Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>

---------

Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>
Signed-off-by: anhpatel <162738027+anhpatel@users.noreply.github.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
2024-04-10 06:26:10 -07:00
Faisal Memon 7aa8cb360e Bump spire Helm Chart version from 0.19.1 to 0.19.2
* 38e72d1 Update spire-controller-manager to 0.4.4 (#318)
* 3736010 Update spire to 1.9.3 (#315)
* fafed66 Add global for storageClass (#307)
* 0b99a72 Add config for experimental events based cache (#311)
* 8a542ab nameOverride autoconfig support (#305)
* af2639e Bump test chart dependencies (#310)

Signed-off-by: Faisal Memon <fymemon@yahoo.com>
2024-04-05 16:42:33 -07:00
kfox1111 38e72d111d
Update spire-controller-manager to 0.4.4 (#318)
* Update spire-controller-manager to 0.4.4

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2024-04-05 23:19:59 +00:00
kfox1111 373601086e
Update spire to 1.9.3 (#315)
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2024-04-05 13:37:37 -07:00
kfox1111 fafed66866
Add global for storageClass (#307)
When you have multiple spire servers, they often all need to be
configured to use the same storage class. Let them all be set
to the same value all at once.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2024-04-02 23:28:55 +00:00
Faisal Memon 0b99a7258f
Add config for experimental events based cache (#311)
Signed-off-by: Faisal Memon <fymemon@yahoo.com>
2024-04-02 22:55:41 +00:00
kfox1111 8a542ab2ac
nameOverride autoconfig support (#305)
* nameOverride autoconfig support

When setting up nested charts with nameOverride, you need to
be able to inform other charts about the override.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2024-04-02 12:56:58 -07:00
spire-helm-version-checker[bot] af2639e4e3
Bump test chart dependencies (#310)
* Bump test chart dependencies

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Revert bash image that breaks tests

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
Co-authored-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2024-04-02 11:03:22 -07:00
Faisal Memon 530b0bd96d Bump spire Helm Chart version from 0.19.0 to 0.19.1
* 8887d01 Enable serviceAccountAllowList to autocalculate namespace (#304)
* d418ee1 Update to SPIRE 1.9.2, use retry_bootstrap, remove wait for it (#301)
* 2fcc105 Fix kubeCconfig edge case (#306)
* a15e445 Run SPIRE server as deployment (#293)
* c821126 Fix documentation issue (#300)
* 3b04a83 Bump test chart dependencies (#299)

Signed-off-by: Faisal Memon <fymemon@yahoo.com>
2024-03-29 14:35:10 -07:00
kfox1111 8887d017b0
Enable serviceAccountAllowList to autocalculate namespace (#304)
* Enable serviceAccountAllowList to autocalculate namespace

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update charts/spire/charts/spire-server/values.yaml

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2024-03-28 11:38:36 -07:00
Faisal Memon d418ee16f8
Update to SPIRE 1.9.2, use retry_bootstrap, remove wait for it (#301)
* Update to SPIRE 1.9.2, use retry_bootstrap, remove wait for it

Signed-off-by: Faisal Memon <fymemon@yahoo.com>

* Remove waitfor it in values.yaml

Signed-off-by: Faisal Memon <fymemon@yahoo.com>

* Update docs

Signed-off-by: Faisal Memon <fymemon@yahoo.com>

* Remove wait for it from images.json

Signed-off-by: Faisal Memon <fymemon@yahoo.com>

---------

Signed-off-by: Faisal Memon <fymemon@yahoo.com>
2024-03-27 18:55:22 +00:00
kfox1111 2fcc105f32
Fix kubeCconfig edge case (#306)
When installing with nodeAttestor.k8sPsat.enabled=false and no
kubeConfig yet or with .Values.notifier.k8sbundle.enabled=false and no
kubeConfig yet, it produces a bad config file.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2024-03-27 09:35:46 -07:00
anhpatel a15e44588a
Run SPIRE server as deployment (#293)
* Bump spire Helm Chart version from 0.18.1 to 0.18.2

* fd3b7d5 Fix duplicate securityContext section in spire-agent (#279)

Signed-off-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>

* Add spire-server as deployment

Signed-off-by: aniket patel <aniket.patel@thetradedesk.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>

* Add stateless-server example

Signed-off-by: aniket patel <aniket.patel@thetradedesk.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>

* Update README.md to add deploymentType

Signed-off-by: anhpatel <162738027+anhpatel@users.noreply.github.com>
Signed-off-by: aniket patel <aniket.patel@thetradedesk.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>

* Set hpa type based on deploymentType

Signed-off-by: aniket patel <aniket.patel@thetradedesk.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>

* Change deploymentType values to lowercase in README

Signed-off-by: aniket patel <aniket.patel@thetradedesk.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>

* Update readme for stateless-server

Signed-off-by: aniket patel <aniket.patel@thetradedesk.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>

* Revert README changes

Signed-off-by: aniket patel <aniket.patel@thetradedesk.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>

* Update readme for deploymentType

Signed-off-by: aniket patel <aniket.patel@thetradedesk.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>

* Failure handling only when deployment type checked

Signed-off-by: aniket patel <aniket.patel@thetradedesk.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>

* Fix issue with tests not running  on automated PRs (#266)

* Use github app for version checker

Signed-off-by: Faisal Memon <fymemon@yahoo.com>

* Use full version

Signed-off-by: Faisal Memon <fymemon@yahoo.com>

---------

Signed-off-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>

* Bump test chart dependencies (#282)

Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>

* Bump peter-evans/create-pull-request from 6.0.1 to 6.0.2 (#283)

Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v6.0.1...v6.0.2)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>

* Complete Server K8S PSAT support (#242)

* Complete Server K8S PSAT support

Add all the SPIRE Server supported options for the K8S PSAT attestor. This retains the
ease of use for configuring local cluster support while adding the ability to configure
multiple/external clusters as well. Kubeconfig support is added in its own config block
as it will be used/shared with spire-controller-manager support in the future.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix merge conflict

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add support for integration tests in the tests/integration dir

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix split issue and typo

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add basic psat test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix linter

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix up test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add missing file

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Better encode config

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update charts/spire/charts/spire-server/values.yaml

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Update docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update charts/spire/charts/spire-server/values.yaml

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update default

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix config file layout. Incorperate feedback.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix up kind

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>

* Add external k8s bundler (#270)

* Complete Server K8S PSAT support

Add all the SPIRE Server supported options for the K8S PSAT attestor. This retains the
ease of use for configuring local cluster support while adding the ability to configure
multiple/external clusters as well. Kubeconfig support is added in its own config block
as it will be used/shared with spire-controller-manager support in the future.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix merge conflict

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add support for integration tests in the tests/integration dir

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix split issue and typo

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add basic psat test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix linter

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix up test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add missing file

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Better encode config

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update charts/spire/charts/spire-server/values.yaml

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Update docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update charts/spire/charts/spire-server/values.yaml

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add external k8s bundler

Adds support to sync the CA bundle to configmaps in external
Kubernetes clusters

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update default

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix config file layout. Incorperate feedback.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update based on parent pr feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Reformat config file

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix some things

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Reconfigure kind

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* More debugging

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix up kind

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>

* Bump helm.sh/helm/v3 from 3.14.2 to 3.14.3 in /tests (#285)

Bumps [helm.sh/helm/v3](https://github.com/helm/helm) from 3.14.2 to 3.14.3.
- [Release notes](https://github.com/helm/helm/releases)
- [Commits](https://github.com/helm/helm/compare/v3.14.2...v3.14.3)

---
updated-dependencies:
- dependency-name: helm.sh/helm/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>

* Bump docker/login-action from 3.0.0 to 3.1.0 (#286)

Bumps [docker/login-action](https://github.com/docker/login-action) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v3...v3.1.0)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>

* Bump test chart dependencies

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>

* Bump github.com/onsi/gomega from 1.31.1 to 1.32.0 in /tests (#291)

Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.31.1 to 1.32.0.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.31.1...v1.32.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>

* Bump github.com/onsi/ginkgo/v2 from 2.16.0 to 2.17.0 in /tests (#292)

Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.16.0 to 2.17.0.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v2.16.0...v2.17.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>

* Update examples/stateless-server/README.md

Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
Signed-off-by: anhpatel <162738027+anhpatel@users.noreply.github.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>

* Update charts/spire/charts/spire-server/templates/hpa.yaml

Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
Signed-off-by: anhpatel <162738027+anhpatel@users.noreply.github.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>

* Update examples/stateless-server/README.md

Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
Signed-off-by: anhpatel <162738027+anhpatel@users.noreply.github.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>

* Update examples/stateless-server/README.md

Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
Signed-off-by: anhpatel <162738027+anhpatel@users.noreply.github.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>

* Move spire-server pod spec to _pod_spec

Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>

* Support hybrid nodes with different attestors or config (#218)

* Add direct tpm support for spire-agent

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add fingerprinting support

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add example

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update charts/spire/charts/spire-agent/templates/configmap.yaml

Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Support hybrid nodes with different attestors

In some clusters, you may have a mix of nodes with differing attestor
needs. For example, some nodes have hardware TPMs and some without.
This patch enables configuring multiple daemonsets for the agent
that you can target to pools of nodes.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Remove extra slash

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update charts/spire/charts/spire-agent/templates/configmap.yaml

Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Fix broken tests

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add daemonset labels

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add temporary upgrade hook

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix include

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add missing values

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix perms, add upgrade note

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix hardcoded nodeAttestor and keyManager in spire-agent

Fixes: https://github.com/spiffe/helm-charts-hardened/issues/220

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix merge issues

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix unit tests

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Pass the agent's securityContext on to Kubernetes

Currently its ignored.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update example to be usable

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Update example

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix merge conflict issue

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update to the newest release

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Fix version numbers in docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Remove merge conflicted extra code

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>

* Change production example to be an integration test (#237)

* Change production example to be an integration test

The documentation is a better example then the test now. Separate the
two.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix job name reference

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix job name reference

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update postgresql example

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update mysql example

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update nested and mysql

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix typo

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add support for integration tests in the tests/integration dir

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix split issue and typo

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix split issue

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Try folding example your values into bash so that its not laying around in an fs for a user to accidently use.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Cleanup

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>

* Remove production values reference

Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>

* Update charts/spire/charts/spire-server/templates/pre-delete-hook.yaml

Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
Signed-off-by: anhpatel <162738027+anhpatel@users.noreply.github.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>

* Update examples/stateless-server/run-tests.sh

Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
Signed-off-by: anhpatel <162738027+anhpatel@users.noreply.github.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>

* Bump spire Helm Chart version from 0.18.2 to 0.19.0

* 72768ec Support hybrid nodes with different attestors or config (#218)
* 5299642 Bump test chart dependencies
* 36e9315 Add external k8s bundler (#270)
* ef610df Complete Server K8S PSAT support (#242)
* d96271c Bump test chart dependencies (#282)

Signed-off-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>

* Fix production test (#297)

Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>

* Bump test chart dependencies (#299)

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>

* Bump github.com/onsi/ginkgo/v2 from 2.17.0 to 2.17.1 in /tests (#298)

Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.17.0 to 2.17.1.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v2.17.0...v2.17.1)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>

* Fix documentation issue (#300)

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>

* Move statefulset and deployment to server-resource

Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>

* Change deploymentType to kind

Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>

---------

Signed-off-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: aniket patel <apatel10@alumni.ncsu.edu>
Signed-off-by: aniket patel <aniket.patel@thetradedesk.com>
Signed-off-by: anhpatel <162738027+anhpatel@users.noreply.github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Co-authored-by: aniket patel <aniket.patel@thetradedesk.com>
Co-authored-by: spire-helm-version-checker[bot] <161522935+spire-helm-version-checker[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
2024-03-26 22:53:52 -07:00
kfox1111 c8211265d3
Fix documentation issue (#300)
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2024-03-25 12:54:30 -07:00
dependabot[bot] 9598776605
Bump github.com/onsi/ginkgo/v2 from 2.17.0 to 2.17.1 in /tests (#298)
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.17.0 to 2.17.1.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v2.17.0...v2.17.1)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
2024-03-25 07:01:34 -07:00
spire-helm-version-checker[bot] 3b04a837f8
Bump test chart dependencies (#299)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2024-03-25 06:47:39 -07:00
kfox1111 c18fb01bd3
Fix production test (#297) 2024-03-22 18:59:09 -07:00
Faisal Memon 83ea863d57 Bump spire Helm Chart version from 0.18.2 to 0.19.0
* 72768ec Support hybrid nodes with different attestors or config (#218)
* 5299642 Bump test chart dependencies
* 36e9315 Add external k8s bundler (#270)
* ef610df Complete Server K8S PSAT support (#242)
* d96271c Bump test chart dependencies (#282)

Signed-off-by: Faisal Memon <fymemon@yahoo.com>
2024-03-22 12:23:04 -07:00
kfox1111 993ee8582b
Change production example to be an integration test (#237)
* Change production example to be an integration test

The documentation is a better example then the test now. Separate the
two.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix job name reference

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix job name reference

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update postgresql example

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update mysql example

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update nested and mysql

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix typo

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add support for integration tests in the tests/integration dir

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix split issue and typo

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix split issue

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Try folding example your values into bash so that its not laying around in an fs for a user to accidently use.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Cleanup

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2024-03-20 14:12:48 -07:00
kfox1111 72768ecdbc
Support hybrid nodes with different attestors or config (#218)
* Add direct tpm support for spire-agent

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add fingerprinting support

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add example

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update charts/spire/charts/spire-agent/templates/configmap.yaml

Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Support hybrid nodes with different attestors

In some clusters, you may have a mix of nodes with differing attestor
needs. For example, some nodes have hardware TPMs and some without.
This patch enables configuring multiple daemonsets for the agent
that you can target to pools of nodes.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Remove extra slash

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update charts/spire/charts/spire-agent/templates/configmap.yaml

Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Fix broken tests

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add daemonset labels

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add temporary upgrade hook

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix include

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add missing values

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix perms, add upgrade note

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix hardcoded nodeAttestor and keyManager in spire-agent

Fixes: https://github.com/spiffe/helm-charts-hardened/issues/220

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix merge issues

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix unit tests

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Pass the agent's securityContext on to Kubernetes

Currently its ignored.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update example to be usable

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Update example

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix merge conflict issue

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update to the newest release

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Fix version numbers in docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Remove merge conflicted extra code

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2024-03-20 13:58:43 -07:00
dependabot[bot] 31fabd6469
Bump github.com/onsi/ginkgo/v2 from 2.16.0 to 2.17.0 in /tests (#292)
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.16.0 to 2.17.0.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v2.16.0...v2.17.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-19 03:43:11 -07:00
dependabot[bot] a8f7d897ca
Bump github.com/onsi/gomega from 1.31.1 to 1.32.0 in /tests (#291)
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.31.1 to 1.32.0.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.31.1...v1.32.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-19 03:24:52 -07:00
marcofranssen 5299642afa Bump test chart dependencies
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-18 13:56:06 +01:00
dependabot[bot] e423bee85f
Bump docker/login-action from 3.0.0 to 3.1.0 (#286)
Bumps [docker/login-action](https://github.com/docker/login-action) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v3...v3.1.0)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-14 02:39:20 -07:00
dependabot[bot] e1d4fe1360
Bump helm.sh/helm/v3 from 3.14.2 to 3.14.3 in /tests (#285)
Bumps [helm.sh/helm/v3](https://github.com/helm/helm) from 3.14.2 to 3.14.3.
- [Release notes](https://github.com/helm/helm/releases)
- [Commits](https://github.com/helm/helm/compare/v3.14.2...v3.14.3)

---
updated-dependencies:
- dependency-name: helm.sh/helm/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-14 02:34:25 -07:00
kfox1111 36e931572e
Add external k8s bundler (#270)
* Complete Server K8S PSAT support

Add all the SPIRE Server supported options for the K8S PSAT attestor. This retains the
ease of use for configuring local cluster support while adding the ability to configure
multiple/external clusters as well. Kubeconfig support is added in its own config block
as it will be used/shared with spire-controller-manager support in the future.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix merge conflict

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add support for integration tests in the tests/integration dir

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix split issue and typo

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add basic psat test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix linter

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix up test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add missing file

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Better encode config

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update charts/spire/charts/spire-server/values.yaml

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Update docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update charts/spire/charts/spire-server/values.yaml

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add external k8s bundler

Adds support to sync the CA bundle to configmaps in external
Kubernetes clusters

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update default

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix config file layout. Incorperate feedback.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update based on parent pr feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Reformat config file

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix some things

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Reconfigure kind

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* More debugging

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix up kind

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2024-03-13 21:07:53 +00:00
kfox1111 ef610df51f
Complete Server K8S PSAT support (#242)
* Complete Server K8S PSAT support

Add all the SPIRE Server supported options for the K8S PSAT attestor. This retains the
ease of use for configuring local cluster support while adding the ability to configure
multiple/external clusters as well. Kubeconfig support is added in its own config block
as it will be used/shared with spire-controller-manager support in the future.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix merge conflict

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add support for integration tests in the tests/integration dir

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix split issue and typo

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add basic psat test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix linter

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix up test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add missing file

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Better encode config

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update charts/spire/charts/spire-server/values.yaml

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Update docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update charts/spire/charts/spire-server/values.yaml

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update default

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix config file layout. Incorperate feedback.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix up kind

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2024-03-13 13:36:19 -07:00
dependabot[bot] 16d4f7c23c
Bump peter-evans/create-pull-request from 6.0.1 to 6.0.2 (#283)
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v6.0.1...v6.0.2)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-13 01:37:20 -07:00
spire-helm-version-checker[bot] d96271c4a2
Bump test chart dependencies (#282)
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2024-03-11 11:22:45 +01:00
Faisal Memon 5e430f49fa
Fix issue with tests not running on automated PRs (#266)
* Use github app for version checker

Signed-off-by: Faisal Memon <fymemon@yahoo.com>

* Use full version

Signed-off-by: Faisal Memon <fymemon@yahoo.com>

---------

Signed-off-by: Faisal Memon <fymemon@yahoo.com>
2024-03-10 23:07:20 -07:00
Faisal Memon c6d57fc750 Bump spire Helm Chart version from 0.18.1 to 0.18.2
* fd3b7d5 Fix duplicate securityContext section in spire-agent (#279)

Signed-off-by: Faisal Memon <fymemon@yahoo.com>
2024-03-07 10:48:09 -08:00
kfox1111 fd3b7d5fc7
Fix duplicate securityContext section in spire-agent (#279)
A duplicate section was added due to incorrect merge conflict resolution.
Helm seems ok with it but Kustomize + FluxCD has issues with it.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2024-03-07 09:52:00 -08:00
Faisal Memon 058e841881 Bump spire Helm Chart version from 0.18.0 to 0.18.1
* aea37a9 Update SPIRE to 1.9.1 (#277)
* 99044ef Fix error message typo 'county' -> 'country' (#275)

Signed-off-by: Faisal Memon <fymemon@yahoo.com>
2024-03-06 06:29:00 -08:00
kfox1111 aea37a9cd0
Update SPIRE to 1.9.1 (#277)
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2024-03-05 17:49:26 -08:00
dependabot[bot] 2a2e8611b6
Bump github.com/onsi/ginkgo/v2 from 2.15.0 to 2.16.0 in /tests (#276)
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.15.0 to 2.16.0.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v2.15.0...v2.16.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-05 14:29:33 -08:00
Eric 99044eff64
Fix error message typo 'county' -> 'country' (#275) 2024-03-05 01:32:21 +00:00
Faisal Memon cf2e213f31
Bump spire Helm Chart version from 0.17.2 to 0.18.0 (#274)
* beda725 Add pod labels to the SPIRE agent (#273)
* 077f152 Bump test chart dependencies (#272)
* 5849ea2 add pod labels to spire server values (#271)
* f512b06 Configurable daemonsets updateStrategy (#212)
* a539065 Add direct tpm support for spire-agent (#216)
* fcd0c11 Add direct tpm support for spire-server (#211)
* c570174 Enable CA settings via global (#268)
* ac83694 Initial SPIRE 1.9.0 support (#262)
* ddb4eff Bump test chart dependencies (#263)
* bfbafbc Fix OpenShift Federation Ingress bug (#260)
* a0baace Upgrade to spire-controller-manager 0.4.3 (#258)
* 1446f7e Add support for specifying agent authorized_delegates (#255)
* 0b6cd88 Add support for specifying server admin_ids (#254)
* 07a1c39 Add global override for kubectl tag (#251)
* b82a84d Bump test chart dependencies (#252)
* 7a1e731 Bump test chart dependencies (#246)
* a706063 make audit_log_enabled configurable (#241)
* 34a39cb Added emptyDir volume to spire-agent SCC (#243)
* a2e5a4e Add support for enabling the spire-agent admin socket (#234)
* febdcbf Fix whitespace in spire-agent daemonset

Signed-off-by: Faisal Memon <fymemon@yahoo.com>
2024-03-04 17:51:48 +00:00
Rory Houlihan beda725369
Add pod labels to the SPIRE agent (#273)
Follow on from https://github.com/spiffe/helm-charts-hardened/pull/271.
This will allow the SPIRE agent to also integrate with Azure Workload
Identity.

Signed-off-by: Rory Houlihan <rhoulihan@protonmail.com>
2024-03-04 06:45:32 -08:00
github-actions[bot] 077f152144
Bump test chart dependencies (#272)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2024-03-04 08:41:33 +00:00
McRors Calhoun 5849ea2c82
add pod labels to spire server values (#271)
* add pod labels to spire server values

The reason for this change is to be able to integrate spire with Azure
Workload Idenity. To enable this, a label of `azure.workload.identity/use: "true"` needs
to be added to the pods metadata.

https://learn.microsoft.com/en-us/azure/aks/learn/tutorial-kubernetes-workload-identity#deploy-the-workload

Signed-off-by: Rory Houlihan <rhoulihan@protonmail.com>

* trim whitespace from podLabels
Signed-off-by: Rory Houlihan <rhoulihan@protonmail.com>

---------

Signed-off-by: Rory Houlihan <rhoulihan@protonmail.com>
2024-03-01 08:37:38 -08:00
Marco Franssen f512b06419
Configurable daemonsets updateStrategy (#212)
* Configure daemonsets updateStrategy

This allows more deamonset pods to be rotated in the same time. This speeds up the updates

Signed-off-by: Marco Franssen <marco.franssen@gmail.com>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Co-authored-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2024-02-29 14:42:52 -08:00
kfox1111 a539065c02
Add direct tpm support for spire-agent (#216)
* Add direct tpm support for spire-agent

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add fingerprinting support

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add example

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update charts/spire/charts/spire-agent/templates/configmap.yaml

Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Update charts/spire/charts/spire-agent/templates/configmap.yaml

Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Fix broken tests

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix hardcoded nodeAttestor and keyManager in spire-agent

Fixes: https://github.com/spiffe/helm-charts-hardened/issues/220

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix merge issues

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix unit tests

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Pass the agent's securityContext on to Kubernetes

Currently its ignored.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update example to be usable

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update to the newest release

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2024-02-29 20:33:57 +00:00
kfox1111 fcd0c11e14
Add direct tpm support for spire-server (#211)
* Add direct tpm support

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add agent support

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add missing condition

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add missing condition

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Remove agent bits from this pr

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Plugin needs to write to /tmp

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix tmp mount

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Make it possible to manage cas/hashes via values

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update to the newest release

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2024-02-29 11:41:25 -08:00
kfox1111 c57017425e
Enable CA settings via global (#268)
Adds a global.spire.caSubject section where you can set the CA
subject information for all spire-server instances.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2024-02-28 11:47:24 -08:00
kfox1111 ac83694970
Initial SPIRE 1.9.0 support (#262) 2024-02-28 17:54:53 +00:00
dependabot[bot] 40d5fefcfe
Bump peter-evans/create-pull-request from 6.0.0 to 6.0.1 (#267)
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 6.0.0 to 6.0.1.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v6.0.0...v6.0.1)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-27 20:22:58 -08:00
github-actions[bot] ddb4effda6
Bump test chart dependencies (#263)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2024-02-26 06:28:45 -08:00
Maia Iyer bfbafbc94f
Fix OpenShift Federation Ingress bug (#260)
* Fix OpenShift Federation Ingress bug

Signed-off-by: Maia Iyer <maia.raj.iyer@gmail.com>

* Remove duplicate line

Signed-off-by: Maia Iyer <maia.raj.iyer@gmail.com>

---------

Signed-off-by: Maia Iyer <maia.raj.iyer@gmail.com>
2024-02-22 14:37:45 -08:00
kfox1111 a0baace5ea
Upgrade to spire-controller-manager 0.4.3 (#258)
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2024-02-22 10:38:58 -08:00
dependabot[bot] 020a0b5450
Bump helm.sh/helm/v3 from 3.14.1 to 3.14.2 in /tests (#257)
Bumps [helm.sh/helm/v3](https://github.com/helm/helm) from 3.14.1 to 3.14.2.
- [Release notes](https://github.com/helm/helm/releases)
- [Commits](https://github.com/helm/helm/compare/v3.14.1...v3.14.2)

---
updated-dependencies:
- dependency-name: helm.sh/helm/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-22 02:09:40 -08:00
dependabot[bot] ae800c432c
Bump helm/kind-action from 1.8.0 to 1.9.0 (#256)
Bumps [helm/kind-action](https://github.com/helm/kind-action) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/helm/kind-action/releases)
- [Commits](https://github.com/helm/kind-action/compare/v1.8.0...v1.9.0)

---
updated-dependencies:
- dependency-name: helm/kind-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-21 00:56:44 -08:00
kfox1111 1446f7ea79
Add support for specifying agent authorized_delegates (#255)
* Add support for specifying agent authorized_delegates

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update charts/spire/charts/spire-agent/values.yaml

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2024-02-20 17:11:03 +00:00
kfox1111 0b6cd88d56
Add support for specifying server admin_ids (#254)
* Add support for specifying server admin_ids

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update charts/spire/charts/spire-server/templates/configmap.yaml

Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2024-02-20 08:50:18 -08:00
kfox1111 a4e91c6ba8
Add support for integration tests in the tests/integration dir (#253)
* Add support for integration tests in the tests/integration dir

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix split issue and typo

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2024-02-20 08:16:16 -08:00
kfox1111 07a1c391b2
Add global override for kubectl tag (#251) 2024-02-19 20:18:31 +01:00
github-actions[bot] b82a84dddb
Bump test chart dependencies (#252)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
2024-02-19 05:11:45 -08:00
Moritz Schmitz von Hülst 43a72a22ff
Add example for using SPIRE for mTLS with Keycloak (#248)
* Add example for using Spire for mTLS with Keycloak

Signed-off-by: Moritz Schmitz von Hülst <moritz.schmitz@oviva.com>

* Minor improvement to the README.md

Signed-off-by: Moritz Schmitz von Hülst <moritz.schmitz@oviva.com>

* But I still need to learn GitHub Markdown format

Signed-off-by: Moritz Schmitz von Hülst <moritz.schmitz@oviva.com>

* Make it more obvious that it works without a (correct) password

Signed-off-by: Moritz Schmitz von Hülst <moritz.schmitz@oviva.com>

* Add warning for Kubernetes 1.29+ feature

Signed-off-by: Moritz Schmitz von Hülst <moritz.schmitz@oviva.com>

* Move ghostunnel into an initContainer with restartPolicy=Always

Signed-off-by: Moritz Schmitz von Hülst <moritz.schmitz@oviva.com>

* Apply suggestions from code review

Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
Signed-off-by: Moritz Schmitz von Hülst <moritz.schmitz@oviva.com>

* Move java-spiffe-helper-properties into extraDeploy of the Keycloak chart and pin node version to it has a matching rancher/kubectl image

Signed-off-by: Moritz Schmitz von Hülst <moritz.schmitz@oviva.com>

---------

Signed-off-by: Moritz Schmitz von Hülst <moritz.schmitz@oviva.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
2024-02-19 04:33:01 -08:00
dependabot[bot] cc8ec897bf
Bump helm.sh/helm/v3 from 3.14.0 to 3.14.1 in /tests (#249)
Bumps [helm.sh/helm/v3](https://github.com/helm/helm) from 3.14.0 to 3.14.1.
- [Release notes](https://github.com/helm/helm/releases)
- [Commits](https://github.com/helm/helm/compare/v3.14.0...v3.14.1)

---
updated-dependencies:
- dependency-name: helm.sh/helm/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-15 07:17:54 -08:00
github-actions[bot] 7a1e731b31
Bump test chart dependencies (#246)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
2024-02-12 13:46:21 +00:00
dependabot[bot] 13af653e3e
Bump helm/kind-action from 1.8.0 to 1.9.0 (#245)
Bumps [helm/kind-action](https://github.com/helm/kind-action) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/helm/kind-action/releases)
- [Commits](https://github.com/helm/kind-action/compare/v1.8.0...v1.9.0)

---
updated-dependencies:
- dependency-name: helm/kind-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-12 13:27:17 +00:00
McRors Calhoun a7060632a0
make audit_log_enabled configurable (#241)
* make audit_log_enabled configurable

Signed-off-by: Rory Houlihan <rhoulihan@protonmail.com>

* Update charts/spire/charts/spire-server/values.yaml

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: McRors Calhoun <rhoulihan@protonmail.com>

* Update charts/spire/charts/spire-server/README.md

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Rory Houlihan <rhoulihan@protonmail.com>
Signed-off-by: McRors Calhoun <rhoulihan@protonmail.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
2024-02-12 13:18:41 +00:00
Andrew Block 34a39cb76e
Added emptyDir volume to spire-agent SCC (#243)
Signed-off-by: Andrew Block <andy.block@gmail.com>
2024-02-10 04:51:59 -08:00
kfox1111 a2e5a4e629
Add support for enabling the spire-agent admin socket (#234)
* Add support for enabling the spire-agent admin socket

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix typo

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update permissions

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update permissions

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix template

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update upstream agent too

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix init issue

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Refactor a bit to make things more automatic

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
2024-02-09 12:44:43 -08:00
Marco Franssen febdcbf992 Fix whitespace in spire-agent daemonset
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2024-02-07 16:41:52 +01:00
Faisal Memon 7ad1ae7355 Bump spire Helm Chart version from 0.17.1 to 0.17.2
* 49e21c3 Add missing affinity settings (#232)
* 8adbb89 Add alternate name support for the socket (#181)
* 350ec89 Bump test chart dependencies (#235)
* 0e12595 Update README.md delete pvc for cleanup (#233)

Signed-off-by: Faisal Memon <fymemon@yahoo.com>
2024-02-05 13:01:46 -08:00
kfox1111 49e21c389b
Add missing affinity settings (#232)
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2024-02-05 20:33:24 +00:00
kfox1111 8adbb89890
Add alternate name support for the socket (#181)
* Add alternate name support for the socket

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix missing image reference

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Make user changing socket work smoothly.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Update charts/spire/charts/spire-agent/values.yaml

Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2024-02-05 11:40:19 -08:00
kfox1111 fce95cb443
Add example of mysql using spire (#164)
* Add example of mysql using spire

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Finish up the implementation

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update the image

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Update. Restested.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
2024-02-05 11:17:19 -08:00
github-actions[bot] 350ec89ff2
Bump test chart dependencies (#235)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: marcofranssen <694733+marcofranssen@users.noreply.github.com>
2024-02-05 06:07:03 -08:00
cccsss01 0e1259546b
Update README.md delete pvc for cleanup (#233)
* Update README.md delete pvc for cleanup

adding command to delete the pvc

Signed-off-by: cccsss01 <56396984+cccsss01@users.noreply.github.com>

* Update charts/spire/README.md

Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
Signed-off-by: cccsss01 <56396984+cccsss01@users.noreply.github.com>

---------

Signed-off-by: cccsss01 <56396984+cccsss01@users.noreply.github.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
2024-02-02 15:23:44 -08:00
dependabot[bot] 40b5cc3601
Bump sigstore/cosign-installer from 3.3.0 to 3.4.0 (#228)
* Bump sigstore/cosign-installer from 3.3.0 to 3.4.0

Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](https://github.com/sigstore/cosign-installer/compare/v3.3.0...v3.4.0)

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
2024-02-01 09:46:58 -08:00
kfox1111 35215aee33
Add missing upgrade test bypass (#231)
* Add missing upgrade test bypass

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Too many iterations. Update comment.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2024-02-01 09:28:20 -08:00
dependabot[bot] c1783f639c Bump peter-evans/create-pull-request from 5.0.2 to 6.0.0
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 5.0.2 to 6.0.0.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v5.0.2...v6.0.0)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-01 09:20:34 +01:00
Faisal Memon 16ecfe9bb9
Bump spire Helm Chart version from 0.17.0 to 0.17.1 (#226)
* d547532 Pass the agent's securityContext on to Kubernetes (#225)
* 6b03d5a Fix hardcoded nodeAttestor and keyManager in spire-agent (#221)
* f4c92ed Update README.md put cleanup seperately (#223)
* 7542052 Bump test chart dependencies (#219)
* 01e031f Add another upgrade note and fix value name (#215)
* 0fbc512 Remove the white line from securityContext rendering
* 573beaf More quickly detect a daemonset is up and running
* e8d527c Update to spire-controller-manager 0.4.2 (#195)
* 25558d3 Update daemonset.yaml (#204)

Signed-off-by: Faisal Memon <fymemon@yahoo.com>
2024-01-30 13:53:41 -08:00
kfox1111 d5475328b4
Pass the agent's securityContext on to Kubernetes (#225)
Currently its ignored.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2024-01-30 19:55:12 +00:00
kfox1111 6b03d5a0bd
Fix hardcoded nodeAttestor and keyManager in spire-agent (#221)
* Fix hardcoded nodeAttestor and keyManager in spire-agent

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2024-01-30 11:33:32 -08:00
cccsss01 f4c92ed3ca
Update README.md put cleanup seperately (#223)
* Update README.md put cleanup seperately

Signed-off-by: cccsss01 <56396984+cccsss01@users.noreply.github.com>

* Update README.md

Signed-off-by: cccsss01 <56396984+cccsss01@users.noreply.github.com>

* Update charts/spire/README.md

Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
Signed-off-by: cccsss01 <56396984+cccsss01@users.noreply.github.com>

---------

Signed-off-by: cccsss01 <56396984+cccsss01@users.noreply.github.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
2024-01-30 10:55:10 -08:00
github-actions[bot] 7542052b65
Bump test chart dependencies (#219)
Co-authored-by: marcofranssen <marcofranssen@users.noreply.github.com>
2024-01-29 09:24:31 +00:00
kfox1111 01e031f71c
Add another upgrade note and fix value name (#215)
* Add another upgrade note

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
2024-01-26 17:47:57 -08:00
Marco Franssen 0fbc51223c Remove the white line from securityContext rendering
Prevents the following diff introduced since the 0.17.0 release.

```diff
        containers:
        - name: post-install-job
          securityContext:
+
            allowPrivilegeEscalation: false
            capabilities:
              drop:
              - ALL
            readOnlyRootFilesystem: true
            runAsNonRoot: true
            seccompProfile:
              type: RuntimeDefault
```

Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2024-01-26 13:51:28 +01:00
Marco Franssen 573beaf2b0 More quickly detect a daemonset is up and running
Overall I see the daemonsets on my nodes be ready in approx 5 to 7 seconds.
Reducing the initial delay allows them to be marked as ready within 10 seconds. In cases it takes longer the next probe will be in 30 seconds so max initial waiting time is 40 seconds to be marked as ready compared to 75 seconds at this point of time. Furhtermore the 30 seconds probes also allow more quick detection of failures

Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2024-01-26 13:43:28 +01:00
kfox1111 e8d527cd9a
Update to spire-controller-manager 0.4.2 (#195) 2024-01-25 12:07:10 +01:00
kfox1111 3e1c5199b7
Always upgrade test from the previous major release (#207) 2024-01-24 17:02:31 +01:00
cccsss01 25558d3410
Update daemonset.yaml (#204)
Doubt there is a need to provide this as an option.

Signed-off-by: cccsss01 <56396984+cccsss01@users.noreply.github.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
2024-01-24 05:02:04 -08:00
Kevin Fox 2df2e1661f Bump spire Helm Chart version from 0.16.0 to 0.17.0
* 4c307c1 Add missing bundlePublisher section and extraEnv so settings can be set (#201)
* d724d1e Update the documentation (#172)
* e59a29b Bump test chart dependencies (#200)
* 4668151 Add missing extraVolumeMounts to the controllerManager (#196)
* b9ac3c4 Update to spire-controller-manager 0.4.1 (#193)
* 6fec1e5 Update SPIRE to 1.8.7 (#194)
* af155c2 Add support for running spiffe secured discovery provider (default) (#163)
* 3ccdb5e Add tls section to federation bundle endpoint and fix up annotations (#173)
* c7ab131 Add join_token server nodeattestor support (#187)
* 81e9523 Bump test chart dependencies (#186)
* 6d19a76 Fix agent daemonset format (#184)
* b61d4f5 Add spire-agent to spire-agent pod path (#180)
* befa074 Fix notes bug (#178)
* 912c61e Remove deprecated version values (#179)
* ae4ef6e Update HorizontalPodAutoscaler API to autoscaling/v2 (#153)
* e7a61a9 Bump test chart dependencies
* 183e9aa SPIFFE OIDC Discovery Provider Rework (#152)
* 8f1aba8 Bump test chart dependencies (#171)
* 2454b8c Fix links still pointing at older git repo (#167)
* e5c5527 Bump test chart dependencies (#165)
* e630008 Update jwt test to work with newer slim images (#139)
* c39dd44 Add recommendation for namespacePSS (#131)
* 49beb64 Add recommendation for namespaceLayout (#127)
* 33cacd2 Add recommendation for prometheus exporter (#144)
* 6997d6a Add recommendation for securityContext and podSecurityContext (#125)
* 50c4ac3 Add recommendation for strictMode (#143)
* 4fb9d18 Bump test chart dependencies (#155)
* 811123a Update the Tornjak image version (#150)
* 1524537 Update default for additionalDomains not to include localhost (#146)
* e35838c Add recommendation for priorityClass (#124)
* 9f72a8f Use good and automatic defaults for tornjak frontend workingDir (#129)
* 7726351 Tornjak UBI support (#123)
* 89c07e2 Revert openssl 3.2 change (#142)
* a3d3702 Bump test chart dependencies
* 80c7653 Bump test chart dependencies (#134)
* 13f6028 SELinux support (#122)
* 3e8335c Add a flag to enable recommendations (#121)
* 692d463 Remove unneeded lookup function from upgrade hook (#104)
* 8422b8d Added ability to create namespaces (#103)

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2024-01-24 12:24:29 +01:00
cccsss01 50d30fd6ef Update statefulset with default container annotation.
Adding default container annotation to the stateful set

Signed-off-by: cccsss01 <56396984+cccsss01@users.noreply.github.com>
2024-01-24 09:30:03 +01:00
kfox1111 4a6c705e6a
Update the CRs to enable multiple instance nesting without naming conflicts (#189) 2024-01-24 09:20:18 +01:00
kfox1111 4c307c1be1
Add missing bundlePublisher section and extraEnv so settings can be set (#201)
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2024-01-23 13:18:49 -08:00
kfox1111 d724d1e690
Update the documentation (#172)
* SPIFFE OIDC Discovery Provider Rework

Fixes: https://github.com/spiffe/helm-charts-hardened/issues/151

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Enhance clusterspiffeid's so the discovery provider is independently configurable

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix tests

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* More fix tests

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* More fix tests

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Undo

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix logging

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Try to get output

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Try and get error code

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix more logging. Switch port used.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix logging

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix port

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix up logs for nested test and fix values

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Make consistent

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix nested test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix insecure mode and test.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix var scoping issue

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Set the right flags for ingress

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update dns template

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Use more standard port

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test logging

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Allow reencrypt.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Remove testing changes

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix formatting

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add LetsEncrypt/ACME/cert-manager support. Remove broken ACME support.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Use spiffe-helper as a sidecar. Significant space savings and read only cert dir

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix the nested test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix merge issue

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Remove 1.29.0 until deps catch up.

Related issue: https://github.com/rancher/kubectl/pull/94

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add more error checking

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Remove testing code

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Simplify the ids. Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix logic

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix var

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Make cert-manager bits more readable

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix template

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix openshift ingress

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add resource spec

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Remove parts that cant merge yet

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add support for running spiffe secured discovery provider (default)

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix tests

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix merge conflict

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix merge conflict

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Remove defaults

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add missing configurable for the discovery providers csi driver

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update the documentation

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Add missing file

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update for changes in spiffe-helper

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2024-01-23 08:05:49 -08:00
github-actions[bot] e59a29b2d4
Bump test chart dependencies (#200)
Co-authored-by: marcofranssen <marcofranssen@users.noreply.github.com>
2024-01-22 10:16:50 +00:00
kfox1111 4668151ff7
Add missing extraVolumeMounts to the controllerManager (#196) 2024-01-22 11:09:10 +01:00
dependabot[bot] 367292682b
Bump github.com/onsi/gomega from 1.31.0 to 1.31.1 in /tests (#199)
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.31.0 to 1.31.1.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.31.0...v1.31.1)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-21 20:07:51 -08:00
kfox1111 808795379c
Remove CRD that isn't really a CRD (#197)
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2024-01-20 10:54:00 -08:00
kfox1111 b9ac3c4aec
Update to spire-controller-manager 0.4.1 (#193)
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2024-01-19 17:10:41 -08:00
kfox1111 6fec1e598a
Update SPIRE to 1.8.7 (#194)
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2024-01-18 21:07:53 -08:00
kfox1111 af155c2edc
Add support for running spiffe secured discovery provider (default) (#163)
* SPIFFE OIDC Discovery Provider Rework

Fixes: https://github.com/spiffe/helm-charts-hardened/issues/151

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Enhance clusterspiffeid's so the discovery provider is independently configurable

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix tests

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* More fix tests

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* More fix tests

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Undo

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix logging

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Try to get output

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Try and get error code

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix more logging. Switch port used.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix logging

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix port

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix up logs for nested test and fix values

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Make consistent

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix nested test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix insecure mode and test.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix var scoping issue

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Set the right flags for ingress

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update dns template

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Use more standard port

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test logging

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Allow reencrypt.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Remove testing changes

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix formatting

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add LetsEncrypt/ACME/cert-manager support. Remove broken ACME support.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Use spiffe-helper as a sidecar. Significant space savings and read only cert dir

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix the nested test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix merge issue

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Remove 1.29.0 until deps catch up.

Related issue: https://github.com/rancher/kubectl/pull/94

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add more error checking

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Remove testing code

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Simplify the ids. Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix logic

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix var

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Make cert-manager bits more readable

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix template

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix openshift ingress

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add resource spec

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Remove parts that cant merge yet

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add support for running spiffe secured discovery provider (default)

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix tests

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix merge conflict

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix merge conflict

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Remove defaults

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add missing configurable for the discovery providers csi driver

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update for changes in spiffe-helper

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Point at upstream

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2024-01-18 16:08:22 -08:00
dependabot[bot] 9a483c174a
Bump github.com/onsi/gomega from 1.30.0 to 1.31.0 in /tests (#192)
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.30.0 to 1.31.0.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.30.0...v1.31.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-18 04:07:00 -08:00
dependabot[bot] a59220dd86
Bump helm.sh/helm/v3 from 3.13.3 to 3.14.0 in /tests (#190)
Bumps [helm.sh/helm/v3](https://github.com/helm/helm) from 3.13.3 to 3.14.0.
- [Release notes](https://github.com/helm/helm/releases)
- [Commits](https://github.com/helm/helm/compare/v3.13.3...v3.14.0)

---
updated-dependencies:
- dependency-name: helm.sh/helm/v3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-18 03:31:32 -08:00
dependabot[bot] 2c56c4a5b1
Bump github.com/onsi/ginkgo/v2 from 2.14.0 to 2.15.0 in /tests (#191)
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.14.0 to 2.15.0.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v2.14.0...v2.15.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-18 03:15:51 -08:00
kfox1111 f8327657cd
Add a test and example for federation support (#169)
* SPIFFE OIDC Discovery Provider Rework

Fixes: https://github.com/spiffe/helm-charts-hardened/issues/151

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Enhance clusterspiffeid's so the discovery provider is independently configurable

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix tests

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* More fix tests

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* More fix tests

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Undo

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix logging

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Try to get output

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Try and get error code

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix more logging. Switch port used.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix logging

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix port

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix up logs for nested test and fix values

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Make consistent

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix nested test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix insecure mode and test.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix var scoping issue

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Set the right flags for ingress

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update dns template

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Use more standard port

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test logging

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Allow reencrypt.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Remove testing changes

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix formatting

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add LetsEncrypt/ACME/cert-manager support. Remove broken ACME support.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Use spiffe-helper as a sidecar. Significant space savings and read only cert dir

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix the nested test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix merge issue

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Remove 1.29.0 until deps catch up.

Related issue: https://github.com/rancher/kubectl/pull/94

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add more error checking

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Remove testing code

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Simplify the ids. Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix logic

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix var

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Make cert-manager bits more readable

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix template

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix openshift ingress

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add resource spec

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Remove parts that cant merge yet

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix tests

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add missing configurable for the discovery providers csi driver

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add a test and example for federation support

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix ingress annotations for federation bundle endpoint

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add cert-manager support to the federation bundle endpoint and fix up bundle endpoint ingress annotations

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add external secret too

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add forgotten files

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2024-01-17 15:09:32 -08:00
kfox1111 3ccdb5e4c1
Add tls section to federation bundle endpoint and fix up annotations (#173)
* Add cert-manager support to the federation bundle endpoint and fix up bundle endpoint ingress annotations

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add external secret too

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add forgotten files

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
2024-01-17 00:17:15 -08:00
kfox1111 c7ab1319cc
Add join_token server nodeattestor support (#187)
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2024-01-16 14:52:39 -08:00
github-actions[bot] 81e9523e03
Bump test chart dependencies (#186)
Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: marcofranssen <marcofranssen@users.noreply.github.com>
2024-01-15 06:11:02 -08:00
Mariusz Sabath 6d19a76f01
Fix agent daemonset format (#184)
Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>
2024-01-12 21:20:10 +00:00
dependabot[bot] f3a85bdb98
Bump github.com/onsi/ginkgo/v2 from 2.13.2 to 2.14.0 in /tests (#183)
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.13.2 to 2.14.0.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v2.13.2...v2.14.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-12 00:55:06 -08:00
kfox1111 b61d4f5ae1
Add spire-agent to spire-agent pod path (#180) 2024-01-11 10:39:12 +00:00
kfox1111 befa074763
Fix notes bug (#178) 2024-01-11 10:31:02 +00:00
kfox1111 912c61e05c
Remove deprecated version values (#179) 2024-01-11 10:29:56 +00:00
Jerome Meyer ae4ef6e992
Update HorizontalPodAutoscaler API to autoscaling/v2 (#153) 2024-01-11 11:19:41 +01:00
marcofranssen e7a61a9ec5 Bump test chart dependencies
Signed-off-by: GitHub <noreply@github.com>
2024-01-08 14:39:46 +01:00
kfox1111 183e9aa534
SPIFFE OIDC Discovery Provider Rework (#152)
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2024-01-03 11:40:14 +01:00
github-actions[bot] 8f1aba8ad3
Bump test chart dependencies (#171)
Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: marcofranssen <marcofranssen@users.noreply.github.com>
2024-01-01 06:05:30 -08:00
kfox1111 2454b8cd2a
Fix links still pointing at older git repo (#167)
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-12-27 17:10:49 -08:00
github-actions[bot] e5c5527fd7
Bump test chart dependencies (#165)
Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: marcofranssen <marcofranssen@users.noreply.github.com>
2023-12-25 14:32:18 -08:00
Drew Wells e6300087b7
Update jwt test to work with newer slim images (#139)
* install newer version of slim debug

  - switch to step tool for jwt verification against jwk public keys

Signed-off-by: Drew Wells <drew.wells00@gmail.com>

* use step-cli image

Signed-off-by: Drew Wells <drew.wells00@gmail.com>

* Fix image tag and add upgrade logic

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* use registry for consistency

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix merge conflicts

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Drew Wells <drew.wells00@gmail.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
2023-12-20 19:14:54 -08:00
kfox1111 c39dd44526
Add recommendation for namespacePSS (#131)
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
2023-12-21 00:15:56 +00:00
dependabot[bot] 0555c87eef
Bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /tests (#162)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.14.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.14.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
2023-12-20 09:50:41 -08:00
kfox1111 80f9d3823c
Revert to older ingress-nginx to fix tests (#161)
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-12-20 09:05:23 -08:00
kfox1111 cb7e7e82c0
Remove 1.29.0 until deps catch up. (#159)
Related issue: https://github.com/rancher/kubectl/pull/94

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-12-19 19:00:41 -08:00
kfox1111 ad905d9c3e
Fix the nested test (#158)
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-12-19 16:12:46 -08:00
kfox1111 49beb64584
Add recommendation for namespaceLayout (#127)
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
2023-12-19 15:02:57 +00:00
Marco Franssen 2496c71164
Bump k8s versions for ci workflow (#156) 2023-12-19 15:52:45 +01:00
kfox1111 f642feafef
Fix test logging (#154)
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
2023-12-19 11:52:21 +00:00
kfox1111 33cacd2ee8
Add recommendation for prometheus exporter (#144) 2023-12-19 11:38:20 +00:00
kfox1111 6997d6a904
Add recommendation for securityContext and podSecurityContext (#125)
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
2023-12-19 11:26:26 +00:00
kfox1111 50c4ac35b0
Add recommendation for strictMode (#143) 2023-12-19 12:12:53 +01:00
github-actions[bot] 4fb9d18f50
Bump test chart dependencies (#155)
* Bump test chart dependencies

Signed-off-by: GitHub <noreply@github.com>

* Revert broken image for now

Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: GitHub <noreply@github.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: marcofranssen <marcofranssen@users.noreply.github.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
2023-12-18 09:12:59 -08:00
Mariusz Sabath 811123a207
Update the Tornjak image version (#150) 2023-12-14 23:15:04 +01:00
dependabot[bot] 1f74f6bc13
Bump helm.sh/helm/v3 from 3.13.2 to 3.13.3 in /tests (#149)
Bumps [helm.sh/helm/v3](https://github.com/helm/helm) from 3.13.2 to 3.13.3.
- [Release notes](https://github.com/helm/helm/releases)
- [Commits](https://github.com/helm/helm/compare/v3.13.2...v3.13.3)

---
updated-dependencies:
- dependency-name: helm.sh/helm/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-13 19:47:49 -08:00
Marco Franssen 94498c0a31 Bump cosign to v2.2.2
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-12-13 08:56:31 +01:00
dependabot[bot] b7e98c4c95 Bump sigstore/cosign-installer from 3.2.0 to 3.3.0
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](https://github.com/sigstore/cosign-installer/compare/v3.2.0...v3.3.0)

---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-13 08:56:31 +01:00
kfox1111 a097606d77
Remove extra example values that are already set by default (#128)
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2023-12-12 16:23:23 +00:00
kfox1111 1524537318
Update default for additionalDomains not to include localhost (#146)
Its pretty much only useful if you want to port forward the
discovery provider and use localhost to access it. An uncommon
use case. Its easy to add back for that case. This simplifies
production deploymnet.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-12-12 08:14:16 -08:00
Marco Franssen 6e997d4f47 Bump cosign to v2.2.2
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-12-12 12:53:15 +01:00
dependabot[bot] 9d483e276e Bump sigstore/cosign-installer from 3.2.0 to 3.3.0
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](https://github.com/sigstore/cosign-installer/compare/v3.2.0...v3.3.0)

---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-12 12:53:15 +01:00
kfox1111 8615cb0840
Add devcontainer support to the repo (#98) 2023-12-12 12:50:32 +01:00
kfox1111 e35838c309
Add recommendation for priorityClass (#124)
* Add a flag to enable recommendations

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add recommendation for priorityClass

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix vars

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Update docs. Fix typo.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2023-12-11 11:42:40 -08:00
kfox1111 9f72a8f971
Use good and automatic defaults for tornjak frontend workingDir (#129)
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
2023-12-11 07:52:44 -08:00
kfox1111 7726351955
Tornjak UBI support (#123)
* Tornjak UBI support

The Tornjak containers now have two different flavors. Vanilla and UBI.
Automatically select the UBI image when deploying on OpenShift.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Co-authored-by: Mariusz Sabath <mrsabath@gmail.com>
2023-12-11 06:56:58 -08:00
kfox1111 89c07e2d04
Revert openssl 3.2 change (#142)
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-12-11 06:33:24 -08:00
marcofranssen a3d3702049 Bump test chart dependencies
Signed-off-by: GitHub <noreply@github.com>
2023-12-11 10:44:48 +01:00
github-actions[bot] 80c7653a21
Bump test chart dependencies (#134)
* Bump test chart dependencies

Signed-off-by: GitHub <noreply@github.com>

* Update charts/spire/charts/spiffe-oidc-discovery-provider/values.yaml

Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Fix Docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: GitHub <noreply@github.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Co-authored-by: marcofranssen <marcofranssen@users.noreply.github.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
2023-12-07 22:47:38 +00:00
kfox1111 13f6028ccd
SELinux support (#122)
* SELinux support

Add support to the chart to set the SELinux context to enable a working
system. Enable it by default on OpenShift clusters.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-12-07 11:02:06 -08:00
dependabot[bot] c017d82594
Bump actions/setup-python from 4 to 5 (#137)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-07 12:40:31 +00:00
dependabot[bot] 6fda639237
Bump actions/setup-go from 4.1.0 to 5.0.0 (#136)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4.1.0 to 5.0.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v4.1.0...v5.0.0)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-07 04:32:42 -08:00
kfox1111 3e8335c0ee
Add a flag to enable recommendations (#121)
* Add a flag to enable recommendations

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix merge issue

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update after reaching consensus.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2023-12-02 05:15:32 -08:00
kfox1111 692d463718
Remove unneeded lookup function from upgrade hook (#104)
Those upgrading to 0.17.0 should no longer need the code to check for the old webhook.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2023-12-01 10:49:29 -08:00
Andrew Block 8422b8d141
Added ability to create namespaces (#103)
* Added ability to create namespaces

Signed-off-by: Andrew Block <andy.block@gmail.com>

* Add openshift labels

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

---------

Signed-off-by: Andrew Block <andy.block@gmail.com>
Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>
Co-authored-by: Mariusz Sabath <mrsabath@gmail.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
2023-12-01 15:42:27 +00:00
Marco Franssen 78bb95ba35 Bump spire Helm Chart version from 0.15.1 to 0.16.0
* b7d8590 Fix missing protocol in JWT Issuer  (#120)
* 1ef207c Add note about supported version upgrades (#119)
* 4281114 Fix missing release name from install documentation (#118)
* e030fa1 Allow additional CRs to be managed by the chart (#117)
* d936293 Enable agent to kubelet connection to use hostname (#112)
* e68f617 Bump test chart dependencies (#116)
* d616632 Bump spire version to 1.8.5 (#115)
* 95e1eb7 Bump test chart dependencies
* 966061c Auto add default CSIDriver labels on OpenShift
* c9885de Introduce ReadOnlyRootFilesystem for Tornjak frontend (#110)
* 8107095 Fix typo ClusterSPIFFEID for workloadTSelectoremplates (#107)
* 5c0ce97 Ordering of SecurityContextConstraint array items (#105)
* 889d0af Bump test chart dependencies
* f5d1376 Documentation cleanup (#97)

Signed-off-by: Marco Franssen <marco.franssen@gmail.com>

Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
2023-12-01 16:03:24 +01:00
Marco Franssen a22838a532 Add additional instructions to release PR to also check other charts
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-11-30 17:29:27 +01:00
dependabot[bot] 7145ebccc8
Bump github.com/onsi/ginkgo/v2 from 2.13.1 to 2.13.2 in /tests (#126)
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.13.1 to 2.13.2.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v2.13.1...v2.13.2)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-29 20:03:27 -08:00
Mariusz Sabath b7d8590b77
Fix missing protocol in JWT Issuer (#120)
* Add missing protocol to jwt_issuer

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

* Removed trailing spaces

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

---------

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>
2023-11-29 00:13:32 +00:00
Faisal Memon 1ef207c7b2
Add note about supported version upgrades (#119)
Signed-off-by: Faisal Memon <fymemon@yahoo.com>
2023-11-28 22:01:16 +00:00
kfox1111 4281114b49
Fix missing release name from install documentation (#118)
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-11-28 12:57:11 -08:00
kfox1111 e030fa171b
Allow additional CRs to be managed by the chart (#117)
* Add support for the new spire-controller-manager class feature

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix docs. Swich nested deployment to use controller manager

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Test with nightly

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix global object naming clash

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix missing dot

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix naming conflict with cluster ids

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix scoping issue

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix typo

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix webhook name collision

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix webhook reference and add note to user about className

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Upgrade has to work on the old version of the object before rename

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix formatting

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Remove extra junk from job

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Easier local runs and wait for crds

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add missing crd upgrade

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update upgrade notes

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update charts/spire/charts/spire-server/templates/controller-manager-cluster-ids.yaml

Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Bump version to the released 0.4.0

Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Merge in crd changes from upstream

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add auto populate dns

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update charts/spire/README.md

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Add missing ClusterSPIFFEID fields

There are a few options in the CRD not available via the chart.
Sync them to the chart.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add another missing one

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Allow additional CRs to be managed by the chart

Sometimes additional ClusterSPIFFEIDs and the other CRs are needed. Add
support for the end user to manage those extra CRs via the chart.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add validation

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add className to crs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix readme formatting

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update charts/spire/README.md

Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Remove dead code

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix extra newline

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2023-11-28 09:15:23 -08:00
kfox1111 d936293d50
Enable agent to kubelet connection to use hostname (#112)
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
2023-11-28 08:43:09 +01:00
github-actions[bot] e68f6170a6
Bump test chart dependencies (#116)
Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: marcofranssen <marcofranssen@users.noreply.github.com>
2023-11-27 06:20:42 -08:00
kfox1111 d616632810
Bump spire version to 1.8.5 (#115) 2023-11-24 09:32:27 -08:00
marcofranssen 95e1eb7c57 Bump test chart dependencies
Signed-off-by: GitHub <noreply@github.com>
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-11-20 10:34:08 +01:00
Kevin Fox 966061c6c7 Auto add default CSIDriver labels on OpenShift
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-11-20 10:24:53 +01:00
Mariusz Sabath c9885de539
Introduce ReadOnlyRootFilesystem for Tornjak frontend (#110)
Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>
2023-11-16 15:47:04 -08:00
Mariusz Sabath 911f51b679
Consolidate all the examples to a common relative path (#109)
Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>
2023-11-16 13:14:55 -08:00
Mattias Gees 810709533b
Fix typo ClusterSPIFFEID for workloadTSelectoremplates (#107)
Signed-off-by: Mattias Gees <mattias.gees@jetstack.io>
2023-11-16 06:34:56 -08:00
Andrew Block 5c0ce97ad1
Ordering of SecurityContextConstraint array items (#105)
Signed-off-by: Andrew Block <andy.block@gmail.com>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2023-11-15 04:54:17 +00:00
kfox1111 8f542f2170
Add some nested diagrams (#102)
* Add some nested diagrams

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix typo

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add md

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2023-11-13 14:14:24 -08:00
marcofranssen 889d0af84d Bump test chart dependencies
Signed-off-by: GitHub <noreply@github.com>
2023-11-13 13:49:52 +01:00
dependabot[bot] ef3b1b7649 Bump github.com/onsi/ginkgo/v2 from 2.13.0 to 2.13.1 in /tests
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.13.0 to 2.13.1.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v2.13.0...v2.13.1)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-13 13:39:45 +01:00
kfox1111 91d262536e
Render notes correctly on vscode (#96) 2023-11-11 15:15:21 -08:00
kfox1111 f5d1376cb6
Documentation cleanup (#97)
Fix links to the repo after move. Remove references to other versions
of images we don't support.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-11-11 12:28:41 -08:00
Marco Franssen 250666a2b0 Bump spire Helm Chart version from 0.15.0 to 0.15.1
* 821ca12 Add Tornjak ingress example (#30)
* 6cd2282 Update SPIRE crds version (#93)

Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-11-10 14:00:58 +01:00
Marco Franssen a1c9205424 Only show changes related to the specific chart in release PR description
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-11-10 14:00:58 +01:00
Mariusz Sabath 821ca1290e
Add Tornjak ingress example (#30)
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
Co-authored-by: Mariusz Sabath <mrsabath@gmail.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
2023-11-10 12:30:40 +00:00
Faisal Memon 6cd2282a71
Update SPIRE crds version (#93)
Signed-off-by: Faisal Memon <fymemon@yahoo.com>
2023-11-09 16:18:35 -08:00
Faisal Memon 06d8cd2ae5 Bump spire Helm Chart version from 0.14.0 to 0.15.0
* 6c0a4fb Auto tornjak url (#89)
* f2758a8 Autogen jwtIssuer (#88)
* 93c20c6 Merge pull request #83 from spiffe/doc-ingress-patch
* c662b0c Merge branch 'main' into doc-ingress-patch
* de8cbc8 Bump github.com/onsi/gomega from 1.29.0 to 1.30.0 in /tests (#90)
* 1de838e Bump helm.sh/helm/v3 from 3.13.1 to 3.13.2 in /tests (#91)
* daf9d55 Merge branch 'main' into doc-ingress-patch
* aaeca00 Fix tests after renaming files
* 0320c3f Cleanup documentation
* 37cd9f2 Update to SPIRE 1.8.4 (#84)
* bd7879a Fix the typo in the production ingress README
* 805d869 spire-controller-manager 0.4.0 support (#60)
* edf2381 Bump sigstore/cosign-installer from 3.1.2 to 3.2.0 (#85)
* 0ed6d92 Bump test chart dependencies
* f7b6140 Fix docs
* a7e8785 Add another missing one
* 3778597 Add missing ClusterSPIFFEID fields
* 9b31f3d Bump helm/chart-testing-action from 2.6.0 to 2.6.1
* d6583be Add missing no cleanup flags to example tests (#79)
* 81cc2dc Ingress type openshift (#52)
* 2dce90f Bump helm/chart-releaser-action from 1.5.0 to 1.6.0 (#75)
* f08ebd3 Patch Tornjak ingress (#74)
* 6a6aa1c Cosign download fix (#72)
* 3b01684 Support Openshift deployment  (#13)
* ed23d8b Simple ingress support (#48)
* b354413 Fix incorrect nesting of priorityClassName (#67)
* 09ebfc9 Bump test chart dependencies (#68)
* d50d78d Fix ingress annotation variable for tornjak server (#66)
* b813807 Update docs to simplify, clarify, and prioritize ease of install/upgrade (#62)
* 5ad35bd Merge pull request #59 from sabre1041/spire-agent-nodename
* 02d445c Update charts/spire/README.md
* 9bd7f43 Added environment variable to spire-agent to inject node name
* fb64f8d Bump github.com/onsi/gomega from 1.28.1 to 1.29.0 in /tests (#61)
* 30d0f59 Update helm-charts repository URL (#58)
* 7924323 Specify ingress controller type (#43)
* 0b17434 Bump test chart dependencies (#54)
* a419903 Bump github.com/onsi/gomega from 1.28.0 to 1.28.1 in /tests (#53)
* 5025025 Fix doc missing end tag (#46)
* cf226a7 Bump actions/checkout from 4.1.0 to 4.1.1 (#42)

Signed-off-by: Faisal Memon <fymemon@yahoo.com>
2023-11-09 13:18:02 -08:00
kfox1111 6c0a4fbb86
Auto tornjak url (#89)
* Autogen jwtIssuer

Unset a default for jwtIssuer and global.spire.jwtIssuer. When unset,
generate it to the default of oidc-discovery.$trustDomain so in many
cases the user doesn't need to set it at all.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Autogen tornjak's apiServerURL

Unset the default tornjak apiServerURL. When unset, default to
https://tornjak-backend.$trustDomain so in many cases users don't
have to set it.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Do more autodetection

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Mariusz Sabath <mrsabath@gmail.com>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2023-11-09 13:07:52 -08:00
kfox1111 f2758a8b2b
Autogen jwtIssuer (#88)
* Autogen jwtIssuer

Unset a default for jwtIssuer and global.spire.jwtIssuer. When unset,
generate it to the default of oidc-discovery.$trustDomain so in many
cases the user doesn't need to set it at all.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Mariusz Sabath <mrsabath@gmail.com>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2023-11-09 20:31:48 +00:00
Mariusz Sabath 93c20c6830
Merge pull request #83 from spiffe/doc-ingress-patch
Fix the typo in the production ingress README
2023-11-09 10:28:14 -05:00
kfox1111 c662b0c522
Merge branch 'main' into doc-ingress-patch 2023-11-09 06:43:52 -08:00
dependabot[bot] de8cbc809f
Bump github.com/onsi/gomega from 1.29.0 to 1.30.0 in /tests (#90) 2023-11-09 06:08:36 +00:00
dependabot[bot] 1de838e499
Bump helm.sh/helm/v3 from 3.13.1 to 3.13.2 in /tests (#91) 2023-11-08 22:00:38 -08:00
kfox1111 daf9d55c61
Merge branch 'main' into doc-ingress-patch 2023-11-08 09:24:53 -08:00
Kevin Fox aaeca009c2 Fix tests after renaming files
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-11-08 04:50:05 -08:00
Marco Franssen 0320c3f755 Cleanup documentation
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-11-08 13:11:58 +01:00
Faisal Memon 37cd9f25e2
Update to SPIRE 1.8.4 (#84) 2023-11-08 03:26:21 -08:00
Mariusz Sabath bd7879a84c Fix the typo in the production ingress README
Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>
2023-11-08 11:48:20 +01:00
kfox1111 805d8696d0
spire-controller-manager 0.4.0 support (#60)
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2023-11-08 10:43:19 +00:00
dependabot[bot] edf2381aad
Bump sigstore/cosign-installer from 3.1.2 to 3.2.0 (#85)
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 3.1.2 to 3.2.0.
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](https://github.com/sigstore/cosign-installer/compare/v3.1.2...v3.2.0)

---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-07 22:56:47 -08:00
marcofranssen 0ed6d9244d Bump test chart dependencies
Signed-off-by: GitHub <noreply@github.com>
2023-11-06 13:15:02 +01:00
Kevin Fox f7b61406fe Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-11-05 23:29:22 -08:00
Kevin Fox a7e8785420 Add another missing one
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-11-05 23:29:22 -08:00
Kevin Fox 3778597e72 Add missing ClusterSPIFFEID fields
There are a few options in the CRD not available via the chart.
Sync them to the chart.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-11-05 23:29:22 -08:00
dependabot[bot] 9b31f3d40b Bump helm/chart-testing-action from 2.6.0 to 2.6.1
Bumps [helm/chart-testing-action](https://github.com/helm/chart-testing-action) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/helm/chart-testing-action/releases)
- [Commits](https://github.com/helm/chart-testing-action/compare/v2.6.0...v2.6.1)

---
updated-dependencies:
- dependency-name: helm/chart-testing-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-05 23:21:35 -08:00
kfox1111 d6583be179
Add missing no cleanup flags to example tests (#79) 2023-11-05 14:10:16 +01:00
kfox1111 81cc2dc573
Ingress type openshift (#52)
* Specify ingress controller type

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix indenting, docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix spacing

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix missing brackets

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix missing brackets

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add ingress-nginx support

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Use the right example values for test version to upgrade from.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix var in wrong location

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix missing arg

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Try this to checkout the right version

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Switch to upgrading from 0.14.0

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Install crds

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Simple ingress support

For a lot of situations, ingress rules can be derived from trustDomain.
Change the code to generate rules by default for the user.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add upgrade test fix from 43

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Enable unset ingress controller type to use with openshift later

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Openshift ingress controller type support

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix missing end tag

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix merge conflicts

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix doc merge conflicts

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Update docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix merge conflicts

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix automatically generated rules on openshift

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix formatting

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix pathType

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Make openshift edge rules work

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix var scoping

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix issue created during merge conflict

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Co-authored-by: Mariusz Sabath <mrsabath@gmail.com>
2023-11-03 13:16:14 -07:00
dependabot[bot] 2dce90f44e
Bump helm/chart-releaser-action from 1.5.0 to 1.6.0 (#75)
Bumps [helm/chart-releaser-action](https://github.com/helm/chart-releaser-action) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/helm/chart-releaser-action/releases)
- [Commits](https://github.com/helm/chart-releaser-action/compare/v1.5.0...v1.6.0)

---
updated-dependencies:
- dependency-name: helm/chart-releaser-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-02 23:12:20 -07:00
Mariusz Sabath f08ebd344e
Patch Tornjak ingress (#74)
* Fix the tornjak backend tornjak

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

* Revert "Fix the tornjak backend tornjak"

This reverts commit cef5505fab940af34be8cfef3e210f020c2f36a1.

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

* Fix the tornjak backend tornjak

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

---------

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>
2023-11-02 09:38:33 -07:00
kfox1111 6a6aa1c850
Cosign download fix (#72) 2023-10-31 16:44:52 +00:00
Mariusz Sabath 3b016841da
Support Openshift deployment (#13)
* Add support for SPIRE deployment on OpenShift 4.13

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>
Co-authored-by: Trilok Geer <tgeer@redhat.com>
Co-authored-by: Andrew Block <andy.block@gmail.com>

* Render README

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

* Fix tornjak HTTP/HTTPS port values

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

* Update Frontend README

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

* Add env. variable to Agent to inject node name

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

* Implement Marco's suggestion on CSI CSS version

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

* Add MY_NODE_NAME env. variable to agent for openshift example

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

* Move Openshift examples to dedicated directory

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

* Simplified the install instructions

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

* Suggested changes

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Co-authored-by: Andrew Block <andy.block@gmail.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Update docs, fix default for backwards compat

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Don't recommend experimental features by default, dont debug helm install by default and explain how to add additional features

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add notes about openshift to the project for other reviewers.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix incorrectly reverted change

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Correct notes

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update default

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix issue created from bad merge conflict resolution

Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Update examples/openshift/openshift-values.yaml

Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

* Update examples/openshift/openshift-values.yaml

Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

* Update examples/openshift/openshift-values.yaml

Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

* Update examples/openshift/openshift-values.yaml

Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

---------

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Trilok Geer <tgeer@redhat.com>
Co-authored-by: Andrew Block <andy.block@gmail.com>
Co-authored-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-10-31 16:27:23 +00:00
kfox1111 ed23d8b714
Simple ingress support (#48)
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2023-10-30 22:16:17 +00:00
Inverse Integral b354413f62
Fix incorrect nesting of priorityClassName (#67)
Signed-off-by: Inverse Integral <inverseintegral42@gmail.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
2023-10-30 10:32:48 -07:00
github-actions[bot] 09ebfc9ee3
Bump test chart dependencies (#68)
Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: marcofranssen <marcofranssen@users.noreply.github.com>
2023-10-30 09:30:10 -07:00
kfox1111 d50d78d9a0
Fix ingress annotation variable for tornjak server (#66) 2023-10-28 11:47:55 -07:00
kfox1111 b813807f16
Update docs to simplify, clarify, and prioritize ease of install/upgrade (#62)
* Update docs to simplify, clarify, and prioritize ease of install/upgrade

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
2023-10-26 22:13:54 +00:00
kfox1111 5ad35bd8d5
Merge pull request #59 from sabre1041/spire-agent-nodename
Added environment variable to spire-agent to inject node name
2023-10-26 14:33:13 -07:00
Mariusz Sabath 02d445c87b
Update charts/spire/README.md
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>
2023-10-26 16:08:15 -04:00
Andrew Block 9bd7f43056
Added environment variable to spire-agent to inject node name
Signed-off-by: Andrew Block <andy.block@gmail.com>
2023-10-26 12:14:23 -05:00
dependabot[bot] fb64f8d2d0
Bump github.com/onsi/gomega from 1.28.1 to 1.29.0 in /tests (#61) 2023-10-26 03:29:07 +00:00
truongnht 30d0f59383
Update helm-charts repository URL (#58) 2023-10-25 08:54:16 +00:00
kfox1111 7924323a8f
Specify ingress controller type (#43)
* Specify ingress controller type

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix indenting, docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix spacing

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix missing brackets

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix missing brackets

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add ingress-nginx support

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Use the right example values for test version to upgrade from.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix var in wrong location

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix missing arg

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Try this to checkout the right version

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Switch to upgrading from 0.14.0

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Install crds

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Fix docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Enable unset ingress controller type to use with openshift later

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix docs after merge issue

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2023-10-24 20:18:53 +00:00
github-actions[bot] 0b174345ab
Bump test chart dependencies (#54)
Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: marcofranssen <marcofranssen@users.noreply.github.com>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2023-10-23 20:40:30 +00:00
dependabot[bot] a4199035db
Bump github.com/onsi/gomega from 1.28.0 to 1.28.1 in /tests (#53)
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.28.0 to 1.28.1.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.28.0...v1.28.1)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-23 13:32:18 -07:00
kfox1111 5025025fdc
Fix doc missing end tag (#46)
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2023-10-18 21:28:00 +00:00
dependabot[bot] cf226a73d5
Bump actions/checkout from 4.1.0 to 4.1.1 (#42)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2023-10-18 21:17:40 +00:00
Faisal Memon ff725c2e38 Bump spire Helm Chart version from 0.13.2 to 0.14.0
* a01cdc9 Production test don't cleanup flag (#44)
* 56445c4 Spire controller manager upgrade (#8)
* 6635512 Fix Tornjak HTTPS ingress port (#39)
* 78ba615 Update to SPIRE 1.8.2 (#40)
* 2644e4b Bump test chart dependencies (#38)
* 5cb3c6d Bump helm.sh/helm/v3 from 3.13.0 to 3.13.1 in /tests (#37)
* 42bb8cf Bump spire Helm Chart version from 0.13.1 to 0.13.2
* dd87bc0 Bump spire versions to 1.7.4 (#35)
* fdba5d0 Bump spire Helm Chart version from 0.13.0 to 0.13.1
* 0e41a7d Fix failing Tornjak ingress port (#28)
* df1abf6 Bump to spire 1.7.3 (#31)
* 69a20e3 Merge pull request #29 from spiffe/tornjak-version
* 3036a41 Switch to version v1.4.0
* da49059 Update Tornjak image version
* 0fa43a5 Add plugin support to the spire agent (#22)
* c5c5320 Bump github.com/onsi/ginkgo/v2 from 2.12.1 to 2.13.0 in /tests (#27)
* afba33f Add spire agent experimental flags (#26)
* 1107278 Bump test chart dependencies
* 03ff618 Add Tornjak ingress (#16)
* 8f1bfc1 Merge pull request #23 from spiffe/examples-doc
* cd386eb Merge branch 'main' into examples-doc
* 12937db Update Example README
* 06d6690 Bump test chart dependencies (#20)
* 8aca48f Push the changes that update-tags creates (#19)
* a6cb397 Exit code from diff indicating changes should not block commit. (#17)
* ebfa518 Update FAQ from repo switch (#15)
* c23e6cb Fix issue with version checker not running
* 51c20b1 Bump actions/checkout from 4.0.0 to 4.1.0 (#9)
* 21db1e4 Add a test to ensure upgrades work (#6)
* f86648f Bump github.com/onsi/gomega from 1.27.10 to 1.28.0 in /tests
* babd677 Bump helm.sh/helm/v3 from 3.12.3 to 3.13.0 in /tests
* 45187fe Add back CODE-OF-CONDUCT
* 50825d9 Deny production runs of example.org trust domains (#229)
* 712a0f6 Bump actions/checkout from 4.0.0 to 4.1.0
* f04bdc3 Add support for experimental flags (#492)
* 7cdae92 Bump github.com/onsi/ginkgo/v2 from 2.12.0 to 2.12.1 in /tests (#490)
* d3091a8 Fix spire-server configmap UpstreamAuthority/aws_pca and KeyManager/a… (#489)
* 7a96175 Remove developer-guy as a CODEOWNER

Signed-off-by: Faisal Memon <fymemon@yahoo.com>
2023-10-18 13:44:37 -07:00
kfox1111 a01cdc96d6
Production test don't cleanup flag (#44)
* Production test don't cleanup flag

For use in the future with uprade tests, we add a flag -c to the production
test to not cleanup after the testing.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Incorperate feedback

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-10-18 13:29:56 -07:00
kfox1111 56445c4f94
Spire controller manager upgrade (#8)
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
2023-10-17 19:54:12 +00:00
Mariusz Sabath 663551297a
Fix Tornjak HTTPS ingress port (#39)
* Fix failing Tornjak ingress port

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

* Add HTTPS port to Tornjak ingress

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

* Remove tlsBackendPort flag

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

---------

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>
2023-10-17 19:48:54 +00:00
Faisal Memon 78ba615c7d
Update to SPIRE 1.8.2 (#40)
Signed-off-by: Faisal Memon <fymemon@yahoo.com>
2023-10-17 10:26:14 -07:00
github-actions[bot] 2644e4b198
Bump test chart dependencies (#38)
Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: marcofranssen <marcofranssen@users.noreply.github.com>
2023-10-16 18:00:04 +00:00
dependabot[bot] 5cb3c6de12
Bump helm.sh/helm/v3 from 3.13.0 to 3.13.1 in /tests (#37)
Bumps [helm.sh/helm/v3](https://github.com/helm/helm) from 3.13.0 to 3.13.1.
- [Release notes](https://github.com/helm/helm/releases)
- [Commits](https://github.com/helm/helm/compare/v3.13.0...v3.13.1)

---
updated-dependencies:
- dependency-name: helm.sh/helm/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-12 22:15:14 -07:00
Faisal Memon 42bb8cf066 Bump spire Helm Chart version from 0.13.1 to 0.13.2
* dd87bc0 Bump spire versions to 1.7.4 (#35)
* fdba5d0 Bump spire Helm Chart version from 0.13.0 to 0.13.1
* 0e41a7d Fix failing Tornjak ingress port (#28)
* df1abf6 Bump to spire 1.7.3 (#31)
* 69a20e3 Merge pull request #29 from spiffe/tornjak-version
* 3036a41 Switch to version v1.4.0
* da49059 Update Tornjak image version
* 0fa43a5 Add plugin support to the spire agent (#22)
* c5c5320 Bump github.com/onsi/ginkgo/v2 from 2.12.1 to 2.13.0 in /tests (#27)
* afba33f Add spire agent experimental flags (#26)
* 1107278 Bump test chart dependencies
* 03ff618 Add Tornjak ingress (#16)
* 8f1bfc1 Merge pull request #23 from spiffe/examples-doc
* cd386eb Merge branch 'main' into examples-doc
* 12937db Update Example README
* 06d6690 Bump test chart dependencies (#20)
* 8aca48f Push the changes that update-tags creates (#19)
* a6cb397 Exit code from diff indicating changes should not block commit. (#17)
* ebfa518 Update FAQ from repo switch (#15)
* c23e6cb Fix issue with version checker not running
* 51c20b1 Bump actions/checkout from 4.0.0 to 4.1.0 (#9)
* 21db1e4 Add a test to ensure upgrades work (#6)
* f86648f Bump github.com/onsi/gomega from 1.27.10 to 1.28.0 in /tests
* babd677 Bump helm.sh/helm/v3 from 3.12.3 to 3.13.0 in /tests
* 45187fe Add back CODE-OF-CONDUCT
* 50825d9 Deny production runs of example.org trust domains (#229)
* 712a0f6 Bump actions/checkout from 4.0.0 to 4.1.0
* f04bdc3 Add support for experimental flags (#492)
* 7cdae92 Bump github.com/onsi/ginkgo/v2 from 2.12.0 to 2.12.1 in /tests (#490)
* d3091a8 Fix spire-server configmap UpstreamAuthority/aws_pca and KeyManager/a… (#489)
* 7a96175 Remove developer-guy as a CODEOWNER

Signed-off-by: Faisal Memon <fymemon@yahoo.com>
2023-10-12 15:12:46 -07:00
kfox1111 dd87bc0fb2
Bump spire versions to 1.7.4 (#35)
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-10-12 14:52:18 -07:00
Faisal Memon fdba5d084b Bump spire Helm Chart version from 0.13.0 to 0.13.1
* 0e41a7d Fix failing Tornjak ingress port (#28)
* df1abf6 Bump to spire 1.7.3 (#31)
* 69a20e3 Merge pull request #29 from spiffe/tornjak-version
* 3036a41 Switch to version v1.4.0
* da49059 Update Tornjak image version
* 0fa43a5 Add plugin support to the spire agent (#22)
* c5c5320 Bump github.com/onsi/ginkgo/v2 from 2.12.1 to 2.13.0 in /tests (#27)
* afba33f Add spire agent experimental flags (#26)
* 1107278 Bump test chart dependencies
* 03ff618 Add Tornjak ingress (#16)
* 8f1bfc1 Merge pull request #23 from spiffe/examples-doc
* cd386eb Merge branch 'main' into examples-doc
* 12937db Update Example README
* 06d6690 Bump test chart dependencies (#20)
* 8aca48f Push the changes that update-tags creates (#19)
* a6cb397 Exit code from diff indicating changes should not block commit. (#17)
* ebfa518 Update FAQ from repo switch (#15)
* c23e6cb Fix issue with version checker not running
* 51c20b1 Bump actions/checkout from 4.0.0 to 4.1.0 (#9)
* 21db1e4 Add a test to ensure upgrades work (#6)
* f86648f Bump github.com/onsi/gomega from 1.27.10 to 1.28.0 in /tests
* babd677 Bump helm.sh/helm/v3 from 3.12.3 to 3.13.0 in /tests
* 45187fe Add back CODE-OF-CONDUCT
* 50825d9 Deny production runs of example.org trust domains (#229)
* 712a0f6 Bump actions/checkout from 4.0.0 to 4.1.0
* f04bdc3 Add support for experimental flags (#492)
* 7cdae92 Bump github.com/onsi/ginkgo/v2 from 2.12.0 to 2.12.1 in /tests (#490)
* d3091a8 Fix spire-server configmap UpstreamAuthority/aws_pca and KeyManager/a… (#489)
* 7a96175 Remove developer-guy as a CODEOWNER

Signed-off-by: Faisal Memon <fymemon@yahoo.com>
2023-10-11 11:17:48 -07:00
Mariusz Sabath 0e41a7d1b4
Fix failing Tornjak ingress port (#28)
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2023-10-11 14:36:15 +00:00
kfox1111 df1abf6235
Bump to spire 1.7.3 (#31)
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-10-10 22:28:24 -07:00
Mariusz Sabath 69a20e32d4
Merge pull request #29 from spiffe/tornjak-version
Update Tornjak image version
2023-10-10 15:43:02 -04:00
Mariusz Sabath 3036a41c02
Switch to version v1.4.0
Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>
2023-10-10 15:07:14 -04:00
Mariusz Sabath da49059c87
Update Tornjak image version
Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>
2023-10-10 15:01:31 -04:00
kfox1111 0fa43a507d
Add plugin support to the spire agent (#22)
* Exit code from diff indicating changes should not block commit.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Push the changes that update-tags creates

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add plugin support to the spire agent

This adapts the existing spire server plugin support to be usable by
the agent as well.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix notes

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Add plugin support to the spire agent

This adapts the existing spire server plugin support to be usable by
the agent as well.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix notes

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update documentation

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update example

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
2023-10-10 08:09:11 +00:00
dependabot[bot] c5c5320097
Bump github.com/onsi/ginkgo/v2 from 2.12.1 to 2.13.0 in /tests (#27) 2023-10-09 20:43:44 -07:00
kfox1111 afba33f179
Add spire agent experimental flags (#26)
* Add spire agent experimental flags

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Fix nested test

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update charts/spire/charts/spire-agent/templates/configmap.yaml

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Apply suggestions from code review

Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>

* Regen docs

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2023-10-09 16:09:28 -07:00
marcofranssen 11072780ca Bump test chart dependencies
Signed-off-by: GitHub <noreply@github.com>
2023-10-09 15:53:46 +02:00
Mariusz Sabath 03ff618958
Add Tornjak ingress (#16)
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
2023-10-09 11:31:55 +00:00
Mariusz Sabath 8f1bfc16ad
Merge pull request #23 from spiffe/examples-doc 2023-10-07 00:12:18 -04:00
Mariusz Sabath cd386eb8ae
Merge branch 'main' into examples-doc 2023-10-06 21:49:02 -04:00
Mariusz Sabath 12937db24b
Update Example README
Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>
2023-10-06 21:31:59 -04:00
github-actions[bot] 06d6690d71
Bump test chart dependencies (#20)
Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: faisal-memon <faisal-memon@users.noreply.github.com>
2023-10-05 11:21:51 -07:00
kfox1111 8aca48f14c
Push the changes that update-tags creates (#19)
* Exit code from diff indicating changes should not block commit.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Push the changes that update-tags creates

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-10-05 10:40:32 -07:00
kfox1111 a6cb3974ac
Exit code from diff indicating changes should not block commit. (#17)
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-10-05 10:23:50 -07:00
Faisal Memon ebfa518a4b
Update FAQ from repo switch (#15)
* Update FAQ from repo switch

Signed-off-by: Faisal Memon <fymemon@yahoo.com>

* Add note about repo name

Signed-off-by: Faisal Memon <fymemon@yahoo.com>

* Clarify old and new forks

Signed-off-by: Faisal Memon <fymemon@yahoo.com>

---------

Signed-off-by: Faisal Memon <fymemon@yahoo.com>
2023-10-04 09:11:58 -07:00
Faisal Memon c23e6cb3b1 Fix issue with version checker not running
Signed-off-by: Faisal Memon <fymemon@yahoo.com>
2023-10-03 09:00:20 +02:00
dependabot[bot] 51c20b1ec2
Bump actions/checkout from 4.0.0 to 4.1.0 (#9)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v4.1.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-02 21:12:05 -07:00
kfox1111 21db1e4b9a
Add a test to ensure upgrades work (#6)
* Add a test to ensure upgrades work

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Update examples/production/run-tests.sh

Co-authored-by: Faisal Memon <fymemon@yahoo.com>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2023-10-02 17:05:25 -07:00
dependabot[bot] f86648f318 Bump github.com/onsi/gomega from 1.27.10 to 1.28.0 in /tests
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.27.10 to 1.28.0.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.27.10...v1.28.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-02 09:43:43 +02:00
dependabot[bot] babd677649 Bump helm.sh/helm/v3 from 3.12.3 to 3.13.0 in /tests
Bumps [helm.sh/helm/v3](https://github.com/helm/helm) from 3.12.3 to 3.13.0.
- [Release notes](https://github.com/helm/helm/releases)
- [Commits](https://github.com/helm/helm/compare/v3.12.3...v3.13.0)

---
updated-dependencies:
- dependency-name: helm.sh/helm/v3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-02 09:23:56 +02:00
Marco Franssen 45187fe3ea
Add back CODE-OF-CONDUCT
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-10-02 09:17:34 +02:00
kfox1111 50825d9fc9
Deny production runs of example.org trust domains (#229) 2023-09-25 12:06:48 -07:00
dependabot[bot] 712a0f6fbe Bump actions/checkout from 4.0.0 to 4.1.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4.0.0...v4.1.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-25 19:54:27 +02:00
Faisal Memon f04bdc3618
Add support for experimental flags (#492)
Add support for the experimental section of the config. Needed for
developers. This PR doesnt add support for the `auth_opa_policy_engine`
experimental config.

---------

Signed-off-by: Faisal Memon <fymemon@yahoo.com>
2023-09-22 14:55:03 -07:00
dependabot[bot] 7cdae92333
Bump github.com/onsi/ginkgo/v2 from 2.12.0 to 2.12.1 in /tests (#490)
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from
2.12.0 to 2.12.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/onsi/ginkgo/releases">github.com/onsi/ginkgo/v2's
releases</a>.</em></p>
<blockquote>
<h2>v2.12.1</h2>
<h2>2.12.1</h2>
<h3>Fixes</h3>
<ul>
<li>Print logr prefix if it exists (<a
href="https://redirect.github.com/onsi/ginkgo/issues/1275">#1275</a>)
[90d4846]</li>
</ul>
<h3>Maintenance</h3>
<ul>
<li>Bump actions/checkout from 3 to 4 (<a
href="https://redirect.github.com/onsi/ginkgo/issues/1271">#1271</a>)
[555f543]</li>
<li>Bump golang.org/x/sys from 0.11.0 to 0.12.0 (<a
href="https://redirect.github.com/onsi/ginkgo/issues/1270">#1270</a>)
[d867b7d]</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md">github.com/onsi/ginkgo/v2's
changelog</a>.</em></p>
<blockquote>
<h2>2.12.1</h2>
<h3>Fixes</h3>
<ul>
<li>Print logr prefix if it exists (<a
href="https://redirect.github.com/onsi/ginkgo/issues/1275">#1275</a>)
[90d4846]</li>
</ul>
<h3>Maintenance</h3>
<ul>
<li>Bump actions/checkout from 3 to 4 (<a
href="https://redirect.github.com/onsi/ginkgo/issues/1271">#1271</a>)
[555f543]</li>
<li>Bump golang.org/x/sys from 0.11.0 to 0.12.0 (<a
href="https://redirect.github.com/onsi/ginkgo/issues/1270">#1270</a>)
[d867b7d]</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="1d2fb67b14"><code>1d2fb67</code></a>
v2.12.1</li>
<li><a
href="90d4846e63"><code>90d4846</code></a>
Print logr prefix if it exists (<a
href="https://redirect.github.com/onsi/ginkgo/issues/1275">#1275</a>)</li>
<li><a
href="555f54392e"><code>555f543</code></a>
Bump actions/checkout from 3 to 4 (<a
href="https://redirect.github.com/onsi/ginkgo/issues/1271">#1271</a>)</li>
<li><a
href="d867b7dbcd"><code>d867b7d</code></a>
Bump golang.org/x/sys from 0.11.0 to 0.12.0 (<a
href="https://redirect.github.com/onsi/ginkgo/issues/1270">#1270</a>)</li>
<li>See full diff in <a
href="https://github.com/onsi/ginkgo/compare/v2.12.0...v2.12.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/onsi/ginkgo/v2&package-manager=go_modules&previous-version=2.12.0&new-version=2.12.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-20 09:12:38 -07:00
unufr33 d3091a829c
Fix spire-server configmap UpstreamAuthority/aws_pca and KeyManager/a… (#489)
Current configmap template renders to a wrong KeyManager and
UpstreamAuthority configurarion when aws_kms and aws_pca are enabled and
container is crashing. The proposed changes will fix the issue.

---------

Signed-off-by: unufree <geno.velkov@gmail.com>
Signed-off-by: unufr33 <129618334+unufr33@users.noreply.github.com>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2023-09-20 09:12:11 -07:00
Marco Franssen 7a96175f06 Remove developer-guy as a CODEOWNER
Due to time constraints he steps down as a maintainer.

Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-09-18 17:52:01 +02:00
Marco Franssen 800362a121
Bump spire Helm Chart version from 0.12.0 to 0.13.0 (#484) 2023-09-15 09:23:44 -07:00
LaithLite 38f0af4491
Add support for Vault UpstreamAuthority plugin - K8s Auth (#415)
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
2023-09-15 08:48:56 +02:00
dependabot[bot] 1aac2d483d Bump docker/login-action from 2 to 3
Bumps [docker/login-action](https://github.com/docker/login-action) from 2 to 3.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-13 17:59:54 +02:00
Inverse Integral 1f908676bb
Allow configuration of priorityClassName on spire-server statefulset (#480) 2023-09-12 22:31:23 +02:00
grameshtwilio 9ad2ed59b1
option to configure agent sds (#479)
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
2023-09-11 11:42:27 +00:00
Krishnakumar Venkataraman 693ce08425 Remove ## values section from chart readms
Signed-off-by: Krishnakumar Venkataraman <krishna_kumar08@infosys.com>
2023-09-08 19:11:51 +02:00
Krishna 65d56957de
Migrate to readme-generator for helm maintained by bitnami (#431)
Co-authored-by: Krishnakumar Venkataraman <krishna_kumar08@infosys.com>
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
2023-09-08 09:39:30 +02:00
Simon Ostendorf dcc60a2896
fix(charts/spire/spire-agent): podmonitor templating (#478) 2023-09-08 09:31:18 +02:00
dependabot[bot] 48adb8869f Bump actions/checkout from 3.6.0 to 4.0.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.6.0 to 4.0.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.6.0...v4.0.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-05 18:05:51 +02:00
dependabot[bot] d1f52d6995
Bump sigstore/cosign-installer from 3.1.1 to 3.1.2 (#473) 2023-09-04 06:52:44 +00:00
kfox1111 5273f4e530
Switch mysql and postgresql tests to HA Production configs (#471)
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-09-01 12:25:07 -07:00
kfox1111 e81a59a7e5
ingress-nginx production tests and spiffe-oidc-discovery-provider example (#136)
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
2023-08-29 15:22:00 +00:00
dependabot[bot] b05175e2b6 Bump actions/checkout from 3.5.3 to 3.6.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.3 to 3.6.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.5.3...v3.6.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-25 16:31:52 +02:00
kfox1111 51cba5b530
Add customPlugins and unsupportedBuiltInPlugins sections to spire-server (#198)
This patch enables end users to configure external plugins in the
spire-server config. Unsupported internal plugins are not able to be
set.

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Edwin Buck <edwbuck@gmail.com>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2023-08-24 21:13:28 +00:00
dependabot[bot] f4ee2c2b3a
Bump github.com/onsi/ginkgo/v2 from 2.11.0 to 2.12.0 in /tests (#468) 2023-08-24 09:15:42 +02:00
grameshtwilio c817dd2411
support datastore password secret created by external resources (#464)
This allows the datastore secret object to be created by external agents
such as https://github.com/external-secrets/external-secrets

---------

Signed-off-by: grameshtwilio <gramesh@twilio.com>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2023-08-22 16:08:52 -07:00
Marco Franssen 71ac5afa11
Split steps in check-versions wf for easier debugging (#467) 2023-08-22 19:11:57 +00:00
kfox1111 d91403af3a
Scan for updates to new images (#466)
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
2023-08-22 12:05:44 -07:00
dependabot[bot] 7a5456e404
Bump helm.sh/helm/v3 from 3.11.3 to 3.12.3 in /tests (#462)
Bumps [helm.sh/helm/v3](https://github.com/helm/helm) from 3.11.3 to
3.12.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/helm/helm/releases">helm.sh/helm/v3's
releases</a>.</em></p>
<blockquote>
<p>Helm v3.12.3 is a patch release. Users are encouraged to upgrade for
the best experience. Users are encouraged to upgrade for the best
experience.</p>
<p>The community keeps growing, and we'd love to see you there!</p>
<ul>
<li>Join the discussion in <a
href="https://kubernetes.slack.com">Kubernetes Slack</a>:
<ul>
<li>for questions and just to hang out</li>
<li>for discussing PRs, code, and bugs</li>
</ul>
</li>
<li>Hang out at the Public Developer Call: Thursday, 9:30 Pacific via <a
href="https://zoom.us/j/696660622">Zoom</a></li>
<li>Test, debug, and contribute charts: <a
href="https://artifacthub.io/packages/search?kind=0">ArtifactHub/packages</a></li>
</ul>
<h2>Installation and Upgrading</h2>
<p>Download Helm v3.12.3. The common platform binaries are here:</p>
<ul>
<li><a href="https://get.helm.sh/helm-v3.12.3-darwin-amd64.tar.gz">MacOS
amd64</a> (<a
href="https://get.helm.sh/helm-v3.12.3-darwin-amd64.tar.gz.sha256sum">checksum</a>
/ 1bdbbeec5a12dd0c1cd4efd8948a156d33e1e2f51140e2a51e1e5e7b11b81d47)</li>
<li><a href="https://get.helm.sh/helm-v3.12.3-darwin-arm64.tar.gz">MacOS
arm64</a> (<a
href="https://get.helm.sh/helm-v3.12.3-darwin-arm64.tar.gz.sha256sum">checksum</a>
/ 240b0a7da9cae208000eff3d3fb95e0fa1f4903d95be62c3f276f7630b12dae1)</li>
<li><a href="https://get.helm.sh/helm-v3.12.3-linux-amd64.tar.gz">Linux
amd64</a> (<a
href="https://get.helm.sh/helm-v3.12.3-linux-amd64.tar.gz.sha256sum">checksum</a>
/ 1b2313cd198d45eab00cc37c38f6b1ca0a948ba279c29e322bdf426d406129b5)</li>
<li><a href="https://get.helm.sh/helm-v3.12.3-linux-arm.tar.gz">Linux
arm</a> (<a
href="https://get.helm.sh/helm-v3.12.3-linux-arm.tar.gz.sha256sum">checksum</a>
/ 6b67cf5fc441c1fcb4a860629b2ec613d0e6c8ac536600445f52a033671e985e)</li>
<li><a href="https://get.helm.sh/helm-v3.12.3-linux-arm64.tar.gz">Linux
arm64</a> (<a
href="https://get.helm.sh/helm-v3.12.3-linux-arm64.tar.gz.sha256sum">checksum</a>
/ 79ef06935fb47e432c0c91bdefd140e5b543ec46376007ca14a52e5ed3023088)</li>
<li><a href="https://get.helm.sh/helm-v3.12.3-linux-386.tar.gz">Linux
i386</a> (<a
href="https://get.helm.sh/helm-v3.12.3-linux-386.tar.gz.sha256sum">checksum</a>
/ cb789c4753bf66c8426f6be4091349c0780aaf996af0a1de48318f9f8d6b7bc8)</li>
<li><a
href="https://get.helm.sh/helm-v3.12.3-linux-ppc64le.tar.gz">Linux
ppc64le</a> (<a
href="https://get.helm.sh/helm-v3.12.3-linux-ppc64le.tar.gz.sha256sum">checksum</a>
/ 8f2182ae53dd129a176ee15a09754fa942e9e7e9adab41fd60a39833686fe5e6)</li>
<li><a href="https://get.helm.sh/helm-v3.12.3-linux-s390x.tar.gz">Linux
s390x</a> (<a
href="https://get.helm.sh/helm-v3.12.3-linux-s390x.tar.gz.sha256sum">checksum</a>
/ f5d5c7a4e831dedc8dac5913d4c820e0da10e904debb59dec65bde203fad1af0)</li>
<li><a href="https://get.helm.sh/helm-v3.12.3-windows-amd64.zip">Windows
amd64</a> (<a
href="https://get.helm.sh/helm-v3.12.3-windows-amd64.zip.sha256sum">checksum</a>
/ f3e2e9d69bb0549876aef6e956976f332e482592494874d254ef49c4862c5712)</li>
</ul>
<p>This release was signed with <code>672C 657B E06B 4B30 969C 4A57 4614
49C2 5E36 B98E </code> and can be found at <a
href="https://github.com/mattfarina"><code>@​mattfarina</code></a> <a
href="https://keybase.io/mattfarina">keybase account</a>. Please use the
attached signatures for verifying this release using
<code>gpg</code>.</p>
<p>The <a href="https://helm.sh/docs/intro/quickstart/">Quickstart
Guide</a> will get you going from there. For <strong>upgrade
instructions</strong> or detailed installation notes, check the <a
href="https://helm.sh/docs/intro/install/">install guide</a>. You can
also use a <a
href="https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3">script
to install</a> on any system with <code>bash</code>.</p>
<h2>What's Next</h2>
<ul>
<li>3.13.0 is the next feature release and be on September 13,
2023.</li>
</ul>
<h2>Changelog</h2>
<ul>
<li>bump kubernetes modules to v0.27.3
3a31588ad33fe3b89af5a2a54ee1d25bfe6eaa5e (Joe Julian)</li>
<li>Add priority class to kind sorter
fb7415543b910e5661337e187e2be9d3f383638d (Stepan Dohnal)</li>
</ul>
<p>Helm v3.12.2 is a patch release. Users are encouraged to upgrade for
the best experience. Users are encouraged to upgrade for the best
experience.</p>
<p>The community keeps growing, and we'd love to see you there!</p>
<ul>
<li>Join the discussion in <a
href="https://kubernetes.slack.com">Kubernetes Slack</a>:
<ul>
<li>for questions and just to hang out</li>
<li>for discussing PRs, code, and bugs</li>
</ul>
</li>
<li>Hang out at the Public Developer Call: Thursday, 9:30 Pacific via <a
href="https://zoom.us/j/696660622">Zoom</a></li>
<li>Test, debug, and contribute charts: <a
href="https://artifacthub.io/packages/search?kind=0">ArtifactHub/packages</a></li>
</ul>
<h2>Installation and Upgrading</h2>
<p>Download Helm v3.12.2. The common platform binaries are here:</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="3a31588ad3"><code>3a31588</code></a>
bump kubernetes modules to v0.27.3</li>
<li><a
href="fb7415543b"><code>fb74155</code></a>
Add priority class to kind sorter</li>
<li><a
href="1e210a2c8c"><code>1e210a2</code></a>
add GetRegistryClient method</li>
<li><a
href="cfa7bc68fa"><code>cfa7bc6</code></a>
chore(deps): bump oras.land/oras-go from 1.2.2 to 1.2.3</li>
<li><a
href="f32a527a06"><code>f32a527</code></a>
add some test case</li>
<li><a
href="91bb1e34e6"><code>91bb1e3</code></a>
fix comment grammar error.</li>
<li><a
href="5217482c8e"><code>5217482</code></a>
bugfix:(<a
href="https://redirect.github.com/helm/helm/issues/11391">#11391</a>)
helm lint infinite loop</li>
<li><a
href="524a0e7457"><code>524a0e7</code></a>
chore(deps): bump github.com/opencontainers/runc from 1.1.4 to
1.1.5</li>
<li><a
href="c60cdf62ab"><code>c60cdf6</code></a>
chore(deps): bump github.com/docker/distribution</li>
<li><a
href="321f71a161"><code>321f71a</code></a>
update autoscaling/v2beta1 to autoscaling/v2 in skeleton chart</li>
<li>Additional commits viewable in <a
href="https://github.com/helm/helm/compare/v3.11.3...v3.12.3">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=helm.sh/helm/v3&package-manager=go_modules&previous-version=3.11.3&new-version=3.12.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2023-08-22 20:17:44 +02:00
Drew Wells cbe0001131
Federation test (#423)
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
2023-08-22 20:07:54 +02:00
Marco Franssen 8e9d42acf7
Bump spire Helm Chart version from 0.11.1 to 0.12.0 (#455)
Please review the below changelog to ensure this matches up with the
semantic version being applied.

> **Note**: **Maintainers** ensure to run following after merging this
PR to trigger the release workflow:
>
> ```shell
> git checkout main
> git pull
> git checkout release
> git pull
> git merge main
> git push
> ```

**Changes in this release**

* 5e2e8a91 Adds AWS KMS KeyManager support (#435)
* 77fe43f3 Cron job to check for and update images (#249)
* b7e15255 Allow job hooks to be disabled (#434)
* 5e4cf6f5 Clarify project issues identified with nesting document
(#450)
* 72893515 Update spire bits to 1.7.2 (#452)
* dc8a4545 Array spacing in values is incorrect in a file. (#451)
* 94326d9c Fixup Helm docs
* ae8941c4 Support Nested Spire with External Agent (#117)
* f40743d4 Improve Tornjak documentation (#439)
* 0124f633 Bypass example-test for docs only changes (#449)
* 48a28980 Fix chainguard image references as per issue 442 (#443)
* bd393e95 Bump test chart dependencies (#445)
* a52818a7 Add a FAQ and switch rare issue from README to it (#437)
* e60f5287 option to set KeyManager memory in spire server (#444)
* a167ce68 Bump actions/setup-go from 4.0.1 to 4.1.0
* e774584c Bump test chart dependencies (#426)
* bfec27ef Fix jwtIssuer to allow for Uris including scheme (#425)
* 7a6e4f8d Change Tornjak backend default port (#436)
* 1e3039cc Bump spire Helm Chart version from 0.11.0 to 0.11.1 (#419)
* d2e16062 issuer naming should respect issuer_name override (#378)
* a2e5c36c Bump test chart dependencies (#416)
* a09e054d support annotations so oidc can be annotated (#391)
* 7d94b105 Update spire to 1.7.1 (#412)
* 9f4d4ace Add aws_pca to the spire-server (#404)
* af13f1fc Bump test chart dependencies (#401)
* 9a6768bc Add support for disabling container selectors (#399)
* 4687e20d Merge pull request #315 from spiffe/persistence-type
* e16210c6 Merge branch 'main' into persistence-type
* 624ca9cc Remove misadded lockfile (#400)
* 7ce67c62 Bump actions/checkout from 3.5.2 to 3.5.3 (#395)
* b85ba64d Bump helm/kind-action from 1.7.0 to 1.8.0 (#396)
* a6bdb4d1 Add persistence type flag

Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-08-21 10:43:47 -07:00
Marco Franssen c298510701
Fix initContainers spire-server statefulset (#458)
To allow for inplace upgrades of spire-server statefulset we are not
allowed to
make changes to all fields of the statefulset spec.

When bumping from 0.8.1 to the latest version the `initContainers:`
field is added in the spec and therefore does not allow for updating the
statefulset.

This fix prevents the empty initContainers block when bumping from a
previous chart version.

Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2023-08-21 10:38:42 -07:00
dependabot[bot] ecb83d6dd4
Bump github.com/onsi/gomega from 1.27.6 to 1.27.10 in /tests (#461)
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from
1.27.6 to 1.27.10.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/onsi/gomega/releases">github.com/onsi/gomega's
releases</a>.</em></p>
<blockquote>
<h2>v1.27.10</h2>
<h2>1.27.10</h2>
<h3>Fixes</h3>
<ul>
<li>fix: go 1.21 adding goroutine ID to creator+location (<a
href="https://redirect.github.com/onsi/gomega/issues/685">#685</a>)
[bdc7803]</li>
</ul>
<h2>v1.27.9</h2>
<h2>1.27.9</h2>
<h3>Fixes</h3>
<ul>
<li>Prevent nil-dereference in format.Object for boxed nil error (<a
href="https://redirect.github.com/onsi/gomega/issues/681">#681</a>)
[3b31fc3]</li>
</ul>
<h3>Maintenance</h3>
<ul>
<li>Bump golang.org/x/net from 0.11.0 to 0.12.0 (<a
href="https://redirect.github.com/onsi/gomega/issues/679">#679</a>)
[360849b]</li>
<li>chore: use String() instead of fmt.Sprintf (<a
href="https://redirect.github.com/onsi/gomega/issues/678">#678</a>)
[86f3659]</li>
<li>Bump golang.org/x/net from 0.10.0 to 0.11.0 (<a
href="https://redirect.github.com/onsi/gomega/issues/674">#674</a>)
[642ead0]</li>
<li>chore: unnecessary use of fmt.Sprintf (<a
href="https://redirect.github.com/onsi/gomega/issues/677">#677</a>)
[ceb9ca6]</li>
<li>Bump github.com/onsi/ginkgo/v2 from 2.10.0 to 2.11.0 (<a
href="https://redirect.github.com/onsi/gomega/issues/675">#675</a>)
[a2087d8]</li>
<li>docs: fix ContainSubstring references (<a
href="https://redirect.github.com/onsi/gomega/issues/673">#673</a>)
[fc9a89f]</li>
<li>Bump github.com/onsi/ginkgo/v2 from 2.9.7 to 2.10.0 (<a
href="https://redirect.github.com/onsi/gomega/issues/671">#671</a>)
[9076019]</li>
</ul>
<h2>v1.27.8</h2>
<h2>1.27.8</h2>
<h3>Fixes</h3>
<ul>
<li>HaveExactElement should not call FailureMessage if a submatcher
returned an error [096f392]</li>
</ul>
<h3>Maintenance</h3>
<ul>
<li>Bump github.com/onsi/ginkgo/v2 from 2.9.5 to 2.9.7 (<a
href="https://redirect.github.com/onsi/gomega/issues/669">#669</a>)
[8884bee]</li>
</ul>
<h2>v1.27.7</h2>
<h2>1.27.7</h2>
<h3>Fixes</h3>
<ul>
<li>fix: gcustom.MakeMatcher accepts nil as actual value (<a
href="https://redirect.github.com/onsi/gomega/issues/666">#666</a>)
[57054d5]</li>
</ul>
<h3>Maintenance</h3>
<ul>
<li>update gitignore [05c1bc6]</li>
<li>Bump github.com/onsi/ginkgo/v2 from 2.9.4 to 2.9.5 (<a
href="https://redirect.github.com/onsi/gomega/issues/663">#663</a>)
[7cadcf6]</li>
<li>Bump golang.org/x/net from 0.9.0 to 0.10.0 (<a
href="https://redirect.github.com/onsi/gomega/issues/662">#662</a>)
[b524839]</li>
<li>Bump github.com/onsi/ginkgo/v2 from 2.9.2 to 2.9.4 (<a
href="https://redirect.github.com/onsi/gomega/issues/661">#661</a>)
[5f44694]</li>
<li>Bump commonmarker from 0.23.8 to 0.23.9 in /docs (<a
href="https://redirect.github.com/onsi/gomega/issues/657">#657</a>)
[05dc99a]</li>
<li>Bump nokogiri from 1.14.1 to 1.14.3 in /docs (<a
href="https://redirect.github.com/onsi/gomega/issues/658">#658</a>)
[3a033d1]</li>
<li>Replace deprecated NewGomegaWithT with NewWithT (<a
href="https://redirect.github.com/onsi/gomega/issues/659">#659</a>)
[a19238f]</li>
<li>Bump golang.org/x/net from 0.8.0 to 0.9.0 (<a
href="https://redirect.github.com/onsi/gomega/issues/656">#656</a>)
[29ed041]</li>
<li>Bump actions/setup-go from 3 to 4 (<a
href="https://redirect.github.com/onsi/gomega/issues/651">#651</a>)
[11b2080]</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/onsi/gomega/blob/master/CHANGELOG.md">github.com/onsi/gomega's
changelog</a>.</em></p>
<blockquote>
<h2>1.27.10</h2>
<h3>Fixes</h3>
<ul>
<li>fix: go 1.21 adding goroutine ID to creator+location (<a
href="https://redirect.github.com/onsi/gomega/issues/685">#685</a>)
[bdc7803]</li>
</ul>
<h2>1.27.9</h2>
<h3>Fixes</h3>
<ul>
<li>Prevent nil-dereference in format.Object for boxed nil error (<a
href="https://redirect.github.com/onsi/gomega/issues/681">#681</a>)
[3b31fc3]</li>
</ul>
<h3>Maintenance</h3>
<ul>
<li>Bump golang.org/x/net from 0.11.0 to 0.12.0 (<a
href="https://redirect.github.com/onsi/gomega/issues/679">#679</a>)
[360849b]</li>
<li>chore: use String() instead of fmt.Sprintf (<a
href="https://redirect.github.com/onsi/gomega/issues/678">#678</a>)
[86f3659]</li>
<li>Bump golang.org/x/net from 0.10.0 to 0.11.0 (<a
href="https://redirect.github.com/onsi/gomega/issues/674">#674</a>)
[642ead0]</li>
<li>chore: unnecessary use of fmt.Sprintf (<a
href="https://redirect.github.com/onsi/gomega/issues/677">#677</a>)
[ceb9ca6]</li>
<li>Bump github.com/onsi/ginkgo/v2 from 2.10.0 to 2.11.0 (<a
href="https://redirect.github.com/onsi/gomega/issues/675">#675</a>)
[a2087d8]</li>
<li>docs: fix ContainSubstring references (<a
href="https://redirect.github.com/onsi/gomega/issues/673">#673</a>)
[fc9a89f]</li>
<li>Bump github.com/onsi/ginkgo/v2 from 2.9.7 to 2.10.0 (<a
href="https://redirect.github.com/onsi/gomega/issues/671">#671</a>)
[9076019]</li>
</ul>
<h2>1.27.8</h2>
<h3>Fixes</h3>
<ul>
<li>HaveExactElement should not call FailureMessage if a submatcher
returned an error [096f392]</li>
</ul>
<h3>Maintenance</h3>
<ul>
<li>Bump github.com/onsi/ginkgo/v2 from 2.9.5 to 2.9.7 (<a
href="https://redirect.github.com/onsi/gomega/issues/669">#669</a>)
[8884bee]</li>
</ul>
<h2>1.27.7</h2>
<h3>Fixes</h3>
<ul>
<li>fix: gcustom.MakeMatcher accepts nil as actual value (<a
href="https://redirect.github.com/onsi/gomega/issues/666">#666</a>)
[57054d5]</li>
</ul>
<h3>Maintenance</h3>
<ul>
<li>update gitignore [05c1bc6]</li>
<li>Bump github.com/onsi/ginkgo/v2 from 2.9.4 to 2.9.5 (<a
href="https://redirect.github.com/onsi/gomega/issues/663">#663</a>)
[7cadcf6]</li>
<li>Bump golang.org/x/net from 0.9.0 to 0.10.0 (<a
href="https://redirect.github.com/onsi/gomega/issues/662">#662</a>)
[b524839]</li>
<li>Bump github.com/onsi/ginkgo/v2 from 2.9.2 to 2.9.4 (<a
href="https://redirect.github.com/onsi/gomega/issues/661">#661</a>)
[5f44694]</li>
<li>Bump commonmarker from 0.23.8 to 0.23.9 in /docs (<a
href="https://redirect.github.com/onsi/gomega/issues/657">#657</a>)
[05dc99a]</li>
<li>Bump nokogiri from 1.14.1 to 1.14.3 in /docs (<a
href="https://redirect.github.com/onsi/gomega/issues/658">#658</a>)
[3a033d1]</li>
<li>Replace deprecated NewGomegaWithT with NewWithT (<a
href="https://redirect.github.com/onsi/gomega/issues/659">#659</a>)
[a19238f]</li>
<li>Bump golang.org/x/net from 0.8.0 to 0.9.0 (<a
href="https://redirect.github.com/onsi/gomega/issues/656">#656</a>)
[29ed041]</li>
<li>Bump actions/setup-go from 3 to 4 (<a
href="https://redirect.github.com/onsi/gomega/issues/651">#651</a>)
[11b2080]</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="9cbf7b0019"><code>9cbf7b0</code></a>
v1.27.10</li>
<li><a
href="bdc7803e66"><code>bdc7803</code></a>
fix: go 1.21 adding goroutine ID to creator+location (<a
href="https://redirect.github.com/onsi/gomega/issues/685">#685</a>)</li>
<li><a
href="66bcd9de8f"><code>66bcd9d</code></a>
v1.27.9</li>
<li><a
href="3b31fc3875"><code>3b31fc3</code></a>
Prevent nil-dereference in format.Object for boxed nil error (<a
href="https://redirect.github.com/onsi/gomega/issues/681">#681</a>)</li>
<li><a
href="360849b5ee"><code>360849b</code></a>
Bump golang.org/x/net from 0.11.0 to 0.12.0 (<a
href="https://redirect.github.com/onsi/gomega/issues/679">#679</a>)</li>
<li><a
href="86f3659f49"><code>86f3659</code></a>
chore: use String() instead of fmt.Sprintf (<a
href="https://redirect.github.com/onsi/gomega/issues/678">#678</a>)</li>
<li><a
href="642ead0c6d"><code>642ead0</code></a>
Bump golang.org/x/net from 0.10.0 to 0.11.0 (<a
href="https://redirect.github.com/onsi/gomega/issues/674">#674</a>)</li>
<li><a
href="ceb9ca6a1c"><code>ceb9ca6</code></a>
chore: unnecessary use of fmt.Sprintf (<a
href="https://redirect.github.com/onsi/gomega/issues/677">#677</a>)</li>
<li><a
href="a2087d8d97"><code>a2087d8</code></a>
Bump github.com/onsi/ginkgo/v2 from 2.10.0 to 2.11.0 (<a
href="https://redirect.github.com/onsi/gomega/issues/675">#675</a>)</li>
<li><a
href="fc9a89ffe7"><code>fc9a89f</code></a>
docs: fix ContainSubstring references (<a
href="https://redirect.github.com/onsi/gomega/issues/673">#673</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/onsi/gomega/compare/v1.27.6...v1.27.10">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/onsi/gomega&package-manager=go_modules&previous-version=1.27.6&new-version=1.27.10)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-21 10:10:52 -07:00
Marco Franssen 413644d27d
Merge pull request #456 from spiffe/fix-dependabot-include-go 2023-08-21 18:42:51 +02:00
dependabot[bot] eb1ad75d7f
Bump imjasonh/setup-crane from 0.1 to 0.3 (#460)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-21 01:03:56 -07:00
dependabot[bot] 3d307a2ebf
Bump actions/setup-go from 4.0.0 to 4.1.0 (#459)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-21 01:03:40 -07:00
Marco Franssen 9cb59dafb8 Include go dependencies in dependabot.yaml
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-08-21 09:29:04 +02:00
Marco Franssen 80b9a83873 Fix indentation issue in dependabot.yaml
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-08-21 09:29:04 +02:00
Marco Franssen 76e3665396
Fix annotation for spire-oidc deployment (#457) 2023-08-18 10:06:15 -07:00
Maximiliano Churichi 5e2e8a9188
Adds AWS KMS KeyManager support (#435)
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
2023-08-18 09:52:51 +02:00
kfox1111 77fe43f37d
Cron job to check for and update images (#249)
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
2023-08-18 09:49:50 +02:00
Faisal Memon b7e15255f3
Allow job hooks to be disabled (#434)
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
Co-authored-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-08-18 09:48:14 +02:00
kfox1111 5e4cf6f529
Clarify project issues identified with nesting document (#450) 2023-08-17 10:11:05 -07:00
kfox1111 72893515a2
Update spire bits to 1.7.2 (#452) 2023-08-17 10:10:45 -07:00
kfox1111 dc8a4545cc
Array spacing in values is incorrect in a file. (#451) 2023-08-17 08:42:21 +02:00
Marco Franssen 94326d9c6d
Fixup Helm docs 2023-08-16 16:48:42 +02:00
kfox1111 ae8941c49d
Support Nested Spire with External Agent (#117) 2023-08-16 16:35:41 +02:00
Mariusz Sabath f40743d484
Improve Tornjak documentation (#439) 2023-08-16 14:27:27 +00:00
Faisal Memon 0124f633e8
Bypass example-test for docs only changes (#449) 2023-08-16 16:23:32 +02:00
kfox1111 48a2898016
Fix chainguard image references as per issue 442 (#443) 2023-08-16 16:22:09 +02:00
github-actions[bot] bd393e9597
Bump test chart dependencies (#445)
Bump the Helm charts used in test scenarios to latest available
versions.

Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: marcofranssen <marcofranssen@users.noreply.github.com>
2023-08-15 17:55:19 +00:00
kfox1111 a52818a72e
Add a FAQ and switch rare issue from README to it (#437)
fixes https://github.com/spiffe/helm-charts/issues/433
closes #385

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2023-08-15 09:42:51 -07:00
grameshtwilio e60f5287e0
option to set KeyManager memory in spire server (#444) 2023-08-12 20:55:40 +02:00
dependabot[bot] a167ce6890 Bump actions/setup-go from 4.0.1 to 4.1.0
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4.0.1 to 4.1.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v4.0.1...v4.1.0)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-09 17:52:39 +02:00
github-actions[bot] e774584c46
Bump test chart dependencies (#426)
Co-authored-by: marcofranssen <marcofranssen@users.noreply.github.com>
2023-08-09 15:11:47 +00:00
Drew Wells bfec27ef67
Fix jwtIssuer to allow for Uris including scheme (#425) 2023-08-09 16:53:21 +02:00
Mariusz Sabath 7a6e4f8d75
Change Tornjak backend default port (#436) 2023-08-09 16:46:08 +02:00
Faisal Memon 1e3039ccb9
Bump spire Helm Chart version from 0.11.0 to 0.11.1 (#419)
Please review the below changelog to ensure this matches up with the
semantic version being applied.

**Note**: As this is a patch release we will make a cherry-picked
release using a followup PR targetering the release branch. Will
cherrypick the following commits into this patch release + the commit
bumping this version number.

**Changes in this release**

* d2e1606 issuer naming should respect issuer_name override (#378)
* a09e054 support annotations so oidc can be annotated (#391)
* 7d94b10 Update spire to 1.7.1 (#412)
* 9a6768b Add support for disabling container selectors (#399)
* 624ca9c Remove misadded lockfile (#400)

Signed-off-by: Faisal Memon <fymemon@yahoo.com>
2023-08-03 09:12:03 -07:00
Drew Wells d2e1606286
issuer naming should respect issuer_name override (#378)
align the spire-server configmap and issuer CR naming

---------

Signed-off-by: Drew Wells <dwells@infoblox.com>
Signed-off-by: Faisal Memon <fymemon@yahoo.com>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2023-08-02 14:22:59 -07:00
github-actions[bot] a2e5c36cc9
Bump test chart dependencies (#416)
Bump the Helm charts used in test scenarios to latest available
versions.

Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: marcofranssen <marcofranssen@users.noreply.github.com>
2023-07-31 18:00:20 +00:00
Drew Wells a09e054d04
support annotations so oidc can be annotated (#391)
Signed-off-by: Drew Wells <dwells@infoblox.com>
Signed-off-by: Drew Wells <drew.wells00@gmail.com>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2023-07-31 10:54:01 -07:00
kfox1111 7d94b105ab
Update spire to 1.7.1 (#412)
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-07-28 23:01:26 +02:00
Petr McAllister 9f4d4ace84
Add aws_pca to the spire-server (#404)
This change allows aws_pca to be configured via values of this chart.

__Requires 1.7.1 version__ per
[bug](https://github.com/spiffe/spire/issues/4351) - this will not work
until 1.7.1 is released.

---------

Signed-off-by: Petr McAllister <petr.mcallister@gmail.com>
Signed-off-by: Petr McAllister <petr@tetrate.io>
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
2023-07-27 14:27:51 -07:00
github-actions[bot] af13f1fc64
Bump test chart dependencies (#401)
Bump the Helm charts used in test scenarios to latest available
versions.

Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: marcofranssen <marcofranssen@users.noreply.github.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
2023-07-27 11:20:48 -07:00
Faisal Memon 9a6768bca1
Add support for disabling container selectors (#399) 2023-07-27 13:27:57 -04:00
Edwin Buck 4687e20dbf
Merge pull request #315 from spiffe/persistence-type
Add persistence type flag
2023-07-26 10:05:50 -05:00
kfox1111 e16210c653
Merge branch 'main' into persistence-type 2023-07-21 09:36:18 -07:00
kfox1111 624ca9cc49
Remove misadded lockfile (#400) 2023-07-20 15:28:32 -07:00
dependabot[bot] 7ce67c624c
Bump actions/checkout from 3.5.2 to 3.5.3 (#395)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-20 07:30:54 -07:00
dependabot[bot] b85ba64dea
Bump helm/kind-action from 1.7.0 to 1.8.0 (#396)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-20 07:29:08 -07:00
Marco Franssen 1898a18f0b
Bump spire Helm Chart version from 0.10.1 to 0.11.0 (#394) 2023-07-19 15:23:43 -07:00
Kevin Fox a6bdb4d1e7 Add persistence type flag
This patch adds a type flag to the persistence settings to enable
specifying the backing volume's type.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-07-19 23:40:23 +02:00
Marco Franssen 94a2b7235b
Merge pull request #324 from spiffe/enable-testing-multiple-charts 2023-07-19 23:06:28 +02:00
Marco Franssen e426bc06e9
Downgrade chart-testing tool to 3.8.0
Unfortunatily it fails on linting

Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-07-19 22:54:04 +02:00
Marco Franssen 09b466466a
Utilize ct install --github-groups in ci workflow
https://github.com/helm/chart-testing/pull/556
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-07-19 22:54:04 +02:00
Marco Franssen 42086bd66a
Run example tests also on all k8s versions
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-07-19 22:49:25 +02:00
Marco Franssen 4848c48b1f
Improve Makefile help and implementation
This allows more granular tasks and composition.

Also improved the documentation.

Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-07-19 22:49:25 +02:00
Marco Franssen db0603825c
Increase some timeouts, trying to fix the tests
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-07-19 22:49:25 +02:00
Marco Franssen 54ed71f969
Add back tests for examples
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-07-19 22:49:22 +02:00
Marco Franssen 4b4cef1eae
Skip namespace-override test because of #330
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-07-19 22:48:20 +02:00
Marco Franssen 380979c71c
Prevent ci folder ending up in Helm package
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-07-19 22:48:20 +02:00
Marco Franssen 06ddb7cd3f
Use chart-testing ci/*-values.yaml for testing
This also enables the refactor to have multiple root level charts.

Resolves #100

Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-07-19 22:48:19 +02:00
kfox1111 a4c1de7b30
Add basic unit test framework (#390)
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
2023-07-19 18:36:07 +00:00
Marco Franssen 088b29608e
Improve tornjak service API to have object structure (#392) 2023-07-19 09:17:45 -07:00
Marco Franssen 522066e9f9
Align tornjak clientCA naming convention (#393) 2023-07-19 09:13:50 -07:00
Mariusz Sabath f05cb4fe1e
Add option to configure TLS/mTLS endpoint for Tornjak (#338)
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
2023-07-19 14:32:32 +02:00
github-actions[bot] f461a01701
Bump test chart dependencies (#386) 2023-07-18 17:32:02 +00:00
github-actions[bot] ce39e82767
Bump test chart dependencies (#382)
Bump the Helm charts used in test scenarios to latest available
versions.

Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: marcofranssen <marcofranssen@users.noreply.github.com>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2023-07-14 08:05:36 -07:00
kfox1111 19d3208740
Fix oidc provider config change not rolling out (#383) 2023-07-12 21:05:09 +02:00
dependabot[bot] 0197621fa4
Bump helm/kind-action from 1.7.0 to 1.8.0 (#384)
Bumps [helm/kind-action](https://github.com/helm/kind-action) from 1.7.0
to 1.8.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/helm/kind-action/releases">helm/kind-action's
releases</a>.</em></p>
<blockquote>
<h2>v1.8.0</h2>
<h2>What's Changed</h2>
<ul>
<li><a
href="https://redirect.github.com/helm/kind-action/issues/54">#54</a>
ignore the occasional post delete cluster by <a
href="https://github.com/jerry153fish"><code>@​jerry153fish</code></a>
in <a
href="https://redirect.github.com/helm/kind-action/pull/79">helm/kind-action#79</a></li>
<li>bump kind to v0.20.0 and script cleanup by <a
href="https://github.com/cpanato"><code>@​cpanato</code></a> in <a
href="https://redirect.github.com/helm/kind-action/pull/88">helm/kind-action#88</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/jerry153fish"><code>@​jerry153fish</code></a>
made their first contribution in <a
href="https://redirect.github.com/helm/kind-action/pull/79">helm/kind-action#79</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/helm/kind-action/compare/v1.7.0...v1.8.0">https://github.com/helm/kind-action/compare/v1.7.0...v1.8.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="dda0770415"><code>dda0770</code></a>
bump kind to v0.20.0 and script cleanup (<a
href="https://redirect.github.com/helm/kind-action/issues/88">#88</a>)</li>
<li><a
href="a2c862bdb6"><code>a2c862b</code></a>
<a href="https://redirect.github.com/helm/kind-action/issues/54">#54</a>
ignore the occasional post delete cluster (<a
href="https://redirect.github.com/helm/kind-action/issues/79">#79</a>)</li>
<li><a
href="1307bb2fde"><code>1307bb2</code></a>
Bump actions/checkout from 3.5.2 to 3.5.3 (<a
href="https://redirect.github.com/helm/kind-action/issues/87">#87</a>)</li>
<li>See full diff in <a
href="https://github.com/helm/kind-action/compare/v1.7.0...v1.8.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=helm/kind-action&package-manager=github_actions&previous-version=1.7.0&new-version=1.8.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-12 09:01:07 -07:00
kfox1111 3ed1859cd1
Add missing tolerations config to daemonsets (#381)
spiffe-csi-driver and spire-agent are missing the ability to specify
tolerations. This PR adds the missing functionality.

fixes: https://github.com/spiffe/helm-charts/issues/380

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-07-06 12:48:59 -05:00
Drew Wells 4ad68b154b
Add namespace to spiffe-oidc-discovery-provider RBAC definitions (#379) 2023-07-06 09:50:46 -07:00
kfox1111 c1b1dd3d88
Add additional domains to JWT issued items. (#230)
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
2023-07-03 22:26:28 +02:00
marcofranssen 3405e13944 Bump test chart dependencies
Signed-off-by: GitHub <noreply@github.com>
Signed-off-by: Faisal Memon <fymemon@yahoo.com>
2023-07-03 17:38:56 +02:00
LaithLite 81452d5e7e
Fix missing spiffe-csi-driver imagePullSecrets template (#376) 2023-07-03 12:52:31 +02:00
Marco Franssen ac5977288e Bump spire Helm Chart version from 0.10.0 to 0.10.1
* d7a03f62 Fix bug in cert-manager upstream authority
* e57c13ac Bump test chart dependencies (#370)

Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-06-30 16:06:21 +02:00
Marco Franssen d7a03f620d Fix bug in cert-manager upstream authority
The arguments for default function need to be the other way around

Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-06-29 17:39:21 +02:00
github-actions[bot] e57c13ac13
Bump test chart dependencies (#370)
Co-authored-by: marcofranssen <marcofranssen@users.noreply.github.com>
2023-06-29 08:16:31 +02:00
Marco Franssen 5500d36b1a Bump spire Helm Chart version from 0.9.1 to 0.10.0
* f4c421af Ensure the released OCI artifact is also captured in rekor
* 386e736e Bump sigstore/cosign-installer from 3.0.5 to 3.1.0 (#368)
* 99e01c67 Bump spire-controller-manager from 0.2.2 to 0.2.3 (#367)
* 4dccb0d3 Bump spire Helm Chart version from 0.9.0 to 0.9.1 (#365)
* 8409674a Fix the init container flags of the statefulset (#366)
* 3b666601 add missing federatesWith option (#361)
* 0533d925 fixes missing template (#362)
* 1333b6ab Always add parseTime=true for mysql query string (#352)
* ac3be716 Bump test chart dependencies (#358)

Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-06-28 19:01:25 +02:00
dependabot[bot] 731c8b45b5
Bump sigstore/cosign-installer from 3.1.0 to 3.1.1 (#373)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
2023-06-28 08:40:55 -07:00
Marco Franssen f4c421afa0 Ensure the released OCI artifact is also captured in rekor
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-06-27 09:30:09 +02:00
dependabot[bot] 386e736e78
Bump sigstore/cosign-installer from 3.0.5 to 3.1.0 (#368)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
2023-06-26 08:54:42 -07:00
Marco Franssen 99e01c6722
Bump spire-controller-manager from 0.2.2 to 0.2.3 (#367)
resolves a bunch of vulnerabilities in the Image

Signed-off-by: Marco Franssen <marco.franssen@gmail.com>

Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-06-22 16:16:43 -07:00
Marco Franssen 4dccb0d3b6
Bump spire Helm Chart version from 0.9.0 to 0.9.1 (#365) 2023-06-22 18:57:33 +02:00
kfox1111 8409674a3e
Fix the init container flags of the statefulset (#366) 2023-06-22 18:57:07 +02:00
Drew Wells 3b6666016c
add missing federatesWith option (#361)
DEMO

```
spire-server-0 -- spire-server entry show -spiffeID spiffe://box-4.example.com/ns/dwells/sa/dwells-rc-realm-client
Defaulted container "spire-server" out of: spire-server, spire-controller-manager, wait (init)
Found 1 entry
Entry ID         : 09301666-010e-4ba9-9dcb-44370d4e49e4
SPIFFE ID        : spiffe://box-4.example.com/ns/dwells/sa/dwells-rc-realm-client
Parent ID        : spiffe://box-4.example.com/spire/agent/k8s_psat/example-cluster/ff93872d-791f-4bf3-a532-475775d03d3e
Revision         : 0
X509-SVID TTL    : default
JWT-SVID TTL     : default
Selector         : k8s:pod-uid:40e0bcad-6ec8-460b-a839-659654549d7a
FederatesWith    : box-3.example.com
```

Signed-off-by: Drew Wells <dwells@infoblox.com>
2023-06-22 08:45:37 -07:00
Drew Wells 0533d92594
fixes missing template (#362) 2023-06-22 09:40:08 -04:00
Faisal Memon 1333b6ab34
Always add parseTime=true for mysql query string (#352) 2023-06-20 21:14:42 +02:00
github-actions[bot] ac3be716dd
Bump test chart dependencies (#358)
Co-authored-by: marcofranssen <marcofranssen@users.noreply.github.com>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2023-06-20 08:41:41 +02:00
Marco Franssen 44f3554708 Bump spire Helm Chart version from 0.8.1 to 0.9.0
* 57a9320 Add SPIRE 1.7.0 to main readme (#357)
* af36f7c Align the bash image version with other instances for spire-agent (#356)
* c11a8c0 Implement pre-delete hook for graceful delete of spiffe-oidc-discovery-provider (#353)
* a6dcf26 Allow for SPIRE Agent to run as non root user (#209)
* 9cf6049 Allow contributors to run linting easily on local
* e88f7f6 Add configmap annotation to spire-bundle configmap (#351)
* 020bde8 Add support to create a issuer and CA via cert-manager (#342)
* 9d504de Ignore .DS_Store files
* e6b608c Bump spire images to 1.7.0 (#348)
* c97a788 Fix bundle role/rolebinding naming conflict (#333)
* b66077e Bump peter-evans/create-pull-request from 5.0.1 to 5.0.2 (#349)
* d0da864 Add missing metadata to subcharts (#347)
* 4c0a1d5 Allow overriding test images (#186)
* 250fd5d Add missing global values to charts (#311)
* 5d8c907 Dropping k8s versions in CI older than 3, as per readme (#344)
* 8748933 Update upstream-ca-secret.yaml (#341)
* 4e07450 Fix ingress annotations for federation (#337)
* ea09199 Bump actions/checkout from 3.5.0 to 3.5.3
* 87fe198 Merge pull request #331 from edwbuck/key_conventions
* ddc0166 Fix line wrapping.
* 0cae9ce Update project/conventions.md
* cb18255 Update project/conventions.md
* 52e5c24 Upgrade Tornjak to image v1.2.2 (#328)
* 28e2abf Choose a different example for dotted Acronyms.
* d60d68c Added accidentally clipped explicit name guidelines.
* abe9fde Merge branch 'main' into key_conventions
* f6a7b62 Update project/conventions.md
* c4d19db Update project/conventions.md
* cfa9f78 Bump test chart dependencies (#332)
* c3213ab Initial submission of Helm Chart key naming conventions.
* 28c0824 Bump test chart dependencies (#322)
* d333154 Add Makefile for local testing (#327)
* 9fa1ec2 Improve Tornjak backend test (#321)
* 5b779dc Improve Tornjak frontend test (#320)

Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-06-20 00:14:48 +02:00
Faisal Memon 57a93205a7
Add SPIRE 1.7.0 to main readme (#357) 2023-06-19 20:29:17 +02:00
Marco Franssen af36f7c09b
Align the bash image version with other instances for spire-agent (#356)
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>

Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-06-19 11:28:35 -07:00
Marco Franssen c11a8c00e7
Implement pre-delete hook for graceful delete of spiffe-oidc-discovery-provider (#353) 2023-06-17 06:06:27 -07:00
kfox1111 a6dcf267d1
Allow for SPIRE Agent to run as non root user (#209)
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2023-06-17 10:32:41 +02:00
Marco Franssen 9cf6049afd Allow contributors to run linting easily on local
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-06-17 03:42:41 +02:00
Faisal Memon e88f7f6fe2
Add configmap annotation to spire-bundle configmap (#351) 2023-06-16 23:22:44 +02:00
Drew Wells 020bde8561
Add support to create a issuer and CA via cert-manager (#342)
Co-authored-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-06-16 21:04:11 +00:00
Faisal Memon 9d504de05b Ignore .DS_Store files
Signed-off-by: Faisal Memon <fymemon@yahoo.com>
2023-06-16 17:30:51 +02:00
kfox1111 e6b608c9fd
Bump spire images to 1.7.0 (#348) 2023-06-16 07:26:59 +00:00
kfox1111 c97a788c85
Fix bundle role/rolebinding naming conflict (#333) 2023-06-16 08:55:49 +02:00
dependabot[bot] b66077eff1
Bump peter-evans/create-pull-request from 5.0.1 to 5.0.2 (#349)
Bumps
[peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request)
from 5.0.1 to 5.0.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/peter-evans/create-pull-request/releases">peter-evans/create-pull-request's
releases</a>.</em></p>
<blockquote>
<h2>Create Pull Request v5.0.2</h2>
<p>⚙️ Fixes an issue that occurs when using <code>push-to-fork</code>
and both base and head repositories are in the same org/user
account.</p>
<h2>What's Changed</h2>
<ul>
<li>fix: specify head repo by <a
href="https://github.com/peter-evans"><code>@​peter-evans</code></a> in
<a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/2044">peter-evans/create-pull-request#2044</a></li>
<li>20 dependency updates by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/peter-evans/create-pull-request/compare/v5.0.1...v5.0.2">https://github.com/peter-evans/create-pull-request/compare/v5.0.1...v5.0.2</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="153407881e"><code>1534078</code></a>
fix: specify head repo (<a
href="https://redirect.github.com/peter-evans/create-pull-request/issues/2044">#2044</a>)</li>
<li><a
href="143be5d671"><code>143be5d</code></a>
build(deps-dev): bump <code>@​typescript-eslint/parser</code> from
5.59.9 to 5.59.11 (<a
href="https://redirect.github.com/peter-evans/create-pull-request/issues/2048">#2048</a>)</li>
<li><a
href="51e8ca2340"><code>51e8ca2</code></a>
build(deps-dev): bump <code>@​types/node</code> from 18.16.16 to
18.16.18 (<a
href="https://redirect.github.com/peter-evans/create-pull-request/issues/2047">#2047</a>)</li>
<li><a
href="712add83f2"><code>712add8</code></a>
build(deps-dev): bump <code>@​types/jest</code> from 29.5.1 to 29.5.2
(<a
href="https://redirect.github.com/peter-evans/create-pull-request/issues/2026">#2026</a>)</li>
<li><a
href="a9e8aabc8b"><code>a9e8aab</code></a>
build(deps-dev): bump eslint from 8.41.0 to 8.42.0 (<a
href="https://redirect.github.com/peter-evans/create-pull-request/issues/2024">#2024</a>)</li>
<li><a
href="37be4ffd94"><code>37be4ff</code></a>
build(deps-dev): bump <code>@​typescript-eslint/parser</code> from
5.59.8 to 5.59.9 (<a
href="https://redirect.github.com/peter-evans/create-pull-request/issues/2023">#2023</a>)</li>
<li><a
href="a5f0e5dc8e"><code>a5f0e5d</code></a>
build(deps-dev): bump eslint-plugin-github from 4.7.0 to 4.8.0 (<a
href="https://redirect.github.com/peter-evans/create-pull-request/issues/2025">#2025</a>)</li>
<li><a
href="9ef70ee495"><code>9ef70ee</code></a>
build(deps-dev): bump <code>@​types/node</code> from 18.16.14 to
18.16.16 (<a
href="https://redirect.github.com/peter-evans/create-pull-request/issues/2009">#2009</a>)</li>
<li><a
href="0a287739d3"><code>0a28773</code></a>
build(deps-dev): bump <code>@​typescript-eslint/parser</code> from
5.59.7 to 5.59.8 (<a
href="https://redirect.github.com/peter-evans/create-pull-request/issues/2008">#2008</a>)</li>
<li><a
href="4ddb8c8fe7"><code>4ddb8c8</code></a>
build: update distribution (<a
href="https://redirect.github.com/peter-evans/create-pull-request/issues/1986">#1986</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/peter-evans/create-pull-request/compare/v5.0.1...v5.0.2">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=peter-evans/create-pull-request&package-manager=github_actions&previous-version=5.0.1&new-version=5.0.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-15 09:53:51 -07:00
kfox1111 d0da864113
Add missing metadata to subcharts (#347) 2023-06-14 12:46:22 -07:00
kfox1111 4c0a1d52c5
Allow overriding test images (#186) 2023-06-14 21:17:08 +02:00
kfox1111 250fd5db00
Add missing global values to charts (#311) 2023-06-14 09:16:02 +02:00
Drew Wells 5d8c9079a1
Dropping k8s versions in CI older than 3, as per readme (#344) 2023-06-13 11:54:30 -07:00
Drew Wells 8748933548
Update upstream-ca-secret.yaml (#341)
Fix an issue with nested context being used for namespace

Fixes this issue:
```
Error: UPGRADE FAILED: template: spire/charts/spire-server/templates/upstream-ca-secret.yaml:8:16: executing "spire/charts/spire-server/templates/upstream-ca-secret.yaml" at <include "spire-server.names
pace" .>: error calling include: template: spire/charts/spire-server/templates/_helpers.tpl:30:16: executing "spire-server.namespace" at <.Values.namespaceOverride>: nil pointer evaluating interface {}.
namespaceOverride
helm.go:84: [debug] template: spire/charts/spire-server/templates/upstream-ca-secret.yaml:8:16: executing "spire/charts/spire-server/templates/upstream-ca-secret.yaml" at <include "spire-server.namespac
e" .>: error calling include: template: spire/charts/spire-server/templates/_helpers.tpl:30:16: executing "spire-server.namespace" at <.Values.namespaceOverride>: nil pointer evaluating interface {}.nam
espaceOverride
```

Signed-off-by: Drew Wells <drew.wells00@gmail.com>
2023-06-12 11:25:14 -07:00
kfox1111 4e07450781
Fix ingress annotations for federation (#337)
fixes: https://github.com/spiffe/helm-charts/issues/336

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-06-12 05:50:26 -07:00
dependabot[bot] ea09199196 Bump actions/checkout from 3.5.0 to 3.5.3
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.0 to 3.5.3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.5.0...v3.5.3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-12 10:11:23 +02:00
Edwin Buck 87fe19888b
Merge pull request #331 from edwbuck/key_conventions
Initial submission of Helm Chart key naming conventions.
2023-06-09 11:51:55 -05:00
Edwin Buck ddc0166689 Fix line wrapping.
Signed-off-by: Edwin Buck <edwbuck@gmail.com>
2023-06-09 11:47:11 -05:00
Edwin Buck 0cae9ce7c7
Update project/conventions.md
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
Signed-off-by: Edwin Buck <edwbuck@gmail.com>
2023-06-09 11:08:10 -05:00
Edwin Buck cb18255815
Update project/conventions.md
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
Signed-off-by: Edwin Buck <edwbuck@gmail.com>
2023-06-09 11:07:51 -05:00
Mariusz Sabath 52e5c24947
Upgrade Tornjak to image v1.2.2 (#328)
Upgrade Tornjak image to version v1.2.2
(https://github.com/spiffe/tornjak/releases/tag/v1.2.2)

- Resolving issue #326 (remove an emergency patch) 
- Refactor and improve Tornajk image build process

---------

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>
Co-authored-by: Edwin Buck <edwbuck@gmail.com>
2023-06-08 14:29:01 -04:00
Edwin Buck 28e2abf762 Choose a different example for dotted Acronyms.
Signed-off-by: Edwin Buck <edwbuck@gmail.com>
2023-06-08 07:00:12 -07:00
Edwin Buck d60d68c131 Added accidentally clipped explicit name guidelines.
Signed-off-by: Edwin Buck <edwbuck@gmail.com>
2023-06-08 06:54:49 -07:00
Edwin Buck abe9fde697
Merge branch 'main' into key_conventions 2023-06-07 14:37:13 -05:00
Edwin Buck f6a7b62d98
Update project/conventions.md
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
Signed-off-by: Edwin Buck <edwbuck@gmail.com>
2023-06-07 14:36:59 -05:00
Edwin Buck c4d19db98d
Update project/conventions.md
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: Edwin Buck <edwbuck@gmail.com>
2023-06-07 14:33:00 -05:00
github-actions[bot] cfa9f78885
Bump test chart dependencies (#332) 2023-06-05 16:46:48 -07:00
Edwin Buck c3213abe37 Initial submission of Helm Chart key naming conventions.
Closes #329

Signed-off-by: Edwin Buck <edwbuck@gmail.com>
2023-06-03 09:58:50 -07:00
github-actions[bot] 28c0824714
Bump test chart dependencies (#322)
Co-authored-by: marcofranssen <marcofranssen@users.noreply.github.com>
2023-06-02 08:37:25 +02:00
Marco Franssen d333154369
Add Makefile for local testing (#327) 2023-05-30 16:19:23 -07:00
Mariusz Sabath 9fa1ec28a7
Improve Tornjak backend test (#321) 2023-05-30 23:29:29 +02:00
Mariusz Sabath 5b779dc88a
Improve Tornjak frontend test (#320) 2023-05-30 23:28:35 +02:00
Marco Franssen 71d110e730
Bump python + helm in CI workflow (#325)
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>

Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-05-30 09:12:22 -07:00
Marco Franssen dddefd88c0 Bump spire Helm Chart version from 0.8.0 to 0.8.1
* d83d6a8e Emergency patch for Tornjak Frontend (#319)
* ed172e41 Bump k8s versions to latest patches (#317)
* 05629460 Removed pull_request edited event from ci workflow (#318)
* 3cb55dfb Allow for having no registry specified (#312)
* 1247b68f Parametrize probes (#310)

Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-05-30 18:10:31 +02:00
Mariusz Sabath d83d6a8efe
Emergency patch for Tornjak Frontend (#319)
Tornjak Frontend serves incorrect dashboard due to restricted namespace.
Fixing the cache file location leads to this error:
```Error: EACCES: permission denied, open './build/env.js'```

Solution, to redirect the env.js output to writeable space e.g. /tmp

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2023-05-26 21:50:41 -07:00
Marco Franssen ed172e41ae
Bump k8s versions to latest patches (#317)
@faisal-memon we will need to update the required checks in branch
protection to use the new version

---------

Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
Signed-off-by: Faisal Memon <fymemon@yahoo.com>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2023-05-26 21:41:53 -07:00
Marco Franssen 05629460ef
Removed pull_request edited event from ci workflow (#318)
Edited event is only useful if you want a workflow to act on a PR
description or title or labels and such, we are not doing that in this
workflow.

Removing the edited type from the event doesn't unnecessarily run the
workflow again when title, description and such are changed.

Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-05-26 08:13:45 -07:00
Faisal Memon 3cb55dfb4e
Allow for having no registry specified (#312) 2023-05-25 14:15:46 -07:00
Mariusz Sabath 1247b68f4d
Parametrize probes (#310)
This PR addresses #307 by parametrizing Probes and moving them to
values.yaml

---------

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>
2023-05-25 08:53:44 -04:00
Marco Franssen efdeb2e123 Bump spire Helm Chart version from 0.7.0 to 0.8.0
* c1c5b112 Merge pull request #306 from spiffe/remove-1.21
* 0df45e3c Fix up docs
* ed038fea Upgrade to spire 1.6.4 (#308)
* dc5d9cfe Fix root README.md
* e4447fd8 Upgrade Tornjak to new image v1.2.1 (#299)
* 69f402ec Update docs
* 38d51d59 Apply suggestions from code review
* a1ba235c Update docs
* 1922085b Fix hooks for K3s (#305)
* 4fb549e9 Remove 1.21.x testing
* 88efc77b Allow to use spire-server as an upstream authority (#304)
* 0ba03880 Add support for spire-server ingress (#68)
* 4777a300 Bump test chart dependencies (#301)
* 00c2c1a5 Fix the generated pr so that it runs jobs too (#303)
* dd1ad495 Update images for cve's found by the cronjob (#290)
* 1c694707 Updated Tornjak documenation with Not-for-production labels (#297)
* 78096374 Merge pull request #296 from spiffe/dependabot/github_actions/helm/kind-action-1.7.0
* e61ed17b Merge pull request #295 from spiffe/dependabot/github_actions/sigstore/cosign-installer-3.0.5
* 9975e58f Merge pull request #245 from spiffe/tags
* 7bb7ece1 Bump helm/kind-action from 1.6.0 to 1.7.0
* f1623a59 Bump sigstore/cosign-installer from 3.0.4 to 3.0.5
* f8db5a31 Fix Tornjak persistence issue (#294)
* b30b412e Tornjak reuse spire-lib.cluster-domain macro (#292)
* 90c9eb50 Fix kubectl-image macro to handle version deprecation
* 300d1ccf Apply deprecation of image.version to Tornjak
* d8504864 Instead of removing version, first deprecate version
* 59e422b9 Add documentation for all image.tag values
* d1f3cdb9 Switch image.version to image.tag
* 31ce704f Cleanup maintainer handbook (#287)
* a2da9437 Remove manual dispatch from dummy workflow (#288)
* 807558bb Bump helm/kind-action from 1.5.0 to 1.6.0 (#285)
* 3df67dbb Bump sigstore/cosign-installer from 3.0.3 to 3.0.4 (#286)
* 5505d41d Merge pull request #283 from spiffe/additional-k8s-native-feature-tornjak-frontend
* 391f093a Allow to configure topologySpreadConstraints for tornjak-frontend
* 5cc26d31 Allow to configure tolerations for tornjak-frontend
* 3537161c Allow to configure affinity for tornjak-frontend
* aed6fdfe Use the correct kubectl for the cluster (#248)
* ee43c5e3 Add nodeSelector for tornjak
* fc13cbd9 Merge pull request #234 from spiffe/tornjak
* ed472aa9 Update documentation
* a11cfc99 Allow to define the resources for tornjak backend
* 382e0d4a Upgrade Tornjak image to version v1.2.0  (#259)
* 657c460e Update charts/spire/charts/tornjak-frontend/templates/service.yaml
* 7521cafc Update charts/spire/charts/spire-server/templates/tornjak-config.yaml
* b64c352b Update charts/spire/charts/spire-server/templates/tests/test-tornjak-connection.yaml
* 6ddf6ab9 Improve tornjak docs (#276)
* 80d34f04 Use common post-install scripts for testing
* f5efa0ce Remove dead macros
* bd86518a Fixing shellcheck
* 91bdea2a Provide minimal resources to prevent accidental crashes due to resource exhaustion
* 16759977 Tornjak global image fix (#228)
* 5e827ee4 Add Tornjak Tests (#220)
* bdba97b6 Add empty directory to Tornjak to support npm cache (#224)
* da186c5f Split Tornjak Frontend into separate subchart (#179)
* 6d221263 Add Tornjak
* 2669d8b5 Add maintainer's handbook. (#265)
* 72596aea Skip tests for docs folders (#281)
* 7c71738d Bump test chart dependencies (#279)
* 05addae9 Add json to test path (#280)
* 8d9b7349 Switch the spire tests to always run (#250)

Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-05-25 14:22:31 +02:00
Edwin Buck c1c5b112c0
Merge pull request #306 from spiffe/remove-1.21
Remove 1.21.x testing
2023-05-23 18:33:58 -05:00
Kevin Fox 0df45e3cd8 Fix up docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-05-23 16:26:23 -07:00
kfox1111 ed038feae1
Upgrade to spire 1.6.4 (#308)
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-05-23 16:17:34 -07:00
Kevin Fox dc5d9cfeec Fix root README.md
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-05-23 16:15:21 -07:00
Mariusz Sabath e4447fd8eb
Upgrade Tornjak to new image v1.2.1 (#299)
This upgrade enables the production version of React in Tornjak Frontend
with a smaller footprint and faster startup time.

Using Tornjak v1.2.1 release
https://github.com/spiffe/tornjak/releases/tag/v1.2.1

---------

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>
2023-05-23 13:32:20 -04:00
Kevin Fox 69f402ecc6 Update docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-05-23 09:56:05 -07:00
kfox1111 38d51d5985
Apply suggestions from code review
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
2023-05-23 09:55:38 -07:00
Kevin Fox a1ba235c99 Update docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-05-23 09:44:06 -07:00
Faisal Memon 1922085ba7
Fix hooks for K3s (#305)
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
2023-05-23 08:59:21 -07:00
Kevin Fox 4fb549e954 Remove 1.21.x testing
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-05-23 08:57:07 -07:00
kfox1111 88efc77bee
Allow to use spire-server as an upstream authority (#304)
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
2023-05-23 14:39:37 +00:00
kfox1111 0ba03880a1
Add support for spire-server ingress (#68)
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-23 13:58:58 +00:00
github-actions[bot] 4777a30012
Bump test chart dependencies (#301)
Co-authored-by: marcofranssen <marcofranssen@users.noreply.github.com>
2023-05-23 10:19:40 +00:00
kfox1111 00c2c1a533
Fix the generated pr so that it runs jobs too (#303) 2023-05-23 12:14:40 +02:00
kfox1111 dd1ad495bd
Update images for cve's found by the cronjob (#290)
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-05-18 14:55:39 -07:00
Mariusz Sabath 1c6947078a
Updated Tornjak documenation with Not-for-production labels (#297) 2023-05-18 23:31:03 +02:00
Edwin Buck 7809637424
Merge pull request #296 from spiffe/dependabot/github_actions/helm/kind-action-1.7.0
Bump helm/kind-action from 1.6.0 to 1.7.0
2023-05-18 10:25:28 -05:00
Edwin Buck e61ed17b5a
Merge pull request #295 from spiffe/dependabot/github_actions/sigstore/cosign-installer-3.0.5
Bump sigstore/cosign-installer from 3.0.4 to 3.0.5
2023-05-18 08:59:52 -05:00
Marco Franssen 9975e58f5c
Merge pull request #245 from spiffe/tags 2023-05-18 09:18:22 +02:00
dependabot[bot] 7bb7ece123
Bump helm/kind-action from 1.6.0 to 1.7.0
Bumps [helm/kind-action](https://github.com/helm/kind-action) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/helm/kind-action/releases)
- [Commits](https://github.com/helm/kind-action/compare/v1.6.0...v1.7.0)

---
updated-dependencies:
- dependency-name: helm/kind-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-18 01:05:53 +00:00
dependabot[bot] f1623a59bb
Bump sigstore/cosign-installer from 3.0.4 to 3.0.5
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 3.0.4 to 3.0.5.
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](https://github.com/sigstore/cosign-installer/compare/v3.0.4...v3.0.5)

---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-18 01:05:50 +00:00
kfox1111 f8db5a313b
Fix Tornjak persistence issue (#294) 2023-05-18 01:54:26 +02:00
Marco Franssen b30b412edb
Tornjak reuse spire-lib.cluster-domain macro (#292)
Resolves #291

Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-05-17 12:42:17 -07:00
Marco Franssen 90c9eb50f9 Fix kubectl-image macro to handle version deprecation
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-05-17 20:21:07 +02:00
Marco Franssen 300d1ccf28 Apply deprecation of image.version to Tornjak
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-05-17 20:21:07 +02:00
Marco Franssen d850486478 Instead of removing version, first deprecate version
Deprecating version allows users of the chart to have a migration path

Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-05-17 20:21:07 +02:00
Marco Franssen 59e422b9e3 Add documentation for all image.tag values
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-05-17 20:21:07 +02:00
Kevin Fox d1f3cdb909 Switch image.version to image.tag
The convention in most charts is to use image.tag. This patch updates the values
to use it instead of the less standard image.version.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-05-17 20:21:07 +02:00
Faisal Memon 31ce704fa8
Cleanup maintainer handbook (#287) 2023-05-17 08:49:02 -07:00
Marco Franssen a2da94374c
Remove manual dispatch from dummy workflow (#288) 2023-05-17 09:25:15 -05:00
dependabot[bot] 807558bb9c
Bump helm/kind-action from 1.5.0 to 1.6.0 (#285)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-17 10:39:35 +02:00
dependabot[bot] 3df67dbbc0
Bump sigstore/cosign-installer from 3.0.3 to 3.0.4 (#286)
Bumps
[sigstore/cosign-installer](https://github.com/sigstore/cosign-installer)
from 3.0.3 to 3.0.4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/sigstore/cosign-installer/releases">sigstore/cosign-installer's
releases</a>.</em></p>
<blockquote>
<h2>v3.0.4</h2>
<ul>
<li>Include fix for <a
href="https://redirect.github.com/sigstore/cosign-installer/pull/124">sigstore/cosign-installer#124</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="03d0fecf17"><code>03d0fec</code></a>
Fix unsafe evaluation of inputs.use-sudo (<a
href="https://redirect.github.com/sigstore/cosign-installer/issues/124">#124</a>)</li>
<li><a
href="46b5db7449"><code>46b5db7</code></a>
use intermediate environment variables to avoid risks of script
injection (<a
href="https://redirect.github.com/sigstore/cosign-installer/issues/122">#122</a>)</li>
<li><a
href="84448ba515"><code>84448ba</code></a>
we should rely upon the digests not the tags, typos (<a
href="https://redirect.github.com/sigstore/cosign-installer/issues/121">#121</a>)</li>
<li>See full diff in <a
href="https://github.com/sigstore/cosign-installer/compare/v3.0.3...v3.0.4">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=sigstore/cosign-installer&package-manager=github_actions&previous-version=3.0.3&new-version=3.0.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-17 01:04:16 -07:00
Marco Franssen 5505d41d8f
Merge pull request #283 from spiffe/additional-k8s-native-feature-tornjak-frontend 2023-05-16 23:43:24 +02:00
Marco Franssen 391f093ae9
Allow to configure topologySpreadConstraints for tornjak-frontend
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-05-16 20:29:41 +02:00
Marco Franssen 5cc26d3142
Allow to configure tolerations for tornjak-frontend
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-05-16 20:29:41 +02:00
Marco Franssen 3537161cdf
Allow to configure affinity for tornjak-frontend
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-05-16 20:29:41 +02:00
kfox1111 aed6fdfe4e
Use the correct kubectl for the cluster (#248) 2023-05-16 20:28:53 +02:00
Marco Franssen ee43c5e36f Add nodeSelector for tornjak
Tornjak only supports amd64 builds at the moment

To prevent deployment failures on clusters with arm64 nodes I have added a nodeSelector for tornjak frontend, and documentation for spire-server

Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-05-16 20:20:32 +02:00
Marco Franssen fc13cbd911
Merge pull request #234 from spiffe/tornjak 2023-05-16 19:53:42 +02:00
Mariusz Sabath ed472aa98b Update documentation
Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>
2023-05-16 19:31:38 +02:00
Marco Franssen a11cfc99ac Allow to define the resources for tornjak backend
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-05-16 19:31:38 +02:00
Mariusz Sabath 382e0d4a47 Upgrade Tornjak image to version v1.2.0 (#259)
Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
2023-05-16 19:31:38 +02:00
Mariusz Sabath 657c460e67 Update charts/spire/charts/tornjak-frontend/templates/service.yaml
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>
2023-05-16 19:31:38 +02:00
Mariusz Sabath 7521cafcc6 Update charts/spire/charts/spire-server/templates/tornjak-config.yaml
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>
2023-05-16 19:31:38 +02:00
Mariusz Sabath b64c352b15 Update charts/spire/charts/spire-server/templates/tests/test-tornjak-connection.yaml
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>
2023-05-16 19:31:38 +02:00
Marco Franssen 6ddf6ab9fa Improve tornjak docs (#276)
- Align tornjak backend naming with same convention as frontend
- Align Tornjak backend and frontend notes style
- Add disclaimer for Tornjak usage to example

---------

Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-05-16 19:31:38 +02:00
Mariusz Sabath 80d34f0485 Use common post-install scripts for testing
Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>
2023-05-16 19:31:38 +02:00
Mariusz Sabath f5efa0cefd Remove dead macros
Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>
2023-05-16 19:31:38 +02:00
Mariusz Sabath bd86518abc Fixing shellcheck
Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>
2023-05-16 19:31:38 +02:00
Mariusz Sabath 91bdea2a1d Provide minimal resources to prevent accidental crashes due to resource exhaustion
Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>
2023-05-16 19:31:38 +02:00
kfox1111 1675997748 Tornjak global image fix (#228)
This pr updates the Tornjak branch to work with the merged global
registry configuration support.

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
2023-05-16 19:31:38 +02:00
Mariusz Sabath 5e827ee45e Add Tornjak Tests (#220)
Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
2023-05-16 19:31:38 +02:00
Mariusz Sabath bdba97b629 Add empty directory to Tornjak to support npm cache (#224)
Resolves issue #223

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>
2023-05-16 19:31:38 +02:00
Mariusz Sabath da186c5f53 Split Tornjak Frontend into separate subchart (#179)
Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
2023-05-16 19:31:38 +02:00
Marco Franssen 6d221263fb Add Tornjak
This reverts commit 3210dfe49dfabc96437d1fe60a1b9a5eedb2312b.

Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-05-16 19:31:38 +02:00
Edwin Buck 2669d8b5e2
Add maintainer's handbook. (#265)
The maintainer's handbook is a guide to remind the maintainers of the
values and approaches that most maintainers already hold.

Specifics of code quality will come later, but putting them into this
document would make it too long, and thus unread.

Closes #263

---------

Signed-off-by: Edwin Buck <edwbuck@gmail.com>
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
Co-authored-by: Mariusz Sabath <mrsabath@gmail.com>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2023-05-16 10:22:54 -07:00
Faisal Memon 72596aea8d
Skip tests for docs folders (#281)
Our mandatory checks will fail if there are docs only changes. The
helm-chart-ci.yaml skips these files, so the workflows never run, and
the mandatory checks are stuck waiting for results.

This adds a parallel workflow that runs fake tests for docs changes. So
that docs only changes can pass the required status checks. It uses
`paths-ignore` instead of `paths`. This is documented
[here](https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-protected-branches/troubleshooting-required-status-checks#handling-skipped-but-required-checks).

---------

Signed-off-by: Faisal Memon <fymemon@yahoo.com>
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
2023-05-16 10:21:44 -07:00
github-actions[bot] 7c71738d57
Bump test chart dependencies (#279)
Bump the Helm charts used in test scenarios to latest available
versions.

Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: marcofranssen <marcofranssen@users.noreply.github.com>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2023-05-15 16:24:00 -07:00
Faisal Memon 05addae906
Add json to test path (#280)
Adds *.json to the workflow trigger so that changes to json files, such as updating versions, will trigger a pipeline run.

Signed-off-by: Faisal Memon <fymemon@yahoo.com>
2023-05-15 16:16:03 -07:00
kfox1111 8d9b73496d
Switch the spire tests to always run (#250)
This patch sets the spire chart tests to always run. This enables
changes in tests to be tested and sets a base for split out charts.

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-05-14 17:39:08 -07:00
Marco Franssen 8c5643b5f7
Bump spire Helm Chart version from 0.6.3 to 0.7.0 (#278)
Please review the below changelog to ensure this matches up with the
semantic version being applied.

> **Note**: **Maintainers** ensure to run following after merging this
PR to trigger the release workflow:
>
> ```shell
> git checkout main
> git pull
> git checkout release
> git pull
> git merge main
> git push
> ```

**Changes in this release**

* 65312f85 Include dependency values in documentation (#275)
* 5489212b Remove persistence.enabled flag (#274)
* b3153242 Allow for ConfigMaps to be annotated (#272)
* 013eb617 Fix spacing for spire server service annotation (#273)
* 73435be9 Add project glossary. (#262)
* c4656a74 Replicas > 1 is not allowed with sqlite driver (#269)
* d3da3eed External database configuration (#225)
* ce78bea1 Add Edwin Buck as a maintainer. (#267)
* 1f09d7b3 Bump test chart dependencies (#264)
* aa6b40c0 Add project overview. (#258)
* 8e7e6ebc Allow trust bundle url to be set along with format (#256)
* 1e09ea54 Bump peter-evans/create-pull-request from 5.0.0 to 5.0.1
(#253)
* 6760cd22 Bump test chart dependencies (#252)
* 61e338df Fix example production typos (#244)
* 3d81928f Add skipKubeletVerification configurable (#243)
* 46f10e1d Merge pull request #237 from spiffe/fix-check-versions
* 3889d22e Fix quotation bug in update-version.sh
* 6a894e8c Move update-versions.sh script
* 91083a6b Add post-install scripts to all tests to capture failure
details in GitHub workflow summary (#88)
* 9afb6f80 Merge pull request #242 from spiffe/shellcheck
* 99af475f Resolve shellcheck issues
* d0a1e128 Add workflow with shellcheck
* 8abd75ef Merge pull request #241 from
spiffe/dependabot/github_actions/sigstore/cosign-installer-3.0.3
* 252f1f5a Bump cosign to v2.0.2
* 247e3e5d Bump sigstore/cosign-installer from 3.0.2 to 3.0.3
* 17d62f12 Add an action to find new versions of helm charts (#184)
* 2c360a50 Add global for image registry (#201)
* 3cc89554 Move reusable macros to root chart (#218)
* 3fc81780 Add k8s 1.27 to CI + bump other versions to latest patches
(#219)
* 6b617440 Merge pull request #113 from
spiffe/spire-config-as-yaml-converted-json
* 9e03f297 Merge branch 'main' into spire-config-as-yaml-converted-json
* 210ed02c Remove dead code (#217)
* e3b0d00b Bump min required spire 1.6.x version for this chart
* d7dcfeb6 Change spiffe-oidc-provider-config configmap to yaml format
* 861108c0 Change spire-agent configmap to yaml format
* 1d72b572 Change spire-server configmap to yaml format

Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-05-12 11:19:28 -07:00
Marco Franssen 65312f8525
Include dependency values in documentation (#275)
I have added a flag to the helm-docs script to include the documentation
for dependencies.

This will add more complete documentation to
https://artifacthub.io/packages/helm/spiffe/spire#values so it is easier
for our users to get started and having a complete overview.

---------

Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2023-05-12 18:12:23 +00:00
Faisal Memon 5489212bb5
Remove persistence.enabled flag (#274) 2023-05-12 16:19:50 +02:00
Faisal Memon b315324244
Allow for ConfigMaps to be annotated (#272)
Without an annotation, spinnaker will rename the configmap.

---------

Signed-off-by: Faisal Memon <fymemon@yahoo.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
2023-05-11 10:49:06 -07:00
Faisal Memon 013eb617a9
Fix spacing for spire server service annotation (#273)
Spacing off by 4.

Signed-off-by: Faisal Memon <fymemon@yahoo.com>
2023-05-10 18:22:07 -07:00
Edwin Buck 73435be9a1
Add project glossary. (#262)
This glossary is not meant to be complete, as
no glossary can be.  It does mean to cover the
basic different deployments.

To keep things clear, federation was also added
to clarify that federation is not a deployment
but a different "thing".

Closes #261

---------

Signed-off-by: Edwin Buck <edwbuck@gmail.com>
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
Co-authored-by: kfox1111 <Kevin.Fox@pnnl.gov>
2023-05-10 12:53:17 -07:00
kfox1111 c4656a74b2
Replicas > 1 is not allowed with sqlite driver (#269)
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
2023-05-10 16:30:05 +02:00
kfox1111 d3da3eed55
External database configuration (#225)
This patch makes all the database settings configurable.

fixes: https://github.com/spiffe/helm-charts/issues/37

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
2023-05-10 14:04:34 +02:00
Edwin Buck ce78bea121
Add Edwin Buck as a maintainer. (#267) 2023-05-09 17:00:02 +02:00
github-actions[bot] 1f09d7b386
Bump test chart dependencies (#264)
Bump the Helm charts used in test scenarios to latest available
versions.

---------

Signed-off-by: GitHub <noreply@github.com>
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Co-authored-by: marcofranssen <marcofranssen@users.noreply.github.com>
Co-authored-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-05-08 06:38:29 -07:00
Edwin Buck aa6b40c0f8
Add project overview. (#258) 2023-05-05 20:55:42 +02:00
kfox1111 8e7e6ebc76
Allow trust bundle url to be set along with format (#256)
This patch enables the spire-agent to retrieve the trust bundle via url.

fixes: https://github.com/spiffe/helm-charts/issues/254

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
2023-05-04 13:15:17 -07:00
dependabot[bot] 1e09ea54a1
Bump peter-evans/create-pull-request from 5.0.0 to 5.0.1 (#253)
Bumps
[peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request)
from 5.0.0 to 5.0.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/peter-evans/create-pull-request/releases">peter-evans/create-pull-request's
releases</a>.</em></p>
<blockquote>
<h2>Create Pull Request v5.0.1</h2>
<h2>What's Changed</h2>
<ul>
<li>fix: truncate body if exceeds max length by <a
href="https://github.com/peter-evans"><code>@​peter-evans</code></a> in
<a
href="https://redirect.github.com/peter-evans/create-pull-request/pull/1915">peter-evans/create-pull-request#1915</a></li>
<li>12 dependency updates by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/peter-evans/create-pull-request/compare/v5.0.0...v5.0.1">https://github.com/peter-evans/create-pull-request/compare/v5.0.0...v5.0.1</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="284f54f989"><code>284f54f</code></a>
fix: truncate body if exceeds max length (<a
href="https://redirect.github.com/peter-evans/create-pull-request/issues/1915">#1915</a>)</li>
<li><a
href="9e5b234402"><code>9e5b234</code></a>
build(deps-dev): bump eslint from 8.38.0 to 8.39.0 (<a
href="https://redirect.github.com/peter-evans/create-pull-request/issues/1888">#1888</a>)</li>
<li><a
href="2d8e7db84c"><code>2d8e7db</code></a>
build(deps-dev): bump <code>@​types/node</code> from 18.15.11 to 18.16.0
(<a
href="https://redirect.github.com/peter-evans/create-pull-request/issues/1887">#1887</a>)</li>
<li><a
href="041b6ab163"><code>041b6ab</code></a>
build(deps-dev): bump prettier from 2.8.7 to 2.8.8 (<a
href="https://redirect.github.com/peter-evans/create-pull-request/issues/1886">#1886</a>)</li>
<li><a
href="31de0fdf3f"><code>31de0fd</code></a>
build(deps-dev): bump <code>@​types/jest</code> from 29.5.0 to 29.5.1
(<a
href="https://redirect.github.com/peter-evans/create-pull-request/issues/1885">#1885</a>)</li>
<li><a
href="28295f6636"><code>28295f6</code></a>
build(deps-dev): bump <code>@​typescript-eslint/parser</code> from
5.59.0 to 5.59.1 (<a
href="https://redirect.github.com/peter-evans/create-pull-request/issues/1884">#1884</a>)</li>
<li><a
href="8dcaf3883b"><code>8dcaf38</code></a>
build(deps-dev): bump <code>@​typescript-eslint/parser</code> from
5.58.0 to 5.59.0 (<a
href="https://redirect.github.com/peter-evans/create-pull-request/issues/1876">#1876</a>)</li>
<li><a
href="2827897dcc"><code>2827897</code></a>
docs: add note about push-to-fork with remote repos</li>
<li><a
href="c4f19d3a23"><code>c4f19d3</code></a>
build(deps-dev): bump eslint-import-resolver-typescript (<a
href="https://redirect.github.com/peter-evans/create-pull-request/issues/1844">#1844</a>)</li>
<li><a
href="46035868a3"><code>4603586</code></a>
build(deps-dev): bump eslint from 8.37.0 to 8.38.0 (<a
href="https://redirect.github.com/peter-evans/create-pull-request/issues/1842">#1842</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/peter-evans/create-pull-request/compare/v5.0.0...v5.0.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=peter-evans/create-pull-request&package-manager=github_actions&previous-version=5.0.0&new-version=5.0.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-03 09:13:42 -07:00
github-actions[bot] 6760cd22cd
Bump test chart dependencies (#252)
Bump the Helm charts used in test scenarios to latest available
versions.

---------

Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-05-01 09:16:43 -07:00
kfox1111 61e338df55
Fix example production typos (#244)
Signed-off-by: kfox1111 <Kevin.Fox@pnnl.gov>
2023-04-27 14:02:48 -07:00
Faisal Memon 3d81928ff8
Add skipKubeletVerification configurable (#243) 2023-04-26 21:38:14 +02:00
Marco Franssen 46f10e1df2
Merge pull request #237 from spiffe/fix-check-versions 2023-04-26 16:20:17 +02:00
Marco Franssen 3889d22e34
Fix quotation bug in update-version.sh
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-04-26 16:20:07 +02:00
Marco Franssen 6a894e8c38
Move update-versions.sh script
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-04-26 16:20:07 +02:00
Marco Franssen 91083a6b4e
Add post-install scripts to all tests to capture failure details in GitHub workflow summary (#88) 2023-04-26 07:17:29 -07:00
Marco Franssen 9afb6f80ac
Merge pull request #242 from spiffe/shellcheck 2023-04-26 16:06:08 +02:00
Marco Franssen 99af475f1c
Resolve shellcheck issues
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-04-26 16:04:02 +02:00
Marco Franssen d0a1e12825
Add workflow with shellcheck
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-04-26 12:02:27 +02:00
Marco Franssen 8abd75ef7b
Merge pull request #241 from spiffe/dependabot/github_actions/sigstore/cosign-installer-3.0.3 2023-04-26 10:20:38 +02:00
Marco Franssen 252f1f5a19
Bump cosign to v2.0.2
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-04-26 10:20:20 +02:00
dependabot[bot] 247e3e5d31
Bump sigstore/cosign-installer from 3.0.2 to 3.0.3
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 3.0.2 to 3.0.3.
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](https://github.com/sigstore/cosign-installer/compare/v3.0.2...v3.0.3)

---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-26 01:03:32 +00:00
kfox1111 17d62f1246
Add an action to find new versions of helm charts (#184)
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
2023-04-25 10:04:38 +02:00
kfox1111 2c360a50fd
Add global for image registry (#201)
This patch enables a user to override all image registry settings all at
once to point to their own registry to enable easy custom mirrors.

partially implements: https://github.com/spiffe/helm-charts/issues/139

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
2023-04-20 20:08:14 +02:00
kfox1111 3cc8955429
Move reusable macros to root chart (#218)
This patch adds the start of a library to help reduce code duplication.
It will be split out to its own library chart at the same time the other
charts are split out.

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-04-18 08:54:46 +02:00
Marco Franssen 3fc81780d9
Add k8s 1.27 to CI + bump other versions to latest patches (#219)
- Add k8s 1.27 to test workflow
- Bump other k8s versions to latest patch release

---------

Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-04-17 23:28:28 -07:00
Marco Franssen 6b6174400f
Merge pull request #113 from spiffe/spire-config-as-yaml-converted-json 2023-04-17 17:50:20 +02:00
kfox1111 9e03f29760
Merge branch 'main' into spire-config-as-yaml-converted-json 2023-04-17 08:43:19 -07:00
kfox1111 210ed02c58
Remove dead code (#217) 2023-04-17 12:18:18 +02:00
Marco Franssen e3b0d00bd7
Bump min required spire 1.6.x version for this chart
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-04-17 12:02:09 +02:00
Marco Franssen d7dcfeb66c
Change spiffe-oidc-provider-config configmap to yaml format
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-04-17 12:02:09 +02:00
Marco Franssen 861108c0ab
Change spire-agent configmap to yaml format
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-04-17 11:52:47 +02:00
Marco Franssen 1d72b57260
Change spire-server configmap to yaml format
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-04-17 11:52:45 +02:00
Marco Franssen ad8bee0d3f Bump spire Helm Chart version from 0.6.2 to 0.6.3
* 6c21f13 Bump actions/checkout from 3.5.0 to 3.5.2
* 0f57f56 Update to the 1.6.3 spire release
* b82abab Revert "Switch to persistence" (#210)
* 0dec80e Switch to persistence (#200)

Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-04-14 09:45:46 +02:00
dependabot[bot] 6c21f13264 Bump actions/checkout from 3.5.0 to 3.5.2
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.0 to 3.5.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.5.0...v3.5.2)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-14 08:42:40 +02:00
Kevin Fox 0f57f5683a Update to the 1.6.3 spire release
Update the images to point to the 1.6.3 version of spire.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-04-13 23:14:50 +02:00
kfox1111 b82abab357
Revert "Switch to persistence" (#210)
Reverts spiffe/helm-charts#200

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-04-12 16:12:07 -04:00
kfox1111 0dec80e1d5
Switch to persistence (#200)
This patch switches the value to persistence to follow the helm
convention.

fixes: https://github.com/spiffe/helm-charts/issues/199

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-04-12 08:56:10 -07:00
Faisal Memon bd8bcb2ffa
Add Faisal Memon as maintainer to spire chart (#208) 2023-04-12 11:09:18 +02:00
dependabot[bot] b73f694a84
Bump sigstore/cosign-installer from 3.0.1 to 3.0.2 (#204)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
2023-04-12 10:54:31 +02:00
Marco Franssen 67a63bfa94 Bump spire Helm Chart version from 0.6.1 to 0.6.2
* eeda042 Add  before-hook-creation delete policy

Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-04-11 18:15:45 +02:00
Faisal Memon eeda0428b4 Add before-hook-creation delete policy
Signed-off-by: Faisal Memon <fymemon@yahoo.com>
2023-04-09 22:22:59 +02:00
Marco Franssen f6219d9627 Bump spire Helm Chart version from 0.6.0 to 0.6.1
* db148c8 Fix trustDomain global for oidc discovery provider (#193)

Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-04-06 09:45:29 +02:00
Marco Franssen db148c8aeb
Fix trustDomain global for oidc discovery provider (#193) 2023-04-05 10:46:53 -04:00
Marco Franssen 2a2615b2c6 Bump spire Helm Chart version from 0.5.1 to 0.6.0
* 563e1f7 Add podmonitors (#165)
* 456075f Add hooks to set failurepolicy to ignore on webhook (#128)
* d5dc706 Add Kubernetes 1.21 back (#188)
* daa620b Fix production example test (#183)
* c661d0b Make service dns domain configurable (#164)
* ec236e9 Test for configurable images (#182)
* 280315c Fix namespace-override github test summary (#154)
* 072d952 Switch tests to curl (#178)
* 1b4bfb7 Cleanup old leftover to k8s-workload-registrar
* a770928 Switch busybox image to cgr.dev/chainguard/busybox:latest-glibc (#175)
* 8790416 Enable global config for clusterName, trustDomain, and bundleConfigMap (#156)
* b54c41a Enhance the production example
* dfb32dc Revert adding tornjak to be releasable (#180)
* 059d5fb Bump spire Helm Chart version from 0.5.0 to 0.5.1
* e2ec6ac Add a test to ensure the chart versions match (#163)
* 64585ba Fix formatting issues introduced with #152
* 0dac0db Improve Spire Chart documentation
* f709ed9 Bump actions/checkout from 3.4.0 to 3.5.0
* faef439 Bump helm/chart-testing-action from 2.3.1 to 2.4.0
* ae62dd1 Bump spire version to 1.6.1
* 02fda80 Add Artifact Hub badge to README.md
* 901e670 Disable default Tornjak deployment (#153)
* 05d0f47 Introduction of Tornjak to SPIRE Server helm charts (#144)
* b25dc77 Test fixing the tests (#148)
* b4be9ed Add maturity tag (#138)
* d4fd2ce Extract the namespace override test out of the old lockdown test. (#145)
* 4f85802 Update lockdown test to test the production example
* 04a1305 Fork the lockdown test to two tests as it is doing the work of 2 (#134)
* 64d0107 Resolve issue in prod example on volume mount (#143)
* 5b6708b Remove @dennisgove from CODEOWNERS (#140)
* a516caa Remove k8s 1.21 from test matrix + small syntax error fix (#133)
* 811a2f6 Add option to enable federation on spire-server (#97)

Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-04-04 14:25:31 +02:00
kfox1111 563e1f7920
Add podmonitors (#165)
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-04-04 09:55:35 +02:00
Faisal Memon 456075f843
Add hooks to set failurepolicy to ignore on webhook (#128)
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-04-04 09:46:49 +02:00
Faisal Memon d5dc706592
Add Kubernetes 1.21 back (#188)
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-04-04 09:25:19 +02:00
kfox1111 daa620bf05
Fix production example test (#183)
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-04-03 19:54:53 +02:00
kfox1111 c661d0bc7e
Make service dns domain configurable (#164)
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-04-03 19:52:36 +02:00
kfox1111 ec236e9762
Test for configurable images (#182)
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-04-03 19:50:06 +02:00
kfox1111 280315ca68
Fix namespace-override github test summary (#154)
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-04-03 19:37:19 +02:00
kfox1111 072d952d9a
Switch tests to curl (#178)
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-04-03 19:32:18 +02:00
Marco Franssen 1b4bfb779e Cleanup old leftover to k8s-workload-registrar
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-04-03 15:44:36 +02:00
Marco Franssen a7709287bf
Switch busybox image to cgr.dev/chainguard/busybox:latest-glibc (#175) 2023-04-03 05:33:30 -07:00
kfox1111 87904164ad
Enable global config for clusterName, trustDomain, and bundleConfigMap (#156) 2023-04-02 19:28:49 +02:00
Marco Franssen b54c41aee0 Enhance the production example
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-03-31 15:48:40 +02:00
Marco Franssen dfb32dc28f
Revert adding tornjak to be releasable (#180) 2023-03-31 10:11:54 +02:00
Marco Franssen 059d5fb89f Bump spire Helm Chart version from 0.5.0 to 0.5.1
* 64585ba Fix formatting issues introduced with #152
* 0dac0db Improve Spire Chart documentation
* f709ed9 Bump actions/checkout from 3.4.0 to 3.5.0
* faef439 Bump helm/chart-testing-action from 2.3.1 to 2.4.0
* ae62dd1 Bump spire version to 1.6.1
* 02fda80 Add Artifact Hub badge to README.md
* 901e670 Disable default Tornjak deployment (#153)
* 05d0f47 Introduction of Tornjak to SPIRE Server helm charts (#144)
* b25dc77 Test fixing the tests (#148)
* b4be9ed Add maturity tag (#138)
* d4fd2ce Extract the namespace override test out of the old lockdown test. (#145)
* 4f85802 Update lockdown test to test the production example
* 04a1305 Fork the lockdown test to two tests as it is doing the work of 2 (#134)
* 64d0107 Resolve issue in prod example on volume mount (#143)
* 5b6708b Remove @dennisgove from CODEOWNERS (#140)
* a516caa Remove k8s 1.21 from test matrix + small syntax error fix (#133)
* 811a2f6 Add option to enable federation on spire-server (#97)

Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-03-28 14:57:48 +02:00
kfox1111 e2ec6ac47d
Add a test to ensure the chart versions match (#163)
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
2023-03-28 10:21:24 +02:00
Marco Franssen 64585ba2b5 Fix formatting issues introduced with #152
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-03-27 17:56:47 +02:00
Marco Franssen 0dac0dbd95 Improve Spire Chart documentation
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-03-27 17:41:35 +02:00
dependabot[bot] f709ed9705 Bump actions/checkout from 3.4.0 to 3.5.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.4.0...v3.5.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-27 09:55:36 +02:00
dependabot[bot] faef4391a6 Bump helm/chart-testing-action from 2.3.1 to 2.4.0
Bumps [helm/chart-testing-action](https://github.com/helm/chart-testing-action) from 2.3.1 to 2.4.0.
- [Release notes](https://github.com/helm/chart-testing-action/releases)
- [Commits](https://github.com/helm/chart-testing-action/compare/v2.3.1...v2.4.0)

---
updated-dependencies:
- dependency-name: helm/chart-testing-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-27 08:53:01 +02:00
Marco Franssen ae62dd1af7 Bump spire version to 1.6.1
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-03-25 00:40:24 +01:00
Marco Franssen 02fda80cf3 Add Artifact Hub badge to README.md
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-03-25 00:26:01 +01:00
Mariusz Sabath 901e670d49
Disable default Tornjak deployment (#153) 2023-03-22 12:16:38 -07:00
Mariusz Sabath 05d0f4778d
Introduction of Tornjak to SPIRE Server helm charts (#144)
This PR introduces a simplified version of
[Tornjak](https://github.com/spiffe/tornjak) to support UI and SPIRE
control plane.

It extends the `/charts/spire-server` sub-chart by injecting *tornjak*
container to the *spire-server* pod. Tornjak image consists of Tornjak
API (Tornjak Backend), Tornjak UI (Frontend), and database for storing
Tornjak specific information.

Tornjak Backend communicates with SPIRE API via SPIRE Server socket. 

Since Tornjak UI (Frontend) is a React code that renders in a browser,
it needs to communicate with Tornjak APIs, and that requires
communication ports to be open, either via Ingress (in Cloud deployment)
or via port forwarding in local deployments (e.g. kind, minikube etc).
Typically port 10000 is used for HTTP connection to Backend, and port
3000 for the HTTP connection to Frontend.

End user management, TLS, and mTLS connections will be addressed by
future PRs.

This PR resolves issue #31

---------

Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
Co-authored-by: Kevin Fox <Kevin.Fox@pnnl.gov>
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
Co-authored-by: Pete Cable <petercable@gmail.com>
Co-authored-by: Dennis Gove <dpgove@gmail.com>
2023-03-22 13:09:09 -04:00
kfox1111 b25dc773bc
Test fixing the tests (#148)
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
2023-03-22 09:49:33 +01:00
Faisal Memon b4be9edfeb
Add maturity tag (#138) 2023-03-22 09:28:31 +01:00
kfox1111 d4fd2ced39
Extract the namespace override test out of the old lockdown test. (#145)
This patch removes the production bits of the old lockdown test
and establishes the namespace override test as its own test.

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-03-21 22:13:26 +01:00
Marco Franssen 4f85802ae0 Update lockdown test to test the production example
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-03-21 21:55:20 +01:00
kfox1111 04a1305556
Fork the lockdown test to two tests as it is doing the work of 2 (#134)
This patch makes a second copy of the existing lockdown test
because it is doing double duty. In follow on patches we will
make each test do one thing only.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-03-21 10:14:38 -07:00
Marco Franssen 64d010757c
Resolve issue in prod example on volume mount (#143) 2023-03-21 04:39:59 -07:00
Dennis Gove 5b6708bb57
Remove @dennisgove from CODEOWNERS (#140) 2023-03-18 15:12:44 -07:00
Marco Franssen a516caa8a6
Remove k8s 1.21 from test matrix + small syntax error fix (#133)
- Remove k8s 1.21 from test matrix
- Fix syntax
- Improve readability test step

Officialy according to readme we support last three k8s versions.
Testing last 5 versions should be sufficient.

---------

Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-03-17 14:37:31 -07:00
Pete Cable 811a2f6b01
Add option to enable federation on spire-server (#97) 2023-03-16 20:36:13 +01:00
Marco Franssen 382c1f4334 Bump spire Helm Chart version from 0.4.0 to 0.5.0
* fae12af Merge pull request #60 from spiffe/oidc-ingress
* 6322a9a Fix tests
* a9b99fe Add some commented lines for best practice annotations on ingress
* e970d52 Align ingress hostname with jwtIssues in spire-server chart
* cc7121e Add ingress support for OIDC discovery provider
* eaed7c9 Bump actions/checkout from 3.3.0 to 3.4.0 (#129)
* 2e3f045 Make webhook fail policy configurable (#124)
* 9ccbd3c Make kubelet path configurable (#123)
* 80e3b58 Remove dead file from failed rebase. (#121)
* 7155d71 Add documentation how to use Spire in own workloads
* 25c77fc Fix the driver not coming up on overloaded nodes
* 5fdd35b Improve Chart API (#119)
* 03db6bb Namespace override
* 661000a Make the agent socket configurable (#114)
* f3a81ad Make csi driver configurable to be able to run multiple instances (#115)
* b198bc7 Fix the tests so they can run locked down. (#111)
* 09b21ac Fix the gate
* b6716ae Test that it is possible to lock down security of pods (#84)
* bfeb217 Fix cluster role name uniqueness
* 490fe8f Enhance the test workflow scripts
* 9e22d2c Make the namespace the bundle is dropped into configurable
* 7d1f821 Fix test.
* 493ad8f Remove some duplication on chart-testing CI
* b6dd136 Add tmp mount so that server can run locked down (#105)
* aaaf2f7 Remove dead role code
* d2eba22 Fix docs
* 6d43625 Add kfox as a maintainer
* dfa4e6c Ensure CI also runs when test scripts are changed

Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-03-16 19:15:39 +01:00
Marco Franssen fae12afefa
Merge pull request #60 from spiffe/oidc-ingress 2023-03-16 18:59:37 +01:00
Kevin Fox 6322a9a138
Fix tests
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
2023-03-16 18:58:31 +01:00
Marco Franssen a9b99febb3
Add some commented lines for best practice annotations on ingress
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-03-16 10:08:00 +01:00
Marco Franssen e970d52ea4
Align ingress hostname with jwtIssues in spire-server chart
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-03-16 10:05:33 +01:00
Kevin Fox cc7121e021
Add ingress support for OIDC discovery provider
This patch enables exposing the oidc server out with an ingress
along with tests to ensure it works.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
2023-03-16 10:02:22 +01:00
dependabot[bot] eaed7c9b60
Bump actions/checkout from 3.3.0 to 3.4.0 (#129)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-16 09:36:54 +01:00
kfox1111 2e3f045826
Make webhook fail policy configurable (#124)
This patch makes the webhook fail policy configurable.

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-03-15 12:55:07 -07:00
kfox1111 9ccbd3c67f
Make kubelet path configurable (#123) 2023-03-15 10:25:06 +01:00
kfox1111 80e3b58dcd
Remove dead file from failed rebase. (#121)
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-03-14 13:23:02 -07:00
Marco Franssen 7155d71c38 Add documentation how to use Spire in own workloads
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-03-14 20:18:19 +01:00
Kevin Fox 25c77fc0cb Fix the driver not coming up on overloaded nodes
Add to the reference production example a fix for overloaded nodes.

fixes: https://github.com/spiffe/helm-charts/issues/80

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-03-14 20:10:51 +01:00
Marco Franssen 5fdd35b426
Improve Chart API (#119)
Because we are already in the context of spire-agent the API looks more
logical to not have another 'agent' part in the name.

Furthermore to make it more clear the oidc provider only requires the
name of the socket as opposed to the entire path like in the other
charts I made that more explicit in the name of the value.

---------

Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-03-14 09:55:24 -07:00
kfox1111 03db6bb5fe
Namespace override
This patch makes it possible to install the subcharts in different
namespaces as needed.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-03-13 15:03:16 -07:00
kfox1111 661000a29a
Make the agent socket configurable (#114) 2023-03-13 20:35:27 +01:00
kfox1111 f3a81ad78d
Make csi driver configurable to be able to run multiple instances (#115)
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
2023-03-13 14:12:37 +01:00
kfox1111 b198bc7e39
Fix the tests so they can run locked down. (#111) 2023-03-11 22:10:14 +01:00
Kevin Fox 09b21acca2 Fix the gate
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-03-11 19:21:59 +01:00
kfox1111 b6716aee17
Test that it is possible to lock down security of pods (#84) 2023-03-11 12:11:19 +01:00
Kevin Fox bfeb217558 Fix cluster role name uniqueness
Adds namespace to the ClusterRole and ClusterRoleBinding so that it
doesn't conflict when you have two instances of the chart, in different
namespaces with the same release name.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-03-10 15:45:49 +01:00
Kevin Fox 490fe8f543 Enhance the test workflow scripts
This makes it so that tests can now:
1. Add additional values files to the test
2. That the post-install.sh script knows if the test passed or failed
   for better output
3. That the main test can be skipped in favor of a test provided one

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-03-10 08:46:27 +01:00
Kevin Fox 9e22d2c303 Make the namespace the bundle is dropped into configurable
When the server and agent are not in the same namespace, the bundle needs to be
uploadable in the agent's namespace.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-03-09 12:00:41 -08:00
Kevin Fox 7d1f8217ce Fix test.
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-03-09 10:09:50 -08:00
Marco Franssen 493ad8fbed Remove some duplication on chart-testing CI
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-03-09 10:09:50 -08:00
kfox1111 b6dd136af2
Add tmp mount so that server can run locked down (#105)
This pr adds a tmp mount to the spire server pod so that it can run with
read only root.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-03-08 14:21:45 -08:00
Kevin Fox aaaf2f7625 Remove dead role code
The cluster role does the same thing, but at the cluster level
where it belongs. The extra role code does nothing so we remove
it here.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-03-08 12:36:35 -08:00
Kevin Fox d2eba226d4 Fix docs
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-03-08 19:31:54 +01:00
Kevin Fox 6d43625f4d Add kfox as a maintainer
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-03-08 19:31:54 +01:00
Marco Franssen dfa4e6c784 Ensure CI also runs when test scripts are changed
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-03-08 07:21:49 -08:00
Marco Franssen 02ed2021c8 Bump spire Helm Chart version from 0.3.0 to 0.4.0
* 7984bbd Add script to automate cutting a release
* eb186ca Add values for server TTL configurables
* f123296 Add a flag to configure the Kubernetes NodeAttestor (#83)
* 0275569 Incorperate feedback
* a00c97b Incorperate feedback
* f93434a Make server service account allow list configurable
* f0b7f5b Make spire agent server address configurable
* cb627f0 Allow all subchart to conditionally disable (#90)
* 2e9510f Switch to non root nginx (#89)
* a901751 Fix Homepage URL
* 06c395f Fix sources in Chart.yaml (#85)
* d341c5a UpstreamAuthority cert-manager support (#82)
* a82ee69 Make sure all configmap changes rollout
* b7f8c86 Add extra initContainers, containers, volumes to agent and server
* 81ac89a Add k8s 1.26.0 (Kind) to the test matrix
* bb6abfc Merge pull request #76 from spiffe/dependabot/github_actions/sigstore/cosign-installer-3.0.1
* c0e5665 Bump cosign to v2.0.0
* d729a44 Bump sigstore/cosign-installer from 2.8.1 to 3.0.1
* fe7cd73 Merge pull request #74 from spiffe/arm64-support
* a3c04c0 Update supported versions
* 75480ed Bump spiffe-csi-driver image to 0.2.3 (arm64 support)
* 79889ff Bump spiffe-oidc-discovery-provider image to 1.6.0 (arm64 support)
* a632f76 Bump spire-agent image to 1.6.0 (arm64 support)
* b92e81d Bump spire-server image to 1.6.0 (arm64 support)
* fea2aa5 Fix sigstore/cosign-installer usage in release workflow
* fe93346 Use quote function instead of actual quotes
* 9480ab7 Add beta note to readme (#62)
* 4681498 Better spire-server entry commands (#59)

Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-03-08 09:44:02 +01:00
Marco Franssen 517cf9ed2d Add script to automate cutting a release
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-03-08 09:44:02 +01:00
Marco Franssen 3b7b3564da Allow to configure spire-server CA key type
Resolves #18

Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-03-07 22:07:54 +01:00
Marco Franssen eb186ca346 Add values for server TTL configurables
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-03-07 09:47:25 +01:00
kfox1111 f123296032
Add a flag to configure the Kubernetes NodeAttestor (#83) 2023-03-06 19:59:54 +01:00
Kevin Fox 027556904d Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-03-06 06:53:29 -08:00
Kevin Fox a00c97ba87 Incorperate feedback
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-03-06 06:53:29 -08:00
Kevin Fox f93434a926 Make server service account allow list configurable
If you don't have the agent and server in the same namespace or the same
cluster, or want to bind additional clusters, you need the ability to
configure the service account allow list.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-03-06 06:53:29 -08:00
Kevin Fox f0b7f5bd8d Make spire agent server address configurable
If your server is not in the same namespace or cluster as the
agent, you need a config option to specify where it is.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-03-06 06:40:58 -08:00
kfox1111 cb627f04b2
Allow all subchart to conditionally disable (#90) 2023-03-04 16:09:36 +01:00
kfox1111 2e9510f3ad
Switch to non root nginx (#89) 2023-03-04 15:43:03 +01:00
Marco Franssen a901751ee7 Fix Homepage URL
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-03-04 14:35:39 +01:00
kfox1111 06c395f4d9
Fix sources in Chart.yaml (#85) 2023-03-04 14:22:45 +01:00
kfox1111 d341c5ad58
UpstreamAuthority cert-manager support (#82) 2023-03-03 20:48:35 +01:00
Kevin Fox a82ee694bf Make sure all configmap changes rollout
Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-03-03 08:39:11 -08:00
Kevin Fox b7f8c86478 Add extra initContainers, containers, volumes to agent and server
With plugin support, agents and servers need more customization.
This patch enables initContainers, extraContainers, extraVolumes
and extraVolumeMounts to be added to those services.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-03-02 08:02:19 -08:00
Marco Franssen 81ac89a911 Add k8s 1.26.0 (Kind) to the test matrix
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-03-02 13:08:37 +01:00
Marco Franssen bb6abfcd3a
Merge pull request #76 from spiffe/dependabot/github_actions/sigstore/cosign-installer-3.0.1 2023-03-02 09:16:01 +01:00
Marco Franssen c0e5665702
Bump cosign to v2.0.0
Cosign v2.0.0 doesn't require the experimental env var anymore

Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-03-02 09:15:46 +01:00
dependabot[bot] d729a4410c
Bump sigstore/cosign-installer from 2.8.1 to 3.0.1
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 2.8.1 to 3.0.1.
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](https://github.com/sigstore/cosign-installer/compare/v2.8.1...v3.0.1)

---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-02 01:14:59 +00:00
Marco Franssen fe7cd731d5
Merge pull request #74 from spiffe/arm64-support 2023-03-01 19:47:12 +01:00
Marco Franssen a3c04c0d22
Update supported versions
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-03-01 15:41:47 +01:00
Marco Franssen 75480ede45
Bump spiffe-csi-driver image to 0.2.3 (arm64 support)
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-03-01 15:41:47 +01:00
Marco Franssen 79889ff3ed
Bump spiffe-oidc-discovery-provider image to 1.6.0 (arm64 support)
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-03-01 15:41:47 +01:00
Marco Franssen a632f76021
Bump spire-agent image to 1.6.0 (arm64 support)
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-03-01 15:41:47 +01:00
Marco Franssen b92e81d416
Bump spire-server image to 1.6.0 (arm64 support)
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-03-01 15:41:47 +01:00
Marco Franssen fea2aa59e2 Fix sigstore/cosign-installer usage in release workflow
See https://github.com/sigstore/cosign-installer\#usage on proper usage

Resolves #66

Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-03-01 13:52:39 +01:00
Faisal Memon fe93346b66 Use quote function instead of actual quotes
Signed-off-by: Faisal Memon <fymemon@yahoo.com>
2023-03-01 11:10:08 +01:00
Faisal Memon 9480ab74b4
Add beta note to readme (#62)
Signed-off-by: Faisal Memon <fymemon@yahoo.com>
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
2023-02-28 15:21:51 -08:00
kfox1111 4681498559
Better spire-server entry commands (#59)
* Better spire-server entry commands

Currently in order to use the cli tools such as spire-server entry show
You must know the path within the container to the binary along with what
the path is to the socket. This patch makes that unnessisary. This now
works:
kubectl exec -it spire-server-0 -- spire-server entry show

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

* Remove setting thats set to default

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>

---------

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-02-28 22:43:49 +01:00
Marco Franssen 72d4929670 Bump spire chart to v0.3.0
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-02-28 19:21:29 +01:00
Kevin Fox 9d7881f8b4 Switch hostpath to emptydir in spire-server
The api of the server does not need to be exported out of the
server pod.

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
2023-02-28 09:49:13 -08:00
Marco Franssen f8cdec3f99 Allow to configure a priorityClassName for Daemonsets
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-02-27 08:09:00 -08:00
Marco Franssen ba41f04df5 Fix spire-controller-manager healthz port
This to align with the spire-controller-manager-configmap.yaml

Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-02-27 08:08:17 -08:00
dependabot[bot] e754b3a6c8 Bump actions/checkout from 3.2.0 to 3.3.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.2.0...v3.3.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-27 11:32:19 +01:00
kfox1111 35eb3bb42e
Basic Prometheus support (#28)
Co-authored-by: Marco Franssen <marco.franssen@gmail.com>
2023-02-24 22:39:15 +01:00
Marco Franssen 495d9d67e8 Align healthz ports and checks across containers
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-02-24 21:06:09 +01:00
Faisal Memon 156052ada0
Merge pull request #40 from spiffe/update-contributing
Clarify Chart version increments in CONTRIBUTING.md
2023-02-24 11:34:08 -08:00
Marco Franssen ef6a6bd53d
Improve sentence based on review
Co-authored-by: Faisal Memon <fymemon@yahoo.com>
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-02-24 20:33:42 +01:00
Marco Franssen 615b4341cc
Clarify Chart version increments in CONTRIBUTING.md
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-02-24 20:16:47 +01:00
Marco Franssen 8ceb00efe6
Merge pull request #33 from spiffe/version-increment-check 2023-02-24 10:55:17 +01:00
Marco Franssen a29df4f6cc
Change to cut releases from the release branch
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-02-24 10:55:00 +01:00
Marco Franssen e8768ec955
Add types to trigger workflow when changing the target branch
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-02-24 10:55:00 +01:00
Marco Franssen 3c7d828954
Only check for version bump if PR targets main
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-02-24 10:55:00 +01:00
Marco Franssen a95ef9f3db
Use github.base_ref for target-branch
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
2023-02-24 10:54:57 +01:00
299 changed files with 18615 additions and 1295 deletions

82
.devcontainer/Dockerfile Normal file
View File

@ -0,0 +1,82 @@
FROM ubuntu:22.04
RUN \
apt-get update && \
apt-get install -y bash ca-certificates gnupg make curl vim sudo jq && \
curl -sL https://deb.nodesource.com/setup_18.x -o nodesource_setup.sh && \
mkdir -p /etc/apt/keyrings && \
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && \
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list && \
apt-get update && \
apt-get install -y nodejs && \
apt-get clean && \
curl -o /usr/local/bin/yq https://github.com/mikefarah/yq/releases/download/v4.35.2/yq_linux_amd64 && \
chmod +x /usr/local/bin/yq
RUN \
curl -q -l -o /tmp/go.tgz "https://dl.google.com/go/go1.21.4.linux-amd64.tar.gz" && \
cd /usr/local && \
tar -xvf /tmp/go.tgz && \
rm -f /tmp/go.tgz && \
cd /
RUN \
curl -L -o /usr/local/bin/minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 && \
chmod +x /usr/local/bin/minikube && \
curl -L -o /usr/local/bin/kubectl "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" && \
chmod +x /usr/local/bin/kubectl
RUN \
curl -fsSL -o /tmp/get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 && \
chmod +x /tmp/get_helm.sh && \
/tmp/get_helm.sh && \
rm /tmp/get_helm.sh
RUN \
groupadd -g 10001 dev && \
useradd --uid 10001 -g 10001 -m dev && \
echo 'dev ALL=(ALL) NOPASSWD: ALL' > /etc/sudoers.d/dev && \
chmod 400 /etc/sudoers.d/dev
ENV PATH /usr/local/go/bin:$PATH
RUN \
npm install -g "@bitnami/readme-generator-for-helm@2.6.0"
RUN \
go install github.com/onsi/ginkgo/v2/ginkgo@latest
RUN \
apt-get install -y git zsh strace lsof graphviz && \
mv /root/go/bin/ginkgo /usr/local/bin
RUN \
curl -L -o /tmp/ct.tar.gz https://github.com/helm/chart-testing/releases/download/v3.8.0/chart-testing_3.8.0_linux_amd64.tar.gz && \
cd /usr/local/bin && \
tar -xvf /tmp/ct.tar.gz ct && \
cd / && \
tar -xvf /tmp/ct.tar.gz etc && \
mkdir /etc/ct && \
mv /etc/chart_schema.yaml /etc/ct/ && \
mv /etc/lintconf.yaml /etc/ct/ && \
curl -o /tmp/gh.tar.gz https://github.com/cli/cli/releases/download/v2.40.0/gh_2.40.0_linux_amd64.tar.gz -L && \
cd && \
cd /tmp && \
tar -zxvf gh.tar.gz && \
mv gh_*_linux_amd64/bin/* /usr/local/bin && \
mkdir -p /usr/local/share/main/man1/ && \
mv gh_*_linux_amd64/share/man/man1/* /usr/local/share/main/man1/ && \
cd
RUN \
cd /tmp && \
git clone https://github.com/devcontainers/features && \
cd features/src/docker-in-docker && \
export MOBY=true && \
export INSTALLDOCKERBUILDX=false && \
./install.sh && \
cd ../../../ && \
rm -rf features
RUN \
usermod -a -G docker dev
USER dev

View File

@ -0,0 +1,30 @@
{
"name": "spiffe-helm-charts-hardened",
"image": "ghcr.io/spiffe/helm-charts-hardened-devcontainer:latest",
"features": {
"ghcr.io/devcontainers/features/docker-in-docker:2": {
"version": "latest",
"moby": true,
"installDockerBuildx": false
}
},
"customizations": {
"vscode": {
"extensions": [
"ms-kubernetes-tools.vscode-kubernetes-tools"
],
"settings": {
"terminal.integrated.defaultProfile.linux": "bash",
"terminal.integrated.profiles.linux": {
"zsh": { "path": "/bin/zsh" },
"bash": { "path": "/bin/bash" }
}
}
}
},
"postStartCommand": "minikube start && helm upgrade --install -n spire-server spire-crds charts/spire-crds --create-namespace && kubectl version",
"hostRequirements": {
"cpus": 1
},
"remoteUser": "dev"
}

View File

@ -8,3 +8,8 @@ indent_size = 2
tab_width = 2 tab_width = 2
trim_trailing_whitespace = true trim_trailing_whitespace = true
insert_final_newline = true insert_final_newline = true
[Makefile,*.go,*.mod]
indent_style = tab
indent_size = 4
tab_width = 4

View File

@ -12,3 +12,18 @@ updates:
schedule: schedule:
interval: "daily" interval: "daily"
open-pull-requests-limit: 5 open-pull-requests-limit: 5
- package-ecosystem: gomod
directory: "/tests"
schedule:
interval: daily
open-pull-requests-limit: 5
- package-ecosystem: pip
directory: "/.github/scripts"
schedule:
interval: daily
groups:
python-packages:
patterns:
- "*"

View File

@ -15,3 +15,6 @@ kubeadmConfigPatches:
# admission-control-config-file: /etc/kubernetes/pki/admctrl/admission-control.yaml # admission-control-config-file: /etc/kubernetes/pki/admctrl/admission-control.yaml
nodes: nodes:
- role: control-plane - role: control-plane
- role: worker
- role: worker
- role: worker

24
.github/scripts/edit-yaml.py vendored Executable file
View File

@ -0,0 +1,24 @@
#!/usr/bin/env python3
import os
import sys
from dict_deep import deep_set
import ruamel.yaml
def represent_none(self, data):
return self.represent_scalar(u'tag:yaml.org,2002:null', u'null')
y = ruamel.yaml.YAML()
y.indent(mapping=2, sequence=4, offset=2)
# Dont wrap long lines
y.width = 4096
y.preserve_quotes = True
y.representer.add_representer(type(None), represent_none)
d = y.load(open(os.environ['VALUES']))
tagquery = os.environ['QUERY'] + '.tag'
deep_set(d, tagquery, os.environ['LATEST_VERSION']);
y.dump(d, sys.stdout)

14
.github/scripts/parse-versions.sh vendored Normal file
View File

@ -0,0 +1,14 @@
#!/usr/bin/env bash
TESTS_PATH="$(dirname "${BASH_SOURCE[0]}")/../tests"
# Set repo and version env variables
REPOS=$(jq -r '.[] | "export " + ("HELM_REPO_" + .name | ascii_upcase | gsub("-";"_")) + "=" + .repo' "${TESTS_PATH}/charts.json")
VERSIONS=$(jq -r '.[] | "export " + ("VERSION_" + .name | ascii_upcase | gsub("-";"_")) + "=" + .version' "${TESTS_PATH}/charts.json")
eval "$REPOS"
eval "$VERSIONS"
REGISTRIES=$(jq -r '.[] | "export " + ("HELM_REGISTRY_" + .name | ascii_upcase | gsub("-";"_")) + "=oci://" + .registry' "${TESTS_PATH}/oci-charts.json")
VERSIONS=$(jq -r '.[] | "export " + ("VERSION_" + .name | ascii_upcase | gsub("-";"_")) + "=" + .version' "${TESTS_PATH}/oci-charts.json")
eval "$REGISTRIES"
eval "$VERSIONS"

2
.github/scripts/requirements.txt vendored Normal file
View File

@ -0,0 +1,2 @@
ruamel.yaml
dict_deep

74
.github/scripts/update-tags.sh vendored Executable file
View File

@ -0,0 +1,74 @@
#!/usr/bin/env bash
SCRIPT="$(readlink -f "$0")"
SCRIPTPATH="$(dirname "${SCRIPT}")"
IMAGEJSON="${SCRIPTPATH}/../tests/images.json"
if ! command -v crane &> /dev/null; then
echo Please install crane
exit 1
fi
if ! command -v jq &> /dev/null; then
echo Please install jq
exit 1
fi
if ! command -v yq &> /dev/null; then
echo Please install yq
exit 1
fi
if ! command -v npm &> /dev/null; then
echo Please install npm
exit 1
fi
if ! command -v python3 -c 'import ruamel.yaml' &> /dev/null; then
echo Please install python3 with the ruamel.yaml module
exit 1
fi
if ! command -v python3 -c 'import dict_deep' &> /dev/null; then
echo Please install python3 with the dict_deep module
exit 1
fi
jq -r '. | keys[]' "$IMAGEJSON" | while read -r CHART; do
jq -r ".\"${CHART}\" | keys[]" "$IMAGEJSON" | while read -r IDX; do
QUERY=$(jq -r ".\"${CHART}\"[${IDX}].query" "$IMAGEJSON")
FILTER=$(jq -r ".\"${CHART}\"[${IDX}].filter" "$IMAGEJSON")
OLD_IFS=${IFS}
SORTFLAGS=()
while IFS='' read -r value; do
SORTFLAGS+=("$value")
done < <(jq -r ".\"${CHART}\"[${IDX}].\"sort-flags\" | .[]" "$IMAGEJSON")
IFS=${OLD_IFS}
VALUES="${SCRIPTPATH}/../../charts/spire/charts/${CHART}"
REGISTRY=$(yq e ".${QUERY}.registry" "$VALUES")
REPOSITORY=$(yq e ".${QUERY}.repository" "$VALUES")
VERSION=$(yq e ".${QUERY}.tag" "$VALUES")
if [[ "$REGISTRY" != "" ]]; then
REGISTRY="$REGISTRY/"
fi
if [[ "$FILTER" == "LATESTSHA" ]]; then
LATEST_VERSION="latest@"$(crane digest "${REGISTRY}${REPOSITORY}:latest")
else
LATEST_VERSION=$(crane ls "${REGISTRY}${REPOSITORY}" | grep "${FILTER}" | sort "${SORTFLAGS[@]}" | tail -n 1)
fi
export QUERY
export VALUES
export LATEST_VERSION
if [ "${VERSION}" != "${LATEST_VERSION}" ]; then
echo "New image version found: ${REGISTRY}${REPOSITORY}:${LATEST_VERSION}"
"${SCRIPTPATH}/edit-yaml.py" > /tmp/$$
mv /tmp/$$ "${VALUES}"
fi
done
done
"${SCRIPTPATH}/../../helm-docs.sh" || true

42
.github/scripts/update-versions.sh vendored Executable file
View File

@ -0,0 +1,42 @@
#!/usr/bin/env bash
SCRIPT="$(readlink -f "$0")"
SCRIPTPATH="$(dirname "${SCRIPT}")"
CHARTJSON="${SCRIPTPATH}/../tests/charts.json"
jq -r ".[].name" "${CHARTJSON}" | while read -r CHART; do
ENTRYQUERY='.[] | select(.name == "'$CHART'")'
REPO_URL="$(jq -r "$ENTRYQUERY | .repo" "${CHARTJSON}")"
VERSION="$(jq -r "$ENTRYQUERY | .version" "${CHARTJSON}")"
echo Processing: "${CHART}"
echo " repo: ${REPO_URL}"
echo " current version: ${VERSION}"
helm repo add "${CHART}" "${REPO_URL}" > /dev/null
helm repo update "${CHART}" > /dev/null
LATEST_VERSION=$(helm search repo --regexp "${CHART}/${CHART}\v" -o json | jq -r '.[0].version')
echo " latest version: ${LATEST_VERSION}"
if [ "x${VERSION}" != "x${LATEST_VERSION}" ]; then
echo " New version found!"
jq "(${ENTRYQUERY}).version |= \"${LATEST_VERSION}\"" "${CHARTJSON}" > /tmp/$$
mv /tmp/$$ "${CHARTJSON}"
fi
done
CHARTJSON="${SCRIPTPATH}/../tests/oci-charts.json"
jq -r ".[].name" "${CHARTJSON}" | while read -r NAME; do
ENTRYQUERY='.[] | select(.name == "'$NAME'")'
REGISTRY="$(jq -r "$ENTRYQUERY | .registry" "${CHARTJSON}")"
VERSION="$(jq -r "$ENTRYQUERY | .version" "${CHARTJSON}")"
echo Processing: "${NAME}"
echo " chart: ${REGISTRY}"
echo " current version: ${VERSION}"
LATEST_VERSION=$(crane ls "$REGISTRY" | grep 'v\?[0-9]*\.[0-9]*\.[0-9]\.*$' | sort -V -r | head -n 1)
echo " latest version: ${LATEST_VERSION}"
if [ "x${VERSION}" != "x${LATEST_VERSION}" ]; then
echo " New version found!"
jq "(${ENTRYQUERY}).version |= \"${LATEST_VERSION}\"" "${CHARTJSON}" > /tmp/$$
mv /tmp/$$ "${CHARTJSON}"
fi
done

17
.github/tests/charts.json vendored Normal file
View File

@ -0,0 +1,17 @@
[
{
"name": "kube-prometheus-stack",
"repo": "https://prometheus-community.github.io/helm-charts",
"version": "75.15.1"
},
{
"name": "cert-manager",
"repo": "https://charts.jetstack.io",
"version": "v1.18.2"
},
{
"name": "ingress-nginx",
"repo": "https://kubernetes.github.io/ingress-nginx",
"version": "4.13.0"
}
]

113
.github/tests/common.sh vendored Executable file
View File

@ -0,0 +1,113 @@
#!/usr/bin/env bash
GITHUB_STEP_SUMMARY="${GITHUB_STEP_SUMMARY:-/tmp/summary}"
get_namespace_details () {
cat <<EOF >>"$GITHUB_STEP_SUMMARY"
### Namespace $1
#### Events
\`\`\`shell
$(kubectl --request-timeout=30s get events --output wide --namespace "$1")
\`\`\`
#### Pods
\`\`\`shell
$(kubectl --request-timeout=30s describe pods --namespace "$1")
\`\`\`
#### Logs
\`\`\`shell
$(kubectl get pods -o name -n "$1" | while read -r line; do echo logs for "${line}"; kubectl logs -n "$1" "${line}" --prefix --all-containers=true --ignore-errors=true; done)
$( ([[ -n "$2" ]] && kubectl get pods -o name -n "$2") | while read -r line; do echo logs for "${line}"; kubectl logs -n "$2" "${line}" --all-containers=true --ignore-errors=true; done)
\`\`\`
EOF
}
k_wait () {
kubectl wait --for condition=available --timeout 30s --namespace "$1" "$2" "$3" | tail -n 1
}
k_rollout_status () {
kubectl rollout status --watch --timeout 30s --namespace "$1" "$2" "$3" | tail -n 1
}
get_spire_release_name () {
helm ls -A | grep '^spire' | grep -v spire-crds | awk '{print $1}'
}
print_spire_workload_status () {
local ns1
local ns2
ns1="$1"
ns2="${2:-$1}"
release_name="$(get_spire_release_name)"
cat <<EOF >>"$GITHUB_STEP_SUMMARY"
### Spire
| Namespace | Workload | Status |
| --------- | ---------------------------------------------- | ------ |
| ${ns1} | ${release_name}-server | <pre>$(k_rollout_status "${ns1}" statefulset "${release_name}-server")</pre> |
| ${ns1} | ${release_name}-server | <pre>$(k_rollout_status "${ns1}" deployments.apps "${release_name}-server")</pre> |
| ${ns2} | ${release_name}-spiffe-csi-driver | <pre>$(k_rollout_status "${ns2}" daemonset "${release_name}-spiffe-csi-driver")</pre> |
| ${ns2} | ${release_name}-agent | <pre>$(k_rollout_status "${ns2}" daemonset "${release_name}-agent")</pre> |
| ${ns1} | ${release_name}-spiffe-oidc-discovery-provider | <pre>$(k_rollout_status "${ns1}" deployments.apps "${release_name}-spiffe-oidc-discovery-provider")</pre> |
EOF
}
print_helm_releases () {
cat <<EOF >>"$GITHUB_STEP_SUMMARY"
### Releases
$(helm ls -A | sed 's/\t/ | /g' | sed 's/^/| /' | sed 's/$/ |/' | sed '/^| NAME.*/a| - | - | - | - | - | - | - |')
EOF
}
common_test_url () (
count=10
while true; do
if curl "$1"; then exit 0; fi
sleep 2
count=$((count-1))
[ $count -le 0 ] && exit 1
done
)
common_test_file_exists () (
count=20
while true; do
if [ -f "$1" ]; then exit 0; fi
sleep 2
count=$((count-1))
[ $count -le 0 ] && exit 1
done
)
# Used just for testing. You should provide your own values as described in the install instructions.
common_test_your_values () {
cat > /tmp/$$.example-your-values.yaml <<EOF
global:
spire:
recommendations:
enabled: true
clusterName: production
trustDomain: production.other
caSubject:
country: US
organization: Production
commonName: production.other
EOF
echo "/tmp/$$.example-your-values.yaml"
}
COMMON_TEST_YOUR_VALUES="$(common_test_your_values)"
export COMMON_TEST_YOUR_VALUES

12
.github/tests/dependencies/mysql.yaml vendored Normal file
View File

@ -0,0 +1,12 @@
primary:
containerSecurityContext:
allowPrivilegeEscalation: false
capabilities:
drop: [ALL]
seccompProfile:
type: RuntimeDefault
auth:
database: spire-server
username: spire
password: sp1ff3Test
rootPassword: sp1ff3TestPassword

View File

@ -0,0 +1,13 @@
primary:
containerSecurityContext:
allowPrivilegeEscalation: false
runAsNonRoot: true
capabilities:
drop: [ALL]
seccompProfile:
type: RuntimeDefault
auth:
database: spire-server
username: spire
password: sp1ff3Test
postgresPassword: sp1ff3TestPassword

View File

@ -0,0 +1,52 @@
---
apiVersion: cert-manager.io/v1
kind: Issuer
metadata:
name: selfsigned-issuer
spec:
selfSigned: {}
---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: demo-selfsigned-ca
spec:
isCA: true
commonName: demo-selfsigned-ca
secretName: root-secret
privateKey:
algorithm: ECDSA
size: 256
issuerRef:
name: selfsigned-issuer
kind: Issuer
group: cert-manager.io
subject:
countries:
- US
organizations:
- test
organizationalUnits:
- test
---
apiVersion: cert-manager.io/v1
kind: Issuer
metadata:
name: demo-ca
spec:
ca:
secretName: root-secret
---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: oidc
spec:
dnsNames:
- oidc-discovery.production.other
- spire-server-federation.production.other
secretName: tls-cert
issuerRef:
name: demo-ca
kind: Issuer
group: cert-manager.io

85
.github/tests/images.json vendored Normal file
View File

@ -0,0 +1,85 @@
{
"spire-server/values.yaml": [
{
"query": "tests.bash.image",
"filter": "LATESTSHA",
"sort-flags": []
},
{
"query": "chown.image",
"filter": "^[0-9]\\+\\.[0-9]\\+\\.[0-9]\\+-uclibc$",
"sort-flags": ["-t", ".", "-k1,1n", "-k2,2n", "-k3,3n"]
},
{
"query": "tools.busybox.image",
"filter": "^[0-9]\\+\\.[0-9]\\+\\.[0-9]\\+-uclibc$",
"sort-flags": ["-t", ".", "-k1,1n", "-k2,2n", "-k3,3n"]
}
],
"spire-agent/values.yaml": [
{
"query": "socketAlternate.image",
"filter": "LATESTSHA",
"sort-flags": []
},
{
"query": "hostCert.image",
"filter": "LATESTSHA",
"sort-flags": []
},
{
"query": "fsGroupFix.image",
"filter": "LATESTSHA",
"sort-flags": []
}
],
"spiffe-csi-driver/values.yaml": [
{
"query": "nodeDriverRegistrar.image",
"filter": "^v",
"sort-flags": []
}
],
"spiffe-oidc-discovery-provider/values.yaml": [
{
"query": "insecureScheme.nginx.image",
"filter": "^[0-9]\\+\\.[0-9]\\+\\.[0-9]\\+-alpine$",
"sort-flags": []
}, {
"query": "telemetry.prometheus.nginxExporter.image",
"filter": "^[0-9]\\+\\.[0-9]\\+\\.[0-9]\\+$",
"sort-flags": ["-t", ".", "-k1,1n", "-k2,2n", "-k3,3n"]
}, {
"query": "tests.step.image",
"filter": "^[0-9]\\+\\.[0-9]\\+\\.[0-9]\\+$",
"sort-flags": ["-t", ".", "-k1,1n", "-k2,2n", "-k3,3n"]
},
{
"query": "tests.bash.image",
"filter": "LATESTSHA",
"sort-flags": []
},
{
"query": "tests.toolkit.image",
"filter": "LATESTSHA",
"sort-flags": []
},
{
"query": "tests.busybox.image",
"filter": "^[0-9]\\+\\.[0-9]\\+\\.[0-9]\\+-uclibc$",
"sort-flags": ["-t", ".", "-k1,1n", "-k2,2n", "-k3,3n"]
},
{
"query": "spiffeHelper.image",
"filter": "^[0-9]\\+\\.[0-9]\\+\\.[0-9]\\+$",
"sort-flags": ["-t", ".", "-k1,1n", "-k2,2n", "-k3,3n"]
}
],
"tornjak-frontend/values.yaml": [
{
"query": "tests.bash.image",
"filter": "LATESTSHA",
"sort-flags": []
}
]
}

17
.github/tests/oci-charts.json vendored Normal file
View File

@ -0,0 +1,17 @@
[
{
"name": "mysql",
"registry": "docker.io/bitnamicharts/mysql",
"version": "14.0.0"
},
{
"name": "postgresql",
"registry": "docker.io/bitnamicharts/postgresql",
"version": "16.7.9"
},
{
"name": "envoy-gateway",
"registry": "docker.io/envoyproxy/gateway-helm",
"version": "v1.4.2"
}
]

11
.github/tests/post-install.sh vendored Executable file
View File

@ -0,0 +1,11 @@
#!/usr/bin/env bash
set -x
SCRIPT="$(readlink -f "$0")"
SCRIPTPATH="$(dirname "${SCRIPT}")"
# shellcheck source=/dev/null
source "${SCRIPTPATH}/common.sh"
print_helm_releases

49
.github/tests/pre-install.sh vendored Executable file
View File

@ -0,0 +1,49 @@
#!/usr/bin/env bash
set -xe
SCRIPT="$(readlink -f "$0")"
SCRIPTPATH="$(dirname "${SCRIPT}")"
DEPS="${SCRIPTPATH}/dependencies"
# shellcheck source=/dev/null
source "${SCRIPTPATH}/../scripts/parse-versions.sh"
helm_install=(helm upgrade --install --create-namespace)
# namespace override
kubectl create namespace spire-system || true
kubectl create namespace spire-server || true
# nginx ingress
"${helm_install[@]}" ingress-nginx ingress-nginx --version "${VERSION_INGRESS_NGINX}" --repo "${HELM_REPO_INGRESS_NGINX}" \
--namespace ingress-nginx \
--set controller.extraArgs.enable-ssl-passthrough=
kubectl wait --namespace ingress-nginx --for=condition=ready --timeout 60s pod --selector=app.kubernetes.io/component=controller
# prometheus
"${helm_install[@]}" kube-prometheus-stack kube-prometheus-stack \
--namespace prometheus \
--version "${VERSION_KUBE_PROMETHEUS_STACK}" \
--repo "${HELM_REPO_KUBE_PROMETHEUS_STACK}" \
--wait
# cert-manager
"${helm_install[@]}" cert-manager cert-manager --version "$VERSION_CERT_MANAGER" --repo "$HELM_REPO_CERT_MANAGER" \
--namespace cert-manager \
--set installCRDs=true \
--wait
# external database
# mysql
"${helm_install[@]}" mysql "${HELM_REGISTRY_MYSQL}" --version "$VERSION_MYSQL" \
--namespace mysql \
--values "${DEPS}/mysql.yaml" \
--wait
# postgres
"${helm_install[@]}" postgresql "${HELM_REGISTRY_POSTGRESQL}" --version "$VERSION_POSTGRESQL" \
--namespace postgresql \
--values "${DEPS}/postgresql.yaml" \
--wait

View File

@ -1,12 +0,0 @@
spiffe-oidc-discovery-provider:
enabled: true
insecureScheme:
enabled: true
config:
domains:
- oidc-discovery.example.org
acme:
tosAccepted: false

85
.github/workflows/check-versions.yaml vendored Normal file
View File

@ -0,0 +1,85 @@
name: Check versions
on:
schedule:
- cron: '0 8 * * 1'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
env:
HELM_VERSION: v3.11.1
jobs:
check-helm-chart-versions:
runs-on: ubuntu-22.04
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v4.1.1
- name: Set up Helm
uses: azure/setup-helm@v3.5
with:
version: ${{ env.HELM_VERSION }}
- name: Setup crane
uses: imjasonh/setup-crane@v0.3
- name: Update test chart versions
run: |
./.github/scripts/update-versions.sh
git diff
- name: Setup go
uses: actions/setup-go@v5.0.0
with:
go-version: '1.21'
cache: false
- uses: actions/setup-python@v5
with:
python-version: '3.9'
- name: Install ubuntu packages
run: sudo apt-get install wget apt-transport-https gnupg lsb-release
- name: Install yq
run: go install github.com/mikefarah/yq/v4@latest
- name: Install python dependencies
run: pip install -r .github/scripts/requirements.txt
- name: Update image tags
run: |
./.github/scripts/update-tags.sh
git diff
- name: Generate Token
uses: tibdex/github-app-token@v2.1.0
id: generate-token
with:
app_id: ${{ vars.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v6.0.2
with:
token: ${{ steps.generate-token.outputs.token }}
title: Bump test chart dependencies
branch: bump-test-chart-deps
commit-message: Bump test chart dependencies
body: Bump the Helm charts used in test scenarios to latest available versions.
signoff: true
add-paths: |
.github/tests
charts
- name: Check outputs
if: ${{ steps.cpr.outputs.pull-request-number }}
run: 'echo "::notice title=PR #${{ steps.cpr.outputs.pull-request-number }}::${{ steps.cpr.outputs.pull-request-url }}"'

View File

@ -0,0 +1,118 @@
name: Helm Chart CI
on:
pull_request:
types: [synchronize, opened, reopened]
paths-ignore:
- 'charts/**'
- '.github/workflows/helm-chart-ci.yaml'
- '.github/kind/conf/kind-config.yaml'
- '.github/tests/**/*.yaml'
- '.github/tests/**/*.sh'
- '.github/tests/**/*.json'
- 'examples/**/*.yaml'
- 'helm-docs.sh'
jobs:
lint-chart:
runs-on: ubuntu-22.04
steps:
- run: 'echo "Skipping linter"'
checks:
runs-on: ubuntu-22.04
steps:
- run: 'echo "Skipping checks"'
test:
runs-on: ubuntu-22.04
strategy:
matrix:
k8s:
- v1.31.1
- v1.30.4
- v1.29.8
steps:
- run: 'echo "Skipping tests"'
build-matrix:
name: Build matrix
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4.1.1
- id: set-matrix-example
name: Collect all examples
run: |
examples="$(find examples -maxdepth 2 -type f -name run-tests.sh | xargs -I % dirname %)"
examples_json="$(echo "$examples" | jq -c --slurp --raw-input 'split("\n") | map(select(. != ""))')"
echo "${examples_json}"
echo "examples=$examples_json" >>"$GITHUB_OUTPUT"
- id: set-matrix-integration
name: Collect all integration tests
run: |
integrationtests="$(find tests/integration -maxdepth 2 -type f -name run-tests.sh | xargs -I % dirname %)"
integrationtests_json="$(echo "$integrationtests" | jq -c --slurp --raw-input 'split("\n") | map(select(. != ""))')"
echo "${integrationtests_json}"
echo "integrationtests=$integrationtests_json" >>"$GITHUB_OUTPUT"
outputs:
examples: ${{ steps.set-matrix-example.outputs.examples }}
integrationtests: ${{ steps.set-matrix-integration.outputs.integrationtests }}
example-test:
runs-on: ubuntu-22.04
needs:
- build-matrix
strategy:
matrix:
k8s:
- v1.31.1
- v1.30.4
- v1.29.8
example:
- ${{ fromJson(needs.build-matrix.outputs.examples) }}
steps:
- run: 'echo "Skipping example-test"'
integration-test:
runs-on: ubuntu-22.04
needs:
- build-matrix
strategy:
matrix:
k8s:
- v1.31.1
- v1.30.4
- v1.29.8
example:
- ${{ fromJson(needs.build-matrix.outputs.integrationtests) }}
steps:
- run: 'echo "Skipping integration-test"'
upgrade-test:
runs-on: ubuntu-22.04
needs:
- build-matrix
strategy:
matrix:
k8s:
- v1.31.1
- v1.30.4
- v1.29.8
steps:
- run: 'echo "Skipping upgrade-test"'

View File

@ -3,11 +3,17 @@ name: Helm Chart CI
on: on:
workflow_dispatch: workflow_dispatch:
pull_request: pull_request:
types: [synchronize, opened, reopened]
paths: paths:
- 'charts/**' - 'charts/**'
- '.github/workflows/helm-chart-ci.yaml' - '.github/workflows/helm-chart-ci.yaml'
- '.github/kind/conf/kind-config.yaml' - '.github/kind/conf/kind-config.yaml'
- '.github/tests/**/*.yaml' - '.github/tests/**/*.yaml'
- '.github/tests/**/*.sh'
- '.github/tests/**/*.json'
- 'examples/**/*.yaml'
- 'examples/**/*.sh'
- 'tests/**/*'
- 'helm-docs.sh' - 'helm-docs.sh'
concurrency: concurrency:
@ -15,27 +21,80 @@ concurrency:
cancel-in-progress: true cancel-in-progress: true
env: env:
HELM_VERSION: v3.11.1 HELM_VERSION: v3.16.2
PYTHON_VERSION: 3.11.2 PYTHON_VERSION: 3.11.3
CHART_TESTING_VERSION: v3.7.1 KIND_VERSION: v0.24.0
CHART_TESTING_VERSION: v3.8.0
jobs: jobs:
check-docs: checks:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3.3.0 uses: actions/checkout@v4.1.1
- name: Verify Docs updated - name: Verify Docs updated
run: ./helm-docs.sh run: ./helm-docs.sh
- name: Verify Spire appVersion
run: |
set +e
BASEVER=$(yq e .appVersion Chart.yaml)
for FILE in spiffe-oidc-discovery-provider spire-agent spire-server; do
VER=$(yq .appVersion charts/$FILE/Chart.yaml)
if [ "$VER" != "$BASEVER" ]; then
{
echo "## Version mismatch"
echo
echo "There is a mismatch between the chart version ($BASEVER) and subchart version ($VER). The issue may be in file $FILE. Please fix."
} >> "$GITHUB_STEP_SUMMARY"
exit 1
fi
done
- name: Check objects for images without overrides
run: |
set +e
set -o pipefail
# Look for image: definitions that are not templated. If we find none, exit is not 0 and we invert the error code to get the
# test to pass. Ignore tests for now...
grep -r "image:" charts/spire | grep "templates/" | grep -v 'image: {{ template "' > /tmp/findings
res=$?
if [ $res -eq 0 ]; then
{
echo "## Hardcoded images"
echo
echo ":x: These templates were found to be using statically defined images and not overridable ones. Please fix."
echo
cat /tmp/findings
} >> "$GITHUB_STEP_SUMMARY"
exit 1
fi
- name: Setup Go
uses: actions/setup-go@v5.0.0
with:
go-version-file: tests/go.mod
cache-dependency-path: tests/go.sum
check-latest: true
- name: Install do dependencies
run: |
go mod download
go install github.com/onsi/ginkgo/v2/ginkgo@latest
working-directory: ./tests/unit
- name: Run Unit Tests
run: ginkgo
working-directory: ./tests/unit
lint-chart: lint-chart:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3.3.0 uses: actions/checkout@v4.1.1
with: with:
fetch-depth: 0 fetch-depth: 0
@ -45,61 +104,23 @@ jobs:
version: ${{ env.HELM_VERSION }} version: ${{ env.HELM_VERSION }}
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v4 uses: actions/setup-python@v5
with: with:
python-version: ${{ env.PYTHON_VERSION }} python-version: ${{ env.PYTHON_VERSION }}
- name: Setup chart-testing - name: Setup chart-testing
uses: helm/chart-testing-action@v2.3.1 uses: helm/chart-testing-action@v2.6.1
with: with:
version: ${{ env.CHART_TESTING_VERSION }} version: ${{ env.CHART_TESTING_VERSION }}
- name: Run chart-testing (list-changed)
id: list-changed
run: |
changed=$(ct list-changed --target-branch main)
if [[ -n "$changed" ]]; then
echo "changed=true" >> $GITHUB_OUTPUT
fi
- name: Run chart-testing (lint) - name: Run chart-testing (lint)
run: | run: TARGET_BRANCH=${{ github.base_ref }} make lint${{ github.base_ref == 'release' && '-release' || '' }}
ct lint --debug \
--target-branch main
outputs:
changed: ${{ steps.list-changed.outputs.changed }}
build-matrix:
name: Build matrix
runs-on: ubuntu-22.04
needs: [lint-chart]
if: needs.lint-chart.outputs.changed == 'true'
steps:
- name: Checkout
uses: actions/checkout@v3.2.0
- id: set-matrix
name: Collect all tests
run: |
tests="$(echo -e "default\n$(find .github/tests -maxdepth 1 -type d | grep -Ev 'tests$' | xargs -I % basename % | sort | uniq)")"
tests_json="$(echo "$tests" | jq -c --slurp --raw-input 'split("\n") | map(select(. != ""))')"
echo "tests=$tests_json" >> $GITHUB_OUTPUT
outputs:
tests: ${{ steps.set-matrix.outputs.tests }}
test: test:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
needs: needs:
- lint-chart - lint-chart
- build-matrix
if: needs.lint-chart.outputs.changed == 'true'
strategy: strategy:
fail-fast: false fail-fast: false
@ -109,17 +130,13 @@ jobs:
# Kubernetes, but can go back farther as long as we don't need heroics # Kubernetes, but can go back farther as long as we don't need heroics
# to pull it off (i.e. kubectl version juggling). # to pull it off (i.e. kubectl version juggling).
k8s: k8s:
- v1.25.3 - v1.31.1
- v1.24.7 - v1.30.4
- v1.23.13 - v1.29.8
- v1.22.15
- v1.21.14
values:
- ${{ fromJson(needs.build-matrix.outputs.tests) }}
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3.3.0 uses: actions/checkout@v4.1.1
with: with:
fetch-depth: 0 fetch-depth: 0
@ -129,29 +146,201 @@ jobs:
version: ${{ env.HELM_VERSION }} version: ${{ env.HELM_VERSION }}
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v4 uses: actions/setup-python@v5
with: with:
python-version: ${{ env.PYTHON_VERSION }} python-version: ${{ env.PYTHON_VERSION }}
- name: Setup chart-testing - name: Setup chart-testing
uses: helm/chart-testing-action@v2.3.1 uses: helm/chart-testing-action@v2.6.1
with: with:
version: ${{ env.CHART_TESTING_VERSION }} version: ${{ env.CHART_TESTING_VERSION }}
- name: Create kind ${{ matrix.k8s }} cluster - name: Create kind ${{ matrix.k8s }} cluster
uses: helm/kind-action@v1.5.0 uses: helm/kind-action@v1.9.0
# Only build a kind cluster if there are chart changes to test. # Only build a kind cluster if there are chart changes to test.
with: with:
version: v0.17.0 version: ${{ env.KIND_VERSION }}
node_image: kindest/node:${{ matrix.k8s }} node_image: kindest/node:${{ matrix.k8s }}
config: .github/kind/conf/kind-config.yaml config: .github/kind/conf/kind-config.yaml
verbosity: 1 verbosity: 1
- name: Setup Test dependencies
run: ./pre-install.sh
working-directory: .github/tests
- name: Run chart-testing (install) - name: Run chart-testing (install)
run: | run: |
ct install --debug \ helm install -n spire-server spire-crds charts/spire-crds
--target-branch main \ ct install --config ct.yaml --excluded-charts spire-crds,spiffe-step-ssh \
--exclude-deprecated \ --target-branch ${{ github.base_ref }}
${{ (matrix.values != 'default' && '--helm-extra-set-args "--values=.github/tests/$VALUES/values.yaml"') || '' }}
env: - name: Test summary
VALUES: ${{ matrix.values }} if: always()
run: ./post-install.sh
working-directory: .github/tests
build-matrix:
name: Build matrix
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4.1.1
- id: set-matrix-example
name: Collect all examples
run: |
examples="$(find examples -maxdepth 2 -type f -name run-tests.sh | xargs -I % dirname %)"
examples_json="$(echo "$examples" | jq -c --slurp --raw-input 'split("\n") | map(select(. != ""))')"
echo "${examples_json}"
echo "examples=$examples_json" >>"$GITHUB_OUTPUT"
- id: set-matrix-integration
name: Collect all integration tests
run: |
integrationtests="$(find tests/integration -maxdepth 2 -type f -name run-tests.sh | xargs -I % dirname %)"
integrationtests_json="$(echo "$integrationtests" | jq -c --slurp --raw-input 'split("\n") | map(select(. != ""))')"
echo "${integrationtests_json}"
echo "integrationtests=$integrationtests_json" >>"$GITHUB_OUTPUT"
outputs:
examples: ${{ steps.set-matrix-example.outputs.examples }}
integrationtests: ${{ steps.set-matrix-integration.outputs.integrationtests }}
example-test:
runs-on: ubuntu-22.04
needs:
- lint-chart
- build-matrix
strategy:
fail-fast: false
matrix:
k8s:
- v1.31.1
- v1.30.4
- v1.29.8
example:
- ${{ fromJson(needs.build-matrix.outputs.examples) }}
steps:
- name: Checkout
uses: actions/checkout@v4.1.1
- name: Set up Helm
uses: azure/setup-helm@v3.5
with:
version: ${{ env.HELM_VERSION }}
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Create kind cluster
uses: helm/kind-action@v1.9.0
# Only build a kind cluster if there are chart changes to test.
with:
version: ${{ env.KIND_VERSION }}
node_image: kindest/node:${{ matrix.k8s }}
config: .github/kind/conf/kind-config.yaml
verbosity: 1
- name: Install and test example
run: |
if [ "${{ matrix.example }}" = "examples/federation" -o "${{ matrix.example }}" = "examples/nested-full" -o "${{ matrix.example }}" = "examples/nested-security" ]; then
kubectl create namespace spire-mgmt
helm install -n spire-mgmt spire-crds charts/spire-crds
else
kubectl create namespace spire-server
helm install -n spire-server spire-crds charts/spire-crds
fi
export K8S="${{ matrix.k8s }}"
${{ matrix.example }}/run-tests.sh
integration-test:
runs-on: ubuntu-22.04
needs:
- lint-chart
- build-matrix
strategy:
fail-fast: false
matrix:
k8s:
- v1.31.1
- v1.30.4
- v1.29.8
integrationtest:
- ${{ fromJson(needs.build-matrix.outputs.integrationtests) }}
steps:
- name: Checkout
uses: actions/checkout@v4.1.1
- name: Set up Helm
uses: azure/setup-helm@v3.5
with:
version: ${{ env.HELM_VERSION }}
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Create kind cluster
uses: helm/kind-action@v1.9.0
# Only build a kind cluster if there are chart changes to test.
with:
version: ${{ env.KIND_VERSION }}
node_image: kindest/node:${{ matrix.k8s }}
config: .github/kind/conf/kind-config.yaml
verbosity: 1
- name: Install and test integration
run: |
helm install --create-namespace -n spire-mgmt spire-crds charts/spire-crds
${{ matrix.integrationtest }}/run-tests.sh
upgrade-test:
runs-on: ubuntu-22.04
needs:
- lint-chart
- build-matrix
strategy:
fail-fast: false
matrix:
k8s:
- v1.31.1
- v1.30.4
- v1.29.8
steps:
- name: Checkout
uses: actions/checkout@v4.1.1
- name: Set up Helm
uses: azure/setup-helm@v3.5
with:
version: ${{ env.HELM_VERSION }}
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Create kind cluster
uses: helm/kind-action@v1.9.0
# Only build a kind cluster if there are chart changes to test.
with:
version: ${{ env.KIND_VERSION }}
node_image: kindest/node:${{ matrix.k8s }}
config: .github/kind/conf/kind-config.yaml
verbosity: 1
- name: Install and test example
run: tests/integration/production/run-tests.sh -u

View File

@ -3,7 +3,7 @@ name: Release Helm Charts
on: on:
push: push:
branches: branches:
- main - release
paths: paths:
- '.github/workflows/helm-release.yml' - '.github/workflows/helm-release.yml'
- 'charts/**' - 'charts/**'
@ -19,7 +19,7 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3.3.0 uses: actions/checkout@v4.1.1
with: with:
fetch-depth: 0 fetch-depth: 0
@ -29,9 +29,9 @@ jobs:
git config user.email "$GITHUB_ACTOR@users.noreply.github.com" git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
- name: Setup cosign - name: Setup cosign
uses: sigstore/cosign-installer@v2.8.1 uses: sigstore/cosign-installer@v3.4.0
with: with:
version: v1.13.1 cosign-release: v2.2.3
- name: Set up Helm - name: Set up Helm
uses: azure/setup-helm@v3.5 uses: azure/setup-helm@v3.5
@ -39,12 +39,12 @@ jobs:
version: v3.10.3 version: v3.10.3
- name: Run chart-releaser - name: Run chart-releaser
uses: helm/chart-releaser-action@v1.5.0 uses: helm/chart-releaser-action@v1.6.0
env: env:
CR_TOKEN: '${{ secrets.GITHUB_TOKEN }}' CR_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
- name: Login to GitHub Container Registry - name: Login to GitHub Container Registry
uses: docker/login-action@v2 uses: docker/login-action@v3.1.0
with: with:
registry: ghcr.io registry: ghcr.io
username: ${{ github.actor }} username: ${{ github.actor }}
@ -67,4 +67,4 @@ jobs:
cosign sign ghcr.io/"${GITHUB_REPOSITORY_OWNER}"/helm-charts/"${name}"@"${digest}" cosign sign ghcr.io/"${GITHUB_REPOSITORY_OWNER}"/helm-charts/"${name}"@"${digest}"
done done
env: env:
COSIGN_EXPERIMENTAL: 1 COSIGN_YES: true

30
.github/workflows/shellcheck.yaml vendored Normal file
View File

@ -0,0 +1,30 @@
name: Shellcheck
on:
workflow_dispatch:
pull_request:
types: [synchronize, opened, reopened, edited]
paths:
- .github/workflows/shellcheck.yaml
- '**/*.sh'
concurrency:
group: ${{ github.ref }}-shellcheck
cancel-in-progress: true
env:
SHELLCHECK_VERSION: v0.9.0
jobs:
checks:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4.1.1
- name: Run Shellcheck
uses: ludeeus/action-shellcheck@2.0.0
with:
format: gcc
version: ${{ env.SHELLCHECK_VERSION }}

View File

@ -0,0 +1,44 @@
name: Update devcontainer image
on:
schedule:
- cron: '0 8 * * 1'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
env:
HELM_VERSION: v3.11.1
jobs:
build-and-push-devcontainer-image:
runs-on: ubuntu-20.04
permissions:
contents: read
id-token: write
packages: write
env:
COSIGN_EXPERIMENTAL: 1
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Install cosign
uses: sigstore/cosign-installer@e1523de7571e31dbe865fd2e80c5c7c23ae71eb4 # v3.4.0
with:
cosign-release: v2.2.3
- name: Install regctl
uses: regclient/actions/regctl-installer@b6614f5f56245066b533343a85f4109bdc38c8cc # main
- name: Log in to GHCR
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 # v3.1.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build / Push images
run: |
set -e
cd .devcontainer/
docker build -t ghcr.io/spiffe/helm-charts-hardened-devcontainer:latest .
docker push ghcr.io/spiffe/helm-charts-hardened-devcontainer:latest

4
.gitignore vendored
View File

@ -1,2 +1,6 @@
bin/ bin/
.idea/ .idea/
.vscode/
*.swp
charts/**/*.tgz
.DS_Store

19
CODE-OF-CONDUCT.md Normal file
View File

@ -0,0 +1,19 @@
# Contributor Code of Conduct
We follow the [CNCF Contributor Code of Conduct](https://github.com/cncf/foundation/blob/master/code-of-conduct.md). Additionally, we commit to the following guidelines as detailed on the [Linkerd Code of Conduct](https://github.com/linkerd/linkerd/wiki/Linkerd-code-of-conduct):
## Community Guidelines
- Our goal is to foster an inclusive and diverse community of technology enthusiasts.
- Try to be your best self. Treat your fellow community members with kindness and empathy. We welcome disagreements when they are conducted respectfully and without personal attacks.
- We ask that you keep unstructured critique to a minimum. Disparaging remarks about the project are unnecessary and a drain on community morale. Feedback should be constructive and relevant. Having passionately held opinions on what should improve is encouraged! We hope you will use that enthusiasm to roll up your sleeves and get involved by submitting pull requests. We have additional guidelines on [how to ask constructive questions](https://github.com/linkerd/linkerd/wiki/How-To-Ask-Questions-in-Slack).
- We don't tolerate insults, spamming, trolling, flaming, baiting, or harassment. We don't tolerate sexual language, imagery, or unwanted advances. Private harassment is also unacceptable.
- We do our best to avoid [subtle-isms](https://www.recurse.com/manual#sub-sec-social-rules): small actions that make others feel uncomfortable. If you witness a subtle-ism, you may respectfully point it out to the person publicly or privately, or you may ask a moderator to say something. Accidentally saying something biased is common, expected, and readily forgiven. It is not in and of itself a bannable offense.
## Moderation
- If you feel any of SPIFFE's communication channels require moderation, please e-mail the [SPIFFE Steering Committee (SSC)](mailto:ssc@spiffe.io).

View File

@ -1,7 +1,7 @@
# These owners will be the default owners for everything in # These owners will be the default owners for everything in
# the repo. Unless a later match takes precedence, # the repo. Unless a later match takes precedence,
# they will be requested for review when someone opens a # they will be requested for review when someone opens a
# pull request. # pull request.
* @marcofranssen @Kfox1111 @developer-guy @dennisgove @dfeldman @faisal-memon @mrsabath * @marcofranssen @Kfox1111 @dfeldman @faisal-memon @mrsabath @edwbuck
# See CODEOWNERS syntax here: https://help.github.com/articles/about-codeowners/#codeowners-syntax # See CODEOWNERS syntax here: https://help.github.com/articles/about-codeowners/#codeowners-syntax

View File

@ -34,12 +34,33 @@ git checkout «your-branch»
git rebase main git rebase main
``` ```
## Generating documentation ## Testing
Any changes to Chart.yaml or values.yaml require an update of the README.md. This update can easily be generated using [helm-docs][]. Our CI pipeline takes care of the majority of the testing of this Chart. Other ways for you to test are by running `make test` locally using:
> [!Warning]
> Ensure to run the test on a dedicated k8s cluster that does not have Spire installed yet.
```shell ```shell
./helm-docs.sh charts/«chart-name» make test
``` ```
[helm-docs]: https://github.com/norwoodj/helm-docs "Generate documentation for your Helm chart." Another approach to testing the chart is by installing one of the examples in your own cluster to verify your contributed changes work before issueing your PR.
## Generating documentation
Any changes to Chart.yaml or values.yaml require an update of the README.md. This update can easily be generated using [readme-generator][].
```shell
./helm-docs.sh
```
## Bumping Chart version
In contrary to many other Helm repositories we do NOT require contributors to increate the Chart version. We have customized our release pipeline so we can bundle various PRs in a single release. Maintainers of the helm-charts in this repo will take care of the semantic versioning.
[readme-generator]: https://github.com/bitnami-labs/readme-generator-for-helm "Auto generate READMEs for Helm Charts."
## devcontainer support
We have a usable devcontainer with all the dev tools preinstalled to make contributions easier. You should be able to use it via Codespaces (https://github.com/codespaces/), Visual Studio Code (https://code.visualstudio.com/), DevPod (https://devpod.sh), etc. Please consult the documentation for those tools for how to use them.

83
FAQ.md Normal file
View File

@ -0,0 +1,83 @@
# Frequently Asked Questions
- [How does this repo relate to the helm-charts repo?](#how-does-this-repo-relate-to-the-helm-charts-repo)
- [How do I migrate my changeset from the old helm-charts repo to this one?](#how-do-i-migrate-my-changeset-from-the-old-helm-charts-repo-to-this-one)
- [How do I update my helm registry to point to this one?](#how-do-i-update-my-helm-registry-to-point-to-this-one)
- [Pods are stuck terminating after uninstall. How do I fix it?](#pods-are-stuck-terminating-after-uninstall-how-do-i-fix-it)
- [Uninstall is stuck. How do I fix it?](#uninstall-is-stuck-how-do-i-fix-it)
- [The PSAT plugin is not working](#the-psat-plugin-is-not-working)
## How does this repo relate to the helm-charts repo?
The helm-charts repo has been archived. This repo has all the commit history and releases copied over from that repo and is continuing development to provide a SPIRE helm chart for the community to use and contribute to.
## How do I migrate my changeset from the old helm-charts repo to this one?
Run one of these commands to switch to the new repo:
- If working off a branch (maintainers with write access): `git remote set-url origin git@github.com:spiffe/helm-charts-hardened.git`
- If working off a fork:
1. Create a new fork of helm-charts-hardened
1. In your local clone of your old fork of helm-charts: `git remote set-url origin https://github.com/<your new fork>/helm-charts-hardened.git`
Then just `git push` your branches. Git history has been migrated over so you can just push your existing branches without issues.
## How do I update my helm registry to point to this one?
Assuming you named the repo `spiffe`:
``` bash
helm repo remove spiffe
helm repo add spiffe https://spiffe.github.io/helm-charts-hardened
```
## Pods are stuck terminating after uninstall. How do I fix it?
If you uninstall the SPIRE chart before all users of the CSI driver are removed, Pods will get stuck in a terminating state waiting for the driver, that no longer is installed, to unmount the volumes for the Pod. In order to fix this, reinstall the chart and remove all affected workloads that are not part of the SPIRE helm chart itself, before attempting to remove SPIRE again.
You can discover Pods that use the driver with the following command:
```shell
kubectl get pods --all-namespaces -o go-template='{{range .items}}{{$nn := printf "%s %s" .metadata.namespace .metadata.name}}{{range .spec.volumes}}{{if .csi.driver}}{{if eq .csi.driver "csi.spiffe.io"}}{{printf "%s\n" $nn}}{{end}}{{end}}{{end}}{{end}}'
```
## Uninstall is stuck. How do I fix it?
If you uninstall the SPIFFE CSI driver manually before removing the chart, Pods can still be using the driver and are unable to unmount the CSI volume.
To resolve, reinstall the chart before trying to remove it again.
## The PSAT plugin is not working
The chart requires `Projected Service Account Tokens` which has to be enabled on your Kubernetes API server. In most cases this is already done for you.
> [!Note]
> This is enabled by default with newer versions as shown by the existence of:
>
> ```yaml
> - --service-account-issuer
> - --service-account-key-file
> - --service-account-signing-key-file
> ```
See [Service Account Token Volume Projection](https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#serviceaccount-token-volume-projection) in the Kubernetes docs for more details.
To enable Projected Service Account Tokens on Docker for Mac/Windows run the following
command to SSH into the Docker Desktop K8s VM.
```bash
docker run -it --privileged --pid=host debian nsenter -t 1 -m -u -n -i sh
```
Then add the following to `/etc/kubernetes/manifests/kube-apiserver.yaml`
```yaml
spec:
containers:
- command:
- kube-apiserver
- --api-audiences=api,spire-server
- --service-account-issuer=api,spire-agent
- --service-account-key-file=/run/config/pki/sa.pub
- --service-account-signing-key-file=/run/config/pki/sa.key
```

70
Makefile Normal file
View File

@ -0,0 +1,70 @@
TARGET_BRANCH ?= main
.PHONY: help
help: ## Display this help.
@awk 'BEGIN {FS = ":.*##"; printf "\nUsage:\n make \033[36m<target>\033[0m\n"} /^[a-zA-Z_0-9-]+:.*?##/ { printf " \033[36m%-20s\033[0m %s\n", $$1, $$2 } /^##@/ { printf "\n\033[1m%s\033[0m\n", substr($$0, 5) } ' $(MAKEFILE_LIST)
##@ Linting:
.PHONY: lint
lint: ## Lint the charts using chart-testing
@echo Linting charts…
@ct lint --config ct.yaml --target-branch $(TARGET_BRANCH) --check-version-increment=false
lint-release: ## Lint the charts using chart-testing for release
@echo Linting charts…
@ct lint --config ct.yaml --target-branch $(TARGET_BRANCH)
##@ Testing: (ensure to run on dedicated test cluster)
.PHONY: clean-test-leftovers
clean-test-leftovers: ## Cleans up any lingering resources in case tests fail massively
@echo Cleanup potential leftovers…
@-kubectl delete csidrivers.storage.k8s.io csi.spiffe.io \
&>/dev/null || true
@-kubectl delete ns \
$$(kubectl get ns -o json | jq -r '.items[] | .metadata.name' | grep spire) \
&>/dev/null || true
@-kubectl delete validatingwebhookconfigurations.admissionregistration.k8s.io \
$$(kubectl get validatingwebhookconfigurations.admissionregistration.k8s.io -o json | jq -r '.items[] | .metadata.name' | grep spire) \
&>/dev/null || true
.PHONY: test
test: install-test-deps test-charts test-examples ## Run all chart tests and example tests
.PHONY: install-test-deps
install-test-deps: ## Install test dependency resources
@echo Installing test dependencies…
@.github/tests/pre-install.sh
.PHONY: test-charts
test-charts: ## Run tests on charts using Helm chart-testing
@echo Running tests…
@ct install --config ct.yaml
.PHONY: cleanup-test-deps
cleanup-test-deps: ## Cleans up all test dependencies resources
@echo Uninstalling test dependencies…
@helm uninstall -n cert-manager cert-manager 2>/dev/null || true
@kubectl delete ns cert-manager 2>/dev/null || true
@helm uninstall -n prometheus kube-prometheus-stack 2>/dev/null || true
@kubectl delete ns prometheus 2>/dev/null || true
@helm uninstall -n mysql mysql 2>/dev/null|| true
@kubectl delete ns mysql 2>/dev/null || true
@helm uninstall -n postgresql postgresql 2>/dev/null || true
@kubectl delete ns postgresql 2>/dev/null || true
@helm uninstall -n ingress-nginx ingress-nginx 2>/dev/null || true
@kubectl delete ns ingress-nginx 2>/dev/null || true
test-example-%:
@echo Running tests for $* example…
@examples/$*/run-tests.sh
@echo
.PHONY: test-examples
test-examples: $(patsubst examples/%/values.yaml,test-example-%,$(wildcard examples/*/values.yaml)) ## Run `helm install` and `helm test` for all the examples containing `run-tests.sh`
.PHONY: diagrams
diagrams: ## Builds diagrams
@dot -Tpng examples/nested/singlehardened.dot > examples/nested/singlehardened.png
@dot -Tpng examples/nested/multicluster.dot > examples/nested/multicluster.png

View File

@ -1,26 +1,20 @@
> **Note**
> Things to consider:
> 1. We do not support running out of the git main branch. This is where development happens. Please use released versions via the published repo or git tags.
> 2. All the helm charts in this repo are beta. We encourage you to try them out and contribute. The API may change as we move towards a production ready release.
# SPIFFE Helm Charts # SPIFFE Helm Charts
[![Apache 2.0 License](https://img.shields.io/github/license/spiffe/helm-charts?style=for-the-badge)](https://opensource.org/licenses/Apache-2.0) [![Apache 2.0 License](https://img.shields.io/github/license/spiffe/helm-charts)](https://opensource.org/licenses/Apache-2.0)
[![Development Phase](https://github.com/spiffe/spiffe/blob/main/.img/maturity/dev.svg)](https://github.com/spiffe/spiffe/blob/main/MATURITY.md#development)
[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/spiffe)](https://artifacthub.io/packages/search?repo=spiffe)
A suite of [Helm Charts](https://helm.sh/docs) for standardized installations of SPIRE components in Kubernetes environments. A suite of [Helm Charts](https://helm.sh/docs) for standardized installations of SPIRE components in Kubernetes environments.
## Add Helm repository ## How to install or upgrade
```bash You most likely want to do an integrated setup based on the spire chart.
helm repo add spiffe https://spiffe.github.io/helm-charts/ See the [Instructions](https://artifacthub.io/packages/helm/spiffe/spire#install-instructions).
helm repo update
```
## Dependencies and Version Compatibility
Unless otherwise noted in an application chart README, the following dependencies will follow these prescribed version compatibility rules.
| Dependency | Supported Versions |
|:-----------|:-------------------|
| SPIRE | `1.4.x`, `1.5.x` |
| Helm | `3.x` |
For Kubernetes we will officially try to support the last 3 versions as described in [k8s versioning](https://kubernetes.io/releases/version-skew-policy/#supported-versions).
## Contributing ## Contributing

View File

@ -0,0 +1,42 @@
apiVersion: v2
name: spiffe-step-ssh
description: sshd signed host certificates using SPIFFE for trust and step CA
# 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: application
# 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.1
# 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: "1.16.0"
keywords: ["spiffe", "step", "step-ca", "ssh"]
home: https://github.com/spiffe/helm-charts-hardened/tree/main/charts/spiffe-step-ssh
sources:
- https://github.com/spiffe/helm-charts-hardened/tree/main/charts/spiffe-step-ssh
icon: https://spiffe.io/img/logos/spire/icon/color/spire-icon-color.png
maintainers:
- name: kfox1111
email: Kevin.Fox@pnnl.gov
dependencies:
- name: spire-lib
repository: file://../spire/charts/spire-lib
version: 0.1.0
- name: step-certificates
alias: step
repository: https://smallstep.github.io/helm-charts/
version: 1.27.4

View File

@ -0,0 +1,65 @@
spire-values.yaml
```
spire-server:
nodeAttestor:
httpChallenge:
enabled: true
controllerManager:
identities:
clusterSPIFFEIDs:
spiffe-step-ssh-config:
type: raw
namespaceSelector:
matchLabels:
"kubernetes.io/metadata.name": default
podSelector:
matchLabels:
app: spiffe-step-ssh
component: config
spiffe-step-ssh-fetchca:
type: raw
namespaceSelector:
matchLabels:
"kubernetes.io/metadata.name": default
podSelector:
matchLabels:
app: spiffe-step-ssh
component: fetchca
dnsNameTemplates:
- "spiffe-step-ssh-fetchca.{{ .TrustDomain }}"
```
```shell
helm upgrade --install -n spire-server spire-crds spire-crds --repo https://spiffe.github.io/helm-charts-hardened/ --create-namespace
helm upgrade --install -n spire-server spire spire --repo https://spiffe.github.io/helm-charts-hardened/ -f spire-values.yaml --set global.spire.ingressControllerType=ingress-nginx,spire-server.ingress.enabled=true
```
```shell
helm upgrade --install ingress-nginx ingress-nginx -n ingress-nginx --create-namespace --repo https://kubernetes.github.io/ingress-nginx --set controller.service.type=ClusterIP,controller.service.externalIPs[0]=$(minikube ip) --set controller.watchIngressWithoutClass=true --set controller.extraArgs.enable-ssl-passthrough=
```
```shell
PASSWORD=$(openssl rand -base64 48)
echo "$PASSWORD" > spiffe-step-ssh-password.txt
step ca init --helm --deployment-type=Standalone --name='My CA' --dns spiffe-step-ssh.example.org --ssh --address :8443 --provisioner default --password-file spiffe-step-ssh-password.txt > spiffe-step-ssh-values.yaml
```
ingress-values.yaml
```yaml
global:
spiffe:
ingressControllerType: ingress-nginx
stepIngress:
enabled: true
fetchCA:
ingress:
enabled: true
```
```shell
helm upgrade --install spiffe-step-ssh . --set caPassword=`cat spiffe-step-ssh-password.txt` -f spiffe-step-ssh-values.yaml -f ingress-values.yaml --set trustDomain=example.org
```
<!-- The parameters section is generated using helm-docs.sh and should not be edited by hand. -->
## Parameters

View File

@ -0,0 +1 @@
trustDomain: example.org

View File

@ -0,0 +1,13 @@
{{- if eq (len .AuthorizationCrt.URIs) 1 }}
{{- $san := printf "%s" (index .AuthorizationCrt.URIs 0) }}
{{- if hasPrefix "spiffe://@TRUST_DOMAIN@/@PREFIX@/" $san }}
{{- $name := trimPrefix "spiffe://@TRUST_DOMAIN@/@PREFIX@/" $san }}
{
"type": {{ toJson .Type }},
"keyId": {{ toJson $name }},
"principals": [{{ toJson $name }}],
"extensions": {{ toJson .Extensions }},
"criticalOptions": {{ toJson .CriticalOptions }}
}
{{- end }}
{{- end }}

View File

@ -0,0 +1,5 @@
Installed {{ .Chart.Name }}…
Configure your ssh clients with known_hosts file with:
@cert-authority *.{{ .Values.trustDomain }} {{ .Values.inject.certificates.ssh_host_ca }}

View File

@ -0,0 +1,83 @@
{{/*
Expand the name of the chart.
*/}}
{{- define "spiffe-step-ssh.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "spiffe-step-ssh.fullname" -}}
{{- if .Values.fullnameOverride }}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- $name := default .Chart.Name .Values.nameOverride }}
{{- if contains $name .Release.Name }}
{{- .Release.Name | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }}
{{- end }}
{{- end }}
{{- end }}
{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "spiffe-step-ssh.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Common labels
*/}}
{{- define "spiffe-step-ssh.labels" -}}
helm.sh/chart: {{ include "spiffe-step-ssh.chart" . }}
{{ include "spiffe-step-ssh.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end }}
{{/*
Selector labels
*/}}
{{- define "spiffe-step-ssh.selectorLabels" -}}
app.kubernetes.io/name: {{ include "spiffe-step-ssh.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}
{{/*
Create the name of the service account to use
*/}}
{{- define "spiffe-step-ssh.serviceAccountName" -}}
{{- if .Values.serviceAccount.create }}
{{- default (include "spiffe-step-ssh.fullname" .) .Values.serviceAccount.name }}
{{- else }}
{{- default "default" .Values.serviceAccount.name }}
{{- end }}
{{- end }}
{{/* Takes in a dictionary with keys:
* global - the standard global object
* ingress - a standard format ingress config object
*/}}
{{- define "spiffe-step-ssh.ingress-controller-type" }}
{{- $type := "" }}
{{- if ne (len (dig "spiffe" "ingressControllerType" "" .global)) 0 }}
{{- $type = .global.spiffe.ingressControllerType }}
{{- else if ne .ingress.controllerType "" }}
{{- $type = .ingress.controllerType }}
{{- else if (dig "openshift" false .global) }}
{{- $type = "openshift" }}
{{- else }}
{{- $type = "other" }}
{{- end }}
{{- if not (has $type (list "ingress-nginx" "openshift" "other")) }}
{{- fail "Unsupported ingress controller type specified. Must be one of [ingress-nginx, openshift, other]" }}
{{- end }}
{{- $type }}
{{- end }}

View File

@ -0,0 +1,25 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "spiffe-step-ssh.fullname" . }}-config-deployment
labels:
{{- include "spiffe-step-ssh.labels" . | nindent 4 }}
data:
spiffe-helper.conf: |
agent_address = "/spiffe-workload-api/spire-agent.sock"
cmd = "sh"
cmd_args = "/config-deployment/update.sh"
cert_dir = "/certs"
svid_file_name = "tls.crt"
svid_key_file_name = "tls.key"
svid_bundle_file_name = "ca.pem"
add_intermediates_to_bundle = false
update.sh: |
#!/bin/sh
export ROOTS=$(base64 /certs/ca.pem | tr '\n' ' ' | sed 's/ //g')
echo Updating Roots to "$ROOTS"
cat /config/ca.json > /work/ca.json
yq e -i -ojson '.authority.provisioners |= map(select(.name == "x5c@spiffe").roots = env(ROOTS))' /work/ca.json
/helper/kubectl create configmap {{ include "spiffe-step-ssh.fullname" . }}-config -n "{{ .Release.Namespace }}" --from-file=/work/ca.json --from-file=/config/defaults.json --from-file=/config/ssh_x5c.tpl --dry-run=client -o yaml | /helper/kubectl apply -f -
/helper/kubectl rollout restart statefulset {{ include "spiffe-step-ssh.fullname" . }} -n "{{ .Release.Namespace }}"
echo $?

View File

@ -0,0 +1,143 @@
{{- $configSum := (include (print $.Template.BasePath "/config-configmap.yaml") . | sha256sum) }}
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "spiffe-step-ssh.fullname" . }}-config
labels:
{{- include "spiffe-step-ssh.labels" . | nindent 4 }}
app: spiffe-step-ssh
component: config
spec:
replicas: 1
selector:
matchLabels:
{{- include "spiffe-step-ssh.selectorLabels" . | nindent 6 }}
app: spiffe-step-ssh
component: config
template:
metadata:
annotations:
checksum/config: {{ $configSum }}
{{- with .Values.podAnnotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
{{- include "spiffe-step-ssh.labels" . | nindent 8 }}
{{- with .Values.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
app: spiffe-step-ssh
component: config
spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
serviceAccountName: {{ include "spiffe-step-ssh.serviceAccountName" . }}-svc-config
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
initContainers:
- name: setup-volume-p1
image: {{ template "spire-lib.image" (dict "image" .Values.busybox.image "global" .Values.global) }}
imagePullPolicy: {{ .Values.busybox.image.pullPolicy }}
command:
- sh
- -c
- 'cp -a /bin/busybox /helper'
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
volumeMounts:
- name: spiffe-helper
mountPath: /helper
resources:
{{- toYaml .Values.config.resources | nindent 12 }}
- name: setup-volume-p2
image: {{ template "spire-lib.kubectl-image" (dict "appVersion" $.Chart.AppVersion "image" .Values.kubectl.image "global" .Values.global "KubeVersion" .Capabilities.KubeVersion.Version) }}
imagePullPolicy: {{ .Values.kubectl.image.pullPolicy }}
command:
- /helper/busybox
- sh
- -c
- '/helper/busybox cp -a /bin/kubectl /helper'
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
volumeMounts:
- name: spiffe-helper
mountPath: /helper
resources:
{{- toYaml .Values.config.resources | nindent 12 }}
- name: setup-volume-p3
image: {{ template "spire-lib.image" (dict "image" .Values.spiffeHelper.image "global" .Values.global) }}
imagePullPolicy: {{ .Values.spiffeHelper.image.pullPolicy }}
command:
- /helper/busybox
- sh
- -c
- '/helper/busybox cp -a /spiffe-helper /helper && /helper/busybox rm -f /helper/busybox'
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
volumeMounts:
- name: spiffe-helper
mountPath: /helper
resources:
{{- toYaml .Values.config.resources | nindent 12 }}
containers:
- name: {{ .Chart.Name }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: {{ template "spire-lib.image" (dict "image" .Values.yq.image "global" .Values.global) }}
imagePullPolicy: {{ .Values.yq.image.pullPolicy }}
command:
- /helper/spiffe-helper
- -config
- /config-deployment/spiffe-helper.conf
resources:
{{- toYaml .Values.config.resources | nindent 12 }}
volumeMounts:
- name: spiffe-helper
mountPath: /helper
readOnly: true
- name: config
mountPath: /config
readOnly: true
- name: config-deployment
mountPath: /config-deployment
readOnly: true
- name: certdir
mountPath: /certs
- name: spiffe-workload-api
mountPath: /spiffe-workload-api
readOnly: true
- name: workdir
mountPath: /work
volumes:
- name: spiffe-workload-api
csi:
driver: {{ .Values.csiDriver | quote }}
readOnly: true
- name: config-deployment
configMap:
name: {{ include "spiffe-step-ssh.fullname" . }}-config-deployment
- name: config
configMap:
name: {{ include "spiffe-step-ssh.fullname" . }}-config-raw
- name: certdir
emptyDir: {}
- name: spiffe-helper-config
emptyDir: {}
- name: spiffe-helper
emptyDir: {}
- name: workdir
emptyDir: {}
{{- with .Values.config.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.config.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.config.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}

View File

@ -0,0 +1,41 @@
kind: Role
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: {{ include "spiffe-step-ssh.fullname" . }}-svc-config
rules:
- apiGroups: [""]
resources: [configmaps]
verbs:
- create
- apiGroups: [""]
resources: [configmaps]
resourceNames: [{{ include "spiffe-step-ssh.fullname" . }}-config]
verbs:
- get
- update
- patch
- apiGroups: ["apps"]
resources: [statefulsets]
resourceNames: [{{ include "spiffe-step-ssh.fullname" . }}]
verbs:
- get
- patch
- apiGroups: ["apps"]
resources: [deployments]
resourceNames: [{{ include "spiffe-step-ssh.fullname" . }}-fetchca]
verbs:
- get
- patch
---
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: {{ include "spiffe-step-ssh.fullname" . }}-svc-config
subjects:
- kind: ServiceAccount
name: {{ include "spiffe-step-ssh.fullname" . }}-svc-config
namespace: {{ .Release.Namespace }}
roleRef:
kind: Role
name: {{ include "spiffe-step-ssh.fullname" . }}-svc-config
apiGroup: rbac.authorization.k8s.io

View File

@ -0,0 +1,13 @@
{{- if .Values.serviceAccount.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "spiffe-step-ssh.serviceAccountName" . }}-svc-config
labels:
{{- include "spiffe-step-ssh.labels" . | nindent 4 }}
component: config
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}

View File

@ -0,0 +1,28 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "spiffe-step-ssh.fullname" . }}-fetchca
labels:
{{- include "spiffe-step-ssh.labels" . | nindent 4 }}
data:
spiffe-helper-init.conf: |
agent_address = "/spiffe-workload-api/spire-agent.sock"
cmd = ""
cmd_args = ""
cert_dir = "/certs"
svid_file_name = "tls.crt"
svid_key_file_name = "tls.key"
svid_bundle_file_name = "ca.pem"
add_intermediates_to_bundle = false
spiffe-helper-sidecar.conf: |
agent_address = "/spiffe-workload-api/spire-agent.sock"
cmd = "/busybox/busybox"
cmd_args = "sh /update.sh"
cert_dir = "/certs"
svid_file_name = "tls.crt"
svid_key_file_name = "tls.key"
svid_bundle_file_name = "ca.pem"
add_intermediates_to_bundle = false
update.sh: |
#!/bin/sh
/busybox/busybox kill -HUP `/busybox/busybox busybox cat /pid/pid`

View File

@ -0,0 +1,182 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "spiffe-step-ssh.fullname" . }}-fetchca
labels:
{{- include "spiffe-step-ssh.labels" . | nindent 4 }}
app: spiffe-step-ssh
component: fetchca
spec:
{{- if not .Values.fetchCA.autoscaling.enabled }}
replicas: {{ .Values.fetchCA.replicaCount }}
{{- end }}
selector:
matchLabels:
{{- include "spiffe-step-ssh.selectorLabels" . | nindent 6 }}
app: spiffe-step-ssh
component: fetchca
template:
metadata:
{{- with .Values.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
{{- include "spiffe-step-ssh.labels" . | nindent 8 }}
{{- with .Values.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
app: spiffe-step-ssh
component: fetchca
spec:
shareProcessNamespace: true
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
serviceAccountName: {{ include "spiffe-step-ssh.serviceAccountName" . }}-fetchca
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
initContainers:
- name: busybox-volume
image: {{ template "spire-lib.image" (dict "image" .Values.busybox.image "global" .Values.global) }}
imagePullPolicy: {{ .Values.busybox.image.pullPolicy }}
command:
- sh
- -c
- 'cp -a /bin/busybox /busybox'
volumeMounts:
- name: busybox
mountPath: /busybox
resources:
{{- toYaml .Values.fetchCA.spiffeHelper.resources | nindent 12 }}
- name: init-tls
image: {{ template "spire-lib.image" (dict "image" .Values.spiffeHelper.image "global" .Values.global) }}
imagePullPolicy: {{ .Values.spiffeHelper.image.pullPolicy }}
command:
- /spiffe-helper
- -config
- /etc/spiffe-helper.conf
- -daemon-mode=false
volumeMounts:
- name: spiffe-workload-api
mountPath: /spiffe-workload-api
readOnly: true
- name: config
mountPath: /etc/spiffe-helper.conf
subPath: spiffe-helper-init.conf
readOnly: true
- name: certs
mountPath: /certs
resources:
{{- toYaml .Values.fetchCA.spiffeHelper.resources | nindent 12 }}
containers:
- name: {{ .Chart.Name }}-fetchca
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: {{ template "spire-lib.image" (dict "image" .Values.nginx.image "global" .Values.global) }}
imagePullPolicy: {{ .Values.nginx.image.pullPolicy }}
command:
- /bin/sh
- -c
- |
echo $$$$ > /pid/pid
cat > /etc/nginx/conf.d/ssl.conf <<EOF
server {
listen 8443 ssl;
server_name localhost;
ssl_certificate /certs/tls.crt;
ssl_certificate_key /certs/tls.key;
location / {
root /usr/share/nginx/html;
index root_ca.crt index.html index.htm;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}
EOF
exec nginx -g "daemon off;"
ports:
- name: http
containerPort: 8443
protocol: TCP
livenessProbe:
httpGet:
path: /
port: http
scheme: HTTPS
readinessProbe:
httpGet:
path: /
port: http
scheme: HTTPS
resources:
{{- toYaml .Values.fetchCA.resources | nindent 12 }}
volumeMounts:
- name: certs
mountPath: /certs
readOnly: true
- name: pid
mountPath: /pid
- name: share
mountPath: /usr/share/nginx/html
- name: update-tls
image: {{ template "spire-lib.image" (dict "image" .Values.spiffeHelper.image "global" .Values.global) }}
imagePullPolicy: {{ .Values.spiffeHelper.image.pullPolicy }}
command:
- /spiffe-helper
- -config
- /etc/spiffe-helper.conf
volumeMounts:
- name: certs
mountPath: /certs
- name: spiffe-workload-api
mountPath: /spiffe-workload-api
readOnly: true
- name: config
mountPath: /etc/spiffe-helper.conf
subPath: spiffe-helper-sidecar.conf
readOnly: true
- name: config
mountPath: /update.sh
subPath: update.sh
readOnly: true
- name: pid
mountPath: /pid
readOnly: true
- name: busybox
mountPath: /busybox
readOnly: true
resources:
{{- toYaml .Values.fetchCA.spiffeHelper.resources | nindent 12 }}
volumes:
- name: certs
emptyDir: {}
- name: pid
emptyDir: {}
- name: busybox
emptyDir: {}
- name: config
configMap:
name: {{ include "spiffe-step-ssh.fullname" . }}-fetchca
- name: spiffe-workload-api
csi:
driver: {{ .Values.csiDriver | quote }}
readOnly: true
- name: share
configMap:
name: {{ include "spiffe-step-ssh.fullname" . }}-certs
{{- with .Values.fetchCA.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.fetchCA.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.fetchCA.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}

View File

@ -0,0 +1,32 @@
{{- if .Values.fetchCA.autoscaling.enabled }}
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: {{ include "spiffe-step-ssh.fullname" . }}-fetchCA
labels:
{{- include "spiffe-step-ssh.labels" . | nindent 4 }}
spec:
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: {{ include "spiffe-step-ssh.fullname" . }}-fetchca
minReplicas: {{ .Values.fetchCA.autoscaling.minReplicas }}
maxReplicas: {{ .Values.fetchCA.autoscaling.maxReplicas }}
metrics:
{{- if .Values.fetchCA.autoscaling.targetCPUUtilizationPercentage }}
- type: Resource
resource:
name: cpu
target:
type: Utilization
averageUtilization: {{ .Values.fetchCA.autoscaling.targetCPUUtilizationPercentage }}
{{- end }}
{{- if .Values.fetchCA.autoscaling.targetMemoryUtilizationPercentage }}
- type: Resource
resource:
name: memory
target:
type: Utilization
averageUtilization: {{ .Values.fetchCA.autoscaling.targetMemoryUtilizationPercentage }}
{{- end }}
{{- end }}

View File

@ -0,0 +1,31 @@
{{- if .Values.fetchCA.ingress.enabled -}}
{{- $ingressControllerType := include "spiffe-step-ssh.ingress-controller-type" (dict "global" .Values.global "ingress" .Values.fetchCA.ingress) }}
{{- $fullName := printf "%s-fetchca" (include "spiffe-step-ssh.fullname" .) -}}
{{- $path := "/" }}
{{- $pathType := "Prefix" }}
{{- $tlsSection := true }}
{{- $annotations := deepCopy .Values.fetchCA.ingress.annotations }}
{{- if eq $ingressControllerType "ingress-nginx" }}
{{- $_ := set $annotations "nginx.ingress.kubernetes.io/ssl-redirect" "true" }}
{{- $_ := set $annotations "nginx.ingress.kubernetes.io/force-ssl-redirect" "true" }}
{{- $_ := set $annotations "nginx.ingress.kubernetes.io/backend-protocol" "HTTPS" }}
{{- $_ := set $annotations "nginx.ingress.kubernetes.io/ssl-passthrough" "true" }}
{{- else if eq $ingressControllerType "openshift" }}
{{- $_ := set $annotations "route.openshift.io/termination" "passthrough" }}
{{- $path = "" }}
{{- $pathType = "ImplementationSpecific" }}
{{- $tlsSection = false }}
{{- end }}
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ $fullName }}
labels:
{{ include "spiffe-step-ssh.labels" . | nindent 4}}
{{- with $annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
{{ include "spire-lib.ingress-spec" (dict "ingress" .Values.fetchCA.ingress "svcName" $fullName "port" .Values.fetchCA.service.port "path" $path "pathType" $pathType "tlsSection" $tlsSection "Values" .Values) | nindent 2 }}
{{- end }}

View File

@ -0,0 +1,17 @@
apiVersion: v1
kind: Service
metadata:
name: {{ include "spiffe-step-ssh.fullname" . }}-fetchca
labels:
{{- include "spiffe-step-ssh.labels" . | nindent 4 }}
app: spiffe-step-ssh
component: fetchca
spec:
type: {{ .Values.fetchCA.service.type }}
ports:
- port: {{ .Values.fetchCA.service.port }}
targetPort: http
protocol: TCP
name: http
selector:
{{- include "spiffe-step-ssh.selectorLabels" . | nindent 4 }}

View File

@ -0,0 +1,12 @@
{{- if .Values.serviceAccount.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "spiffe-step-ssh.serviceAccountName" . }}-fetchca
labels:
{{- include "spiffe-step-ssh.labels" . | nindent 4 }}
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}

View File

@ -0,0 +1,8 @@
apiVersion: v1
kind: Secret
metadata:
name: {{ include "spiffe-step-ssh.fullname" . }}-certificate-issuer-password
labels:
{{- include "spiffe-step-ssh.labels" . | nindent 4 }}
data:
password: {{ .Values.caPassword | b64enc }}

View File

@ -0,0 +1,8 @@
apiVersion: v1
kind: Secret
metadata:
name: {{ include "spiffe-step-ssh.fullname" . }}-ca-password
labels:
{{- include "spiffe-step-ssh.labels" . | nindent 4 }}
data:
password: {{ .Values.caPassword | b64enc }}

View File

@ -0,0 +1,15 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "spiffe-step-ssh.fullname" . }}-certs
labels:
{{- include "spiffe-step-ssh.labels" . | nindent 4 }}
data:
"root_ca.crt": |
{{- .Values.inject.certificates.root_ca | nindent 4}}
"intermediate_ca.crt": |
{{ .Values.inject.certificates.intermediate_ca | nindent 4}}
"ssh_host_ca_key.pub": |
{{ .Values.inject.certificates.ssh_host_ca | nindent 4 }}
"ssh_user_ca_key.pub": |
{{ .Values.inject.certificates.ssh_user_ca | nindent 4 }}

View File

@ -0,0 +1,32 @@
{{- define "spiffe-step-ssh.config-provisioners" }}
type: X5C
name: "x5c@spiffe"
roots: ""
claims:
maxTLSCertDuration: {{ .Values.maxTLSCertDuration | quote }}
defaultTLSCertDuration: {{ .Values.defaultTLSCertDuration | quote }}
disableRenewal: true
enableSSHCA: true
disableCustomSANs: true
options:
ssh:
templateFile: /home/step/config/ssh_x5c.tpl
{{- end }}
{{ $ca := deepCopy (index .Values.inject.config.files "ca.json") }}
{{ $_ := set $ca.authority "provisioners" (list (include "spiffe-step-ssh.config-provisioners" . | fromYaml )) }}
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "spiffe-step-ssh.fullname" . }}-config-raw
labels:
{{- include "spiffe-step-ssh.labels" . | nindent 4 }}
data:
"ca.json": |
{{- $ca | toPrettyJson | nindent 4 }}
"defaults.json": |
{{- index .Values.inject.config.files "defaults.json" | toPrettyJson | nindent 4 }}
{{- if eq .Values.trustDomain "" }}
{{- fail "You must set trustDomain" }}
{{- end }}
"ssh_x5c.tpl": |
{{- .Files.Get "files/ssh_x5c.tpl" | replace "@TRUST_DOMAIN@" .Values.trustDomain | replace "@PREFIX@" .Values.prefix | nindent 4}}

View File

@ -0,0 +1,31 @@
{{- if .Values.stepIngress.enabled -}}
{{- $ingressControllerType := include "spiffe-step-ssh.ingress-controller-type" (dict "global" .Values.global "ingress" .Values.stepIngress) }}
{{- $fullName := printf "%s" (include "spiffe-step-ssh.fullname" .) -}}
{{- $path := "/" }}
{{- $pathType := "Prefix" }}
{{- $tlsSection := true }}
{{- $annotations := deepCopy .Values.stepIngress.annotations }}
{{- if eq $ingressControllerType "ingress-nginx" }}
{{- $_ := set $annotations "nginx.ingress.kubernetes.io/ssl-redirect" "true" }}
{{- $_ := set $annotations "nginx.ingress.kubernetes.io/force-ssl-redirect" "true" }}
{{- $_ := set $annotations "nginx.ingress.kubernetes.io/backend-protocol" "HTTPS" }}
{{- $_ := set $annotations "nginx.ingress.kubernetes.io/ssl-passthrough" "true" }}
{{- else if eq $ingressControllerType "openshift" }}
{{- $_ := set $annotations "route.openshift.io/termination" "passthrough" }}
{{- $path = "" }}
{{- $pathType = "ImplementationSpecific" }}
{{- $tlsSection = false }}
{{- end }}
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ $fullName }}
labels:
{{ include "spiffe-step-ssh.labels" . | nindent 4}}
{{- with $annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
{{ include "spire-lib.ingress-spec" (dict "ingress" .Values.stepIngress "svcName" $fullName "port" .Values.step.service.port "path" $path "pathType" $pathType "tlsSection" $tlsSection "Values" .Values) | nindent 2 }}
{{- end }}

View File

@ -0,0 +1,11 @@
apiVersion: v1
kind: Secret
metadata:
name: {{ include "spiffe-step-ssh.fullname" . }}-secrets
labels:
{{- include "spiffe-step-ssh.labels" . | nindent 4 }}
data:
root_ca_key: {{ .Values.inject.secrets.x509.root_ca_key | b64enc }}
intermediate_ca_key: {{ .Values.inject.secrets.x509.intermediate_ca_key | b64enc }}
ssh_host_ca_key: {{ .Values.inject.secrets.ssh.host_ca_key | b64enc }}
ssh_user_ca_key: {{ .Values.inject.secrets.ssh.user_ca_key | b64enc }}

View File

@ -0,0 +1,8 @@
apiVersion: v1
kind: Secret
metadata:
name: {{ include "spiffe-step-ssh.fullname" . }}-ssh-host-ca-password
labels:
{{- include "spiffe-step-ssh.labels" . | nindent 4 }}
data:
password: {{ .Values.caPassword | b64enc }}

View File

@ -0,0 +1,8 @@
apiVersion: v1
kind: Secret
metadata:
name: {{ include "spiffe-step-ssh.fullname" . }}-ssh-user-ca-password
labels:
{{- include "spiffe-step-ssh.labels" . | nindent 4 }}
data:
password: {{ .Values.caPassword | b64enc }}

View File

@ -0,0 +1,292 @@
# Default values for spiffe-step-ssh.
# SPDX-License-Identifier: APACHE-2.0
global:
spiffe:
## @param global.spiffe.ingressControllerType Specify what type of ingress controller you're using to add the necessary annotations accordingly. If blank, autodetection is attempted. If other, no annotations will be added. Must be one of [ingress-nginx, openshift, other, ""].
ingressControllerType: ""
## @param trustDomain The trust domain for SPIRE
trustDomain: ""
## @param caPassword Password securing the SSH CA
caPassword: ""
## @param maxTLSCertDuration The maximum duration the X5C traded cert is valid for.
maxTLSCertDuration: 24h
## @param defaultTLSCertDuration The default duration the X5C traded cert is valid for.
defaultTLSCertDuration: 1h
## @param prefix Prefix where hosts show up that are allowed to get ssh host certs
prefix: sshd
## @param csiDriver The csi driver to use
csiDriver: csi.spiffe.io
## @skip inject
## These will be generated by the step-ca tool
inject:
secrets:
x509:
root_ca_key: ""
intermediate_ca_key: ""
ssh:
host_ca_key: ""
user_ca_key: ""
config:
files:
ca.json:
authority: {}
certificates:
root_ca: ""
intermediate_ca: ""
ssh_host_ca: ""
ssh_user_ca: ""
stepIngress:
## @param stepIngress.enabled Flag to enable ingress
enabled: false
## @param stepIngress.className Ingress class name
className: ""
## @param stepIngress.controllerType Specify what type of ingress controller you're using to add the necessary annotations accordingly. If blank, autodetection is attempted. If other, no annotations will be added. Must be one of [ingress-nginx, openshift, other, ""].
controllerType: ""
## @param stepIngress.annotations [object] Annotations for the ingress object
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
# nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
# If Profile Type == https_spiffe:
# nginx.ingress.kubernetes.io/ssl-passthrough: "true"
## @param stepIngress.host Host name for the ingress. If no '.' in host, trustDomain is automatically appended. The rest of the rules will be autogenerated. For more customizability, use hosts[] instead.
host: "spiffe-step-ssh"
## @param stepIngress.tlsSecret Secret that has the certs. If blank will use default certs. Used with host var.
tlsSecret: ""
## @param stepIngress.hosts [array] Host paths for ingress object. If empty, rules will be built based on the host var.
hosts: []
# - host: spiffe-step-ssh.example.org
# paths:
# - path: /
# pathType: Prefix
## @param stepIngress.tls [array] Secrets containing TLS certs to enable https on ingress. If empty, rules will be built based on the host and tlsSecret vars.
tls: []
# - hosts:
# - spiffe-step-ssh.example.org
## @skip step
step:
service:
port: 443
targetPort: 8443
inject:
enabled: false
bootstrap:
enabled: false
configmaps: false
secrets: false
existingSecrets:
enabled: true
ca: true
issuer: true
certsAsSecret: false
configAsSecret: false
sshHostCa: true
sshUserCa: true
spiffeHelper:
## @param spiffeHelper.image.registry The OCI registry to pull the image from
## @param spiffeHelper.image.repository The repository within the registry
## @param spiffeHelper.image.pullPolicy The image pull policy
## @param spiffeHelper.image.tag Overrides the image tag whose default is the chart appVersion
##
image:
registry: ghcr.io
repository: spiffe/spiffe-helper
pullPolicy: IfNotPresent
tag: 0.8.0
nginx:
## @param nginx.image.registry The OCI registry to pull the image from
## @param nginx.image.repository The repository within the registry
## @param nginx.image.pullPolicy The image pull policy
## @param nginx.image.tag Overrides the image tag whose default is the chart appVersion
##
image:
registry: docker.io
repository: nginxinc/nginx-unprivileged
pullPolicy: IfNotPresent
tag: 1.25.3-alpine
kubectl:
## @param kubectl.image.registry The OCI registry to pull the image from
## @param kubectl.image.repository The repository within the registry
## @param kubectl.image.pullPolicy The image pull policy
## @param kubectl.image.tag Overrides the image tag whose default is the chart appVersion
##
image:
registry: registry.k8s.io
repository: kubectl
pullPolicy: IfNotPresent
tag: ""
yq:
## @param yq.image.registry The OCI registry to pull the image from
## @param yq.image.repository The repository within the registry
## @param yq.image.pullPolicy The image pull policy
## @param yq.image.tag Overrides the image tag whose default is the chart appVersion
##
image:
registry: docker.io
repository: mikefarah/yq
pullPolicy: IfNotPresent
tag: "4.40.5"
busybox:
## @param busybox.image.registry The OCI registry to pull the image from
## @param busybox.image.repository The repository within the registry
## @param busybox.image.pullPolicy The image pull policy
## @param busybox.image.tag Overrides the image tag whose default is the chart appVersion
##
image:
registry: docker.io
repository: busybox
pullPolicy: IfNotPresent
tag: "1.36.1-uclibc"
## @param imagePullSecrets [array] Pull secrets for images
imagePullSecrets: []
## @param nameOverride Name override
nameOverride: ""
## @param fullnameOverride Fullname override
fullnameOverride: ""
## @param serviceAccount.create Specifies whether a service account should be created
## @param serviceAccount.annotations [object] Annotations to add to the service account
## @param serviceAccount.name The name of the service account to use. If not set and create is true, a name is generated.
##
serviceAccount:
create: true
annotations: {}
name: ""
## @param podAnnotations [object] Additional pod annotations to add
podAnnotations: {}
## @param podLabels [object] Additional pod labels to add
podLabels: {}
## @param podSecurityContext [object} Specify pod security context settings
podSecurityContext: {}
# fsGroup: 2000
## @param securityContext [object] Specify container security context settings
securityContext:
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
# FIXME
runAsUser: 0
fetchCA:
## @param fetchCA.replicaCount Number of replicas to launch
replicaCount: 1
## @param fetchCA.service.type The type of service to deploy
## @param fetchCA.service.port The port number of the service port
service:
type: ClusterIP
port: 443
ingress:
## @param fetchCA.ingress.enabled Flag to enable ingress
enabled: false
## @param fetchCA.ingress.className Ingress class name
className: ""
## @param fetchCA.ingress.controllerType Specify what type of ingress controller you're using to add the necessary annotations accordingly. If blank, autodetection is attempted. If other, no annotations will be added. Must be one of [ingress-nginx, openshift, other, ""].
controllerType: ""
## @param fetchCA.ingress.annotations [object] Annotations for the ingress object
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
# nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
# If Profile Type == https_spiffe:
# nginx.ingress.kubernetes.io/ssl-passthrough: "true"
## @param fetchCA.ingress.host Host name for the ingress. If no '.' in host, trustDomain is automatically appended. The rest of the rules will be autogenerated. For more customizability, use hosts[] instead.
host: "spiffe-step-ssh-fetchca"
## @param fetchCA.ingress.tlsSecret Secret that has the certs. If blank will use default certs. Used with host var.
tlsSecret: ""
## @param fetchCA.ingress.hosts [array] Host paths for ingress object. If empty, rules will be built based on the host var.
hosts: []
# - host: spiffe-step-ssh-fetchca.example.org
# paths:
# - path: /
# pathType: Prefix
## @param fetchCA.ingress.tls [array] Secrets containing TLS certs to enable https on ingress. If empty, rules will be built based on the host and tlsSecret vars.
tls: []
# - hosts:
# - spiffe-step-ssh-fetchca.example.org
## @param fetchCA.autoscaling.enabled Enable autoscaling
## @param fetchCA.autoscaling.minReplicas Minimum number of replicas to deploy
## @param fetchCA.autoscaling.maxReplicas Maximum number of replicas to deploy
## @param fetchCA.autoscaling.targetCPUUtilizationPercentage Target CPU utilization to use for autoscaling
autoscaling:
enabled: false
minReplicas: 1
maxReplicas: 100
targetCPUUtilizationPercentage: 80
# targetMemoryUtilizationPercentage: 80
## @param fetchCA.resources [object] Specify resources
resources: {}
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
spiffeHelper:
## @param fetchCA.spiffeHelper.resources [object] Specify resources for the SPIFFE helper
resources: {}
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
## @param fetchCA.nodeSelector [object] Specify node selector
nodeSelector: {}
## @param fetchCA.tolerations [array] Specify tolerations
tolerations: []
## @param fetchCA.affinity [object] Specify affinity
affinity: {}
config:
## @param config.resources [object] Specify resources
resources: {}
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
## @param config.nodeSelector [object] Specify node selector
nodeSelector: {}
## @param config.tolerations [array] Specify tolerations
tolerations: []
## @param config.affinity [object] Specify affinity
affinity: {}

View File

@ -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/

View File

@ -0,0 +1,22 @@
apiVersion: v2
name: spire-crds
description: >
A Helm chart for deploying the Spire CRDS
type: application
version: 0.5.0
appVersion: "0.0.1"
keywords: ["spire-crds"]
home: https://github.com/spiffe/helm-charts-hardened/tree/main/charts/spire
sources:
- https://github.com/spiffe/helm-charts-hardened/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

View File

@ -0,0 +1,24 @@
# spire-crds
![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.7.2](https://img.shields.io/badge/AppVersion-1.7.2-informational?style=flat-square)
A Helm chart to install the SPIRE CRDS.
**Homepage:** <https://github.com/spiffe/helm-charts-hardened/tree/main/charts/spire>
## Maintainers
| Name | Email | Url |
| ---- | ------ | --- |
| marcofranssen | <marco.franssen@gmail.com> | <https://marcofranssen.nl> |
| kfox1111 | <Kevin.Fox@pnnl.gov> | |
| faisal-memon | <fymemon@yahoo.com> | |
| edwbuck | <edwbuck@gmail.com> | |
## Source Code
* <https://github.com/spiffe/helm-charts-hardened/tree/main/charts/spire-crds>
<!-- The parameters section is generated using helm-docs.sh and should not be edited by hand. -->
## Parameters

View File

@ -3,7 +3,8 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
annotations: annotations:
controller-gen.kubebuilder.io/version: v0.8.0 controller-gen.kubebuilder.io/version: v0.11.1
{{- .Values.annotations | toYaml | nindent 4 }}
creationTimestamp: null creationTimestamp: null
name: clusterfederatedtrustdomains.spire.spiffe.io name: clusterfederatedtrustdomains.spire.spiffe.io
spec: spec:
@ -64,6 +65,9 @@ spec:
description: BundleEndpointURL is the URL of the bundle endpoint. description: BundleEndpointURL is the URL of the bundle endpoint.
It must be an HTTPS URL and cannot contain userinfo (i.e. username/password). It must be an HTTPS URL and cannot contain userinfo (i.e. username/password).
type: string type: string
className:
description: Set the class of controller to handle this object.
type: string
trustDomain: trustDomain:
description: TrustDomain is the name of the trust domain to federate description: TrustDomain is the name of the trust domain to federate
with (e.g. example.org) with (e.g. example.org)

View File

@ -3,7 +3,8 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
annotations: annotations:
controller-gen.kubebuilder.io/version: v0.8.0 controller-gen.kubebuilder.io/version: v0.11.1
{{- .Values.annotations | toYaml | nindent 4 }}
creationTimestamp: null creationTimestamp: null
name: clusterspiffeids.spire.spiffe.io name: clusterspiffeids.spire.spiffe.io
spec: spec:
@ -40,6 +41,15 @@ spec:
access the SPIRE administrative APIs. Extra care should be taken access the SPIRE administrative APIs. Extra care should be taken
to only apply this SPIFFE ID to admin workloads. to only apply this SPIFFE ID to admin workloads.
type: boolean type: boolean
autoPopulateDNSNames:
description: AutoPopulateDNSNames indicates whether or not to auto
populate service DNS names.
type: boolean
fallback:
description: |-
Apply this ID only if there are no other matching non fallback
ClusterSPIFFEIDs
type: boolean
dnsNameTemplates: dnsNameTemplates:
description: DNSNameTemplate represents templates for extra DNS names description: DNSNameTemplate represents templates for extra DNS names
that are applicable to SVIDs minted for this ClusterSPIFFEID. The that are applicable to SVIDs minted for this ClusterSPIFFEID. The
@ -48,14 +58,28 @@ spec:
items: items:
type: string type: string
type: array type: array
downstream:
description: Downstream indicates that the entry describes a downstream
SPIRE server.
type: boolean
className:
description: Set the class of controller to handle this object.
type: string
federatesWith: federatesWith:
description: FederatesWith is a list of trust domain names that workloads description: FederatesWith is a list of trust domain names that workloads
that obtain this SPIFFE ID will federate with. that obtain this SPIFFE ID will federate with.
items: items:
type: string type: string
type: array type: array
hint:
description: Set the entry hint
type: string
jwtTtl:
description: JWTTTL indicates an upper-bound time-to-live for JWT
SVIDs minted for this ClusterSPIFFEID.
type: string
namespaceSelector: namespaceSelector:
description: NamespaceSelector selects the namespaces that are targetted description: NamespaceSelector selects the namespaces that are targeted
by this CRD. by this CRD.
properties: properties:
matchExpressions: matchExpressions:
@ -99,8 +123,9 @@ spec:
are ANDed. are ANDed.
type: object type: object
type: object type: object
x-kubernetes-map-type: atomic
podSelector: podSelector:
description: PodSelector selects the pods that are targetted by this description: PodSelector selects the pods that are targeted by this
CRD. CRD.
properties: properties:
matchExpressions: matchExpressions:
@ -144,14 +169,15 @@ spec:
are ANDed. are ANDed.
type: object type: object
type: object type: object
x-kubernetes-map-type: atomic
spiffeIDTemplate: spiffeIDTemplate:
description: SPIFFEID is the SPIFFE ID template. The node and pod description: SPIFFEID is the SPIFFE ID template. The node and pod
spec are made available to the template under .NodeSpec, .PodSpec spec are made available to the template under .NodeSpec, .PodSpec
respectively. respectively.
type: string type: string
ttl: ttl:
description: TTL indicates an upper-bound time-to-live for SVIDs minted description: TTL indicates an upper-bound time-to-live for X509 SVIDs
for this ClusterSPIFFEID. If unset, a default will be chosen. minted for this ClusterSPIFFEID. If unset, a default will be chosen.
type: string type: string
workloadSelectorTemplates: workloadSelectorTemplates:
description: WorkloadSelectorTemplates are templates to produce arbitrary description: WorkloadSelectorTemplates are templates to produce arbitrary

View File

@ -0,0 +1,103 @@
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.11.1
{{- .Values.annotations | toYaml | nindent 4 }}
creationTimestamp: null
name: clusterstaticentries.spire.spiffe.io
spec:
group: spire.spiffe.io
names:
kind: ClusterStaticEntry
listKind: ClusterStaticEntryList
plural: clusterstaticentries
singular: clusterstaticentry
scope: Cluster
versions:
- name: v1alpha1
schema:
openAPIV3Schema:
description: ClusterStaticEntry is the Schema for the clusterstaticentries
API
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
description: ClusterStaticEntrySpec defines the desired state of ClusterStaticEntry
properties:
admin:
type: boolean
className:
description: Set the class of controller to handle this object.
type: string
dnsNames:
items:
type: string
type: array
downstream:
type: boolean
federatesWith:
items:
type: string
type: array
hint:
type: string
jwtSVIDTTL:
type: string
parentID:
type: string
selectors:
items:
type: string
type: array
spiffeID:
type: string
storeSVID:
type: boolean
x509SVIDTTL:
type: string
required:
- parentID
- selectors
- spiffeID
type: object
status:
description: ClusterStaticEntryStatus defines the observed state of ClusterStaticEntry
properties:
masked:
description: If the static entry was masked by another entry.
type: boolean
rendered:
description: If the static entry rendered properly.
type: boolean
set:
description: If the static entry was successfully created/updated.
type: boolean
required:
- masked
- rendered
- set
type: object
type: object
served: true
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []

View File

@ -0,0 +1,3 @@
annotations:
## @param annotations.helm.sh/resource-policy keep the crds after chart deletion
helm.sh/resource-policy: keep

View File

@ -0,0 +1,24 @@
# 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/
ci/

View File

@ -0,0 +1,116 @@
apiVersion: v2
name: spire-nested
description: >
A Helm chart for deploying the complete Spire stack including: spire-server, spire-agent, spiffe-csi-driver, spiffe-oidc-discovery-provider and spire-controller-manager.
type: application
version: 0.26.1
appVersion: "1.12.4"
keywords: ["spiffe", "spire", "spire-server", "spire-agent", "oidc", "spire-controller-manager"]
home: https://github.com/spiffe/helm-charts-hardened/tree/main/charts/spire
sources:
- https://github.com/spiffe/helm-charts-hardened/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
kubeVersion: ">=1.21.0-0"
dependencies:
- name: spire-lib
repository: file://../spire/charts/spire-lib
version: 0.1.0
- name: spire-server
alias: root-spire-server
condition: root-spire-server.enabled
tags:
- nestedRoot
repository: file://../spire/charts/spire-server
version: 0.1.0
- name: spire-server
alias: external-root-spire-server-full
condition: external-root-spire-server-full.enabled
tags:
- nestedChildFull
repository: file://../spire/charts/spire-server
version: 0.1.0
- name: spire-server
alias: external-root-spire-server-security
condition: external-root-spire-server-security.enabled
tags:
- nestedChildSecurity
repository: file://../spire/charts/spire-server
version: 0.1.0
- name: spire-server
alias: internal-spire-server
condition: internal-spire-server.enabled
tags:
- nestedRoot
- nestedChildFull
repository: file://../spire/charts/spire-server
version: 0.1.0
- name: spire-server
alias: external-spire-server
condition: external-spire-server.enabled
tags:
- nestedRoot
repository: file://../spire/charts/spire-server
version: 0.1.0
- name: spire-agent
alias: downstream-spire-agent-full
condition: downstream-spire-agent-full.enabled
tags:
- nestedRoot
- nestedChildFull
repository: file://../spire/charts/spire-agent
version: 0.1.0
- name: spire-agent
alias: downstream-spire-agent-security
condition: downstream-spire-agent-security.enabled
tags:
- nestedChildSecurity
repository: file://../spire/charts/spire-agent
version: 0.1.0
- name: spire-agent
alias: upstream-spire-agent
condition: upstream-spire-agent.enabled
tags:
- nestedRoot
- nestedChildFull
repository: file://../spire/charts/spire-agent
version: 0.1.0
- name: spiffe-csi-driver
alias: downstream-spiffe-csi-driver
condition: downstream-spiffe-csi-driver.enabled
tags:
- nestedRoot
- nestedChildFull
- nestedChildSecurity
repository: file://../spire/charts/spiffe-csi-driver
version: 0.1.0
- name: spiffe-csi-driver
alias: upstream-spiffe-csi-driver
condition: upstream-spiffe-csi-driver.enabled
tags:
- nestedRoot
- nestedChildFull
repository: file://../spire/charts/spiffe-csi-driver
version: 0.1.0
- name: spiffe-oidc-discovery-provider
condition: spiffe-oidc-discovery-provider.enabled
tags:
- nestedRoot
- nestedChildFull
- nestedChildSecurity
repository: file://../spire/charts/spiffe-oidc-discovery-provider
version: 0.1.0
- name: tornjak-frontend
condition: tornjak-frontend.enabled
repository: file://../spire/charts/tornjak-frontend
version: 0.1.0
annotations:
artifacthub.io/category: security
artifacthub.io/license: Apache-2.0

201
charts/spire-nested/LICENSE Normal file
View File

@ -0,0 +1,201 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

View File

@ -0,0 +1,355 @@
# spire
![Version: 0.26.1](https://img.shields.io/badge/Version-0.26.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.12.4](https://img.shields.io/badge/AppVersion-1.12.4-informational?style=flat-square)
[![Development Phase](https://github.com/spiffe/spiffe/blob/main/.img/maturity/dev.svg)](https://github.com/spiffe/spiffe/blob/main/MATURITY.md#development)
A Helm chart for deploying the complete Spire stack including: spire-server, spire-agent, spiffe-csi-driver, spiffe-oidc-discovery-provider and spire-controller-manager.
**Homepage:** <https://github.com/spiffe/helm-charts-hardened/tree/main/charts/spire>
## Install Instructions
### Non Production
To do a quick install suitable for testing in something like minikube:
```shell
helm upgrade --install -n spire-server spire-crds spire-crds --repo https://spiffe.github.io/helm-charts-hardened/ --create-namespace
helm upgrade --install -n spire-server spire spire-nested --repo https://spiffe.github.io/helm-charts-hardened/
```
### Production
Preparing a production deployment requires a few steps.
1. Save the following to your-values.yaml, ideally in your git repo.
```yaml
global:
openshift: false # If running on openshift, set to true
spire:
recommendations:
enabled: true
namespaces:
create: true
ingressControllerType: "" # If not openshift, and want to expose services, set to a supported option [ingress-nginx]
# Update these
clusterName: example-cluster
trustDomain: example.org
caSubject:
country: ARPA
organization: Example
commonName: example.org
```
2. If you need a non default storageClass, append the following to the spire-server section and update:
```
persistence:
storageClass: your-storage-class
```
3. If your Kubernetes cluster is OpenShift based, use the output of the following command to update the trustDomain setting:
```shell
oc get cm -n openshift-config-managed console-public -o go-template="{{ .data.consoleURL }}" | sed 's@https://@@; s/^[^.]*\.//'
```
4. Find any additional values you might want to set based on the documentation below or using the [examples](https://github.com/spiffe/helm-charts-hardened/tree/main/examples)
In particular, consider using an external database.
5. Deploy
```shell
helm upgrade --install -n spire-mgmt spire-crds spire-crds --repo https://spiffe.github.io/helm-charts-hardened/ --create-namespace
helm upgrade --install -n spire-mgmt spire spire-nested --repo https://spiffe.github.io/helm-charts-hardened/ -f your-values.yaml
```
## Clean up
```shell
helm -n spire-mgmt uninstall spire-crds
helm -n spire-mgmt uninstall spire
kubectl -n spire-server delete pvc -l app.kubernetes.io/instance=spire
kubectl delete crds clusterfederatedtrustdomains.spire.spiffe.io clusterspiffeids.spire.spiffe.io clusterstaticentries.spire.spiffe.io
```
## Upgrade notes
We only support upgrading one major version at a time. Version skipping isn't supported.
### 0.17.X
- If you set spire-server.replicaCount > 1, update it to 1 before upgrading and after upgrade you can set it back to its previous value.
- The SPIFFE OIDC Discovery Provider now has many new TLS options and defaults to using SPIRE to issue its certificate.
- The `spiffe-oidc-discovery-provider.insecureScheme.enabled` flag was removed. If you previously set that flag, remove the setting from your values.yaml and see if the new default of using a SPIRE issued certificate is suitable for your deployment. If it isn't, please consider one of the other options under `spiffe-oidc-discovery-provider.tls`. If all other options are still unsuitable, you can still enable the previous mode by disabling TLS. (`spiffe-oidc-discovery-provider.tls.spire.enabled=false`)
- The SPIFFE OIDC Discovery Provider is now enabled by default. If you previously chose to have it off, you can disable it explicitly with `spiffe-oidc-discovery-provider.enabled=false`.
### 0.16.X
The settings under "spire-server.controllerManager.identities" have all been moved under "spire-server.controllerManager.identities.clusterSPIFFEIDs.default". If you have changed any from the defaults, please update them to the new location during upgrade.
### 0.15.X
The spire-crds chart has been updated. Please ensure you have upgraded spire-crds before upgrading the spire chart.
The chart now supports multiple parallel installs of spire-controller-manager. Each install will handle all custom resources with a matching `className` field. By default this is set to `Release.Namespace-Release.Name` and the controller manager will only pick up custom resources with this `className`.
If you have not loaded any SPIRE custom resources yourself, the upgrade process will be transparent. If you have loaded your own SPIRE custom resources, set `spire-server.controllerManager.watchClassless=true` until you can update your SPIRE custom resources to have the `className` for the instance specified.
### 0.14.X
If coming from a chart version before 0.14.0, you must relabel your crds to switch to using the new spire-crds chart. To migrate to the spire-crds chart
run the following:
Replace the spire-server namespace in the commands below with the namespace you want to install the spire-crds chart in.
```shell
kubectl label crd "clusterfederatedtrustdomains.spire.spiffe.io" "app.kubernetes.io/managed-by=Helm"
kubectl annotate crd "clusterfederatedtrustdomains.spire.spiffe.io" "meta.helm.sh/release-name=spire-crds"
kubectl annotate crd "clusterfederatedtrustdomains.spire.spiffe.io" "meta.helm.sh/release-namespace=spire-server"
kubectl label crd "clusterspiffeids.spire.spiffe.io" "app.kubernetes.io/managed-by=Helm"
kubectl annotate crd "clusterspiffeids.spire.spiffe.io" "meta.helm.sh/release-name=spire-crds"
kubectl annotate crd "clusterspiffeids.spire.spiffe.io" "meta.helm.sh/release-namespace=spire-server"
kubectl label crd "controllermanagerconfigs.spire.spiffe.io" "app.kubernetes.io/managed-by=Helm"
kubectl annotate crd "controllermanagerconfigs.spire.spiffe.io" "meta.helm.sh/release-name=spire-crds"
kubectl annotate crd "controllermanagerconfigs.spire.spiffe.io" "meta.helm.sh/release-namespace=spire-server"
helm install -n spire-server spire-crds charts/spire-crds
```
## Version support
> [!Warning]
> This Chart is still in development and still subject to change the API (`values.yaml`).
> Until we reach a `1.0.0` version of the chart we can't guarantee backwards compatibility although
> we do aim for as much stability as possible.
| Dependency | Supported Versions |
|:-----------|:-------------------|
| Helm | `3.x` |
| Kubernetes | `1.22+` |
> [!Note]
> For Kubernetes, we will officially support the last 3 versions as described in [k8s versioning](https://kubernetes.io/releases/version-skew-policy/#supported-versions). Any version before the last 3 we will try to support as long it doesn't bring security issues or any big maintenance burden.
## FAQ
For any issues see our [FAQ](../../FAQ.md)…
## Usage
To utilize Spire in your own workloads you should add the following to your workload:
```diff
apiVersion: v1
kind: Pod
metadata:
name: my-app
spec:
containers:
- name: my-app
image: "my-app:latest"
imagePullPolicy: Always
+ volumeMounts:
+ - name: spiffe-workload-api
+ mountPath: /spiffe-workload-api
+ readOnly: true
resources:
requests:
cpu: 200m
memory: 32Mi
limits:
cpu: 500m
memory: 64Mi
+ volumes:
+ - name: spiffe-workload-api
+ csi:
+ driver: "csi.spiffe.io"
+ readOnly: true
```
Now you can interact with the Spire agent socket from your own application. The socket is mounted on `/spiffe-workload-api/spire-agent.sock`.
## Maintainers
| Name | Email | Url |
| ---- | ------ | --- |
| marcofranssen | <marco.franssen@gmail.com> | <https://marcofranssen.nl> |
| kfox1111 | <Kevin.Fox@pnnl.gov> | |
| faisal-memon | <fymemon@yahoo.com> | |
| edwbuck | <edwbuck@gmail.com> | |
## Source Code
* <https://github.com/spiffe/helm-charts-hardened/tree/main/charts/spire>
## Requirements
| Repository | Name | Version |
|------------|------|---------|
| file://./charts/spiffe-csi-driver | spiffe-csi-driver | 0.1.0 |
| file://./charts/spiffe-csi-driver | upstream-spiffe-csi-driver(spiffe-csi-driver) | 0.1.0 |
| 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-server | spire-server | 0.1.0 |
| file://./charts/tornjak-frontend | tornjak-frontend | 0.1.0 |
<!-- The parameters section is generated using helm-docs.sh and should not be edited by hand. -->
## Parameters
### Global parameters
| Name | Description | Value |
| ------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------- |
| `global.k8s.clusterDomain` | Cluster domain name configured for Spire install | `cluster.local` |
| `global.spire.clusterName` | The name of the k8s cluster for Spire install | `example-cluster` |
| `global.spire.jwtIssuer` | The issuer for Spire JWT tokens. Defaults to oidc-discovery.$trustDomain if unset | `""` |
| `global.spire.trustDomain` | The trust domain for Spire install | `example.org` |
| `global.spire.caSubject.country` | Country for Spire server CA | `""` |
| `global.spire.caSubject.organization` | Organization for Spire server CA | `""` |
| `global.spire.caSubject.commonName` | Common Name for Spire server CA | `""` |
| `global.spire.recommendations.enabled` | Use recommended settings for production deployments. Default is off. | `false` |
| `global.spire.recommendations.namespaceLayout` | Set to true to use recommended values for installing across namespaces | `true` |
| `global.spire.recommendations.namespacePSS` | When chart namespace creation is enabled, label them with preffered Pod Security Standard labels | `true` |
| `global.spire.recommendations.priorityClassName` | Set to true to use recommended values for Pod Priority Class Names | `true` |
| `global.spire.recommendations.strictMode` | Check values, such as trustDomain, are overridden with a suitable value for production. | `true` |
| `global.spire.recommendations.securityContexts` | Set to true to use recommended values for Pod and Container Security Contexts | `true` |
| `global.spire.recommendations.prometheus` | Enable prometheus exporters for monitoring | `true` |
| `global.spire.image.registry` | Override all Spire image registries at once | `""` |
| `global.spire.namespaces.create` | Set to true to Create all namespaces. If this or either of the namespace specific create flags is set, the namespace will be created. | `false` |
| `global.spire.namespaces.system.name` | Name of the Spire system Namespace. | `spire-system` |
| `global.spire.namespaces.system.create` | Create a Namespace for Spire system resources. | `false` |
| `global.spire.namespaces.system.annotations` | Annotations to apply to the Spire system Namespace. | `{}` |
| `global.spire.namespaces.system.labels` | Labels to apply to the Spire system Namespace. | `{}` |
| `global.spire.namespaces.server.name` | Name of the Spire server Namespace. | `spire-server` |
| `global.spire.namespaces.server.create` | Create a Namespace for Spire server resources. | `false` |
| `global.spire.namespaces.server.annotations` | Annotations to apply to the Spire server Namespace. | `{}` |
| `global.spire.namespaces.server.labels` | Labels to apply to the Spire server Namespace. | `{}` |
| `global.spire.strictMode` | Check values, such as trustDomain, are overridden with a suitable value for production. | `false` |
| `global.spire.ingressControllerType` | Specify what type of ingress controller you're using to add the necessary annotations accordingly. If blank, autodetection is attempted. If other, no annotations will be added. Must be one of [ingress-nginx, openshift, other, ""]. | `""` |
| `global.spire.tools.kubectl.tag` | Set to force the tag to use for all kubectl instances | `""` |
| `global.installAndUpgradeHooks.enabled` | Enable Helm hooks to autofix common install/upgrade issues (should be disabled when using `helm template`) | `true` |
| `global.deleteHooks.enabled` | Enable Helm hooks to autofix common delete issues (should be disabled when using `helm template`) | `true` |
| `tags.nestedRoot` | Set the chart architecture to root nested | `false` |
| `tags.nestedChildFull` | Set the chart mode to a child cluster with its own nested server | `false` |
| `tags.nestedChildSecurity` | Set the chart mode to a child cluster for use with a security cluster | `false` |
### Spire agent parameters
| Name | Description | Value |
| -------------------------------------------------- | -------------------------------------------------------------- | ------------------------------------- |
| `downstream-spire-agent-full.nameOverride` | Overrides the name of Spire agent pods | `agent-downstream` |
| `downstream-spire-agent-full.server.nameOverride` | The name override setting of the internal SPIRE server | `internal-server` |
| `downstream-spire-agent-full.bundleConfigMap` | The name of the configmap that contains the downstream bundle | `spire-bundle-downstream` |
| `downstream-spire-agent-full.persistence.hostPath` | Which path to use on the host when persistence.type = hostPath | `/var/lib/spire/k8s/downstream-agent` |
### Spire agent parameters
| Name | Description | Value |
| ------------------------------------------------------ | -------------------------------------------------------------- | ------------------------------------- |
| `downstream-spire-agent-security.nameOverride` | Overrides the name of Spire agent pods | `agent-downstream` |
| `downstream-spire-agent-security.bundleConfigMap` | The name of the configmap that contains the downstream bundle | `spire-bundle-upstream` |
| `downstream-spire-agent-security.serviceAccount.name` | The name of the service account to use | `spire-agent-upstream` |
| `downstream-spire-agent-security.persistence.hostPath` | Which path to use on the host when persistence.type = hostPath | `/var/lib/spire/k8s/downstream-agent` |
### Upstream Spire agent parameters
| Name | Description | Value |
| ------------------------------------------------ | -------------------------------------------------------------- | ---------------------------------------------------- |
| `upstream-spire-agent.upstream` | Flag for enabling upstream Spire agent | `true` |
| `upstream-spire-agent.nameOverride` | Name override for upstream Spire agent | `agent-upstream` |
| `upstream-spire-agent.bundleConfigMap` | The configmap name for upstream Spire agent bundle | `spire-bundle-upstream` |
| `upstream-spire-agent.socketPath` | Socket path where Spire agent socket is mounted | `/run/spire/agent-sockets-upstream/spire-agent.sock` |
| `upstream-spire-agent.serviceAccount.name` | Service account name for upstream Spire agent | `spire-agent-upstream` |
| `upstream-spire-agent.healthChecks.port` | Health check port number for upstream Spire agent | `9981` |
| `upstream-spire-agent.telemetry.prometheus.port` | The port where prometheus metrics are available | `9989` |
| `upstream-spire-agent.server.nameOverride` | The name override setting of the root SPIRE server | `root-server` |
| `upstream-spire-agent.persistence.hostPath` | Which path to use on the host when persistence.type = hostPath | `/var/lib/spire/k8s/upstream-agent` |
### SPIFFE CSI Driver parameters
| Name | Description | Value |
| ----------------------------------------------- | ----------------- | ------------------------------ |
| `downstream-spiffe-csi-driver.fullnameOverride` | Fullname override | `spiffe-csi-driver-downstream` |
### Upstream SPIFFE CSI Driver parameters
| Name | Description | Value |
| ---------------------------------------------- | ----------------------------------------------------------- | ---------------------------------------------------- |
| `upstream-spiffe-csi-driver.fullnameOverride` | Fullname override | `spiffe-csi-driver-upstream` |
| `upstream-spiffe-csi-driver.pluginName` | The plugin name for configuring upstream Spiffe CSI driver | `upstream.csi.spiffe.io` |
| `upstream-spiffe-csi-driver.agentSocketPath` | The socket path where Spiffe CSI driver mounts agent socket | `/run/spire/agent-sockets-upstream/spire-agent.sock` |
| `upstream-spiffe-csi-driver.healthChecks.port` | The port where Spiffe CSI driver health checks are exposed | `9810` |
### SPIFFE oidc discovery provider parameters
| Name | Description | Value |
| ------------------------------------------------- | ----------------- | -------------------------------- |
| `spiffe-oidc-discovery-provider.fullnameOverride` | Fullname override | `spiffe-oidc-discovery-provider` |
### Tornjak frontend parameters
| Name | Description | Value |
| --------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------- |
| `tornjak-frontend.enabled` | Enables deployment of Tornjak frontend/UI (Not for production) | `false` |
| `root-spire-server.nameOverride` | Name override | `root-server` |
| `root-spire-server.crNameOverride` | Custom Resource name override | `root` |
| `root-spire-server.controllerManager.enabled` | Enable controller manager and provision CRD's | `true` |
| `root-spire-server.controllerManager.externalControllerManagers.enabled` | Flag to enable external controller managers | `true` |
| `root-spire-server.controllerManager.validatingWebhookConfiguration.enabled` | Disable only when you have another instance on the k8s cluster with webhooks enabled. | `false` |
| `root-spire-server.controllerManager.className` | specify to use an explicit class name. | `spire-mgmt-root-server` |
| `root-spire-server.controllerManager.identities.clusterSPIFFEIDs.child-servers.enabled` | Enable child servers | `true` |
| `root-spire-server.controllerManager.identities.clusterSPIFFEIDs.default.enabled` | Enable the default cluster spiffe id | `false` |
| `root-spire-server.controllerManager.identities.clusterSPIFFEIDs.oidc-discovery-provider.enabled` | Enable the test-keys identity | `false` |
| `root-spire-server.controllerManager.identities.clusterSPIFFEIDs.test-keys.enabled` | Enable the test-keys identity | `false` |
| `root-spire-server.externalControllerManagers.enabled` | Flag to enable external controller managers | `true` |
| `root-spire-server.nodeAttestor.k8sPSAT.serviceAccountAllowList` | Allowed service accounts for PSAT nodeattestor | `[]` |
| `root-spire-server.bundleConfigMap` | The name of the configmap to store the upstream bundle | `spire-bundle-upstream` |
| `external-root-spire-server-full.externalServer` | Set to true to setup the bundle configmap, rbac rules, and identity documents but doesn't deploy the server locally. Useful for external servers. | `true` |
| `external-root-spire-server-full.nameOverride` | Name override | `root-server` |
| `external-root-spire-server-full.crNameOverride` | Custom Resource name override | `root` |
| `external-root-spire-server-full.controllerManager.enabled` | Enable controller manager and provision CRD's | `true` |
| `external-root-spire-server-full.controllerManager.validatingWebhookConfiguration.enabled` | Disable only when you have another instance on the k8s cluster with webhooks enabled. | `false` |
| `external-root-spire-server-full.controllerManager.className` | specify to use an explicit class name. | `spire-mgmt-external-server` |
| `external-root-spire-server-full.controllerManager.identities.clusterSPIFFEIDs.child-servers.enabled` | Enable child servers | `true` |
| `external-root-spire-server-full.controllerManager.identities.clusterSPIFFEIDs.default.enabled` | Enable the default cluster spiffe id | `false` |
| `external-root-spire-server-full.controllerManager.identities.clusterSPIFFEIDs.oidc-discovery-provider.enabled` | Enable the test-keys identity | `false` |
| `external-root-spire-server-full.controllerManager.identities.clusterSPIFFEIDs.test-keys.enabled` | Enable the test-keys identity | `false` |
| `external-root-spire-server-full.nodeAttestor.k8sPSAT.serviceAccountAllowList` | Allowed service accounts for PSAT nodeattestor | `[]` |
| `external-root-spire-server-full.bundleConfigMap` | The name of the configmap to store the upstream bundle | `spire-bundle-upstream` |
| `external-root-spire-server-security.externalServer` | Set to true to setup the bundle configmap, rbac rules, and identity documents but doesn't deploy the server locally. Useful for external servers. | `true` |
| `external-root-spire-server-security.nameOverride` | Name override | `root-server` |
| `external-root-spire-server-security.crNameOverride` | Custom Resource name override | `root` |
| `external-root-spire-server-security.controllerManager.enabled` | Enable controller manager and provision CRD's | `true` |
| `external-root-spire-server-security.controllerManager.validatingWebhookConfiguration.enabled` | Disable only when you have another instance on the k8s cluster with webhooks enabled. | `false` |
| `external-root-spire-server-security.controllerManager.className` | specify to use an explicit class name. | `spire-mgmt-external-server` |
| `external-root-spire-server-security.nodeAttestor.k8sPSAT.serviceAccountAllowList` | Allowed service accounts for PSAT nodeattestor | `[]` |
| `external-root-spire-server-security.bundleConfigMap` | The name of the configmap to store the upstream bundle | `spire-bundle-upstream` |
### Spire server parameters
| Name | Description | Value |
| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------- | ---------------------------- |
| `internal-spire-server.nameOverride` | Overrides the name of Spire server pods | `internal-server` |
| `internal-spire-server.controllerManager.enabled` | Enable controller manager and provision CRD's | `true` |
| `internal-spire-server.controllerManager.identities.clusterSPIFFEIDs.oidc-discovery-provider.autoPopulateDNSNames` | Auto populate dns entries | `false` |
| `internal-spire-server.externalControllerManagers.enabled` | Flag to enable external controller managers | `true` |
| `internal-spire-server.upstreamAuthority.spire.enabled` | Enable upstream SPIRE server | `true` |
| `internal-spire-server.upstreamAuthority.spire.upstreamDriver` | Use an upstream driver for authentication | `upstream.csi.spiffe.io` |
| `internal-spire-server.upstreamAuthority.spire.server.nameOverride` | The name override setting of the root SPIRE server | `root-server` |
| `internal-spire-server.bundleConfigMap` | The name of the configmap to store the downstream bundle | `spire-bundle-downstream` |
| `external-spire-server.nameOverride` | Overrides the name of Spire server pods | `external-server` |
| `external-spire-server.crNameOverride` | Custom Resource name override | `external` |
| `external-spire-server.controllerManager.enabled` | Enable controller manager and provision CRD's | `true` |
| `external-spire-server.controllerManager.validatingWebhookConfiguration.enabled` | Disable only when you have another instance on the k8s cluster with webhooks enabled. | `false` |
| `external-spire-server.controllerManager.className` | specify to use an explicit class name. | `spire-mgmt-external-server` |
| `external-spire-server.controllerManager.identities.clusterSPIFFEIDs.default.enabled` | Enable the default identity | `false` |
| `external-spire-server.controllerManager.identities.clusterSPIFFEIDs.oidc-discovery-provider.enabled` | Enable the oidc-discovery-provider identity | `false` |
| `external-spire-server.controllerManager.identities.clusterSPIFFEIDs.test-keys.enabled` | Enable the test-keys identity | `false` |
| `external-spire-server.externalControllerManagers.enabled` | Flag to enable external controller managers | `true` |
| `external-spire-server.upstreamAuthority.spire.enabled` | Enable upstream SPIRE server | `true` |
| `external-spire-server.upstreamAuthority.spire.upstreamDriver` | Use an upstream driver for authentication | `upstream.csi.spiffe.io` |
| `external-spire-server.upstreamAuthority.spire.server.nameOverride` | The name override setting of the root SPIRE server | `root-server` |
| `external-spire-server.bundlePublisher.k8sConfigMap.enabled` | Enable local k8s bundle uploader | `false` |
| `external-spire-server.nodeAttestor.k8sPSAT.enabled` | Enable PSAT k8s nodeattestor | `false` |
| `external-spire-server.nodeAttestor.joinToken.enabled` | Enable the join_token nodeattestor | `true` |

View File

@ -0,0 +1,3 @@
{{- include "spire-lib.namespace.system" . }}
---
{{- include "spire-lib.namespace.server" . }}

View File

@ -0,0 +1,397 @@
# Default configuration for Spire chart
# SPDX-License-Identifier: APACHE-2.0
## @section Global parameters
## Note: the parameter values specified here will override the chart level values for these parameters.
##
global:
k8s:
## @param global.k8s.clusterDomain Cluster domain name configured for Spire install
clusterDomain: cluster.local
spire:
## @param global.spire.clusterName The name of the k8s cluster for Spire install
clusterName: example-cluster
## @param global.spire.jwtIssuer The issuer for Spire JWT tokens. Defaults to oidc-discovery.$trustDomain if unset
jwtIssuer: ""
## @param global.spire.trustDomain The trust domain for Spire install
trustDomain: example.org
## @param global.spire.caSubject.country Country for Spire server CA
## @param global.spire.caSubject.organization Organization for Spire server CA
## @param global.spire.caSubject.commonName Common Name for Spire server CA
caSubject:
country: ""
organization: ""
commonName: ""
## @param global.spire.recommendations.enabled Use recommended settings for production deployments. Default is off.
## @param global.spire.recommendations.namespaceLayout Set to true to use recommended values for installing across namespaces
## @param global.spire.recommendations.namespacePSS When chart namespace creation is enabled, label them with preffered Pod Security Standard labels
## @param global.spire.recommendations.priorityClassName Set to true to use recommended values for Pod Priority Class Names
## @param global.spire.recommendations.strictMode Check values, such as trustDomain, are overridden with a suitable value for production.
## @param global.spire.recommendations.securityContexts Set to true to use recommended values for Pod and Container Security Contexts
## @param global.spire.recommendations.prometheus Enable prometheus exporters for monitoring
recommendations:
enabled: false
namespaceLayout: true
namespacePSS: true
priorityClassName: true
strictMode: true
securityContexts: true
prometheus: true
image:
## @param global.spire.image.registry Override all Spire image registries at once
registry: ""
namespaces:
## @param global.spire.namespaces.create Set to true to Create all namespaces. If this or either of the namespace specific create flags is set, the namespace will be created.
create: false
system:
## @param global.spire.namespaces.system.name Name of the Spire system Namespace.
name: "spire-system"
## @param global.spire.namespaces.system.create Create a Namespace for Spire system resources.
create: false
## @param global.spire.namespaces.system.annotations [object] Annotations to apply to the Spire system Namespace.
annotations: {}
## @param global.spire.namespaces.system.labels [object] Labels to apply to the Spire system Namespace.
labels: {}
server:
## @param global.spire.namespaces.server.name Name of the Spire server Namespace.
name: "spire-server"
## @param global.spire.namespaces.server.create Create a Namespace for Spire server resources.
create: false
## @param global.spire.namespaces.server.annotations [object] Annotations to apply to the Spire server Namespace.
annotations: {}
## @param global.spire.namespaces.server.labels [object] Labels to apply to the Spire server Namespace.
labels: {}
## @param global.spire.strictMode Check values, such as trustDomain, are overridden with a suitable value for production.
strictMode: false
## @param global.spire.ingressControllerType Specify what type of ingress controller you're using to add the necessary annotations accordingly. If blank, autodetection is attempted. If other, no annotations will be added. Must be one of [ingress-nginx, openshift, other, ""].
ingressControllerType: ""
tools:
kubectl:
## @param global.spire.tools.kubectl.tag Set to force the tag to use for all kubectl instances
tag: ""
installAndUpgradeHooks:
## @param global.installAndUpgradeHooks.enabled Enable Helm hooks to autofix common install/upgrade issues (should be disabled when using `helm template`)
enabled: true
deleteHooks:
## @param global.deleteHooks.enabled Enable Helm hooks to autofix common delete issues (should be disabled when using `helm template`)
enabled: true
# telemetry:
# prometheus:
# enabled: true
# podMonitor:
# enabled: true
# # -- Allows to install the PodMonitor in another namespace then the spire components are installed into.
# namespace: "kube-prometheus-system"
# labels: {}
tags:
## @param tags.nestedRoot Set the chart architecture to root nested
nestedRoot: false
## @param tags.nestedChildFull Set the chart mode to a child cluster with its own nested server
nestedChildFull: false
## @param tags.nestedChildSecurity Set the chart mode to a child cluster for use with a security cluster
nestedChildSecurity: false
## subcharts
## @section Spire agent parameters
## Parameter values for Spire agent
##
# Used with tags [nestedRoot, nestedChildFull]
downstream-spire-agent-full:
# enabled: true
## @param downstream-spire-agent-full.nameOverride Overrides the name of Spire agent pods
nameOverride: agent-downstream
server:
## @param downstream-spire-agent-full.server.nameOverride The name override setting of the internal SPIRE server
nameOverride: internal-server
## @param downstream-spire-agent-full.bundleConfigMap The name of the configmap that contains the downstream bundle
bundleConfigMap: spire-bundle-downstream
## @param downstream-spire-agent-full.persistence.hostPath Which path to use on the host when persistence.type = hostPath
persistence:
hostPath: /var/lib/spire/k8s/downstream-agent
## @section Spire agent parameters
## Parameter values for Spire agent
##
# Used with tags [nestedChildSecurity]
downstream-spire-agent-security:
# enabled: true
## @param downstream-spire-agent-security.nameOverride Overrides the name of Spire agent pods
nameOverride: agent-downstream
## @param downstream-spire-agent-security.bundleConfigMap The name of the configmap that contains the downstream bundle
bundleConfigMap: spire-bundle-upstream
serviceAccount:
## @param downstream-spire-agent-security.serviceAccount.name The name of the service account to use
name: spire-agent-upstream
## @param downstream-spire-agent-security.persistence.hostPath Which path to use on the host when persistence.type = hostPath
persistence:
hostPath: /var/lib/spire/k8s/downstream-agent
## @section Upstream Spire agent parameters
## Parameter values for upstream Spire agent
##
# Used with tags [nestedRoot, nestedChildFull]
upstream-spire-agent:
# enabled: true
## @param upstream-spire-agent.upstream Flag for enabling upstream Spire agent
upstream: true
## @param upstream-spire-agent.nameOverride Name override for upstream Spire agent
nameOverride: agent-upstream
## @param upstream-spire-agent.bundleConfigMap The configmap name for upstream Spire agent bundle
bundleConfigMap: spire-bundle-upstream
## @param upstream-spire-agent.socketPath Socket path where Spire agent socket is mounted
socketPath: /run/spire/agent-sockets-upstream/spire-agent.sock
serviceAccount:
## @param upstream-spire-agent.serviceAccount.name Service account name for upstream Spire agent
name: spire-agent-upstream
healthChecks:
## @param upstream-spire-agent.healthChecks.port Health check port number for upstream Spire agent
port: 9981
telemetry:
prometheus:
## @param upstream-spire-agent.telemetry.prometheus.port The port where prometheus metrics are available
port: 9989
server:
## @param upstream-spire-agent.server.nameOverride The name override setting of the root SPIRE server
nameOverride: root-server
## @param upstream-spire-agent.persistence.hostPath Which path to use on the host when persistence.type = hostPath
persistence:
hostPath: /var/lib/spire/k8s/upstream-agent
## @section SPIFFE CSI Driver parameters
## Parameter values for spiffe-csi-driver
##
# Used with tags [nestedRoot, nestedChildFull, nestedChildSecurity]
downstream-spiffe-csi-driver:
# enabled: true
## @param downstream-spiffe-csi-driver.fullnameOverride Fullname override
fullnameOverride: spiffe-csi-driver-downstream
## @section Upstream SPIFFE CSI Driver parameters
## Parameter values for upstream spiffe-csi-driver
##
# Used with tags [nestedRoot, nestedChildFull]
upstream-spiffe-csi-driver:
# enabled: true
## @param upstream-spiffe-csi-driver.fullnameOverride Fullname override
fullnameOverride: spiffe-csi-driver-upstream
## @param upstream-spiffe-csi-driver.pluginName The plugin name for configuring upstream Spiffe CSI driver
pluginName: upstream.csi.spiffe.io
## @param upstream-spiffe-csi-driver.agentSocketPath The socket path where Spiffe CSI driver mounts agent socket
agentSocketPath: /run/spire/agent-sockets-upstream/spire-agent.sock
healthChecks:
## @param upstream-spiffe-csi-driver.healthChecks.port The port where Spiffe CSI driver health checks are exposed
port: 9810
## @section SPIFFE oidc discovery provider parameters
## Parameter values for spiffe-oidc-discovery-provider
##
# Used with tags [nestedRoot, nestedChildFull, nestedChildSecurity]
spiffe-oidc-discovery-provider:
# enabled: true
## @param spiffe-oidc-discovery-provider.fullnameOverride Fullname override
fullnameOverride: spiffe-oidc-discovery-provider
## @section Tornjak frontend parameters
## Parameter values for Tornjak frontend
##
tornjak-frontend:
## @param tornjak-frontend.enabled Enables deployment of Tornjak frontend/UI (Not for production)
enabled: false
# Used with tags [nestedRoot]
root-spire-server:
# enabled: true
## @param root-spire-server.nameOverride Name override
nameOverride: root-server
## @param root-spire-server.crNameOverride Custom Resource name override
crNameOverride: root
controllerManager:
## @param root-spire-server.controllerManager.enabled Enable controller manager and provision CRD's
enabled: true
externalControllerManagers:
## @param root-spire-server.controllerManager.externalControllerManagers.enabled Flag to enable external controller managers
enabled: true
validatingWebhookConfiguration:
## @param root-spire-server.controllerManager.validatingWebhookConfiguration.enabled Disable only when you have another instance on the k8s cluster with webhooks enabled.
enabled: false
## @param root-spire-server.controllerManager.className specify to use an explicit class name.
className: spire-mgmt-root-server
identities:
clusterSPIFFEIDs:
child-servers:
## @param root-spire-server.controllerManager.identities.clusterSPIFFEIDs.child-servers.enabled Enable child servers
enabled: true
default:
## @param root-spire-server.controllerManager.identities.clusterSPIFFEIDs.default.enabled Enable the default cluster spiffe id
enabled: false
oidc-discovery-provider:
## @param root-spire-server.controllerManager.identities.clusterSPIFFEIDs.oidc-discovery-provider.enabled Enable the test-keys identity
enabled: false
test-keys:
## @param root-spire-server.controllerManager.identities.clusterSPIFFEIDs.test-keys.enabled Enable the test-keys identity
enabled: false
externalControllerManagers:
## @param root-spire-server.externalControllerManagers.enabled Flag to enable external controller managers
enabled: true
nodeAttestor:
k8sPSAT:
## @param root-spire-server.nodeAttestor.k8sPSAT.serviceAccountAllowList [array] Allowed service accounts for PSAT nodeattestor
serviceAccountAllowList:
- spire-agent-upstream
## @param root-spire-server.bundleConfigMap The name of the configmap to store the upstream bundle
bundleConfigMap: spire-bundle-upstream
# Used with tags [nestedChildFull]
external-root-spire-server-full:
## @param external-root-spire-server-full.externalServer Set to true to setup the bundle configmap, rbac rules, and identity documents but doesn't deploy the server locally. Useful for external servers.
externalServer: true
## @param external-root-spire-server-full.nameOverride Name override
nameOverride: root-server
## @param external-root-spire-server-full.crNameOverride Custom Resource name override
crNameOverride: root
controllerManager:
## @param external-root-spire-server-full.controllerManager.enabled Enable controller manager and provision CRD's
enabled: true
validatingWebhookConfiguration:
## @param external-root-spire-server-full.controllerManager.validatingWebhookConfiguration.enabled Disable only when you have another instance on the k8s cluster with webhooks enabled.
enabled: false
## @param external-root-spire-server-full.controllerManager.className specify to use an explicit class name.
className: spire-mgmt-external-server
identities:
clusterSPIFFEIDs:
child-servers:
## @param external-root-spire-server-full.controllerManager.identities.clusterSPIFFEIDs.child-servers.enabled Enable child servers
enabled: true
default:
## @param external-root-spire-server-full.controllerManager.identities.clusterSPIFFEIDs.default.enabled Enable the default cluster spiffe id
enabled: false
oidc-discovery-provider:
## @param external-root-spire-server-full.controllerManager.identities.clusterSPIFFEIDs.oidc-discovery-provider.enabled Enable the test-keys identity
enabled: false
test-keys:
## @param external-root-spire-server-full.controllerManager.identities.clusterSPIFFEIDs.test-keys.enabled Enable the test-keys identity
enabled: false
nodeAttestor:
k8sPSAT:
## @param external-root-spire-server-full.nodeAttestor.k8sPSAT.serviceAccountAllowList [array] Allowed service accounts for PSAT nodeattestor
serviceAccountAllowList:
- spire-agent-upstream
## @param external-root-spire-server-full.bundleConfigMap The name of the configmap to store the upstream bundle
bundleConfigMap: spire-bundle-upstream
# Used with tags [nestedChildSecurity]
external-root-spire-server-security:
## @param external-root-spire-server-security.externalServer Set to true to setup the bundle configmap, rbac rules, and identity documents but doesn't deploy the server locally. Useful for external servers.
externalServer: true
## @param external-root-spire-server-security.nameOverride Name override
nameOverride: root-server
## @param external-root-spire-server-security.crNameOverride Custom Resource name override
crNameOverride: root
controllerManager:
## @param external-root-spire-server-security.controllerManager.enabled Enable controller manager and provision CRD's
enabled: true
validatingWebhookConfiguration:
## @param external-root-spire-server-security.controllerManager.validatingWebhookConfiguration.enabled Disable only when you have another instance on the k8s cluster with webhooks enabled.
enabled: false
## @param external-root-spire-server-security.controllerManager.className specify to use an explicit class name.
className: spire-mgmt-external-server
nodeAttestor:
k8sPSAT:
## @param external-root-spire-server-security.nodeAttestor.k8sPSAT.serviceAccountAllowList [array] Allowed service accounts for PSAT nodeattestor
serviceAccountAllowList:
- spire-agent-upstream
## @param external-root-spire-server-security.bundleConfigMap The name of the configmap to store the upstream bundle
bundleConfigMap: spire-bundle-upstream
## @section Spire server parameters
## Parameter values for Spire server
##
# Used with tags [nestedRoot, nestedChildFull]
internal-spire-server:
# enabled: true
## @param internal-spire-server.nameOverride Overrides the name of Spire server pods
nameOverride: internal-server
controllerManager:
## @param internal-spire-server.controllerManager.enabled Enable controller manager and provision CRD's
enabled: true
identities:
clusterSPIFFEIDs:
oidc-discovery-provider:
## @param internal-spire-server.controllerManager.identities.clusterSPIFFEIDs.oidc-discovery-provider.autoPopulateDNSNames Auto populate dns entries
autoPopulateDNSNames: false
externalControllerManagers:
## @param internal-spire-server.externalControllerManagers.enabled Flag to enable external controller managers
enabled: true
upstreamAuthority:
spire:
## @param internal-spire-server.upstreamAuthority.spire.enabled Enable upstream SPIRE server
enabled: true
## @param internal-spire-server.upstreamAuthority.spire.upstreamDriver Use an upstream driver for authentication
upstreamDriver: upstream.csi.spiffe.io
server:
## @param internal-spire-server.upstreamAuthority.spire.server.nameOverride The name override setting of the root SPIRE server
nameOverride: root-server
## @param internal-spire-server.bundleConfigMap The name of the configmap to store the downstream bundle
bundleConfigMap: spire-bundle-downstream
# Used with tags [nestedRoot]
external-spire-server:
# enabled: true
## @param external-spire-server.nameOverride Overrides the name of Spire server pods
nameOverride: external-server
## @param external-spire-server.crNameOverride Custom Resource name override
crNameOverride: external
controllerManager:
## @param external-spire-server.controllerManager.enabled Enable controller manager and provision CRD's
enabled: true
validatingWebhookConfiguration:
## @param external-spire-server.controllerManager.validatingWebhookConfiguration.enabled Disable only when you have another instance on the k8s cluster with webhooks enabled.
enabled: false
## @param external-spire-server.controllerManager.className specify to use an explicit class name.
className: spire-mgmt-external-server
identities:
clusterSPIFFEIDs:
default:
## @param external-spire-server.controllerManager.identities.clusterSPIFFEIDs.default.enabled Enable the default identity
enabled: false
oidc-discovery-provider:
## @param external-spire-server.controllerManager.identities.clusterSPIFFEIDs.oidc-discovery-provider.enabled Enable the oidc-discovery-provider identity
enabled: false
test-keys:
## @param external-spire-server.controllerManager.identities.clusterSPIFFEIDs.test-keys.enabled Enable the test-keys identity
enabled: false
externalControllerManagers:
## @param external-spire-server.externalControllerManagers.enabled Flag to enable external controller managers
enabled: true
upstreamAuthority:
spire:
## @param external-spire-server.upstreamAuthority.spire.enabled Enable upstream SPIRE server
enabled: true
## @param external-spire-server.upstreamAuthority.spire.upstreamDriver Use an upstream driver for authentication
upstreamDriver: upstream.csi.spiffe.io
server:
## @param external-spire-server.upstreamAuthority.spire.server.nameOverride The name override setting of the root SPIRE server
nameOverride: root-server
bundlePublisher:
k8sConfigMap:
## @param external-spire-server.bundlePublisher.k8sConfigMap.enabled Enable local k8s bundle uploader
enabled: false
nodeAttestor:
k8sPSAT:
## @param external-spire-server.nodeAttestor.k8sPSAT.enabled Enable PSAT k8s nodeattestor
enabled: false
joinToken:
## @param external-spire-server.nodeAttestor.joinToken.enabled Enable the join_token nodeattestor
enabled: true

View File

@ -21,3 +21,4 @@
.idea/ .idea/
*.tmproj *.tmproj
.vscode/ .vscode/
ci/

View File

@ -3,32 +3,70 @@ name: spire
description: > description: >
A Helm chart for deploying the complete Spire stack including: spire-server, spire-agent, spiffe-csi-driver, spiffe-oidc-discovery-provider and spire-controller-manager. A Helm chart for deploying the complete Spire stack including: spire-server, spire-agent, spiffe-csi-driver, spiffe-oidc-discovery-provider and spire-controller-manager.
type: application type: application
version: 0.2.0 version: 0.26.1
appVersion: "1.5.5" appVersion: "1.12.4"
keywords: ["spiffe", "spire", "spire-server", "spire-agent", "oidc", "spire-controller-manager"] keywords: ["spiffe", "spire", "spire-server", "spire-agent", "oidc", "spire-controller-manager"]
home: https://github.com/philips-labs/helm-charts/tree/main/charts/spire home: https://github.com/spiffe/helm-charts-hardened/tree/main/charts/spire
sources: sources:
- https://github.com/philips-labs/helm-charts/tree/main/charts/spire - https://github.com/spiffe/helm-charts-hardened/tree/main/charts/spire
icon: https://spiffe.io/img/logos/spire/icon/color/spire-icon-color.png icon: https://spiffe.io/img/logos/spire/icon/color/spire-icon-color.png
maintainers: maintainers:
- name: marcofranssen - name: marcofranssen
email: marco.franssen@gmail.com email: marco.franssen@gmail.com
url: https://marcofranssen.nl url: https://marcofranssen.nl
- name: kfox1111
email: Kevin.Fox@pnnl.gov
- name: faisal-memon
email: fymemon@yahoo.com
- name: edwbuck
email: edwbuck@gmail.com
kubeVersion: ">=1.21.0-0" kubeVersion: ">=1.21.0-0"
dependencies: dependencies:
- name: spire-lib
repository: file://./charts/spire-lib
version: 0.1.0
- name: spire-server - name: spire-server
condition: spire-server.enabled
repository: file://./charts/spire-server repository: file://./charts/spire-server
version: 0.1.0 version: 0.1.0
- name: spire-agent - name: spire-agent
condition: spire-agent.enabled
repository: file://./charts/spire-agent
version: 0.1.0
- name: spire-agent
alias: upstream-spire-agent
condition: upstream.enabled
repository: file://./charts/spire-agent repository: file://./charts/spire-agent
version: 0.1.0 version: 0.1.0
- name: spiffe-csi-driver - name: spiffe-csi-driver
condition: spiffe-csi-driver.enabled
repository: file://./charts/spiffe-csi-driver
version: 0.1.0
- name: spiffe-csi-driver
alias: upstream-spiffe-csi-driver
condition: upstream.enabled
repository: file://./charts/spiffe-csi-driver repository: file://./charts/spiffe-csi-driver
version: 0.1.0 version: 0.1.0
- name: spiffe-oidc-discovery-provider - name: spiffe-oidc-discovery-provider
condition: spiffe-oidc-discovery-provider.enabled condition: spiffe-oidc-discovery-provider.enabled
repository: file://./charts/spiffe-oidc-discovery-provider repository: file://./charts/spiffe-oidc-discovery-provider
version: 0.1.0 version: 0.1.0
- name: tornjak-frontend
condition: tornjak-frontend.enabled
repository: file://./charts/tornjak-frontend
version: 0.1.0
- name: spike-keeper
condition: spike-keeper.enabled
repository: file://./charts/spike-keeper
version: 0.1.0
- name: spike-nexus
condition: spike-nexus.enabled
repository: file://./charts/spike-nexus
version: 0.1.0
- name: spike-pilot
condition: spike-pilot.enabled
repository: file://./charts/spike-pilot
version: 0.1.0
annotations: annotations:
artifacthub.io/category: security artifacthub.io/category: security
artifacthub.io/license: Apache-2.0 artifacthub.io/license: Apache-2.0

View File

@ -1,75 +1,389 @@
# spire # spire
<!-- This README.md is generated. Please edit README.md.gotmpl --> ![Version: 0.26.1](https://img.shields.io/badge/Version-0.26.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.12.4](https://img.shields.io/badge/AppVersion-1.12.4-informational?style=flat-square)
[![Development Phase](https://github.com/spiffe/spiffe/blob/main/.img/maturity/dev.svg)](https://github.com/spiffe/spiffe/blob/main/MATURITY.md#development)
![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.5.5](https://img.shields.io/badge/AppVersion-1.5.5-informational?style=flat-square)
A Helm chart for deploying the complete Spire stack including: spire-server, spire-agent, spiffe-csi-driver, spiffe-oidc-discovery-provider and spire-controller-manager. A Helm chart for deploying the complete Spire stack including: spire-server, spire-agent, spiffe-csi-driver, spiffe-oidc-discovery-provider and spire-controller-manager.
**Homepage:** <https://github.com/philips-labs/helm-charts/tree/main/charts/spire> **Homepage:** <https://github.com/spiffe/helm-charts-hardened/tree/main/charts/spire>
> **Warning**: Please note this chart requires Projected Service Account Tokens which has to be enabled on your k8s api server. ## Install Instructions
> **Note**: Minimum Spire version is `v1.5.3`. ### Non Production
To enable Projected Service Account Tokens on Docker for Mac/Windows run the following To do a quick install suitable for testing in something like minikube:
command to SSH into the Docker Desktop K8s VM.
```bash ```shell
docker run -it --privileged --pid=host debian nsenter -t 1 -m -u -n -i sh helm upgrade --install -n spire-server spire-crds spire-crds --repo https://spiffe.github.io/helm-charts-hardened/ --create-namespace
helm upgrade --install -n spire-server spire spire --repo https://spiffe.github.io/helm-charts-hardened/
``` ```
Then add the following to `/etc/kubernetes/manifests/kube-apiserver.yaml` ### Production
Preparing a production deployment requires a few steps.
1. Save the following to your-values.yaml, ideally in your git repo.
```yaml ```yaml
spec: global:
containers: openshift: false # If running on openshift, set to true
- command: spire:
- kube-apiserver recommendations:
- --api-audiences=api,spire-server enabled: true
- --service-account-issuer=api,spire-agent namespaces:
- --service-account-key-file=/run/config/pki/sa.pub create: true
- --service-account-signing-key-file=/run/config/pki/sa.key ingressControllerType: "" # If not openshift, and want to expose services, set to a supported option [ingress-nginx]
# Update these
clusterName: example-cluster
trustDomain: example.org
caSubject:
country: ARPA
organization: Example
commonName: example.org
``` ```
2. If you need a non default storageClass, append the following to the global.spire section and update:
```
persistence:
storageClass: your-storage-class
```
3. If your Kubernetes cluster is OpenShift based, use the output of the following command to update the trustDomain setting:
```shell
oc get cm -n openshift-config-managed console-public -o go-template="{{ .data.consoleURL }}" | sed 's@https://@@; s/^[^.]*\.//'
```
4. Find any additional values you might want to set based on the documentation below or using the [examples](https://github.com/spiffe/helm-charts-hardened/tree/main/examples)
In particular, consider using an external database.
5. Deploy
```shell
helm upgrade --install -n spire-mgmt spire-crds spire-crds --repo https://spiffe.github.io/helm-charts-hardened/ --create-namespace
helm upgrade --install -n spire-mgmt spire spire --repo https://spiffe.github.io/helm-charts-hardened/ -f your-values.yaml
```
## Clean up
```shell
helm -n spire-mgmt uninstall spire-crds
helm -n spire-mgmt uninstall spire
kubectl -n spire-server delete pvc -l app.kubernetes.io/instance=spire
kubectl delete crds clusterfederatedtrustdomains.spire.spiffe.io clusterspiffeids.spire.spiffe.io clusterstaticentries.spire.spiffe.io
```
## Upgrade notes
We only support upgrading one major/minor version at a time. Version skipping isn't supported. Please see <https://spiffe.io/docs/latest/spire-helm-charts-hardened-about/upgrading/> for details.
### 0.26.X
- The notifier.k8sBundle plugin has been deprecated in favor of bundlePublisher.k8sConfigMap. The only features it does not provide are the settings `apiServiceLabel` and `webhookLabel`. If you are using either of these two features, set the chart to use the notifier.k8sBundle plugin again, and let us know. We don't think anyone is using these features.
- The default trust bundle format has been changed to `spiffe`. This switch should be transparent unless you ware fetching the bundle from the configmap manually, or have a nested setup and dont upgrade the root, then child clusters in short order.
### 0.24.X
- You must upgrade [spire-crds](https://artifacthub.io/packages/helm/spiffe/spire-crds) to 0.5.0+ before performing this upgrade.
- SPIRE changed the default in 1.11.0 from `spire-agent.workloadAttestors.k8s.useNewContainerLocator=false` to `spire-agent.workloadAttestors.k8s.useNewContainerLocator=true`
- In order to make it easier to target specific SPIFFE IDs to workloads, a fallback feature was added to ClusterSPIFFEIDs so that a default ID will only apply when no others do. To change back to the previous behavior, use `spire-server.controllerManager.identities.clusterSPIFFEIDs.default.fallback=false`. The new default is unlikely to need changes.
- We now set a hint of the ClusterSPIFFEID name on each entry created by default. This can be undone by setting the `hint=""` property on the ClusterSPIFFEID. The new default is unlikely to need changes.
- We have added the remaining options needed for the SPIRE Server SQL data store plugin as native values. We have removed `spire-server.dataStore.sql.plugin_data` section as it is no longer needed. If you are using it, please migrate your settings to the ones under `spire-server.dataStore.sql`.
- For users of `spire-server.upstreamAuthority.certManager`, a bug was discovered with templates not honoring `global.spire.caSubject.*`. It has been fixed, but may change values if you are not careful. Please double check the new settings are what you need them to be before completing the upgrade.
- Lastly, as we approach 1.0.0, we would like to ensure all the values follow the same convention. We have made a bunch of minor changes to the values in this version to make sure they are all camel cased and properly capitalized. If you are upgrading from a previous version, please look though this list carefully to see if a value you are using is impacted:
- `spire-server.federation.bundleEndpoint.refresh_hint` -> `spire-server.federation.bundleEndpoint.refreshHint`
- `spire-server.nodeAttestor.k8sPsat` -> `spire-server.nodeAttestor.k8sPSAT`
- `spire-server.nodeAttestor.externalK8sPsat` -> `spire-server.nodeAttestor.ExternalK8sPSAT`
- `spire-server.notifier.k8sbundle` -> `spire-server.notifier.k8sBundle`
- `spire-server.ca_subject` -> `spire-server.caSubject`
- `spire-server.ca_subject.common_name -> `spire-server.caSubject.commonName`
- `spire-server.upstreamAuthority.certManager.issuer_name` -> `spire-server.upstreamAuthority.certManager.issuerName`
- `spire-server.upstreamAuthority.certManager.issuer_kind` -> `spire-server.upstreamAuthority.certManager.issuerKind`
- `spire-server.upstreamAuthority.certManager.issuer_group` -> `spire-server.upstreamAuthority.certManager.issuerGroup`
- `spire-server.upstreamAuthority.certManager.kube_config_file` -> `spire-server.upstreamAuthority.certManager.kubeConfigFile`
- `spire-agent.sds.defaultSvidName` -> `spire-agent.sds.defaultSVIDName`
- `spire-agent.sds.disableSpiffeCertValidation` -> `spire-agent.sds.disableSPIFFECertValidation`
- `spire-agent.sds.defaultSvidName` -> `spire-agent.sds.defaultSVIDName`
- `spire-agent.nodeAttestor.k8sPsat` -> `spire-agent.nodeAttestor.k8sPSAT`
### 0.23.X
In previous versions, the setting spire-agent.workloadAttestors.k8s.skipKubeletVerification was set to true by default. Starting in 0.23.x, we removed that setting and replaced it with
spire-agent.workloadAttestors.k8s.verification.type. It defaults to "skip" which will have the same behavior as before. In a future version, it will be set to "auto". Please try
setting it to this with your deployment and let us know if you run into any problems so we can fix it before we change the default for everyone.
### 0.21.X
- In previous versions, spire-server.upstreamAuthority.certManager.issuer_name would incorrectly have '-ca' appended. Starting with this version, that is no longer the case. If you previously set this
value, you likely want to update your value to include the '-ca' suffix in the value to have your deployment continue to function properly.
- The default value of spire-server.controllerManager.entryIDPrefixCleanup changed from "" to false. Prior to this release upgrades cleaned up old entries in the database. After upgrading to 0.21.X, manual entries will not be overridden by the spire-controller-manager. Skipping over chart releases (unsupported), requires manual setting of this value to "" to trigger the cleanup.
### 0.20.X
- The default service port for the spire-server was changed to be port 443 to allow easier switching between internal access and external access through an ingress controller. For most users, this will be a transparent
change.
- This release configures the entries managed by the spire-controller-manager to move into their own managed space within SPIRE. This should be transparent. In a future release, we will
disable cleanup by default of the old space. This release lays the groundwork for future support for manually created entries in the SPIRE database without the spire-controller-manager
destroying them. It is supported in this release by manually setting spire-server.controllerManager.entryIDPrefixCleanup=false after successfully upgrading to the chart without the
setting and waiting for a spire-controller-manager sync.
### 0.19.X
- The spire-agent daemonset gained a new label. For those disabling the upgrade hooks, you need to delete the spire-agent daemonset before issuing the helm upgrade.
### 0.18.X
- SPIRE no longer emits x509UniqueIdentifiers in x509-SVIDS by default. The old behavior can be reenabled with spire-server.credentialComposer.uniqueID.enabled=true. See <https://github.com/spiffe/spire/pull/4862> for details.
- SPIRE agents will now automatically reattest when they can. The old behavior can be reenabled with spire-agent.disableReattestToRenew=true. See <https://github.com/spiffe/spire/pull/4791> for details.
### 0.17.X
- If you set spire-server.replicaCount > 1, update it to 1 before upgrading and after upgrade you can set it back to its previous value.
- The SPIFFE OIDC Discovery Provider now has many new TLS options and defaults to using SPIRE to issue its certificate.
- The `spiffe-oidc-discovery-provider.insecureScheme.enabled` flag was removed. If you previously set that flag, remove the setting from your values.yaml and see if the new default of using a SPIRE issued certificate is suitable for your deployment. If it isn't, please consider one of the other options under `spiffe-oidc-discovery-provider.tls`. If all other options are still unsuitable, you can still enable the previous mode by disabling TLS. (`spiffe-oidc-discovery-provider.tls.spire.enabled=false`)
- The SPIFFE OIDC Discovery Provider is now enabled by default. If you previously chose to have it off, you can disable it explicitly with `spiffe-oidc-discovery-provider.enabled=false`.
### 0.16.X
The settings under "spire-server.controllerManager.identities" have all been moved under "spire-server.controllerManager.identities.clusterSPIFFEIDs.default". If you have changed any from the defaults, please update them to the new location during upgrade.
### 0.15.X
The spire-crds chart has been updated. Please ensure you have upgraded spire-crds before upgrading the spire chart.
The chart now supports multiple parallel installs of spire-controller-manager. Each install will handle all custom resources with a matching `className` field. By default this is set to `Release.Namespace-Release.Name` and the controller manager will only pick up custom resources with this `className`.
If you have not loaded any SPIRE custom resources yourself, the upgrade process will be transparent. If you have loaded your own SPIRE custom resources, set `spire-server.controllerManager.watchClassless=true` until you can update your SPIRE custom resources to have the `className` for the instance specified.
### 0.14.X
If coming from a chart version before 0.14.0, you must relabel your crds to switch to using the new spire-crds chart. To migrate to the spire-crds chart
run the following:
Replace the spire-server namespace in the commands below with the namespace you want to install the spire-crds chart in.
```shell
kubectl label crd "clusterfederatedtrustdomains.spire.spiffe.io" "app.kubernetes.io/managed-by=Helm"
kubectl annotate crd "clusterfederatedtrustdomains.spire.spiffe.io" "meta.helm.sh/release-name=spire-crds"
kubectl annotate crd "clusterfederatedtrustdomains.spire.spiffe.io" "meta.helm.sh/release-namespace=spire-server"
kubectl label crd "clusterspiffeids.spire.spiffe.io" "app.kubernetes.io/managed-by=Helm"
kubectl annotate crd "clusterspiffeids.spire.spiffe.io" "meta.helm.sh/release-name=spire-crds"
kubectl annotate crd "clusterspiffeids.spire.spiffe.io" "meta.helm.sh/release-namespace=spire-server"
kubectl label crd "controllermanagerconfigs.spire.spiffe.io" "app.kubernetes.io/managed-by=Helm"
kubectl annotate crd "controllermanagerconfigs.spire.spiffe.io" "meta.helm.sh/release-name=spire-crds"
kubectl annotate crd "controllermanagerconfigs.spire.spiffe.io" "meta.helm.sh/release-namespace=spire-server"
helm install -n spire-server spire-crds charts/spire-crds
```
## Version support
> [!Warning]
> This Chart is still in development and still subject to change the API (`values.yaml`).
> Until we reach a `1.0.0` version of the chart we can't guarantee backwards compatibility although
> we do aim for as much stability as possible.
| Dependency | Supported Versions |
|:-----------|:-------------------|
| Helm | `3.x` |
| Kubernetes | `1.22+` |
> [!Note]
> For Kubernetes, we will officially support the last 3 versions as described in [k8s versioning](https://kubernetes.io/releases/version-skew-policy/#supported-versions). Any version before the last 3 we will try to support as long it doesn't bring security issues or any big maintenance burden.
## FAQ
For any issues see our [FAQ](../../FAQ.md)…
## Usage
To utilize Spire in your own workloads you should add the following to your workload:
```diff
apiVersion: v1
kind: Pod
metadata:
name: my-app
spec:
containers:
- name: my-app
image: "my-app:latest"
imagePullPolicy: Always
+ volumeMounts:
+ - name: spiffe-workload-api
+ mountPath: /spiffe-workload-api
+ readOnly: true
resources:
requests:
cpu: 200m
memory: 32Mi
limits:
cpu: 500m
memory: 64Mi
+ volumes:
+ - name: spiffe-workload-api
+ csi:
+ driver: "csi.spiffe.io"
+ readOnly: true
```
Now you can interact with the Spire agent socket from your own application. The socket is mounted on `/spiffe-workload-api/spire-agent.sock`.
## Maintainers ## Maintainers
| Name | Email | Url | | Name | Email | Url |
| ---- | ------ | --- | | ---- | ------ | --- |
| marcofranssen | <marco.franssen@gmail.com> | <https://marcofranssen.nl> | | marcofranssen | <marco.franssen@gmail.com> | <https://marcofranssen.nl> |
| kfox1111 | <Kevin.Fox@pnnl.gov> | |
| faisal-memon | <fymemon@yahoo.com> | |
| edwbuck | <edwbuck@gmail.com> | |
## Source Code ## Source Code
* <https://github.com/philips-labs/helm-charts/tree/main/charts/spire> * <https://github.com/spiffe/helm-charts-hardened/tree/main/charts/spire>
## Requirements ## Requirements
Kubernetes: `>=1.21.0-0`
| Repository | Name | Version | | Repository | Name | Version |
|------------|------|---------| |------------|------|---------|
| file://./charts/spiffe-csi-driver | spiffe-csi-driver | 0.1.0 | | file://./charts/spiffe-csi-driver | spiffe-csi-driver | 0.1.0 |
| file://./charts/spiffe-csi-driver | upstream-spiffe-csi-driver(spiffe-csi-driver) | 0.1.0 |
| file://./charts/spiffe-oidc-discovery-provider | spiffe-oidc-discovery-provider | 0.1.0 | | 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 | spire-agent | 0.1.0 |
| file://./charts/spire-agent | upstream-spire-agent(spire-agent) | 0.1.0 |
| file://./charts/spire-server | spire-server | 0.1.0 | | file://./charts/spire-server | spire-server | 0.1.0 |
| file://./charts/tornjak-frontend | tornjak-frontend | 0.1.0 |
## Values <!-- The parameters section is generated using helm-docs.sh and should not be edited by hand. -->
| Key | Type | Default | Description | ## Parameters
|-----|------|---------|-------------|
| fullnameOverride | string | `""` | |
| nameOverride | string | `""` | |
| spiffe-csi-driver | object | `{}` | |
| spiffe-oidc-discovery-provider.enabled | bool | `false` | |
| spiffe-oidc-discovery-provider.trustDomain | string | `"example.org"` | |
| spire-agent.bundleConfigMap | string | `"spire-bundle"` | |
| spire-agent.clusterName | string | `"example-cluster"` | |
| spire-agent.nameOverride | string | `"agent"` | |
| spire-agent.trustDomain | string | `"example.org"` | |
| spire-server.bundleConfigMap | string | `"spire-bundle"` | |
| spire-server.clusterName | string | `"example-cluster"` | |
| spire-server.controllerManager.enabled | bool | `true` | |
| spire-server.nameOverride | string | `"server"` | |
| spire-server.trustDomain | string | `"example.org"` | |
---------------------------------------------- ### Global parameters
| Name | Description | Value |
| ------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------- |
| `global.k8s.clusterDomain` | Cluster domain name configured for Spire install | `cluster.local` |
| `global.spire.bundleConfigMap` | A configmap containing the Spire bundle | `""` |
| `global.spire.clusterName` | The name of the k8s cluster for Spire install | `example-cluster` |
| `global.spire.jwtIssuer` | The issuer for Spire JWT tokens. Defaults to oidc-discovery.$trustDomain if unset | `""` |
| `global.spire.trustDomain` | The trust domain for Spire install | `example.org` |
| `global.spire.upstreamServerAddress` | Set what address to use for the upstream server when using nested spire | `""` |
| `global.spire.caSubject.country` | Country for Spire server CA | `""` |
| `global.spire.caSubject.organization` | Organization for Spire server CA | `""` |
| `global.spire.caSubject.commonName` | Common Name for Spire server CA | `""` |
| `global.spire.persistence.storageClass` | What storage class to use for persistence | `nil` |
| `global.spire.recommendations.enabled` | Use recommended settings for production deployments. Default is off. | `false` |
| `global.spire.recommendations.namespaceLayout` | Set to true to use recommended values for installing across namespaces | `true` |
| `global.spire.recommendations.namespacePSS` | When chart namespace creation is enabled, label them with preffered Pod Security Standard labels | `true` |
| `global.spire.recommendations.priorityClassName` | Set to true to use recommended values for Pod Priority Class Names | `true` |
| `global.spire.recommendations.strictMode` | Check values, such as trustDomain, are overridden with a suitable value for production. | `true` |
| `global.spire.recommendations.securityContexts` | Set to true to use recommended values for Pod and Container Security Contexts | `true` |
| `global.spire.recommendations.prometheus` | Enable prometheus exporters for monitoring | `true` |
| `global.spire.image.registry` | Override all Spire image registries at once | `""` |
| `global.spire.namespaces.create` | Set to true to Create all namespaces. If this or either of the namespace specific create flags is set, the namespace will be created. | `false` |
| `global.spire.namespaces.system.name` | Name of the Spire system Namespace. | `spire-system` |
| `global.spire.namespaces.system.create` | Create a Namespace for Spire system resources. | `false` |
| `global.spire.namespaces.system.annotations` | Annotations to apply to the Spire system Namespace. | `{}` |
| `global.spire.namespaces.system.labels` | Labels to apply to the Spire system Namespace. | `{}` |
| `global.spire.namespaces.server.name` | Name of the Spire server Namespace. | `spire-server` |
| `global.spire.namespaces.server.create` | Create a Namespace for Spire server resources. | `false` |
| `global.spire.namespaces.server.annotations` | Annotations to apply to the Spire server Namespace. | `{}` |
| `global.spire.namespaces.server.labels` | Labels to apply to the Spire server Namespace. | `{}` |
| `global.spire.strictMode` | Check values, such as trustDomain, are overridden with a suitable value for production. | `false` |
| `global.spire.ingressControllerType` | Specify what type of ingress controller you're using to add the necessary annotations accordingly. If blank, autodetection is attempted. If other, no annotations will be added. Must be one of [ingress-nginx, openshift, other, ""]. | `""` |
| `global.spire.tools.kubectl.tag` | Set to force the tag to use for all kubectl instances | `""` |
| `global.installAndUpgradeHooks.enabled` | Enable Helm hooks to autofix common install/upgrade issues (should be disabled when using `helm template`) | `true` |
| `global.installAndUpgradeHooks.resources` | Resource requests and limits for installAndUpgradeHooks | `{}` |
| `global.deleteHooks.enabled` | Enable Helm hooks to autofix common delete issues (should be disabled when using `helm template`) | `true` |
| `global.deleteHooks.resources` | Resource requests and limits for deleteHooks | `{}` |
### Spire server parameters
| Name | Description | Value |
| ------------------------------------------------- | ------------------------------------------------------------------------- | ------------- |
| `spire-server.enabled` | Flag to enable Spire server | `true` |
| `spire-server.nameOverride` | Overrides the name of Spire server pods | `server` |
| `spire-server.kind` | Run spire server as deployment/statefulset. This feature is experimental. | `statefulset` |
| `spire-server.controllerManager.enabled` | Enable controller manager and provision CRD's | `true` |
| `spire-server.externalControllerManagers.enabled` | Enable external controller manager support | `true` |
### Spire agent parameters
| Name | Description | Value |
| -------------------------- | -------------------------------------- | ------- |
| `spire-agent.enabled` | Flag to enable Spire agent | `true` |
| `spire-agent.nameOverride` | Overrides the name of Spire agent pods | `agent` |
### Upstream Spire agent and CSI driver configuration
| Name | Description | Value |
| ------------------ | ---------------------------------------------------------- | ------- |
| `upstream.enabled` | Enable upstream agent and driver for use with nested spire | `false` |
### Upstream Spire agent parameters
| Name | Description | Value |
| ------------------------------------------------ | -------------------------------------------------------------- | ---------------------------------------------------- |
| `upstream-spire-agent.upstream` | Flag for enabling upstream Spire agent | `true` |
| `upstream-spire-agent.nameOverride` | Name override for upstream Spire agent | `agent-upstream` |
| `upstream-spire-agent.bundleConfigMap` | The configmap name for upstream Spire agent bundle | `spire-bundle-upstream` |
| `upstream-spire-agent.socketPath` | Socket path where Spire agent socket is mounted | `/run/spire/agent-sockets-upstream/spire-agent.sock` |
| `upstream-spire-agent.serviceAccount.name` | Service account name for upstream Spire agent | `spire-agent-upstream` |
| `upstream-spire-agent.healthChecks.port` | Health check port number for upstream Spire agent | `9981` |
| `upstream-spire-agent.telemetry.prometheus.port` | The port where prometheus metrics are available | `9989` |
| `upstream-spire-agent.persistence.hostPath` | Which path to use on the host when persistence.type = hostPath | `/var/lib/spire/k8s/upstream-agent` |
### SPIFFE CSI Driver parameters
| Name | Description | Value |
| --------------------------- | ------------------------------------------------ | ------ |
| `spiffe-csi-driver.enabled` | Flag to enable spiffe-csi-driver for the cluster | `true` |
### Upstream SPIFFE CSI Driver parameters
| Name | Description | Value |
| ---------------------------------------------- | ----------------------------------------------------------- | ---------------------------------------------------- |
| `upstream-spiffe-csi-driver.pluginName` | The plugin name for configuring upstream Spiffe CSI driver | `upstream.csi.spiffe.io` |
| `upstream-spiffe-csi-driver.agentSocketPath` | The socket path where Spiffe CSI driver mounts agent socket | `/run/spire/agent-sockets-upstream/spire-agent.sock` |
| `upstream-spiffe-csi-driver.healthChecks.port` | The port where Spiffe CSI driver health checks are exposed | `9810` |
### SPIFFE oidc discovery provider parameters
| Name | Description | Value |
| ---------------------------------------- | ------------------------------------------------------------- | ------ |
| `spiffe-oidc-discovery-provider.enabled` | Flag to enable spiffe-oidc-discovery-provider for the cluster | `true` |
### Tornjak frontend parameters
| Name | Description | Value |
| -------------------------- | -------------------------------------------------------------- | ------- |
| `tornjak-frontend.enabled` | Enables deployment of Tornjak frontend/UI (Not for production) | `false` |
### SPIKE Keeper parameters
| Name | Description | Value |
| ---------------------- | ------------------------------------------------------- | ------- |
| `spike-keeper.enabled` | Enables deployment of SPIKE Keeper (Not for production) | `false` |
### SPIKE Nexus parameters
| Name | Description | Value |
| --------------------- | ------------------------------------------------------ | ------- |
| `spike-nexus.enabled` | Enables deployment of SPIKE Nexus (Not for production) | `false` |
### SPIKE Pilot parameters
| Name | Description | Value |
| --------------------- | ------------------------------------------------------ | ------- |
| `spike-pilot.enabled` | Enables deployment of SPIKE Pilot (Not for production) | `false` |

View File

@ -1,45 +0,0 @@
{{ template "chart.header" . }}
<!-- This README.md is generated. Please edit README.md.gotmpl -->
{{ template "chart.deprecationWarning" . }}
{{ template "chart.badgesSection" . }}
{{ template "chart.description" . }}
{{ template "chart.homepageLine" . }}
> **Warning**: Please note this chart requires Projected Service Account Tokens which has to be enabled on your k8s api server.
> **Note**: Minimum Spire version is `v1.5.3`.
To enable Projected Service Account Tokens on Docker for Mac/Windows run the following
command to SSH into the Docker Desktop K8s VM.
```bash
docker run -it --privileged --pid=host debian nsenter -t 1 -m -u -n -i sh
```
Then add the following to `/etc/kubernetes/manifests/kube-apiserver.yaml`
```yaml
spec:
containers:
- command:
- kube-apiserver
- --api-audiences=api,spire-server
- --service-account-issuer=api,spire-agent
- --service-account-key-file=/run/config/pki/sa.pub
- --service-account-signing-key-file=/run/config/pki/sa.key
```
{{ template "chart.maintainersSection" . }}
{{ template "chart.sourcesSection" . }}
{{ template "chart.requirementsSection" . }}
{{ template "chart.valuesSection" . }}
----------------------------------------------

View File

@ -3,4 +3,19 @@ name: spiffe-csi-driver
description: A Helm chart to install the SPIFFE CSI driver. description: A Helm chart to install the SPIFFE CSI driver.
type: application type: application
version: 0.1.0 version: 0.1.0
appVersion: "0.2.1" appVersion: "0.2.7"
keywords: ["spiffe", "csi-driver"]
home: https://github.com/spiffe/helm-charts-hardened/tree/main/charts/spire
sources:
- https://github.com/spiffe/helm-charts-hardened/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

View File

@ -1,36 +1,78 @@
# spiffe-csi-driver # spiffe-csi-driver
<!-- This README.md is generated. Please edit README.md.gotmpl --> ![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.2.7](https://img.shields.io/badge/AppVersion-0.2.7-informational?style=flat-square)
![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.2.1](https://img.shields.io/badge/AppVersion-0.2.1-informational?style=flat-square)
A Helm chart to install the SPIFFE CSI driver. A Helm chart to install the SPIFFE CSI driver.
## Values **Homepage:** <https://github.com/spiffe/helm-charts-hardened/tree/main/charts/spire>
| Key | Type | Default | Description | ## Maintainers
|-----|------|---------|-------------|
| fullnameOverride | string | `""` | | | Name | Email | Url |
| image.pullPolicy | string | `"IfNotPresent"` | | | ---- | ------ | --- |
| image.registry | string | `"ghcr.io"` | | | marcofranssen | <marco.franssen@gmail.com> | <https://marcofranssen.nl> |
| image.repository | string | `"spiffe/spiffe-csi-driver"` | | | kfox1111 | <Kevin.Fox@pnnl.gov> | |
| image.version | string | `""` | | | faisal-memon | <fymemon@yahoo.com> | |
| imagePullSecrets | list | `[]` | | | edwbuck | <edwbuck@gmail.com> | |
| nameOverride | string | `""` | |
| namespaceOverride | string | `""` | | ## Source Code
| nodeDriverRegistrar.image.pullPolicy | string | `"IfNotPresent"` | |
| nodeDriverRegistrar.image.registry | string | `"registry.k8s.io"` | | * <https://github.com/spiffe/helm-charts-hardened/tree/main/charts/spire>
| nodeDriverRegistrar.image.repository | string | `"sig-storage/csi-node-driver-registrar"` | |
| nodeDriverRegistrar.image.version | string | `"v2.6.2"` | | <!-- The parameters section is generated using helm-docs.sh and should not be edited by hand. -->
| nodeDriverRegistrar.resources | object | `{}` | |
| nodeSelector."kubernetes.io/arch" | string | `"amd64"` | | ## Parameters
| podAnnotations | object | `{}` | |
| podSecurityContext | object | `{}` | | ### SPIFFE CSI Driver Chart parameters
| resources | object | `{}` | |
| securityContext.privileged | bool | `true` | | | Name | Description | Value |
| securityContext.readOnlyRootFilesystem | bool | `true` | | | --------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------- |
| serviceAccount.annotations | object | `{}` | | | `pluginName` | Set the csi driver name deployed to Kubernetes. | `csi.spiffe.io` |
| serviceAccount.create | bool | `true` | | | `image.registry` | The OCI registry to pull the image from | `ghcr.io` |
| serviceAccount.name | string | `""` | | | `image.repository` | The repository within the registry | `spiffe/spiffe-csi-driver` |
| `image.pullPolicy` | The image pull policy | `IfNotPresent` |
| `image.tag` | Overrides the image tag whose default is the chart appVersion | `""` |
| `resources` | Resource requests and limits for spiffe-csi-driver | `{}` |
| `extraEnvVars` | Extra environment variables to be added to the spiffe-csi-driver container | `[]` |
| `healthChecks.port` | The healthcheck port for spiffe-csi-driver | `9809` |
| `updateStrategy.type` | The update strategy to use to replace existing DaemonSet pods with new pods. Can be RollingUpdate or OnDelete. | `RollingUpdate` |
| `updateStrategy.rollingUpdate.maxUnavailable` | Max unavailable pods during update. Can be a number or a percentage. | `1` |
| `livenessProbe.initialDelaySeconds` | Initial delay seconds for livenessProbe | `5` |
| `livenessProbe.timeoutSeconds` | Timeout value in seconds for livenessProbe | `5` |
| `imagePullSecrets` | Image pull secret details for spiffe-csi-driver | `[]` |
| `nameOverride` | Name override for spiffe-csi-driver | `""` |
| `namespaceOverride` | Namespace to install spiffe-csi-driver | `""` |
| `serverNamespaceOverride` | Override the namespace that the spire-server is installed into | `""` |
| `validatingAdmissionPolicy.enabled` | When set to auto, the validatingAdmissionPolicy will be enabled when the pluginName == "upstream.csi.spiffe.io" and k8s >= 1.30.0. Valid options are [auto, true, false] | `auto` |
| `fullnameOverride` | Full name override for spiffe-csi-driver | `""` |
| `csiDriverLabels` | Labels to apply to the CSIDriver | `{}` |
| `initContainers` | Init Containers to apply to the CSI Driver DaemonSet | `[]` |
| `serviceAccount.create` | Specifies whether a service account should be created | `true` |
| `serviceAccount.annotations` | Annotations to add to the service account | `{}` |
| `serviceAccount.name` | The name of the service account to use. If not set and create is true, a name is generated. | `""` |
| `podAnnotations` | Pod annotations for spiffe-csi-driver | `{}` |
| `podSecurityContext` | Security context for CSI driver pods | `{}` |
| `securityContext.readOnlyRootFilesystem` | Flag for read only root filesystem | `true` |
| `securityContext.privileged` | Flag for specifying privileged mode | `true` |
| `nodeSelector` | Node selector for CSI driver pods | `{}` |
| `tolerations` | Tolerations for CSI driver pods | `[]` |
| `affinity` | Node affinity | `{}` |
| `nodeDriverRegistrar.image.registry` | The OCI registry to pull the image from | `registry.k8s.io` |
| `nodeDriverRegistrar.image.repository` | The repository within the registry | `sig-storage/csi-node-driver-registrar` |
| `nodeDriverRegistrar.image.pullPolicy` | The image pull policy | `IfNotPresent` |
| `nodeDriverRegistrar.image.tag` | Overrides the image tag | `v2.9.4` |
| `nodeDriverRegistrar.resources` | Resource requests and limits for CSI driver pods | `{}` |
| `nodeDriverRegistrar.extraEnvVars` | Extra environment variables to be added to the nodeDriverRegistrar container | `[]` |
| `agentSocketPath` | The unix socket path to the spire-agent | `/run/spire/agent-sockets/spire-agent.sock` |
| `kubeletPath` | Path to kubelet file | `/var/lib/kubelet` |
| `priorityClassName` | Priority class assigned to daemonset pods. Can be auto set with global.recommendations.priorityClassName. | `""` |
| `restrictedScc.enabled` | Enables the creation of a SecurityContextConstraint based on the restricted SCC with CSI volume support | `false` |
| `restrictedScc.name` | Set the name of the restricted SCC with CSI support | `""` |
| `restrictedScc.version` | Version of the restricted SCC | `2` |
| `selinux.enabled` | Enable selinux support | `false` |
| `selinux.context` | Which selinux context to use | `container_file_t` |
| `selinux.image.registry` | The OCI registry to pull the image from | `registry.access.redhat.com` |
| `selinux.image.repository` | The repository within the registry | `ubi9` |
| `selinux.image.pullPolicy` | The image pull policy | `Always` |
| `selinux.image.tag` | Overrides the image tag whose default is the chart appVersion | `latest` |
----------------------------------------------

View File

@ -1,21 +0,0 @@
{{ template "chart.header" . }}
<!-- This README.md is generated. Please edit README.md.gotmpl -->
{{ template "chart.deprecationWarning" . }}
{{ template "chart.badgesSection" . }}
{{ template "chart.description" . }}
{{ template "chart.homepageLine" . }}
{{ template "chart.maintainersSection" . }}
{{ template "chart.sourcesSection" . }}
{{ template "chart.requirementsSection" . }}
{{ template "chart.valuesSection" . }}
----------------------------------------------

View File

@ -29,6 +29,29 @@ Allow the release namespace to be overridden for multi-namespace deployments in
{{- define "spiffe-csi-driver.namespace" -}} {{- define "spiffe-csi-driver.namespace" -}}
{{- if .Values.namespaceOverride -}} {{- if .Values.namespaceOverride -}}
{{- .Values.namespaceOverride -}} {{- .Values.namespaceOverride -}}
{{- else if and (dig "spire" "recommendations" "enabled" false .Values.global) (dig "spire" "recommendations" "namespaceLayout" true .Values.global) }}
{{- if ne (len (dig "spire" "namespaces" "system" "name" "" .Values.global)) 0 }}
{{- .Values.global.spire.namespaces.system.name }}
{{- else }}
{{- printf "spire-system" }}
{{- end }}
{{- else -}}
{{- .Release.Namespace -}}
{{- end -}}
{{- end -}}
{{/*
Allow the release namespace to be overridden for multi-namespace deployments in combined charts
*/}}
{{- define "spiffe-csi-driver.server-namespace" -}}
{{- if .Values.serverNamespaceOverride -}}
{{- .Values.serverNamespaceOverride -}}
{{- else if and (dig "spire" "recommendations" "enabled" false .Values.global) (dig "spire" "recommendations" "namespaceLayout" true .Values.global) }}
{{- if ne (len (dig "spire" "namespaces" "server" "name" "" .Values.global)) 0 }}
{{- .Values.global.spire.namespaces.server.name }}
{{- else }}
{{- printf "spire-server" }}
{{- end }}
{{- else -}} {{- else -}}
{{- .Release.Namespace -}} {{- .Release.Namespace -}}
{{- end -}} {{- end -}}
@ -72,15 +95,6 @@ Create the name of the service account to use
{{- end }} {{- end }}
{{- end }} {{- end }}
{{- define "spiffe-csi-driver.agent-socket-path" -}}
{{- define "spiffe-csi-driver.image" -}} {{- print .Values.agentSocketPath }}
{{- if eq (substr 0 7 .image.version) "sha256:" -}}
{{- printf "%s/%s@%s" .image.registry .image.repository .image.version -}}
{{- else if .appVersion -}}
{{- printf "%s/%s:%s" .image.registry .image.repository (default .appVersion .image.version) -}}
{{- else if .image.version -}}
{{- printf "%s/%s:%s" .image.registry .image.repository .image.version -}}
{{- else -}}
{{- printf "%s/%s" .image.registry .image.repository -}}
{{- end -}}
{{- end }} {{- end }}

View File

@ -2,15 +2,24 @@ apiVersion: apps/v1
kind: DaemonSet kind: DaemonSet
metadata: metadata:
name: {{ include "spiffe-csi-driver.fullname" . }} name: {{ include "spiffe-csi-driver.fullname" . }}
namespace: {{ .Release.Namespace }} namespace: {{ include "spiffe-csi-driver.namespace" . }}
labels: labels:
{{- include "spiffe-csi-driver.labels" . | nindent 4 }} {{- include "spiffe-csi-driver.labels" . | nindent 4 }}
spec: spec:
selector: selector:
matchLabels: matchLabels:
{{- include "spiffe-csi-driver.selectorLabels" . | nindent 6 }} {{- include "spiffe-csi-driver.selectorLabels" . | nindent 6 }}
{{- with .Values.updateStrategy }}
updateStrategy: updateStrategy:
type: RollingUpdate {{- if not (has .type (list "RollingUpdate" "OnDelete")) }}
{{- fail "updateStrategy.type can only be RollingUpdate or OnDelete"}}
{{- end }}
type: {{ .type }}
{{- if eq .type "RollingUpdate" }}
rollingUpdate:
maxUnavailable: {{ .rollingUpdate.maxUnavailable }}
{{- end }}
{{- end }}
template: template:
metadata: metadata:
{{- with .Values.podAnnotations }} {{- with .Values.podAnnotations }}
@ -20,18 +29,58 @@ spec:
labels: labels:
{{- include "spiffe-csi-driver.selectorLabels" . | nindent 8 }} {{- include "spiffe-csi-driver.selectorLabels" . | nindent 8 }}
spec: spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
serviceAccountName: {{ include "spiffe-csi-driver.serviceAccountName" . }} serviceAccountName: {{ include "spiffe-csi-driver.serviceAccountName" . }}
{{- with .Values.nodeSelector }} {{- with .Values.nodeSelector }}
nodeSelector: nodeSelector:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
{{- with .Values.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- include "spire-lib.default_node_priority_class_name" . | nindent 6 }}
{{- if or (gt (len .Values.initContainers) 0) (dig "openshift" false .Values.global) (dig "selinux" false .Values.global) .Values.selinux.enabled }}
initContainers:
{{- if or (dig "openshift" false .Values.global) (dig "selinux" false .Values.global) .Values.selinux.enabled }}
- name: set-context
command:
- chcon
- '-Rvt'
- {{ .Values.selinux.context }}
- spire-agent-socket/
image: {{ template "spire-lib.image" (dict "appVersion" $.Chart.AppVersion "image" .Values.selinux.image "global" .Values.global) }}
imagePullPolicy: {{ .Values.selinux.image.pullPolicy }}
securityContext:
capabilities:
drop:
- all
privileged: true
volumeMounts:
- name: spire-agent-socket-dir
mountPath: /spire-agent-socket
terminationMessagePolicy: File
terminationMessagePath: /dev/termination-log
{{- end }}
{{- if gt (len .Values.initContainers) 0 }}
{{- toYaml .Values.initContainers | nindent 8 }}
{{- end }}
{{- end }}
containers: containers:
# This is the container which runs the SPIFFE CSI driver. # This is the container which runs the SPIFFE CSI driver.
- name: {{ .Chart.Name }} - name: {{ .Chart.Name }}
image: {{ template "spiffe-csi-driver.image" (dict "appVersion" $.Chart.AppVersion "image" .Values.image) }} image: {{ template "spire-lib.image" (dict "appVersion" $.Chart.AppVersion "image" .Values.image "global" .Values.global) }}
imagePullPolicy: {{ .Values.image.pullPolicy }} imagePullPolicy: {{ .Values.image.pullPolicy }}
args: [ args: [
"-workload-api-socket-dir", "/spire-agent-socket", "-workload-api-socket-dir", "/spire-agent-socket",
"-plugin-name", "{{ .Values.pluginName }}",
"-csi-socket-path", "/spiffe-csi/csi.sock", "-csi-socket-path", "/spiffe-csi/csi.sock",
] ]
env: env:
@ -41,6 +90,9 @@ spec:
valueFrom: valueFrom:
fieldRef: fieldRef:
fieldPath: spec.nodeName fieldPath: spec.nodeName
{{- with .Values.extraEnvVars }}
{{- toYaml . | nindent 12 }}
{{- end }}
volumeMounts: volumeMounts:
# The volume containing the SPIRE agent socket. The SPIFFE CSI # The volume containing the SPIRE agent socket. The SPIFFE CSI
# driver will mount this directory into containers. # driver will mount this directory into containers.
@ -52,7 +104,7 @@ spec:
- mountPath: /spiffe-csi - mountPath: /spiffe-csi
name: spiffe-csi-socket-dir name: spiffe-csi-socket-dir
# The volume containing mount points for containers. # The volume containing mount points for containers.
- mountPath: /var/lib/kubelet/pods - mountPath: {{ .Values.kubeletPath }}/pods
mountPropagation: Bidirectional mountPropagation: Bidirectional
name: mountpoint-dir name: mountpoint-dir
securityContext: securityContext:
@ -67,13 +119,17 @@ spec:
# of all the little details required to register a CSI driver with # of all the little details required to register a CSI driver with
# the kubelet. # the kubelet.
- name: node-driver-registrar - name: node-driver-registrar
image: {{ template "spiffe-csi-driver.image" .Values.nodeDriverRegistrar }} image: {{ template "spire-lib.image" (dict "image" .Values.nodeDriverRegistrar.image "global" .Values.global) }}
imagePullPolicy: {{ .Values.nodeDriverRegistrar.image.pullPolicy }} imagePullPolicy: {{ .Values.nodeDriverRegistrar.image.pullPolicy }}
args: [ args: [
"-csi-address", "/spiffe-csi/csi.sock", "-csi-address", "/spiffe-csi/csi.sock",
"-kubelet-registration-path", "/var/lib/kubelet/plugins/csi.spiffe.io/csi.sock", "-kubelet-registration-path", "{{ .Values.kubeletPath }}/plugins/{{ .Values.pluginName }}/csi.sock",
"-health-port", "9809" "-health-port", "{{ .Values.healthChecks.port }}"
] ]
env:
{{- with .Values.nodeDriverRegistrar.extraEnvVars }}
{{- toYaml . | nindent 12 }}
{{- end }}
volumeMounts: volumeMounts:
# The registrar needs access to the SPIFFE CSI driver socket # The registrar needs access to the SPIFFE CSI driver socket
- mountPath: /spiffe-csi - mountPath: /spiffe-csi
@ -83,34 +139,33 @@ spec:
- name: kubelet-plugin-registration-dir - name: kubelet-plugin-registration-dir
mountPath: /registration mountPath: /registration
ports: ports:
- containerPort: 9809 - containerPort: {{ .Values.healthChecks.port }}
name: healthz name: healthz
livenessProbe: livenessProbe:
httpGet: httpGet:
path: /healthz path: /healthz
port: healthz port: healthz
initialDelaySeconds: 5 {{- toYaml .Values.livenessProbe | nindent 12 }}
timeoutSeconds: 5
resources: resources:
{{- toYaml .Values.nodeDriverRegistrar.resources | nindent 12 }} {{- toYaml .Values.nodeDriverRegistrar.resources | nindent 12 }}
volumes: volumes:
- name: spire-agent-socket-dir - name: spire-agent-socket-dir
hostPath: hostPath:
path: {{ include "spire.agent-socket-path" . | dir }} path: {{ include "spiffe-csi-driver.agent-socket-path" . | dir }}
type: DirectoryOrCreate type: DirectoryOrCreate
# This volume is where the socket for kubelet->driver communication lives # This volume is where the socket for kubelet->driver communication lives
- name: spiffe-csi-socket-dir - name: spiffe-csi-socket-dir
hostPath: hostPath:
path: /var/lib/kubelet/plugins/csi.spiffe.io path: {{ .Values.kubeletPath }}/plugins/{{ .Values.pluginName }}
type: DirectoryOrCreate type: DirectoryOrCreate
# This volume is where the SPIFFE CSI driver mounts volumes # This volume is where the SPIFFE CSI driver mounts volumes
- name: mountpoint-dir - name: mountpoint-dir
hostPath: hostPath:
path: /var/lib/kubelet/pods path: {{ .Values.kubeletPath }}/pods
type: Directory type: Directory
# This volume is where the node-driver-registrar registers the plugin # This volume is where the node-driver-registrar registers the plugin
# with kubelet # with kubelet
- name: kubelet-plugin-registration-dir - name: kubelet-plugin-registration-dir
hostPath: hostPath:
path: /var/lib/kubelet/plugins_registry path: {{ .Values.kubeletPath }}/plugins_registry
type: Directory type: Directory

View File

@ -0,0 +1,37 @@
{{- $upstream := eq .Values.pluginName "upstream.csi.spiffe.io" }}
{{- $detectedValidation := semverCompare ">=1.30-0" .Capabilities.KubeVersion.GitVersion -}}
{{- $policyEnabled := .Values.validatingAdmissionPolicy.enabled | toString }}
{{- $auto := eq $policyEnabled "auto" }}
{{- if or (eq $policyEnabled "true") (and $auto $upstream $detectedValidation) }}
apiVersion: admissionregistration.k8s.io/v1
kind: ValidatingAdmissionPolicy
metadata:
name: {{ .Values.pluginName | quote }}
spec:
failurePolicy: Fail
matchConstraints:
resourceRules:
- apiGroups: [""]
apiVersions: ["v1"]
operations: ["CREATE", "UPDATE"]
resources: ["pods"]
validations:
- expression: |
!object.spec.volumes.exists(c, has(c.csi) && has(c.csi.driver) && c.csi.driver == {{ .Values.pluginName | quote }})
message: 'you may not use the upstream.csi.spiffe.io csi driver'
---
apiVersion: admissionregistration.k8s.io/v1
kind: ValidatingAdmissionPolicyBinding
metadata:
name: {{ .Values.pluginName | quote }}
spec:
policyName: {{ .Values.pluginName | quote }}
validationActions: ["Deny"]
matchResources:
namespaceSelector:
matchExpressions:
- key: "kubernetes.io/metadata.name"
operator: NotIn
values:
- {{ include "spiffe-csi-driver.server-namespace" . | quote }}
{{- end }}

View File

@ -0,0 +1,61 @@
{{- if and .Values.global.openshift .Values.restrictedScc.enabled }}
{{- $name := default (printf "restricted-%scsi" (eq (.Values.restrictedScc.version | toString) "2" | ternary "v2-" "")) .Values.restrictedScc.name -}}
{{- $v2Description := "This is the most restrictive SCC and it is used by default for authenticated users. On top of the legacy 'restricted' SCC, it also requires to drop ALL capabilities and does not allow privilege escalation binaries. It will also default the seccomp profile to runtime/default if unset, otherwise this seccomp profile is required." -}}
apiVersion: security.openshift.io/v1
kind: SecurityContextConstraints
allowHostPorts: false
priority: null
requiredDropCapabilities:
{{- if eq (.Values.restrictedScc.version | toString) "2" }}
- ALL
{{- else }}
- KILL
- MKNOD
- SETUID
- SETGID
{{- end }}
allowPrivilegedContainer: false
runAsUser:
type: MustRunAsRange
users: []
allowHostDirVolumePlugin: false
{{- if eq (.Values.restrictedScc.version | toString) "2" }}
seccompProfiles:
- runtime/default
{{- end }}
allowHostIPC: false
seLinuxContext:
type: MustRunAs
readOnlyRootFilesystem: false
metadata:
name: {{ $name }}
annotations:
kubernetes.io/description: >-
{{ $name }} denies access to all host features and requires pods to be
run with a UID, and SELinux context that are allocated to the namespace.
{{ eq (.Values.restrictedScc.version | toString) "2" | ternary $v2Description "" }}
fsGroup:
type: MustRunAs
groups: []
defaultAddCapabilities: null
supplementalGroups:
type: RunAsAny
volumes:
- configMap
- csi
- downwardAPI
- emptyDir
- ephemeral
- persistentVolumeClaim
- projected
- secret
allowHostPID: false
allowHostNetwork: false
allowPrivilegeEscalation: {{ eq (.Values.restrictedScc.version | toString) "2" | ternary false true }}
{{- if eq (.Values.restrictedScc.version | toString) "2" }}
allowedCapabilities:
- NET_BIND_SERVICE
{{ else}}
allowedCapabilities: null
{{- end }}
{{- end }}

View File

@ -0,0 +1,34 @@
{{- if eq (.Values.global.openshift | toString) "true" }}
apiVersion: security.openshift.io/v1
kind: SecurityContextConstraints
metadata:
name: {{ include "spiffe-csi-driver.fullname" . }}
readOnlyRootFilesystem: true
runAsUser:
type: RunAsAny
seLinuxContext:
type: RunAsAny
supplementalGroups:
type: RunAsAny
users:
- system:serviceaccount:{{ include "spiffe-csi-driver.namespace" . }}:{{ include "spiffe-csi-driver.serviceAccountName" . }}
volumes:
- configmap
- hostPath
- secret
allowedCapabilities: null
allowHostDirVolumePlugin: true
allowHostIPC: false
allowHostNetwork: false
allowHostPID: false
allowHostPorts: false
allowPrivilegeEscalation: true
allowPrivilegedContainer: true
defaultAddCapabilities: null
fsGroup:
type: RunAsAny
groups: []
priority: null
requiredDropCapabilities: null
{{ end }}

View File

@ -1,7 +1,17 @@
{{- $labels := dict }}
{{- if (dig "openshift" false .Values.global) }}
{{- $_ := set $labels "security.openshift.io/csi-ephemeral-volume-profile" "restricted" }}
{{- end }}
{{- $labels = mergeOverwrite $labels .Values.csiDriverLabels }}
apiVersion: storage.k8s.io/v1 apiVersion: storage.k8s.io/v1
kind: CSIDriver kind: CSIDriver
metadata: metadata:
name: "csi.spiffe.io" name: {{ .Values.pluginName | quote }}
{{- with $labels }}
labels:
{{- toYaml . | nindent 4 }}
{{- end }}
spec: spec:
# Only ephemeral, inline volumes are supported. There is no need for a # Only ephemeral, inline volumes are supported. There is no need for a
# controller to provision and attach volumes. # controller to provision and attach volumes.

View File

@ -1,8 +1,26 @@
# Default configuration for SPIFFE CSI Driver chart
# SPDX-License-Identifier: APACHE-2.0
## @skip global
global: {}
## @section SPIFFE CSI Driver Chart parameters
##
## @param pluginName Set the csi driver name deployed to Kubernetes.
pluginName: csi.spiffe.io
## @param image.registry The OCI registry to pull the image from
## @param image.repository The repository within the registry
## @param image.pullPolicy The image pull policy
## @param image.tag Overrides the image tag whose default is the chart appVersion
##
image: image:
registry: ghcr.io registry: ghcr.io
repository: spiffe/spiffe-csi-driver repository: spiffe/spiffe-csi-driver
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
version: "" tag: ""
## @param resources [object] Resource requests and limits for spiffe-csi-driver
resources: {} resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious # We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little # choice for the user. This also increases chances charts run on environments with little
@ -15,25 +33,71 @@ resources: {}
# cpu: 100m # cpu: 100m
# memory: 64Mi # memory: 64Mi
## @param extraEnvVars [array] Extra environment variables to be added to the spiffe-csi-driver container
extraEnvVars: []
healthChecks:
## @param healthChecks.port The healthcheck port for spiffe-csi-driver
port: 9809
## @param updateStrategy.type The update strategy to use to replace existing DaemonSet pods with new pods. Can be RollingUpdate or OnDelete.
## @param updateStrategy.rollingUpdate.maxUnavailable Max unavailable pods during update. Can be a number or a percentage.
updateStrategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 1
## @param livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
## @param livenessProbe.timeoutSeconds Timeout value in seconds for livenessProbe
##
livenessProbe:
initialDelaySeconds: 5
timeoutSeconds: 5
## @param imagePullSecrets Image pull secret details for spiffe-csi-driver
imagePullSecrets: [] imagePullSecrets: []
## @param nameOverride Name override for spiffe-csi-driver
nameOverride: "" nameOverride: ""
## @param namespaceOverride Namespace to install spiffe-csi-driver
namespaceOverride: "" namespaceOverride: ""
## @param serverNamespaceOverride Override the namespace that the spire-server is installed into
serverNamespaceOverride: ""
validatingAdmissionPolicy:
## @param validatingAdmissionPolicy.enabled When set to auto, the validatingAdmissionPolicy will be enabled when the pluginName == "upstream.csi.spiffe.io" and k8s >= 1.30.0. Valid options are [auto, true, false]
enabled: auto
## @param fullnameOverride Full name override for spiffe-csi-driver
fullnameOverride: "" fullnameOverride: ""
## @param csiDriverLabels Labels to apply to the CSIDriver
csiDriverLabels: {}
## @param initContainers Init Containers to apply to the CSI Driver DaemonSet
initContainers: []
## @param serviceAccount.create Specifies whether a service account should be created
## @param serviceAccount.annotations Annotations to add to the service account
## @param serviceAccount.name The name of the service account to use. If not set and create is true, a name is generated.
##
serviceAccount: serviceAccount:
# Specifies whether a service account should be created
create: true create: true
# Annotations to add to the service account
annotations: {} annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: "" name: ""
## @param podAnnotations [object] Pod annotations for spiffe-csi-driver
podAnnotations: {} podAnnotations: {}
## @param podSecurityContext [object] Security context for CSI driver pods
podSecurityContext: {} podSecurityContext: {}
# fsGroup: 2000 # fsGroup: 2000
## @param securityContext.readOnlyRootFilesystem Flag for read only root filesystem
## @param securityContext.privileged Flag for specifying privileged mode
##
securityContext: securityContext:
readOnlyRootFilesystem: true readOnlyRootFilesystem: true
privileged: true privileged: true
@ -43,15 +107,27 @@ securityContext:
# drop: # drop:
# - ALL # - ALL
nodeSelector: ## @param nodeSelector [object] Node selector for CSI driver pods
kubernetes.io/arch: amd64 nodeSelector: {}
## @param tolerations [array] Tolerations for CSI driver pods
tolerations: []
## @param affinity [object] Node affinity
affinity: {}
nodeDriverRegistrar: nodeDriverRegistrar:
## @param nodeDriverRegistrar.image.registry The OCI registry to pull the image from
## @param nodeDriverRegistrar.image.repository The repository within the registry
## @param nodeDriverRegistrar.image.pullPolicy The image pull policy
## @param nodeDriverRegistrar.image.tag Overrides the image tag
##
image: image:
registry: registry.k8s.io registry: registry.k8s.io
repository: sig-storage/csi-node-driver-registrar repository: sig-storage/csi-node-driver-registrar
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
version: v2.6.2 tag: v2.9.4
## @param nodeDriverRegistrar.resources Resource requests and limits for CSI driver pods
resources: {} resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious # We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little # choice for the user. This also increases chances charts run on environments with little
@ -63,3 +139,38 @@ nodeDriverRegistrar:
# limits: # limits:
# cpu: 100m # cpu: 100m
# memory: 64Mi # memory: 64Mi
## @param nodeDriverRegistrar.extraEnvVars [array] Extra environment variables to be added to the nodeDriverRegistrar container
extraEnvVars: []
## @param agentSocketPath The unix socket path to the spire-agent
agentSocketPath: /run/spire/agent-sockets/spire-agent.sock
## @param kubeletPath Path to kubelet file
kubeletPath: /var/lib/kubelet
## @param priorityClassName Priority class assigned to daemonset pods. Can be auto set with global.recommendations.priorityClassName.
priorityClassName: ""
restrictedScc:
## @param restrictedScc.enabled Enables the creation of a SecurityContextConstraint based on the restricted SCC with CSI volume support
enabled: false
## @param restrictedScc.name Set the name of the restricted SCC with CSI support
name: ""
## @param restrictedScc.version Version of the restricted SCC
version: 2
selinux:
## @param selinux.enabled Enable selinux support
enabled: false
## @param selinux.context Which selinux context to use
context: container_file_t
## @param selinux.image.registry The OCI registry to pull the image from
## @param selinux.image.repository The repository within the registry
## @param selinux.image.pullPolicy The image pull policy
## @param selinux.image.tag Overrides the image tag whose default is the chart appVersion
image:
registry: registry.access.redhat.com
repository: ubi9
pullPolicy: Always
tag: latest

View File

@ -3,4 +3,19 @@ name: spiffe-oidc-discovery-provider
description: A Helm chart to install the SPIFFE OIDC discovery provider. description: A Helm chart to install the SPIFFE OIDC discovery provider.
type: application type: application
version: 0.1.0 version: 0.1.0
appVersion: "1.5.4" appVersion: "1.12.4"
keywords: ["spiffe", "oidc"]
home: https://github.com/spiffe/helm-charts-hardened/tree/main/charts/spire
sources:
- https://github.com/spiffe/helm-charts-hardened/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

View File

@ -1,54 +1,145 @@
# spiffe-oidc-discovery-provider # spiffe-oidc-discovery-provider
<!-- This README.md is generated. Please edit README.md.gotmpl --> ![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.7.2](https://img.shields.io/badge/AppVersion-1.7.2-informational?style=flat-square)
![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.5.4](https://img.shields.io/badge/AppVersion-1.5.4-informational?style=flat-square)
A Helm chart to install the SPIFFE OIDC discovery provider. A Helm chart to install the SPIFFE OIDC discovery provider.
## Values **Homepage:** <https://github.com/spiffe/helm-charts-hardened/tree/main/charts/spire>
| Key | Type | Default | Description | ## Maintainers
|-----|------|---------|-------------|
| affinity | object | `{}` | |
| autoscaling.enabled | bool | `false` | |
| autoscaling.maxReplicas | int | `5` | |
| autoscaling.minReplicas | int | `1` | |
| autoscaling.targetCPUUtilizationPercentage | int | `80` | |
| autoscaling.targetMemoryUtilizationPercentage | int | `80` | |
| config.acme.cacheDir | string | `"/run/spire"` | |
| config.acme.directoryUrl | string | `"https://acme-v02.api.letsencrypt.org/directory"` | |
| config.acme.emailAddress | string | `"letsencrypt@example.org"` | |
| config.acme.tosAccepted | bool | `false` | |
| config.domains[0] | string | `"localhost"` | |
| config.domains[1] | string | `"oidc-discovery.example.org"` | |
| config.logLevel | string | `"info"` | |
| fullnameOverride | string | `""` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.registry | string | `"ghcr.io"` | |
| image.repository | string | `"spiffe/oidc-discovery-provider"` | |
| image.version | string | `""` | |
| imagePullSecrets | list | `[]` | |
| insecureScheme.enabled | bool | `false` | |
| insecureScheme.nginx.image.pullPolicy | string | `"IfNotPresent"` | |
| insecureScheme.nginx.image.registry | string | `"docker.io"` | |
| insecureScheme.nginx.image.repository | string | `"nginx"` | |
| insecureScheme.nginx.image.version | string | `"1.23.2-alpine"` | |
| insecureScheme.nginx.resources | object | `{}` | |
| nameOverride | string | `""` | |
| nodeSelector."kubernetes.io/arch" | string | `"amd64"` | |
| podAnnotations | object | `{}` | |
| podSecurityContext | object | `{}` | |
| replicaCount | int | `1` | |
| resources | object | `{}` | |
| securityContext | object | `{}` | |
| service.annotations | object | `{}` | |
| service.port | int | `80` | |
| service.type | string | `"ClusterIP"` | |
| serviceAccount.annotations | object | `{}` | |
| serviceAccount.create | bool | `true` | |
| serviceAccount.name | string | `""` | |
| tolerations | list | `[]` | |
| trustDomain | string | `"example.org"` | |
---------------------------------------------- | Name | Email | Url |
| ---- | ------ | --- |
| marcofranssen | <marco.franssen@gmail.com> | <https://marcofranssen.nl> |
| kfox1111 | <Kevin.Fox@pnnl.gov> | |
| faisal-memon | <fymemon@yahoo.com> | |
| edwbuck | <edwbuck@gmail.com> | |
## Source Code
* <https://github.com/spiffe/helm-charts-hardened/tree/main/charts/spire>
<!-- The parameters section is generated using helm-docs.sh and should not be edited by hand. -->
## Parameters
### Chart parameters
| Name | Description | Value |
| ----------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- |
| `agentSocketName` | The name of the spire-agent unix socket | `spire-agent.sock` |
| `csiDriverName` | The csi driver to use | `csi.spiffe.io` |
| `bundleSource` | Configure where to fetch the trust bundle from. Must be CSI or ConfigMap. | `CSI` |
| `bundleConfigMap` | ConfigMap name for SPIRE bundle when bundleSource is ConfigMap | `spire-bundle` |
| `replicaCount` | Replica count | `1` |
| `namespaceOverride` | Namespace override | `""` |
| `annotations` | Annotations for the deployment | `{}` |
| `image.registry` | The OCI registry to pull the image from | `ghcr.io` |
| `image.repository` | The repository within the registry | `spiffe/oidc-discovery-provider` |
| `image.pullPolicy` | The image pull policy | `IfNotPresent` |
| `image.tag` | Overrides the image tag whose default is the chart appVersion | `""` |
| `expandEnv` | Set to true to enable environment variable substitution of config file options | `false` |
| `extraEnv` | Extra environment variables to add to the spiffe oidc discovery provider | `[]` |
| `spiffeHelper.image.registry` | The OCI registry to pull the image from | `ghcr.io` |
| `spiffeHelper.image.repository` | The repository within the registry | `spiffe/spiffe-helper` |
| `spiffeHelper.image.pullPolicy` | The image pull policy | `IfNotPresent` |
| `spiffeHelper.image.tag` | Overrides the image tag whose default is the chart appVersion | `0.10.1` |
| `spiffeHelper.resources` | Resource requests and limits | `{}` |
| `resources` | Resource requests and limits | `{}` |
| `service.type` | Service type | `ClusterIP` |
| `service.ports.http` | Insecure port for the service | `80` |
| `service.ports.https` | Secure port for the service | `443` |
| `service.annotations` | Annotations for service resource | `{}` |
| `configMap.annotations` | Annotations to add to the SPIFFE OIDC Discovery Provider ConfigMap | `{}` |
| `podSecurityContext` | Pod security context for OIDC discovery provider pods | `{}` |
| `securityContext` | Security context for OIDC discovery provider deployment | `{}` |
| `readinessProbe.initialDelaySeconds` | Initial delay seconds for readinessProbe | `5` |
| `readinessProbe.periodSeconds` | Period seconds for readinessProbe | `5` |
| `livenessProbe.initialDelaySeconds` | Initial delay seconds for livenessProbe | `5` |
| `livenessProbe.periodSeconds` | Period seconds for livenessProbe | `5` |
| `podAnnotations` | Pod annotations for Spire OIDC discovery provider | `{}` |
| `tls.spire.enabled` | Use spire to secure the oidc-discovery-provider | `true` |
| `tls.externalSecret.enabled` | Provide your own certificate/key via tls style Kubernetes Secret | `false` |
| `tls.externalSecret.secretName` | Specify which Secret to use | `""` |
| `tls.certManager.enabled` | Use certificateManager to create the certificate | `false` |
| `tls.certManager.issuer.create` | Create an issuer to use to issue the certificate | `true` |
| `tls.certManager.issuer.acme.email` | Must be set in order to register with LetsEncrypt. By setting, you agree to their Terms of Service | `""` |
| `tls.certManager.issuer.acme.server` | Server to use to get certificate. Defaults to LetsEncrypt | `https://acme-v02.api.letsencrypt.org/directory` |
| `tls.certManager.issuer.acme.solvers` | Configure the issuer solvers. Defaults to http01 via ingress. | `{}` |
| `tls.certManager.certificate.dnsNames` | Override the dnsNames on the certificate request. Defaults to the same settings as Ingress | `[]` |
| `tls.certManager.certificate.issuerRef.group` | If you are using an external plugin, specify the group for it here | `""` |
| `tls.certManager.certificate.issuerRef.kind` | Kind of the issuer reference. Override if you want to use a ClusterIssuer | `Issuer` |
| `tls.certManager.certificate.issuerRef.name` | Name of the issuer to use. If unset, it will use the name of the built in issuer | `""` |
| `insecureScheme.nginx.image.registry` | The OCI registry to pull the image from. Only used when TLS is disabled. | `docker.io` |
| `insecureScheme.nginx.image.repository` | The repository within the registry. Only used when TLS is disabled. | `nginxinc/nginx-unprivileged` |
| `insecureScheme.nginx.image.pullPolicy` | The image pull policy. Only used when TLS is disabled. | `IfNotPresent` |
| `insecureScheme.nginx.image.tag` | Overrides the image tag whose default is the chart appVersion. Only used when TLS is disabled. | `1.29.0-alpine` |
| `insecureScheme.nginx.ipMode` | IP modes supported by the cluster. Must be one of [ipv4, ipv6, both] | `both` |
| `insecureScheme.nginx.resources` | Resource requests and limits | `{}` |
| `jwtIssuer` | Path to JWT issuer. Defaults to oidc-discovery.$trustDomain if unset | `""` |
| `config.logLevel` | The log level, valid values are "debug", "info", "warn", and "error" | `info` |
| `config.jwtDomain` | The JWT domain. Defaults to oidc-discovery.$jwtIssuer URL-parsed host if unset | `""` |
| `config.jwksUri` | The JWKS URI | `""` |
| `config.additionalDomains` | Add additional domains that can be used for oidc discovery | `[]` |
| `imagePullSecrets` | Image pull secret names | `[]` |
| `nameOverride` | Name override | `""` |
| `fullnameOverride` | Full name override | `""` |
| `serviceAccount.create` | Specifies whether a service account should be created | `true` |
| `serviceAccount.annotations` | Annotations to add to the service account | `{}` |
| `serviceAccount.name` | The name of the service account to use. If not set and create is true, a name is generated. | `""` |
| `deleteHook.enabled` | Enable Helm hooks to autofix common delete issues (should be disabled when using `helm template`) | `true` |
| `autoscaling.enabled` | Flag to enable autoscaling | `false` |
| `autoscaling.minReplicas` | Minimum replicas for autoscaling | `1` |
| `autoscaling.maxReplicas` | Maximum replicas for autoscaling | `5` |
| `autoscaling.targetCPUUtilizationPercentage` | Target CPU utlization that triggers autoscaling | `80` |
| `autoscaling.targetMemoryUtilizationPercentage` | Target Memory utlization that triggers autoscaling | `80` |
| `nodeSelector` | Node selector | `{}` |
| `tolerations` | iist of tolerations | `[]` |
| `affinity` | Node affinity | `{}` |
| `trustDomain` | Set the trust domain to be used for the SPIFFE identifiers | `example.org` |
| `clusterDomain` | The name of the Kubernetes cluster (`kubeadm init --service-dns-domain`) | `cluster.local` |
| `telemetry.prometheus.enabled` | Flag to enable prometheus monitoring | `false` |
| `telemetry.prometheus.port` | Port for prometheus metrics | `9988` |
| `telemetry.prometheus.podMonitor.enabled` | Enable podMonitor for prometheus | `false` |
| `telemetry.prometheus.podMonitor.namespace` | Override where to install the podMonitor, if not set will use the same namespace as the helm release | `""` |
| `telemetry.prometheus.podMonitor.labels` | Pod labels to filter for prometheus monitoring | `{}` |
| `telemetry.prometheus.nginxExporter.image.registry` | The OCI registry to pull the image from | `docker.io` |
| `telemetry.prometheus.nginxExporter.image.repository` | The repository within the registry | `nginx/nginx-prometheus-exporter` |
| `telemetry.prometheus.nginxExporter.image.pullPolicy` | The image pull policy | `IfNotPresent` |
| `telemetry.prometheus.nginxExporter.image.tag` | Overrides the image tag whose default is the chart appVersion | `1.4.2` |
| `telemetry.prometheus.nginxExporter.resources` | Resource requests and limits | `{}` |
| `ingress.enabled` | Flag to enable ingress | `false` |
| `ingress.className` | Ingress class name | `""` |
| `ingress.controllerType` | Specify what type of ingress controller you're using to add the necessary annotations accordingly. If blank, autodetection is attempted. If other, no annotations will be added. Must be one of [ingress-nginx, openshift, other, ""]. | `""` |
| `ingress.annotations` | Annotations for ingress object | `{}` |
| `ingress.host` | Host name for the ingress. If no '.' in host, trustDomain is automatically appended. The rest of the rules will be autogenerated. For more customizability, use hosts[] instead. | `oidc-discovery` |
| `ingress.tlsSecret` | Secret that has the certs. If blank will use default certs. Used with host var. | `""` |
| `ingress.hosts` | Host paths for ingress object. If emtpy, rules will be built based on the host var. | `[]` |
| `ingress.tls` | Secrets containining TLS certs to enable https on ingress. If emtpy, rules will be built based on the host and tlsSecret vars. | `[]` |
| `tests.hostAliases` | List of host aliases for testing | `[]` |
| `tests.tls.enabled` | Flag for enabling tls for tests | `false` |
| `tests.tls.customCA` | Custom CA value for tests | `""` |
| `tests.bash.image.registry` | The OCI registry to pull the image from | `cgr.dev` |
| `tests.bash.image.repository` | The repository within the registry | `chainguard/bash` |
| `tests.bash.image.pullPolicy` | The image pull policy | `IfNotPresent` |
| `tests.bash.image.tag` | Overrides the image tag whose default is the chart appVersion | `latest@sha256:330ad2ea11cf3018a331326fb08e44cedd0c0c604cfbfcff32b81272460bb679` |
| `tests.toolkit.image.registry` | The OCI registry to pull the image from | `cgr.dev` |
| `tests.toolkit.image.repository` | The repository within the registry | `chainguard/min-toolkit-debug` |
| `tests.toolkit.image.pullPolicy` | The image pull policy | `IfNotPresent` |
| `tests.toolkit.image.tag` | Overrides the image tag whose default is the chart appVersion | `latest@sha256:f662d2b8c7c47e6d29c31b1bc8dbd039770d6186295bbc88bd8f540ca8ec3b53` |
| `tests.step.image.registry` | The OCI registry to pull the image from | `docker.io` |
| `tests.step.image.repository` | The repository within the registry | `smallstep/step-cli` |
| `tests.step.image.pullPolicy` | The image pull policy | `IfNotPresent` |
| `tests.step.image.tag` | Overrides the image tag whose default is the chart appVersion | `0.28.7` |
| `tests.busybox.image.registry` | The OCI registry to pull the image from | `""` |
| `tests.busybox.image.repository` | The repository within the registry | `busybox` |
| `tests.busybox.image.pullPolicy` | The image pull policy | `IfNotPresent` |
| `tests.busybox.image.tag` | Overrides the image tag whose default is the chart appVersion | `1.37.0-uclibc` |
| `tests.agent.image.registry` | The OCI registry to pull the image from | `ghcr.io` |
| `tests.agent.image.repository` | The repository within the registry | `spiffe/spire-agent` |
| `tests.agent.image.pullPolicy` | The image pull policy | `IfNotPresent` |
| `tests.agent.image.tag` | Overrides the image tag whose default is the chart appVersion | `""` |
| `tools.kubectl.image.registry` | The OCI registry to pull the image from | `registry.k8s.io` |
| `tools.kubectl.image.repository` | The repository within the registry | `kubectl` |
| `tools.kubectl.image.pullPolicy` | The image pull policy | `IfNotPresent` |
| `tools.kubectl.image.tag` | Overrides the image tag whose default is the chart appVersion | `""` |

View File

@ -1,21 +0,0 @@
{{ template "chart.header" . }}
<!-- This README.md is generated. Please edit README.md.gotmpl -->
{{ template "chart.deprecationWarning" . }}
{{ template "chart.badgesSection" . }}
{{ template "chart.description" . }}
{{ template "chart.homepageLine" . }}
{{ template "chart.maintainersSection" . }}
{{ template "chart.sourcesSection" . }}
{{ template "chart.requirementsSection" . }}
{{ template "chart.valuesSection" . }}
----------------------------------------------

View File

@ -0,0 +1,116 @@
#!/usr/bin/env bash
set -x
# https://gist.github.com/stokito/f2d7ea0b300f14638a9063559384ec89/
# Decode a JWT from stdin and verify it's signature with the JWT issuer public key
# Only RS256 keys are supported for signature check
#
# HOW TO USE:
# $ export JWTTOKEN="eyF...<your token here>...g"
# $ ./jwt-decode.sh https://example.com/keys "${JWTTOKEN}"
# if signature check failed then error code will be non-zero
URL=$1
JWT=$2
if [ -z "$(command -v jq)" ]; then
echo "This script will NOT work on your machine."
echo "Please install jq first: https://stedolan.github.io/jq/download/"
exit 1
fi
base64_padding() {
local len=$(( ${#1} % 4 ))
local padded_b64=''
if [ ${len} = 2 ]; then
padded_b64="${1}=="
elif [ ${len} = 3 ]; then
padded_b64="${1}="
else
padded_b64="${1}"
fi
echo -n "$padded_b64"
}
base64url_to_b64() {
base64_padding "${1}" | tr -- '-_' '+/'
}
b2hex() { echo -n "$1"==== | fold -w 4 | sed '$ d' | tr -d '\n' |base64 -d | xxd -p | tr -d \\n; }
mint_rsa_key() {
JWK=$1
# Extract the modulus and exponent from the JWK, converting from URL-safe Base64 to standard Base64
MODULUS=$(echo "$JWK" | jq -r '.n' | tr '_-' '/+')
EXPONENT=$(echo "$JWK" | jq -r '.e' | tr '_-' '/+')
modulus=$(b2hex "$MODULUS")
exponent=$(b2hex "$EXPONENT")
asnconf=$(mktemp)
asnconf="asn1=SEQUENCE:pubkeyinfo\n[pubkeyinfo]\nalgorithm=SEQUENCE:rsa_alg\npubkey=BITWRAP,SEQUENCE:rsapubkey\n[rsa_alg]\nalgorithm=OID:rsaEncryption\nparameter=NULL\n[rsapubkey]\nn=INTEGER:0x$modulus\ne=INTEGER:0x$exponent"
derfile=$(mktemp)
echo >&2 "derfile: $derfile"
echo -e "$asnconf" | openssl asn1parse -genconf /dev/stdin -noout -out "$derfile"
openssl rsa -in "$derfile" -inform DER -pubin
}
# read the JWT from stdin and split by comma into three variables
IFS='.' read -r JWT_HEADER_B64URL JWT_PAYLOAD_B64URL JWT_SIGNATURE_B64URL <<< "${JWT}"
JWT_HEADER_B64=$(base64url_to_b64 "${JWT_HEADER_B64URL}")
JWT_PAYLOAD_B64=$(base64url_to_b64 "${JWT_PAYLOAD_B64URL}")
JWT_SIGNATURE_B64=$(base64url_to_b64 "${JWT_SIGNATURE_B64URL}")
JWT_HEADER=$(echo "${JWT_HEADER_B64}" | base64 -d)
JWT_PAYLOAD=$(echo "${JWT_PAYLOAD_B64}" | base64 -d)
echo "JWT Header:"
echo "${JWT_HEADER}" | jq
echo "JWT Payload:"
echo "${JWT_PAYLOAD}" | jq
echo "JWT Signature (Base 64 padded):"
echo "${JWT_SIGNATURE_B64}"
JWT_ALG=$(echo "$JWT_HEADER" | jq -r .alg)
JWT_KID=$(echo "$JWT_HEADER" | jq -r .kid)
#JWT_TYP=$(echo "$JWT_HEADER" | jq -r .typ)
#JWT_ISS=$(echo "$JWT_PAYLOAD" | jq -r .iss)
JWT_SUB=$(echo "$JWT_PAYLOAD" | jq -r .sub)
JWT_EMAIL=$(echo "$JWT_PAYLOAD" | jq -r .email)
JWT_IAT=$(echo "$JWT_PAYLOAD" | jq -r .iat)
echo "alg: $JWT_ALG kid: $JWT_KID"
echo "sub: $JWT_SUB email: $JWT_EMAIL iat: $JWT_IAT"
echo "URL: ${URL}"
JWK_SET=$(curl -k -s "${URL}")
echo >&2 "JWK_SET: $JWK_SET"
JWK=$(echo "$JWK_SET" | jq -c -r --arg KID "$JWT_KID" '.keys[] | select(.kid==$KID)')
echo >&2 "JWK: $JWK"
PUB_KEY_FILE=$(mktemp)
mint_rsa_key "$JWK" > "$PUB_KEY_FILE"
# verify signature
if [ "${JWT_ALG}" = "RS256" ]; then
#SIG_FILE="/tmp/$JWT_SUB-$JWT_IAT.sig.dat"
SIG_FILE=$(mktemp)
echo -n "$JWT_SIGNATURE_B64" | base64 -d > "${SIG_FILE}"
JWT_BODY=$(echo -n "$JWT_HEADER_B64URL.$JWT_PAYLOAD_B64URL")
echo -n "$JWT_BODY" | openssl dgst -sha256 -verify "${PUB_KEY_FILE}" -signature "${SIG_FILE}"
JWT_SIG_VERIFIED=$?
rm "${SIG_FILE}"
if [ ${JWT_SIG_VERIFIED} -ne 0 ]; then
>&2 echo "Bad Signature"
exit ${JWT_SIG_VERIFIED};
fi
else
>&2 echo "Error 3: Unsupported signature algorithm $JWT_ALG"
exit 3
fi

View File

@ -23,6 +23,33 @@ If release name contains chart name it will be used as a full name.
{{- end }} {{- end }}
{{- end }} {{- end }}
{{/*
Allow the release namespace to be overridden for multi-namespace deployments in combined charts
*/}}
{{- define "spiffe-oidc-discovery-provider.namespace" -}}
{{- if .Values.namespaceOverride -}}
{{- .Values.namespaceOverride -}}
{{- else if and (dig "spire" "recommendations" "enabled" false .Values.global) (dig "spire" "recommendations" "namespaceLayout" true .Values.global) }}
{{- if ne (len (dig "spire" "namespaces" "server" "name" "" .Values.global)) 0 }}
{{- .Values.global.spire.namespaces.server.name }}
{{- else }}
{{- printf "spire-server" }}
{{- end }}
{{- else -}}
{{- .Release.Namespace -}}
{{- end -}}
{{- end -}}
{{- define "spiffe-oidc-discovery-provider.podMonitor.namespace" -}}
{{- if ne (len .Values.telemetry.prometheus.podMonitor.namespace) 0 }}
{{- .Values.telemetry.prometheus.podMonitor.namespace }}
{{- else if ne (len (dig "telemetry" "prometheus" "podMonitor" "namespace" "" .Values.global)) 0 }}
{{- .Values.global.telemetry.prometheus.podMonitor.namespace }}
{{- else }}
{{- include "spiffe-oidc-discovery-provider.namespace" . }}
{{- end }}
{{- end -}}
{{/* {{/*
Create chart name and version as used by the chart label. Create chart name and version as used by the chart label.
*/}} */}}
@ -61,14 +88,28 @@ Create the name of the service account to use
{{- end }} {{- end }}
{{- end }} {{- end }}
{{- define "spiffe-oidc-discovery-provider.image" -}} {{- define "spiffe-oidc-discovery-provider.workload-api-socket-path" -}}
{{- if eq (substr 0 7 .image.version) "sha256:" -}} {{- printf "/spiffe-workload-api/%s" .Values.agentSocketName }}
{{- printf "%s/%s@%s" .image.registry .image.repository .image.version -}} {{- end }}
{{- else if .appVersion -}}
{{- printf "%s/%s:%s" .image.registry .image.repository (default .appVersion .image.version) -}} {{- define "spiffe-oidc-discovery-provider.tls-enabled" -}}
{{- else if .image.version -}} {{- if or .Values.tls.spire.enabled .Values.tls.externalSecret.enabled .Values.tls.certManager.enabled }}
{{- printf "%s/%s:%s" .image.registry .image.repository .image.version -}} {{- true }}
{{- else -}} {{- else }}
{{- printf "%s/%s" .image.registry .image.repository -}} {{- false }}
{{- end -}} {{- end }}
{{- end }}
{{- define "spiffe-oidc-discovery-provider.podSecurityContext" -}}
{{- $podSecurityContext := include "spire-lib.podsecuritycontext" . | fromYaml }}
{{- $openshift := ((.Values).global).openshift | default false }}
{{- if and .Values.tls.spire.enabled (not $openshift) }}
{{- if not (hasKey $podSecurityContext "runAsUser") }}
{{- $_ := set $podSecurityContext "runAsUser" 1000 }}
{{- end }}
{{- if not (hasKey $podSecurityContext "runAsGroup") }}
{{- $_ := set $podSecurityContext "runAsGroup" 1000 }}
{{- end }}
{{- end }}
{{- toYaml $podSecurityContext }}
{{- end }} {{- end }}

View File

@ -0,0 +1,26 @@
{{- define "spiffe-oidc-discovery-provider.cert-manager-default-cert" }}
{{- $fullName := include "spiffe-oidc-discovery-provider.fullname" . }}
dnsNames:
{{- if ne (len .Values.tls.certManager.certificate.dnsNames) 0 }}
{{- toYaml .Values.tls.certManager.certificate.dnsNames | nindent 4 }}
{{- else }}
- {{ include "spire-lib.ingress-calculated-name" (dict "ingress" .Values.ingress "Values" .Values) }}
{{- end }}
issuerRef:
{{- with .Values.tls.certManager.certificate.issuerRef.group }}
group: {{ . }}
{{- end }}
kind: {{ default "Issuer" .Values.tls.certManager.certificate.issuerRef.kind }}
name: {{ default $fullName .Values.tls.certManager.certificate.issuerRef.name }}
secretName: {{ $fullName }}-cert
{{- end }}
{{- if .Values.tls.certManager.enabled }}
---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: {{ include "spiffe-oidc-discovery-provider.fullname" . }}
namespace: {{ include "spiffe-oidc-discovery-provider.namespace" . }}
spec:
{{ merge (include "spiffe-oidc-discovery-provider.cert-manager-default-cert" . | fromYaml) .Values.tls.certManager.certificate | toYaml | nindent 2 }}
{{- end }}

View File

@ -1,57 +1,108 @@
{{- if and (ne .Values.bundleSource "ConfigMap") (ne .Values.bundleSource "CSI") }}
{{- fail "Bundle source must be CSI or ConfigmMap" }}
{{- end }}
{{- $tlsCount := 0 }}
{{- if and .Values.enabled .Values.tls.spire.enabled }}
{{- $tlsCount = add $tlsCount 1 }}
{{- end }}
{{- if and .Values.enabled .Values.tls.externalSecret.enabled }}
{{- $tlsCount = add $tlsCount 1 }}
{{- end }}
{{- if and .Values.enabled .Values.tls.certManager.enabled }}
{{- $tlsCount = add $tlsCount 1 }}
{{- end }}
{{- if gt $tlsCount 1 }}
{{- fail "You can only have one TLS configuration enabled" }}
{{- end }}
{{- include "spire-lib.check-strict-mode" (list . "trustDomain must be set" (eq (include "spire-lib.trust-domain" .) "example.org"))}}
{{- include "spire-lib.check-strict-mode" (list . "jwtIssuer must be set" (eq (include "spire-lib.jwt-issuer" .) "https://oidc-discovery.example.org"))}}
{{- $oidcSocket := "/run/spire/oidc-sockets/spire-oidc-server.sock" }} {{- $oidcSocket := "/run/spire/oidc-sockets/spire-oidc-server.sock" }}
{{- define "spiffe-oidc-discovery-provider.yaml-config" -}}
{{- $oidcSocket := .oidcSocket }}
{{- with .root }}
log_level: {{ .Values.config.logLevel | quote }}
domains:
- "{{ include "spiffe-oidc-discovery-provider.fullname" . }}"
- "{{ include "spiffe-oidc-discovery-provider.fullname" . }}.{{ include "spiffe-oidc-discovery-provider.namespace" . }}"
- "{{ include "spiffe-oidc-discovery-provider.fullname" . }}.{{ include "spiffe-oidc-discovery-provider.namespace" . }}.svc.{{ include "spire-lib.cluster-domain" . }}"
{{- $jwtDomain := .Values.config.jwtDomain }}
{{- if not $jwtDomain }}
{{- $uri := urlParse (include "spire-lib.jwt-issuer" .) }}
{{- $jwtDomain = (default $uri.path $uri.host) }}
{{- end }}
{{- uniq (concat (list $jwtDomain) .Values.config.additionalDomains) | toYaml | nindent 2 }}
{{- if eq (include "spiffe-oidc-discovery-provider.tls-enabled" .) "false" }}
allow_insecure_scheme: true
listen_socket_path: {{ $oidcSocket | quote }}
{{- else }}
serving_cert_file:
cert_file_path: /certs/tls.crt
key_file_path: /certs/tls.key
addr: ':8443'
{{- end }}
{{- if .Values.config.jwksUri}}
jwks_uri: {{ .Values.config.jwksUri | quote }}
{{- end }}
{{- if eq .Values.bundleSource "ConfigMap" }}
file:
path: /bundle/bundle.spiffe
{{- else }}
workload_api:
socket_path: {{ include "spiffe-oidc-discovery-provider.workload-api-socket-path" . | quote }}
trust_domain: {{ include "spire-lib.trust-domain" . | quote }}
{{- end }}
health_checks:
bind_port: "8008"
ready_path: "/ready"
live_path: "/live"
{{- end }}
{{- end }}
apiVersion: v1 apiVersion: v1
kind: ConfigMap kind: ConfigMap
metadata: metadata:
name: {{ include "spiffe-oidc-discovery-provider.fullname" . }} name: {{ include "spiffe-oidc-discovery-provider.fullname" . }}
namespace: {{ .Release.Namespace }} namespace: {{ include "spiffe-oidc-discovery-provider.namespace" . }}
{{- with .Values.configMap.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
data: data:
oidc-discovery-provider.conf: | oidc-discovery-provider.conf: |
log_level = "{{ .Values.config.logLevel }}" {{- include "spiffe-oidc-discovery-provider.yaml-config" (dict "oidcSocket" $oidcSocket "root" .) | fromYaml | toPrettyJson | nindent 4 }}
{{- if eq (include "spiffe-oidc-discovery-provider.tls-enabled" .) "false" }}
domains = [ default.conf: |
"{{ include "spiffe-oidc-discovery-provider.fullname" . }}",
"{{ include "spiffe-oidc-discovery-provider.fullname" . }}.{{ .Release.Namespace }}",
"{{ include "spiffe-oidc-discovery-provider.fullname" . }}.{{ .Release.Namespace }}.svc.cluster.local",
{{- if gt (len .Values.config.domains) 0 }}
"{{- join "\",\n \"" .Values.config.domains }}"
{{- end }}
]
{{- if .Values.insecureScheme.enabled }}
allow_insecure_scheme = {{ .Values.insecureScheme.enabled }}
listen_socket_path = {{ $oidcSocket | quote }}
{{- else }}
acme {
directory_url = "{{ .Values.config.acme.directoryUrl }}"
cache_dir = "{{ .Values.config.acme.cacheDir }}"
tos_accepted = {{ .Values.config.acme.tosAccepted }}
email = "{{ .Values.config.acme.emailAddress }}"
}
{{- end }}
workload_api {
socket_path = "/spiffe-workload-api/{{ include "spire.agent-socket-path" . | splitList "/" | last }}"
trust_domain = "{{ .Values.trustDomain }}"
}
health_checks {
bind_port = "8008"
ready_path = "/ready"
live_path = "/live"
}
{{- if .Values.insecureScheme.enabled }}
default.conf.template: |
upstream oidc { upstream oidc {
server unix:{{ $oidcSocket }}; server unix:{{ $oidcSocket }};
} }
server { server {
listen 80; {{- if or (eq .Values.insecureScheme.nginx.ipMode "ipv4") (eq .Values.insecureScheme.nginx.ipMode "both") }}
listen [::]:80; listen 8080;
{{- end }}
{{- if or (eq .Values.insecureScheme.nginx.ipMode "ipv6") (eq .Values.insecureScheme.nginx.ipMode "both") }}
listen [::]:8080;
{{- end }}
location / { location / {
proxy_pass http://oidc; proxy_pass http://oidc;
proxy_set_header Host $host; proxy_set_header Host $host;
} }
location /stub_status {
allow 127.0.0.1/32;
deny all;
stub_status on;
}
} }
{{- end }} {{- end }}
spiffe-helper.conf: |
agent_address = {{ include "spiffe-oidc-discovery-provider.workload-api-socket-path" . | quote }}
cert_dir = "/certs"
svid_file_name = "tls.crt"
svid_key_file_name = "tls.key"
svid_bundle_file_name = "ca.pem"

View File

@ -1,9 +1,16 @@
{{- $tlsEnabled := eq (include "spiffe-oidc-discovery-provider.tls-enabled" .) "true" }}
{{- $configSum := (include (print $.Template.BasePath "/configmap.yaml") . | sha256sum) }}
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: {{ include "spiffe-oidc-discovery-provider.fullname" . }} name: {{ include "spiffe-oidc-discovery-provider.fullname" . }}
namespace: {{ include "spiffe-oidc-discovery-provider.namespace" . }}
labels: labels:
{{- include "spiffe-oidc-discovery-provider.labels" . | nindent 4 }} {{- include "spiffe-oidc-discovery-provider.labels" . | nindent 4 }}
{{- with .Values.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec: spec:
{{- if not .Values.autoscaling.enabled }} {{- if not .Values.autoscaling.enabled }}
replicas: {{ .Values.replicaCount }} replicas: {{ .Values.replicaCount }}
@ -13,12 +20,16 @@ spec:
{{- include "spiffe-oidc-discovery-provider.selectorLabels" . | nindent 6 }} {{- include "spiffe-oidc-discovery-provider.selectorLabels" . | nindent 6 }}
template: template:
metadata: metadata:
{{- with .Values.podAnnotations }}
annotations: annotations:
checksum/config: {{ $configSum }}
{{- with .Values.podAnnotations }}
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
labels: labels:
{{- include "spiffe-oidc-discovery-provider.selectorLabels" . | nindent 8 }} {{- include "spiffe-oidc-discovery-provider.selectorLabels" . | nindent 8 }}
release: {{ .Release.Name }}
release-namespace: {{ .Release.Namespace }}
component: oidc-discovery-provider
spec: spec:
{{- with .Values.imagePullSecrets }} {{- with .Values.imagePullSecrets }}
imagePullSecrets: imagePullSecrets:
@ -26,27 +37,64 @@ spec:
{{- end }} {{- end }}
serviceAccountName: {{ include "spiffe-oidc-discovery-provider.serviceAccountName" . }} serviceAccountName: {{ include "spiffe-oidc-discovery-provider.serviceAccountName" . }}
securityContext: securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }} {{- include "spiffe-oidc-discovery-provider.podSecurityContext" . | nindent 8 }}
initContainers:
{{- if .Values.tls.spire.enabled }}
- name: init
securityContext:
{{- include "spire-lib.securitycontext" . | nindent 12 }}
resources:
{{- toYaml .Values.spiffeHelper.resources | nindent 12 }}
image: {{ template "spire-lib.image" (dict "image" .Values.spiffeHelper.image "global" .Values.global) }}
imagePullPolicy: {{ .Values.spiffeHelper.image.pullPolicy }}
args:
- -config
- /etc/spiffe-helper.conf
- -daemon-mode=false
volumeMounts:
- name: spiffe-workload-api
mountPath: {{ include "spiffe-oidc-discovery-provider.workload-api-socket-path" . | dir }}
readOnly: true
- name: spire-oidc-config
mountPath: /etc/spiffe-helper.conf
subPath: spiffe-helper.conf
readOnly: true
- name: certdir
mountPath: /certs
{{- end }}
containers: containers:
- name: {{ .Chart.Name }} - name: {{ .Chart.Name }}
securityContext: securityContext:
{{- toYaml .Values.securityContext | nindent 12 }} {{- include "spire-lib.securitycontext" . | nindent 12 }}
image: {{ template "spiffe-oidc-discovery-provider.image" (dict "appVersion" $.Chart.AppVersion "image" .Values.image) }} image: {{ template "spire-lib.image" (dict "appVersion" $.Chart.AppVersion "image" .Values.image "global" .Values.global) }}
imagePullPolicy: {{ .Values.image.pullPolicy }} imagePullPolicy: {{ .Values.image.pullPolicy }}
args: args:
- -config - -config
- /run/spire/oidc/config/oidc-discovery-provider.conf - /run/spire/oidc/config/oidc-discovery-provider.conf
{{- if .Values.expandEnv }}
- -expandEnv
{{- end }}
{{- with .Values.extraEnv }}
env:
{{- . | toYaml | nindent 12 }}
{{- end }}
ports: ports:
- containerPort: 8008 - containerPort: 8008
name: health name: healthz
{{- if not .Values.insecureScheme.enabled }} {{- if $tlsEnabled }}
- containerPort: 443 - containerPort: 8443
name: https name: https
{{- end }} {{- end }}
volumeMounts: volumeMounts:
- name: spiffe-workload-api {{- if eq .Values.bundleSource "ConfigMap" }}
mountPath: /spiffe-workload-api - name: spiffe-bundle
mountPath: /bundle
readOnly: true readOnly: true
{{- else }}
- name: spiffe-workload-api
mountPath: {{ include "spiffe-oidc-discovery-provider.workload-api-socket-path" . | dir }}
readOnly: true
{{- end }}
- name: spire-oidc-sockets - name: spire-oidc-sockets
mountPath: /run/spire/oidc-sockets mountPath: /run/spire/oidc-sockets
readOnly: false readOnly: false
@ -54,50 +102,109 @@ spec:
mountPath: /run/spire/oidc/config/oidc-discovery-provider.conf mountPath: /run/spire/oidc/config/oidc-discovery-provider.conf
subPath: oidc-discovery-provider.conf subPath: oidc-discovery-provider.conf
readOnly: true readOnly: true
- name: certdir
mountPath: /certs
readOnly: true
readinessProbe: readinessProbe:
httpGet: httpGet:
path: /ready path: /ready
port: health port: healthz
initialDelaySeconds: 5 {{- toYaml .Values.readinessProbe | nindent 12 }}
periodSeconds: 5
livenessProbe: livenessProbe:
httpGet: httpGet:
path: /live path: /live
port: health port: healthz
initialDelaySeconds: 5 {{- toYaml .Values.livenessProbe | nindent 12 }}
periodSeconds: 5
resources: resources:
{{- toYaml .Values.resources | nindent 12 }} {{- toYaml .Values.resources | nindent 12 }}
{{- if .Values.insecureScheme.enabled }} {{- if .Values.tls.spire.enabled }}
- name: spiffe-helper
resources:
{{- toYaml .Values.spiffeHelper.resources | nindent 12 }}
securityContext:
{{- include "spire-lib.securitycontext" . | nindent 12 }}
image: {{ template "spire-lib.image" (dict "image" .Values.spiffeHelper.image "global" .Values.global) }}
imagePullPolicy: {{ .Values.spiffeHelper.image.pullPolicy }}
args:
- -config
- /etc/spiffe-helper.conf
volumeMounts:
- name: spiffe-workload-api
mountPath: {{ include "spiffe-oidc-discovery-provider.workload-api-socket-path" . | dir }}
readOnly: true
- name: spire-oidc-config
mountPath: /etc/spiffe-helper.conf
subPath: spiffe-helper.conf
readOnly: true
- name: certdir
mountPath: /certs
{{- end }}
{{- if not $tlsEnabled }}
- name: nginx - name: nginx
securityContext: securityContext:
{{- toYaml .Values.securityContext | nindent 12 }} {{- include "spire-lib.securitycontext" . | nindent 12 }}
image: {{ template "spiffe-oidc-discovery-provider.image" .Values.insecureScheme.nginx }} image: {{ template "spire-lib.image" (dict "image" .Values.insecureScheme.nginx.image "global" .Values.global) }}
imagePullPolicy: {{ .Values.insecureScheme.nginx.image.pullPolicy }} imagePullPolicy: {{ .Values.insecureScheme.nginx.image.pullPolicy }}
ports: ports:
- containerPort: 80 - containerPort: 8080
name: http name: http
volumeMounts: volumeMounts:
- name: spire-oidc-sockets - name: spire-oidc-sockets
mountPath: /run/spire/oidc-sockets mountPath: /run/spire/oidc-sockets
readOnly: true readOnly: true
- name: spire-oidc-config - name: spire-oidc-config
mountPath: /etc/nginx/templates/default.conf.template mountPath: /etc/nginx/conf.d/default.conf
subPath: default.conf.template subPath: default.conf
readOnly: true readOnly: true
- name: nginx-tmp
mountPath: /tmp
readOnly: false
resources: resources:
{{- toYaml .Values.insecureScheme.nginx.resources | nindent 12 }} {{- toYaml .Values.insecureScheme.nginx.resources | nindent 12 }}
{{- if or (dig "telemetry" "prometheus" "enabled" .Values.telemetry.prometheus.enabled .Values.global) (and (dig "spire" "recommendations" "enabled" false .Values.global) (dig "spire" "recommendations" "prometheus" true .Values.global)) }}
- name: nginx-exporter
securityContext:
{{- include "spire-lib.securitycontext" . | nindent 12 }}
image: {{ template "spire-lib.image" (dict "image" .Values.telemetry.prometheus.nginxExporter.image "global" .Values.global) }}
imagePullPolicy: {{ .Values.telemetry.prometheus.nginxExporter.image.pullPolicy }}
args:
- -nginx.scrape-uri=http://127.0.0.1:8080/stub_status
resources:
{{- toYaml .Values.telemetry.prometheus.nginxExporter.resources | nindent 12 }}
ports:
- containerPort: 9113
name: prom
{{- end }}
{{- end }} {{- end }}
volumes: volumes:
{{- if or .Values.tls.spire.enabled (eq .Values.bundleSource "CSI") }}
- name: spiffe-workload-api - name: spiffe-workload-api
csi: csi:
driver: "csi.spiffe.io" driver: "{{ .Values.csiDriverName }}"
readOnly: true readOnly: true
{{- end }}
{{- if eq .Values.bundleSource "ConfigMap" }}
- name: spiffe-bundle
configMap:
name: {{ include "spire-lib.bundle-configmap" . }}
{{- end }}
- name: spire-oidc-sockets - name: spire-oidc-sockets
emptyDir: {} emptyDir: {}
- name: spire-oidc-config - name: spire-oidc-config
configMap: configMap:
name: {{ include "spiffe-oidc-discovery-provider.fullname" . }} name: {{ include "spiffe-oidc-discovery-provider.fullname" . }}
- name: nginx-tmp
emptyDir: {}
- name: certdir
{{- if .Values.tls.externalSecret.enabled }}
secret:
secretName: {{ .Values.tls.externalSecret.secretName }}
{{- else if .Values.tls.certManager.enabled }}
secret:
secretName: {{ include "spiffe-oidc-discovery-provider.fullname" . }}-cert
{{- else }}
emptyDir: {}
{{- end }}
{{- with .Values.nodeSelector }} {{- with .Values.nodeSelector }}
nodeSelector: nodeSelector:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}

View File

@ -1,8 +1,9 @@
{{- if .Values.autoscaling.enabled }} {{- if .Values.autoscaling.enabled }}
apiVersion: autoscaling/v2beta1 apiVersion: {{ include "spire-lib.autoscalingVersion" . }}
kind: HorizontalPodAutoscaler kind: HorizontalPodAutoscaler
metadata: metadata:
name: {{ include "spiffe-oidc-discovery-provider.fullname" . }} name: {{ include "spiffe-oidc-discovery-provider.fullname" . }}
namespace: {{ include "spiffe-oidc-discovery-provider.namespace" . }}
labels: labels:
{{- include "spiffe-oidc-discovery-provider.labels" . | nindent 4 }} {{- include "spiffe-oidc-discovery-provider.labels" . | nindent 4 }}
spec: spec:
@ -13,16 +14,20 @@ spec:
minReplicas: {{ .Values.autoscaling.minReplicas }} minReplicas: {{ .Values.autoscaling.minReplicas }}
maxReplicas: {{ .Values.autoscaling.maxReplicas }} maxReplicas: {{ .Values.autoscaling.maxReplicas }}
metrics: metrics:
{{- if .Values.autoscaling.targetCPUUtilizationPercentage }}
- type: Resource
resource:
name: cpu
targetAverageUtilization: {{ .Values.autoscaling.targetCPUUtilizationPercentage }}
{{- end }}
{{- if .Values.autoscaling.targetMemoryUtilizationPercentage }} {{- if .Values.autoscaling.targetMemoryUtilizationPercentage }}
- type: Resource - type: Resource
resource: resource:
name: memory name: memory
targetAverageUtilization: {{ .Values.autoscaling.targetMemoryUtilizationPercentage }} target:
type: Utilization
averageUtilization: {{ .Values.autoscaling.targetMemoryUtilizationPercentage }}
{{- end }}
{{- if .Values.autoscaling.targetCPUUtilizationPercentage }}
- type: Resource
resource:
name: cpu
target:
type: Utilization
averageUtilization: {{ .Values.autoscaling.targetCPUUtilizationPercentage }}
{{- end }} {{- end }}
{{- end }} {{- end }}

View File

@ -0,0 +1,49 @@
{{- if .Values.ingress.enabled -}}
{{- $tlsEnabled := eq (include "spiffe-oidc-discovery-provider.tls-enabled" .) "true" }}
{{- $port := .Values.service.ports.https }}
{{- if not $tlsEnabled }}
{{- $port = .Values.service.ports.http }}
{{- end }}
{{- $ingressControllerType := include "spire-lib.ingress-controller-type" (dict "global" .Values.global "ingress" .Values.ingress) }}
{{- $fullName := include "spiffe-oidc-discovery-provider.fullname" . }}
{{- $path := "/" }}
{{- $pathType := "Prefix" }}
{{- $tlsSection := true }}
{{- $annotations := deepCopy .Values.ingress.annotations }}
{{- if eq $ingressControllerType "ingress-nginx" }}
{{- $_ := set $annotations "nginx.ingress.kubernetes.io/ssl-redirect" "true" }}
{{- $_ := set $annotations "nginx.ingress.kubernetes.io/force-ssl-redirect" "true" }}
{{- if $tlsEnabled }}
{{- $_ := set $annotations "nginx.ingress.kubernetes.io/backend-protocol" "HTTPS" }}
{{- if not (and .Values.ingress.enabled .Values.ingress.tlsSecret) }}
{{- $_ := set $annotations "nginx.ingress.kubernetes.io/ssl-passthrough" "true" }}
{{- end }}
{{- end }}
{{- else if eq $ingressControllerType "openshift" }}
{{- if not $tlsEnabled }}
{{- $_ := set $annotations "route.openshift.io/termination" "edge" }}
{{- else }}
{{- if and .Values.ingress.enabled .Values.ingress.tlsSecret }}
{{- $_ := set $annotations "route.openshift.io/termination" "reencrypt" }}
{{- else }}
{{- $_ := set $annotations "route.openshift.io/termination" "passthrough" }}
{{- end }}
{{- end }}
{{- $path = "" }}
{{- $pathType = "ImplementationSpecific" }}
{{- $tlsSection = false }}
{{- end }}
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ $fullName }}
namespace: {{ include "spiffe-oidc-discovery-provider.namespace" . }}
labels:
{{ include "spiffe-oidc-discovery-provider.labels" . | nindent 4 }}
{{- with $annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
{{ include "spire-lib.ingress-spec" (dict "ingress" .Values.ingress "svcName" $fullName "port" $port "path" $path "pathType" $pathType "tlsSection" $tlsSection "Values" .Values) | nindent 2 }}
{{- end }}

View File

@ -0,0 +1,22 @@
{{- define "spiffe-oidc-discovery-provider.cert-manager-default-issuer" }}
{{- if not .Values.tls.certManager.issuer.acme.email }}
{{- fail "You must specify an email address via certManager.issuer.acme.email" }}
{{- end }}
email: {{ .Values.tls.certManager.issuer.acme.email | quote}}
server: {{ .Values.tls.certManager.issuer.acme.server | quote}}
privateKeySecretRef:
name: {{ include "spiffe-oidc-discovery-provider.fullname" . }}-issuer
solvers:
- http01:
ingress: {}
{{- end }}
{{- if and .Values.tls.certManager.enabled .Values.tls.certManager.issuer.create }}
apiVersion: cert-manager.io/v1
kind: Issuer
metadata:
name: {{ include "spiffe-oidc-discovery-provider.fullname" . }}
namespace: {{ include "spiffe-oidc-discovery-provider.namespace" . }}
spec:
acme:
{{ mergeOverwrite (include "spiffe-oidc-discovery-provider.cert-manager-default-issuer" . | fromYaml) .Values.tls.certManager.issuer.acme | toYaml | nindent 4 }}
{{- end }}

View File

@ -0,0 +1,29 @@
{{- if eq (include "spiffe-oidc-discovery-provider.tls-enabled" .) "false" }}
{{- if (dig "telemetry" "prometheus" "podMonitor" "enabled" .Values.telemetry.prometheus.podMonitor.enabled .Values.global) }}
{{- $namespace := include "spiffe-oidc-discovery-provider.podMonitor.namespace" . }}
{{- $podNamespace := ( include "spiffe-oidc-discovery-provider.namespace" . ) }}
apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
metadata:
name: {{ include "spire-agent.fullname" . }}
namespace: {{ $namespace }}
labels:
{{- include "spire-agent.labels" . | nindent 4 }}
{{- if ne (len (dig "telemetry" "prometheus" "podMonitor" "labels" (dict) .Values.global)) 0 }}
{{- .Values.global.telemetry.prometheus.podMonitor.labels | toYaml | nindent 4 }}
{{- end }}
{{- with .Values.telemetry.prometheus.podMonitor.labels }}
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
selector:
matchLabels:
{{- include "spire-agent.selectorLabels" . | nindent 6 }}
podMetricsEndpoints:
- port: prom
{{- if ne $namespace $podNamespace }}
namespaceSelector:
kubernetes.io/metadata.name: {{ $podNamespace }}
{{- end }}
{{- end }}
{{- end }}

Some files were not shown because too many files have changed in this diff Show More