Commit a521df0
jenkins/iac: fix doc inaccuracies about bootstrap flow + jenkins_issuer_url
Three doc/comment fixes all rooted in describing setup.sh's UIDP path
incorrectly:
- README "Usage" said setup.sh writes the identity UIDP into ../.env
as CHAINGUARD_IDENTITY and that a docker compose restart jenkins is
required afterward. Neither is true. setup.sh writes the UIDP to
../shared-libraries/cg-images/IDENTITY (a one-line file); cgLogin
reads it on each pipeline build from the bind-mounted shared-libraries
path, so no controller restart is needed.
- outputs.tf identity_uidp description had the same misclaim about
../.env; fixed to reference the IDENTITY file path.
- README jenkins_issuer_url default disagreed with variables.tf. TF
default is "https://localhost:8080/oidc" (the Chainguard provider
validator requires HTTPS); README said "http://". Aligned to https
and added a note that JCasC sets JenkinsLocationConfiguration.url
to https://localhost:8080/ so the emitted `iss` matches, even
though the local Jenkins listens on plain HTTP.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent f8ea5fb commit a521df0
2 files changed
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
| 16 | + | |
| 17 | + | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
| |||
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
27 | | - | |
| 26 | + | |
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
0 commit comments