docs: rewrite the README, IAM docs and CONTRIBUTING #511
All Vouch review confidence checks passed
Residual risk 0.29 = Change Risk (0.50) × (1 − Review Confidence (0.43)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.50 · 598 lines diff across 7 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.383
Shallow Review Depth
shallow_review_depth
0.344
Real PR Conversation Timeline
1 comments
"Review active on #511"
general
weight: 0.35
micahhausler
Issue # (if applicable)
N/A
Reason for this change
The README was hard to follow. It opened with three warnings before saying what the project is, mixed user docs with contributor setup, and had drifted from the code: the cert-manager install link pointed at the wrong page, the Ingress annotation advice no longer works, the approval-check section only applied to cert-manager releases before 1.3, and the install command produced a random ServiceAccount name that EKS Pod Identity can't be associated with. Credentials were explained one feature at a time, led with access keys and EC2 instance roles, and never described how the controller picks credentials for each kind of Issuer. The examples used
secretRef.Description of changes
Three commits:
secretRef. The examples that set it, and the minimal example, are nowAWSPCAClusterIssuers that use the controller's own credentials, so they work with the default settings.safe to testlabel.isCAtemplate, and drops the approval-check and client-side rate limiting sections, since controller-runtime already turns that limit off.The Supported workflows list keeps every credential method the controller supports, and marks access keys from a
Secretas deprecated.Decisions
AWSPCAClusterIssuers use the controller's own credentials by default, and since v1.12.0AWSPCAIssuers don't. The docs lead with that. EKS Pod Identity for the controller, used by cluster-scoped Issuers that administrators create, and IRSA per Issuer for namespaced Issuers that other teams create, so each team's IAM role decides which CAs it can use.spec.rolefor reaching another account, because the cluster administrator sets it in the EKS API, whilespec.roleis chosen by whoever can create an Issuer.Secretand EC2 instance roles still work, and stay in Supported workflows, but the docs only say they're not recommended and why. Showing how to set them up would keep teaching them.Secretand the controller's own ServiceAccount token stay enabled by default (#509 and #510), so this change only documents them as deprecated.AWSPCAClusterIssuers with no credentials set, so they use the controller's credentials without enabling anything.AWSPCAIssuerandAWSPCAClusterIssuerobjects.Left for a follow-up: the minimum supported cert-manager version (the README's "1.4+" was out of date, and the e2e tests use v1.21.2).
Describe any new or updated permissions being added
None. Documentation and examples only.
Description of how you validated changes
helm templatewith the README's install command gives the ServiceAccountaws-privateca-issuer/aws-privateca-issuerthat the Pod Identity instructions use.pkg/aws/pca.go,main.go, the chart and the Makefile.This depends on #510, and includes its commit until it merges.