Commit a1a02e6
committed
refactor(s3accesspoint): collapse deployment config into per-tenant secret
Move BaseRoleARN and Region from the deployment-level config into the
per-tenant Credentials blob, drop SessionDuration in favour of a 1h
constant, and read the dev-mode bypass from CHAINLOOP_S3_ACCESS_POINT_DEV_MODE
instead of config. The ManagedCASBackends proto blocks, the corresponding
wire plumbing, and the loader Options surface are all gone.
The provider is now registered unconditionally; on-prem deployments
without managed CAS simply never have managed rows. A single chainloop
install can also serve tenants across multiple AWS accounts without a
config change since BaseRoleARN is per-secret.
Assisted-by: Claude Code
Signed-off-by: Jose I. Paris <jiparis@chainloop.dev>
Chainloop-Trace-Sessions: 234a03ed-b238-4506-95f0-235242842db21 parent 333a45e commit a1a02e6
16 files changed
Lines changed: 326 additions & 962 deletions
File tree
- app
- artifact-cas
- cmd
- configs
- internal/conf
- controlplane
- cmd
- configs
- internal/conf/controlplane/config/v1
- pkg/blobmanager
- loader
- s3accesspoint
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
| |||
38 | 37 | | |
39 | 38 | | |
40 | 39 | | |
41 | | - | |
42 | | - | |
43 | 40 | | |
44 | 41 | | |
45 | 42 | | |
46 | 43 | | |
47 | 44 | | |
48 | 45 | | |
49 | 46 | | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | 47 | | |
71 | 48 | | |
72 | 49 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
0 commit comments