Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
sparrc committed Nov 26, 2024
1 parent e06d894 commit 9208019
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions agent/engine/serviceconnect/manager_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ func (m *manager) initAgentDirectoryMounts(taskId string, container *apicontaine

hostConfig.Binds = append(hostConfig.Binds, getBindMountMapping(statusPathHost, m.statusPathContainer))
hostConfig.Binds = append(hostConfig.Binds, getBindMountMapping(m.relayPathHost, m.relayPathContainer))
hostConfig.Binds = append(hostConfig.Binds, getBindMountMapping("/etc/pki", "/etc/pki"))

// create logging directory and bind mount, if customer has not configured a logging driver
if container.GetLogDriver() == "" {
Expand Down Expand Up @@ -348,11 +349,11 @@ func (m *manager) CreateInstanceTask(cfg *config.Config) (*apitask.Task, error)
HostConfig: aws.String(string(rawHostConfig)),
},
HealthCheckType: "DOCKER",
MountPoints: []apicontainer.MountPoint{{
SourceVolume: "/etc/pki",
ContainerPath: "/etc/pki",
ReadOnly: true,
}},
// MountPoints: []apicontainer.MountPoint{{
// SourceVolume: "/etc/pki",
// ContainerPath: "/etc/pki",
// ReadOnly: true,
// }},
}},
LaunchType: "EC2",
NetworkMode: apitask.HostNetworkMode,
Expand Down

0 comments on commit 9208019

Please sign in to comment.