Commit Graph
406 Commits
Author SHA1 Message Date
Marco Franssen a9b99febb3 Add some commented lines for best practice annotations on ingress
Signed-off-by: Marco Franssen <[email protected]>
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 <[email protected]>
2023-03-16 10:05:33 +01:00
Kevin FoxandMarco Franssen 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 <[email protected]>

Co-authored-by: Marco Franssen <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
2023-03-13 15:03:16 -07:00
kfox1111 661000a29a Make the agent socket configurable (#114) 2023-03-13 20:35:27 +01:00
kfox1111andMarco Franssen f3a81ad78d Make csi driver configurable to be able to run multiple instances (#115)
Co-authored-by: Marco Franssen <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
2023-03-09 12:00:41 -08:00
Kevin Fox 7d1f8217ce Fix test.
Signed-off-by: Kevin Fox <[email protected]>
2023-03-09 10:09:50 -08:00
Marco Franssen 493ad8fbed Remove some duplication on chart-testing CI
Signed-off-by: Marco Franssen <[email protected]>
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 <[email protected]>
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 <[email protected]>
2023-03-08 12:36:35 -08:00
Kevin Fox d2eba226d4 Fix docs
Signed-off-by: Kevin Fox <[email protected]>
2023-03-08 19:31:54 +01:00
Kevin Fox 6d43625f4d Add kfox as a maintainer
Signed-off-by: Kevin Fox <[email protected]>
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 <[email protected]>
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 <[email protected]>
2023-03-08 09:44:02 +01:00
Marco Franssen 517cf9ed2d Add script to automate cutting a release
Signed-off-by: Marco Franssen <[email protected]>
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 <[email protected]>
2023-03-07 22:07:54 +01:00
Marco Franssen eb186ca346 Add values for server TTL configurables
Signed-off-by: Marco Franssen <[email protected]>
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 <[email protected]>
2023-03-06 06:53:29 -08:00
Kevin Fox a00c97ba87 Incorperate feedback
Signed-off-by: Kevin Fox <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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] <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
2023-03-01 15:41:47 +01:00