Skip to content

Release v2.0.1#217

Merged
muskanlalit18 merged 19 commits into
mainlinefrom
dev-golang-2.0
Mar 6, 2026
Merged

Release v2.0.1#217
muskanlalit18 merged 19 commits into
mainlinefrom
dev-golang-2.0

Conversation

@muskanlalit18
Copy link
Copy Markdown
Collaborator

Release v2.0.1

Muskan Lalit and others added 19 commits February 20, 2026 21:11
If the username in the ticket info does not match, fetch it from the secret.
Username could have been changed in the secret, the credspec has secret arn not the username.

cr: https://code.amazon.com/reviews/CR-254306649
Startup order is important for this service to integrate with the ECS
agent. To account for this, create a systemd drop-in file for
`ecs.service` so that it depends on `credentials-fetcher.service` as
long as it is installed.

The drop-in also makes the agent wait for the credentials-fetcher socket
to be created.

Ship a userdata script to set up startup order as an alternative
approach callable from the userdata script which installs a dependency
so that ecs.service requires credentials-fetcher.service to start.

Fix postun script to only clean up on full removal, not upgrades.
Update changelog and bump release number to 2.

GitHub-PR: #215

cr: https://code.amazon.com/reviews/CR-255829737
fs.removeall recursively deletes the specified path and all its children (similar to rm -rf in Unix).
https://github.com/golang/go/blob/master/src/os/removeall_at.go

cr: https://code.amazon.com/reviews/CR-255838804
Move credentials-fetcher-startup-order.sh to configuration/scripts/ so it
gets included in the Brazil build artifacts. The RPM spec file expects
this script at ./scripts/ in the runtime environment.

cr: https://code.amazon.com/reviews/CR-257812196
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.35.0 to 0.38.0.
- [Commits](golang/net@v0.35.0...v0.38.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-version: 0.38.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

cr: https://code.amazon.com/reviews/CR-258090722
Update userdata.md
@bhallasaksham bhallasaksham self-requested a review March 6, 2026 23:25
@muskanlalit18 muskanlalit18 merged commit 9159d64 into mainline Mar 6, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants