Repository navigation
MBP-1192: Changes to support vault chart without openssl (2.1.2-ubi) - #168
Merged
Merged
Conversation
Signed-off-by: Manuel Lorenzo <mlorenzofr@redhat.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The previous implementation used
openssl s_clientfrom the Vault pod to fetch the discovery endpoint certificate. That fails on minimal UBI-based Vault images and was a poor fit for in-cluster SPIRE URLs (service CA vs ingress/router cert). Using the platform service CA (or an explicit pattern-provided bundle) matches how ZTVP configures JWT trust elsewhere.Changes
Vault JWT OIDC discovery no longer depends on
opensslinside the Vault pod, which unblocks the HashiCorp Vault chart 2.1.2-ubi images that do not ship OpenSSL.oidc_discovery_ca_pemis omitted or empty, the role reads the OpenShift service CA from ConfigMapopenshift-service-ca.crtinvault_ns(service-ca.crt) and passes it tovault write auth/jwt/configasoidc_discovery_ca_pem.oidc_discovery_ca_pemas an extra var (same asoidc_discovery_url)—a PEM string or list of PEMs—for discovery endpoints signed by a corporate or external CA.vault_jwt_config_needs_updatefact (JWT auth missing, discovery config missing, oroidc_discovery_url/default_roledrift).roles/vault_utils/README.md(workflow, extra vars table, and pattern override examples).