Nickmman opened a new issue, #5898:
URL: https://github.com/apache/camel-k/issues/5898
### What happened?
I have an IntegrationPlatform which is configured with a private registry,
using a secret that contains a dockerauth. The build process works
successfully. However, when running the Integration, which uses the same set of
credentials, the image pull fails.
I have manually confirmed that the credentials can successfully pull the
image.
The Integration is configured to use a service account (which has the
imagePullSecrets configured), in which pulling the image still doesn't work. As
per the documentation, when the Integration does not specify the
imagePullSecrets/ServiceAccount to use, it will default to whatever is
configured at the IntegrationPlatform level.
### Steps to reproduce
1. Create a secret (in this case named `camel-dockerauth`) which contains a
`dockerconfigjson`
2. Deploy camel-k via helm with the following values:
```
values:
fullnameOverride: camel
platform:
build:
registry:
address: redacted.io
organization: camel
secret: camel-dockerauth
```
3. Deploy an Integration (in this case manually)
4. Watch as the Integration image is built but when deploying the image it
does not succeed
### Relevant log output
```shell
Failed to pull image
"redacted.io/camel/camel-k-kit-csbbtv5qhr6c73at2ta0@sha256:efabd03db8c9df31e6b8e7454a47e2a7986cc6a7dc482533d2c2075c5494a642":
failed to pull and unpack image
"redacted.io/camel/camel-k-kit-csbbtv5qhr6c73at2ta0@sha256:efabd03db8c9df31e6b8e7454a47e2a7986cc6a7dc482533d2c2075c5494a642":
failed to resolve reference
"redacted.io/camel/camel-k-kit-csbbtv5qhr6c73at2ta0@sha256:efabd03db8c9df31e6b8e7454a47e2a7986cc6a7dc482533d2c2075c5494a642":
pull access denied, repository does not exist or may require authorization:
authorization failed: no basic auth credentials
```
```
### Camel K version
v1.12.1
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]