microsoft / microsoft/aspire

container imagePullSecret

Open
#9,352 3 comments 1 reaction 0 assignees View on GitHub
area-orchestrator
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.

Please add support so that a image pull secret maybe used to allow credentials to be provided and used when connecting to secured/private container registry

### Describe the solution you'd like

```
**var _containerRegistrySecret = builder.AddContainerRegistrySecret(
registry: "",
namespace: "",
username: "",
password: "");**

var _container = builder.AddContainer(
name: "some-container",
image: "some-container/some-contait")
**.WithReference(
_containerRegistrySecret
);**

```

### Additional context

_No response_

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.