Uploaded image for project: 'Marathon'
  1. Marathon
  2. MARATHON-8291

Point out in docs that File-based secrets are only supported by UCR

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: DC/OS 1.11.4, RI-3
    • Component/s: None
    • Labels:
      None

      Description

      I'm testing secrets api in marathon with goal to implement file based secret on mesos side, and example from documentation is not working https://github.com/mesosphere/marathon/blob/master/docs/docs/secrets.md#file-based-secrets

      It gives error: "/container/docker: not defined".

      Does it mean that secrets are designed to work only with UCR, and there is no way to pass them as files to simple mesos tasks or is it bug in marathon?  

      Using latest mesos and marathon:
      marathon-1.6.508-87013dd$ ./bin/marathon --master 127.0.1.1:5050 --zk zk://127.0.0.1:2181/marathon --enable_features secrets

      P.S. with UCR defined it is starting normally

      "type": "MESOS",
      "docker": {
        "image": "ubuntu"
      }

       

       

        Attachments

          Activity

            People

            • Assignee:
              nikitamelkozerov Nikita Melkozerov
              Reporter:
              shirkevich Mikhail Shirkov
              Team:
              Orchestration Team
              Watchers:
              Matthias Eichstedt, Mikhail Shirkov
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: