Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

P2 Candidate - Docker Auth information disappear in clone job #3829

Closed
yiyione opened this issue Nov 12, 2019 · 1 comment
Closed

P2 Candidate - Docker Auth information disappear in clone job #3829

yiyione opened this issue Nov 12, 2019 · 1 comment

Comments

@yiyione
Copy link
Contributor

yiyione commented Nov 12, 2019

I have a job with docker image auth information.

prerequisites:
  - type: dockerimage
    auth:
      username: xxxx
      password: <% $secrets.docker_password_0 %>
      registryuri: xxxx.azurecr.io
    uri: 'xxxx.azurecr.io/grammar-transformer-base:xxxx'
    name: docker_image_0
...

It will disappear after clone:

prerequisites:
  - type: dockerimage
    uri: 'xxxx.azurecr.io/grammar-transformer-base:xxxx'
    name: docker_image_0

OpenPAI version: v0.15.0

@Binyang2014
Copy link
Contributor

When clone job, PAI will erase the secret field. And related reference will be erased too. I think it's by design.

@scarlett2018 scarlett2018 changed the title Docker Auth information disappear in clone job P2 Candidate - Docker Auth information disappear in clone job Dec 30, 2019
@scarlett2018 scarlett2018 added this to the Pure K8S Beta Release milestone Dec 30, 2019
@scarlett2018 scarlett2018 mentioned this issue May 14, 2020
5 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants