mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-14 04:02:16 -04:00
versions: consolidate various types of Components
There used to be three definitions of a Component type, and conversion routines between the three. Since the use case is always the same, and the Component semantics are defined by versions.go and the installer, it seems appropriate to define the Component type there and import it in the necessary places.
This commit is contained in:
parent
a8fb6c5af0
commit
a1dbd13f95
25 changed files with 454 additions and 379 deletions
|
@ -2,6 +2,8 @@ syntax = "proto3";
|
|||
|
||||
package init;
|
||||
|
||||
import "internal/versions/components/components.proto";
|
||||
|
||||
option go_package = "github.com/edgelesssys/constellation/v2/bootstrapper/initproto";
|
||||
|
||||
service API {
|
||||
|
@ -23,7 +25,7 @@ message InitRequest {
|
|||
// ConformanceMode is a flag to indicate whether the cluster should be bootstrapped for Kubernetes conformance testing.
|
||||
bool conformance_mode = 6;
|
||||
// KubernetesComponents is a list of Kubernetes components to install.
|
||||
repeated KubernetesComponent kubernetes_components = 7;
|
||||
repeated components.Component kubernetes_components = 7;
|
||||
// InitSecret is a secret used to authenticate the initial bootstrapping node.
|
||||
bytes init_secret = 8;
|
||||
// ClusterName is the name of the cluster.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue