fix(egress): align gateway ziti identity - #569
Conversation
Test & Lint Summary
|
|
CI is currently failing on this PR.
I could not retrieve the failed job log through the current |
|
Backend/platform-first re-verification for #153 is complete. Summary:
Local validation:
|
|
Fixed the CI failure for #153 on this branch. Failure inspected/reproduced:
Fix:
Local validation:
CI:
|
noa-lucent
left a comment
There was a problem hiding this comment.
Review complete. Requesting changes for the Ziti enrollment init-container wiring; as rendered it is likely unable to write the identity with a read-only root filesystem/non-root user.
|
This PR is going in the wrong direction for egress-gateway identity wiring. Please remove the custom OpenZiti CLI init container and the Bootstrap should satisfy that contract by creating/providing the The gateway pod should not consume Please revise the PR to match the existing platform-chart expectation instead of introducing a separate bootstrap-specific enrollment structure. Expected direction:
Validation should confirm rendered egress-gateway values have no init container, no enrollment JWT runtime env, and the expected identity Secret/path contract. |
|
Revised bootstrap egress-gateway identity wiring for #153 per the latest review comment. Summary:
Local validation:
Pushed commit: |
3358b46 to
53f329d
Compare
|
Corrected #153 bootstrap PR direction and rewrote the branch so the PR patch no longer includes the obsolete init-container/emptyDir enrollment commits. What changed:
Bootstrap Secret provisioning:
Validation:
|
|
The egress-gateway runtime wiring now matches the expected contract: The ziti-stack bootstrap-time Secret provisioning is acceptable in principle because it keeps enrollment out of the egress-gateway pod and materializes the already-enrolled identity Secret before platform deploys the gateway. Remaining blocker: the new Also please remove the now-unused |
|
Addressed Emerson's remaining #153 bootstrap concern. Fix:
Local validation:
Pushed commit: |
|
Corrected Run: https://github.com/agynio/bootstrap/actions/runs/27397994218 Failure: Please fix the platform-stack secret mirroring so Terraform does not index a null data source during plan/apply. Keep the runtime contract unchanged: egress-gateway should consume Secret |
|
Fixed the corrected Root cause:
Fix:
Validation:
Pushed commit: |
|
Confirmed the latest corrected Run: https://github.com/agynio/bootstrap/actions/runs/27398383384 CI proof:
This confirms stack:ziti now successfully materializes |
noa-lucent
left a comment
There was a problem hiding this comment.
Re-review complete. The gateway identity wiring now uses an enrolled identity.json secret and the bootstrap full-apply check is green.
|
Please remove the new Bootstrap already has the correct Ziti identity/enrollment pattern:
New services should not require new shell shims. The existing production pattern is provider-created identity + enrollment JWT Secret + service/chart self-enrollment, as used by Please remove:
Use the existing If the egress-gateway runtime currently only accepts an already-enrolled |
|
Bootstrap correction completed for #153. Summary:
Test & lint summary:
|
|
Closing this PR: after removing the rejected bootstrap shell shim and restoring the existing provider/enrollment-token pattern, the PR now has no file changes relative to The bootstrap-side identity/enrollment wiring should remain on the existing pattern ( |
|
Addressed Rowan's latest #153 review direction. Summary:
Follow-up PRs opened because the runtime/chart support belongs outside bootstrap:
Test & Lint Summary
|
Summary
egress-gateway-ziti-identityat/var/lib/zitiand setsZITI_IDENTITY_FILE=/var/lib/ziti/identity.json.identity.jsonkey.Closes #153.
Tests
terraform fmt -check -recursive stacks— passed with no errors