mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-24 06:59:40 -05:00
Use "new" config for YAML parsing directives
This commit is contained in:
parent
c9982b979c
commit
5fa23d4bec
@ -16,7 +16,6 @@ import (
|
|||||||
pb "github.com/edgelesssys/constellation/debugd/service"
|
pb "github.com/edgelesssys/constellation/debugd/service"
|
||||||
configc "github.com/edgelesssys/constellation/internal/config"
|
configc "github.com/edgelesssys/constellation/internal/config"
|
||||||
"github.com/edgelesssys/constellation/internal/constants"
|
"github.com/edgelesssys/constellation/internal/constants"
|
||||||
"github.com/edgelesssys/constellation/internal/deploy/ssh"
|
|
||||||
"github.com/edgelesssys/constellation/internal/file"
|
"github.com/edgelesssys/constellation/internal/file"
|
||||||
statec "github.com/edgelesssys/constellation/internal/state"
|
statec "github.com/edgelesssys/constellation/internal/state"
|
||||||
"github.com/spf13/afero"
|
"github.com/spf13/afero"
|
||||||
@ -109,7 +108,7 @@ type deployOnEndpointInput struct {
|
|||||||
debugdEndpoint string
|
debugdEndpoint string
|
||||||
coordinatorPath string
|
coordinatorPath string
|
||||||
reader fileToStreamReader
|
reader fileToStreamReader
|
||||||
authorizedKeys []ssh.UserKey
|
authorizedKeys []configc.UserKey
|
||||||
systemdUnits []depl.SystemdUnit
|
systemdUnits []depl.SystemdUnit
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ import (
|
|||||||
"io/fs"
|
"io/fs"
|
||||||
|
|
||||||
"github.com/edgelesssys/constellation/debugd/debugd/deploy"
|
"github.com/edgelesssys/constellation/debugd/debugd/deploy"
|
||||||
"github.com/edgelesssys/constellation/internal/deploy/ssh"
|
configc "github.com/edgelesssys/constellation/internal/config"
|
||||||
"github.com/edgelesssys/constellation/internal/file"
|
"github.com/edgelesssys/constellation/internal/file"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -17,7 +17,7 @@ type CDBGConfig struct {
|
|||||||
|
|
||||||
// ConstellationDebugdConfig is the cdbg specific configuration.
|
// ConstellationDebugdConfig is the cdbg specific configuration.
|
||||||
type ConstellationDebugdConfig struct {
|
type ConstellationDebugdConfig struct {
|
||||||
AuthorizedKeys []ssh.UserKey `yaml:"authorizedKeys"`
|
AuthorizedKeys []configc.UserKey `yaml:"authorizedKeys"`
|
||||||
CoordinatorPath string `yaml:"coordinatorPath"`
|
CoordinatorPath string `yaml:"coordinatorPath"`
|
||||||
SystemdUnits []deploy.SystemdUnit `yaml:"systemdUnits,omitempty"`
|
SystemdUnits []deploy.SystemdUnit `yaml:"systemdUnits,omitempty"`
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user