Commit Graph

67 Commits

Author SHA1 Message Date
Mark Goddard ee7bf2a53f
Fix envoy-jwt-auth-helper (#137)
While running through the envoy JWT tutorial I hit the following error
in the envoy-jwt-auth-helper:

  /opt/helper/envoy-jwt-auth-helper: /lib/x86_64-linux-gnu/libc.so.6:
  version GLIBC_2.34' not found (required by /opt/helper/envoy-jwt-auth-helper)

The auth helper image builds with golang:latest (currently based on
debian bookworm), then copies to a debian buster.

This change fixes the issue by syncing the build and production stage
images.

Fixes: #136

Signed-off-by: Mark Goddard <mark@cofide.io>
2025-01-17 16:16:40 -08:00
Krishna d27c579eb4
Update spire-agent daemonset to use node IP from downward API (#4147). (#117)
* Update spire-agent daemonset to use node IP from downward API (#4147).

Signed-off-by: Krishnakumar Venkataraman <krishna_kumar08@infosys.com>
2023-06-09 22:58:30 -07:00
Marcos Yacob fc623ee0ad
Migrate envoy api v3 (#116)
Signed-off-by: Marcos Yacob <marcos.yacob@hpe.com>
2023-06-02 09:42:20 -06:00
Batuhan Apaydın 916cf3a4a2
use Chainguard's wait-for-it image (#99)
Signed-off-by: Batuhan Apaydın <batuhan.apaydin@trendyol.com>
2022-12-23 08:42:58 -07:00
Marcos Yacob 1760207fcc
Stop using sleep command on quickstart client (#100)
Signed-off-by: Marcos Yacob <marcos.yacob@hpe.com>
2022-12-19 17:56:10 -03:00
Ryan Turner 9164341a6c
Replace alpine images with scratch images (#98)
SPIRE is moving away from the alpine Docker release images in favor of
scratch images that contain only the release binary to minimize the size
of the images and include only the software that is necessary to run in
the container.

Signed-off-by: Ryan Turner <turner@uber.com>
2022-12-14 20:35:15 -07:00
Ryan Turner 85274682b0
Remove "ps"-based OIDC Discovery Provider readiness probes (#97)
* Remove "ps"-based OIDC Discovery Provider readiness probes

We are migrating away from the alpine images towards the scratch images
being the default. In a scratch image, we don't have the "ps" binary.

There is a bug in the OIDC Discovery Provider that prevents the HTTP
liveness/readiness endpoint from being available outside the container
(see spiffe#spire/3629), so just remove the readiness probes for now.
Turn on the health check endpoint to the OIDC Discovery Provider so that
probes can be added later on once the issue is resolved.

Also update some old configs that are no longer correct to get the
examples to run properly.

Signed-off-by: Ryan Turner <turner@uber.com>
2022-12-08 14:35:08 -08:00
Ryan Turner 31dd3df1fa
Update SPIRE to v1.5.0 (#96)
Update all tutorials to use SPIRE v1.5.0. Remove usage of deprecated
Server config parameter `default_svid_ttl` in favor of
`default_x509_svid_ttl` and `default_jwt_svid_ttl`.

Signed-off-by: Ryan Turner <turner@uber.com>
2022-11-03 14:06:01 -06:00
Philip Corney e85e27be46
update oidc to support new registration (#89)
Signed-off-by: Phil.Corney <phil.corney@arm.com>
Signed-off-by: Phil.Corney <phil.corney@gmail.com>

Co-authored-by: Phil.Corney <phil.corney@arm.com>
2022-08-08 10:23:26 -06:00
jiashuChen 989868c288
Update to latest spire release 1.2.3 (#72)
Signed-off-by: Jiashu Chen <cjs20080808@hotmail.com>
2022-05-06 09:03:17 -06:00
Christoph Dalski d00bf265c0
Update ingress apiVersion from extensions/v1beta1 to networking.k8s.io/v1 and change ingress configuration accordingly (#77)
Signed-off-by: Christoph Dalski <chdalski.coding@gmail.com>
2022-05-05 12:45:35 -06:00
Marcos Yacob 5cb41636f5
Enable Github actions (#78)
Signed-off-by: Marcos Yacob <marcos.yacob@hpe.com>
2022-05-01 10:49:50 -06:00
Ben Du de4e309454
Limit spire configmap access to namespace (#71)
Signed-off-by: Ben Du <dubenjam@amazon.com>
2022-03-23 09:26:04 -06:00
Andrew Harding 1a5b67f240
Merge pull request #69 from babilen/pr/service-account-allow-list
Update service account allow list configurable
2021-10-27 12:21:07 -06:00
Wolodja Wentland 81e19a0bd3
Remove noop NodeResolver
The noop NodeResolver has been removed in 1.0.0.

See:
- https://github.com/spiffe/spire/pull/2189

Signed-off-by: Wolodja Wentland <wolodja.wentland@control-plane.io>
2021-10-27 14:39:56 +01:00
Wolodja Wentland 67b0f156e2
Update service account allow list configurable
The `k8s_sat` and `k8s_psat` NodeAttestor configurable
`service_account_whitelist` has been removed in the 1.1.0 release
after having been deprecated in favour of `service_account_allow_list`
in 1.0.0.

See:
- https://github.com/spiffe/spire/pull/2253
- https://github.com/spiffe/spire/pull/2543

Signed-off-by: Wolodja Wentland <wolodja.wentland@control-plane.io>
2021-10-27 14:04:29 +01:00
Agustín Martínez Fayó c7775bb260 Update tutorials to use SPIRE 1.0.0
Signed-off-by: Agustín Martínez Fayó <amartinezfayo@gmail.com>
2021-07-14 14:46:20 -03:00
Andres Gomez Coronel 9d16ff7732
Updates json resource names to avoid issues with kustomize parsing yaml files
Signed-off-by: Andres Gomez Coronel <andresgomezcoronel@gmail.com>
2021-05-26 16:31:34 -03:00
Ryuma Yoshida 62ca64a12c Use the healthcheck endpoints in the kubernetes manifests
Signed-off-by: Ryuma Yoshida <ryuma.y1117@gmail.com>
2021-04-02 17:27:19 +09:00
Michael Shen 80ce3b4617 [FIX] 404 response from official documentation
Signed-off-by: Michael Shen <mishen@med.umich.edu>
2021-02-26 17:32:43 -03:00
lucianozablocki d5f3a4b939
Add readiness probe to k8s config of SPIRE server present in quickstart guide (#51)
* add readiness probe to spire server

Signed-off-by: Luciano <lucianozablocki@gmail.com>
2021-01-14 15:18:38 -03:00
Luciano 0c507c4fc6 address PR comments
Signed-off-by: Luciano <lucianozablocki@gmail.com>
2020-12-18 15:15:54 -03:00
lucianozablocki 187871aa9c
Update OPA Envoy plugin version (#47)
* update OPA envoy plugin

Signed-off-by: Luciano <lucianozablocki@gmail.com>
Co-authored-by: sanderson042 <steve.anderson@hpe.com>
2020-12-02 08:14:11 -03:00
Andres Gomez Coronel f4b307cc22
Adds SPIRE Envoy JWT and OPA tutorial (#23)
* Adds SPIRE Envoy JWT and OPA tutorial.

Signed-off-by: Andres Gomez Coronel <andresgomezcoronel@gmail.com>

* Addressed PR comments.

Signed-off-by: Andres Gomez Coronel <andresgomezcoronel@gmail.com>

* Updates diagram

Signed-off-by: Andres Gomez Coronel <andresgomezcoronel@gmail.com>
2020-11-02 11:48:04 -08:00
Andres Gomez Coronel 2496432c2d
Adds SPIRE with Envoy and OPA tutorial (#20)
Signed-off-by: Andres Gomez Coronel <andresgomezcoronel@gmail.com>
2020-10-27 13:29:34 -07:00
Maximiliano Churichi 99f8303d5b
Adds SPIRE-Vault OIDC tutorial (#27)
* Adds SPIRE-Vault OIDC tutorial

Signed-off-by: Maximiliano Churichi <maximiliano.churichi@hpe.com>

* Adds /keys path to OIDC ingress

Signed-off-by: Maximiliano Churichi <maximiliano.churichi@hpe.com>

* Adds JWKS method note

Signed-off-by: Maximiliano Churichi <maximiliano.churichi@hpe.com>

* Addresses comments by @sanderson042

Signed-off-by: Maximiliano Churichi <maximiliano.churichi@hpe.com>

* Address more comments by @sanderson042

Signed-off-by: Maximiliano Churichi <maximiliano.churichi@hpe.com>

* Addresses more comments by @sanderson042

Signed-off-by: Maximiliano Churichi <maximiliano.churichi@hpe.com>

* More fixes

Signed-off-by: Maximiliano Churichi <maximiliano.churichi@hpe.com>

* Fixes some typos

Signed-off-by: Maximiliano Churichi <maximiliano.churichi@hpe.com>
2020-10-22 11:20:02 -07:00
Andres Gomez Coronel a4db03ed7f
Removes extra config properties
Signed-off-by: Andres Gomez Coronel <andresgomezcoronel@gmail.com>
2020-10-12 20:19:59 -03:00
Andres Gomez Coronel 6fbae51fdd
Updates SPIRE to v 0.11.0.
Removed extra step to enable SDS on SPIRE Envoy-x509 Tutorial.
Update test cases.

Signed-off-by: Andres Gomez Coronel <andresgomezcoronel@gmail.com>
2020-09-14 23:20:33 -03:00
Andres Gomez Coronel 985f7699c9
Updated symbank-webbapp images to the latest version
Signed-off-by: Andres Gomez Coronel <andresgomezcoronel@gmail.com>
2020-08-25 09:09:28 -03:00
Andres Gomez Coronel 5f1fd3e8ea
For Envoy-JWT Tutorial removes extra bullets from clean section and removes extra spaces from console blocks
Signed-off-by: Andres Gomez Coronel <andresgomezcoronel@gmail.com>
2020-08-14 10:58:13 -03:00
sanderson042 361e8f0264
Merge pull request #28 from Andres-GC/update_envoy_config
replaced verify_subject_alt_name by match_subject_alt_names
2020-08-10 16:14:30 -07:00
Andres-GC 4b4cf97dcb
Removes the RBAC policy from Envoy config (#26)
* Removes the RBAC policy from Envoy-x509 backend envoy config file and added as an option to extend the tutorial

Signed-off-by: Andres Gomez Coronel <andresgomezcoronel@gmail.com>

* Apply suggestions from code review

Co-authored-by: sanderson042 <steve.anderson@hpe.com>
Signed-off-by: Andres Gomez Coronel <andresgomezcoronel@gmail.com>

* Remove unnecesary spaces inside console blocks. Added details about symbank demo app to make the RBAC policy clearer.

Signed-off-by: Andres Gomez Coronel <andresgomezcoronel@gmail.com>

* Improved RBAC sections based on sanderson042 suggestions

Signed-off-by: Andres Gomez Coronel <andresgomezcoronel@gmail.com>

* Added some last improvements base on sanderson042 review

Signed-off-by: Andres Gomez Coronel <andresgomezcoronel@gmail.com>

Co-authored-by: sanderson042 <steve.anderson@hpe.com>
2020-08-10 12:47:58 -07:00
Andres Gomez Coronel 25740792cb
replaced verify_subject_alt_name by match_subject_alt_names
Signed-off-by: Andres Gomez Coronel <andresgomezcoronel@gmail.com>
2020-07-30 15:59:09 -03:00
Andres Gomez Coronel 49484f3edb
Adds SPIRE Envoy JWT tutorial
Signed-off-by: Andres Gomez Coronel <andresgomezcoronel@gmail.com>
2020-07-01 20:53:03 -03:00
Andres Gomez Coronel 748fe3ee54
renamed envoy example to envoy-x509
Signed-off-by: Andres Gomez Coronel <andres@scytale.io>
2020-06-17 17:26:03 -03:00
Andres Gomez Coronel c6ab7c1058
Move quickstart tests to its own directory and added script to run test per tutorial.
Signed-off-by: Andres Gomez Coronel <andres@scytale.io>
2020-06-08 11:09:51 -03:00
Andres Gomez Coronel 2c318d8128
Added readme and images.
Signed-off-by: Andres Gomez Coronel <andres@scytale.io>
2020-05-06 17:35:17 -03:00
Andres Gomez Coronel d4d60c1488
Avoid repetead code when creating registration entries
Signed-off-by: Andres Gomez Coronel <andres@scytale.io>
2020-05-06 17:35:17 -03:00
Andres Gomez Coronel eafc8afed7
Adding turotial post for SPIRE + Envoy X509
Signed-off-by: Andres Gomez Coronel <andres@scytale.io>
2020-05-06 17:35:17 -03:00
Andres Gomez Coronel 9d113f3ebb
Adding SPIRE integration with Envoy tutorial
Signed-off-by: Andres Gomez Coronel <andres@scytale.io>
2020-05-06 17:35:17 -03:00
Eugene Weiss 1ece82c82b Update k8s/quickstart container images to 0.10.0
Signed-off-by: Eugene Weiss <eugene@scytale.io>
2020-04-22 15:35:22 -07:00
Eugene Weiss 11430ef58f Add standard skip_kubelet_verification for minikube comment. 2020-04-16 08:54:13 -07:00
Eugene Weiss 9b7b64f577 Change svid_ttl to default_svid_ttl and remove upstream_bundle config.
Signed-off-by: Eugene Weiss <eugene@scytale.io>
2020-04-15 14:44:56 -07:00
Marcos Yacob 2acd39a8ad Replace Notes by TODOs
Signed-off-by: Marcos Yacob <marcos@scytale.io>
2020-03-29 11:29:39 -03:00
Marcos Yacob 358f7d765e change the verb tense on the DNS instructions
Signed-off-by: Marcos Yacob <marcos@scytale.io>
2020-03-24 17:13:37 -03:00
Marcos Yacob a3e26b6905 AWS require RSA keys, to make upgrade works, we need to update quickstart tutorial ca_key_type to use rsa instead of EC
Signed-off-by: Marcos Yacob <marcos@scytale.io>
2020-03-23 16:15:58 -03:00
Marcos Yacob c3043f67ca cleaning unused yamls
Signed-off-by: Marcos Yacob <marcos@scytale.io>
2020-03-23 11:11:23 -03:00
Marcos Yacob f5a3813339 add oidc-provider
Signed-off-by: Marcos Yacob <marcos@scytale.io>
2020-03-20 13:36:06 -03:00
Chuck Daminato 97b207da5e Patch agent-daemonset to repair livenessProbe
Signed-off-by: Chuck Daminato <chuck.d@ecobee.com>
2019-11-22 15:08:12 -05:00
Andrew Jessup b8ca341da0 Remove stale comment
Signed-off-by: Andrew Jessup <ajessup@gmail.com>
2019-10-17 17:16:58 -07:00