microsoft / microsoft/aspire

Restart redis when the password is changed

Open
#13,259 3 comments 3 reactions 0 assignees View on GitHub
area-deployment azure
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Is your feature request related to a problem? Please describe the problem.

When aspire generates a new password for redis for an existing deployment, redis should be restarted to pick up the new password.

This is a follow up to: https://github.com/dotnet/aspire/issues/10829

I imagine a similar situation exists for other resources, but I've only experienced it directly with redis.

### Describe the solution you'd like

On aspire deploy, redis should be restarted if the password is re-generated.

### Additional context

A user can set a stable password by creating a secret parameter and calling `.WithPassword(parameter)`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.