ContainersEntryOptions

edit

Options for a ContainersEntry belonging to a role

Properties

edit
acls (array[ContainersEntryOptionsACL], required)
ZooKeeper ACLs associated with this allocation
auths (array[ContainersEntryOptionsAuth], required)
ZooKeeper Auths associated with this allocation
container_set_secret (string)
Secret shared between the containers that are part of this container set.
enabled (boolean, required)
Whether this allocation is active and should be created.
enabled_by_named_feature_flag (string)
A named feature flag to check whether this container is enabled or not
overrides (ContainersEntryOptionsOverrides)
Allocation-specific overrides for the allocated containers
runners_secret (string)
Secret shared between the runners that have containers in this container set allocated.

Example

edit
{
   "acls" : [
      {
         "id" : "string",
         "perms" : 0,
         "scheme" : "string"
      }
   ],
   "auths" : [
      {
         "auth" : "string",
         "scheme" : "string"
      }
   ],
   "container_set_secret" : "string",
   "enabled" : true,
   "enabled_by_named_feature_flag" : "string",
   "overrides" : {
      "container_config" : {
         "env" : [
            "string"
         ],
         "host_config" : {
            "binds" : [
               "string"
            ],
            "cpu_period" : 0,
            "extra_hosts" : [
               "string"
            ],
            "network_mode" : "string",
            "port_bindings" : {
               "some_property" : [
                  {
                     "host_ip" : "string",
                     "host_port" : "string"
                  }
               ]
            },
            "privileged" : true,
            "restart_policy" : {
               "maximum_retry_count" : 0,
               "name" : "string"
            }
         }
      }
   },
   "runners_secret" : "string"
}