mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-02 06:16:08 -04:00
Use tags for UID and role parsing (#242)
* Apply tags to all applicable GCP resources * Move GCP UID and role from VM metadata to labels * Adjust Azure tags to be in line with GCP and AWS * Dont rely on resource name to find resources Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
parent
c2814aeddb
commit
b35b74b772
34 changed files with 344 additions and 360 deletions
14
internal/cloud/cloud.go
Normal file
14
internal/cloud/cloud.go
Normal file
|
@ -0,0 +1,14 @@
|
|||
/*
|
||||
Copyright (c) Edgeless Systems GmbH
|
||||
|
||||
SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
|
||||
package cloud
|
||||
|
||||
const (
|
||||
// TagRole is the tag/label key used to identify the role of a node.
|
||||
TagRole = "constellation-role"
|
||||
// TagUID is the tag/label key used to identify the UID of a cluster.
|
||||
TagUID = "constellation-uid"
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue