Repository navigation
Publish Helm 0.5.0 and authentication setup guides - #2
Conversation
Keep deployment walkthroughs, screenshots and runnable examples together in the public repository so customers can read and download them without using the xGT documentation theme. Target the 0.5.0 chart and preserve separate pages for LDAP, CA trust and Mission Control.
Copy the screenshot frames from mc-builder so the public documentation keeps the same spacing on dark backgrounds without changing the original screenshot content.
Keep the public copy aligned with mc-builder: this full-page screenshot already gives its dialog enough space.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5d092e2552
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
OpenShift can issue the xGT certificate itself: an annotation on the service makes it create a kubernetes.io/tls Secret with keys tls.crt and tls.key, and an annotated ConfigMap receives the service CA under service-ca.crt. The chart could use neither, because it read the xGT Secret under fixed key names and gave the backend the CA only from a Secret key or inline PEM. Customers had to copy the certificate and CA into Secrets of their own, and the CA copy went stale whenever OpenShift rotated it. xgt.ssl.secretKeys names the keys in the xGT TLS Secret. The defaults are the existing names, and the Secret the chart creates from inline values uses the same names, so it always matches what is mounted. backend.tls.xgtServerCertConfigMap mounts the xGT CA from an existing ConfigMap, under xgtServerCertConfigMapKey (default service-ca.crt). It takes precedence over xgt-server.pem from backend.tls.existingSecret, which can still supply the mTLS client certificate. Setting it together with the inline xgtServerCert fails at install time. Rendered output with default values is unchanged.
The previous commit let the chart read an OpenShift service serving certificate and the injected service CA, but the README only listed the new values. A customer still had to work out the service annotation, the CA bundle ConfigMap and the CN to use. The new section walks through that setup end to end. It also states two limits a customer would otherwise find in production: xGT keeps the old certificate after OpenShift renews it until the pod restarts, and xgt.ssl.mtls cannot be used, because xGT reads the client CA from the same Secret as its own certificate and OpenShift owns that Secret.
xGT took the CA for verifying client certificates from the same Secret as its server certificate, or from the inline caCert, which the chart rejects alongside existingSecret. With an OpenShift service serving certificate that Secret belongs to OpenShift and holds only tls.crt and tls.key, so xGT mTLS was impossible in that setup. xgt.ssl.caCertExistingSecret names a Secret holding the client CA under secretKeys.caCert. When it is set, /conf/ssl becomes a projected volume combining the server certificate and key with that CA, so xGT finds the same files as before. Without it the volume is unchanged. The option needs xgt.ssl.enabled and xgt.ssl.mtls, cannot be combined with the inline caCert, and is rejected with xgt.files.existingClaim, which supplies TLS files from the PVC. The OpenShift section of the README now describes mTLS instead of ruling it out.
Python scripts outside the cluster can use xGT once it has an OpenShift serving certificate, but nothing told a customer how. Three things are not obvious: the chart's ClusterIP service is unreachable from outside, the client must trust OpenShift's internal service CA, and the certificate covers only the service's in-cluster name, so ssl_server_cn must be set even though the client connects to an external address. The new subsection covers those steps, with the client calls for plain SSL and for mTLS.
Include the reviewed chart from mc-builder so the public guide examples\nuse the same OIDC CA and Secret key settings they document.
|
@codex review |
|
Codex Review: Didn't find any major issues. You're on a roll. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Publish Helm chart 0.5.0 alongside the illustrated Keycloak and OpenShift setup guides, so customers can use the documented values with the chart included in this repository.
The chart matches the merged mc-builder 0.5.0 release, including OpenShift serving certificates, configurable TLS/license/OIDC Secret keys, and xGT-owned OIDC CA settings. Greg's four commits retain his authorship. The guides and screenshots match the merged mc-builder documentation and cover normal-user login, automated service accounts, LDAP federation, token mappers, HTTPS trust, and Mission Control.
Validation:
rocketgraph-0.5.0.tgz.git diff --checkpassed.Publishing these pages resolves the five missing public-guide links reported in the xGT documentation review.