mesosphere / marathon-client

Java Integration Library for Mesosphere Marathon
Apache License 2.0
17 stars 12 forks source link

Add pullConfig to the App/Container/Docker model #10

Closed ghost closed 5 years ago

ghost commented 6 years ago

Hi,

The pullConfig attribute field is not present in the App/Container/Docker model and this prevent the deployment of apps using UCR ("MESOS" type) with a private registry with a Secret File credential. The library is used in the jenkins marathon-plugin and prevent us to deploy our app in our jenkins pipelines. We are using this kind of config :

"container": {
    "type": "MESOS",
    "volumes": [],
    "docker": {
      "image": "myprivateregistry.marathon.l4lb.thisdcos.directory:5000/myapp:1.0",
      "forcePullImage": false,
      "parameters": [],
      "pullConfig": {
        "secret": "pullConfigSecret"
      }
    }