mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-07-20 05:51:46 -04:00
image: implement idempotent upload of os images
This commit is contained in:
parent
17c45bc881
commit
ee91d8b1cc
42 changed files with 4272 additions and 95 deletions
|
@ -19,10 +19,14 @@ var (
|
|||
"component": "constellation-kek",
|
||||
}
|
||||
// StorageTags are the default tags for kms client created storage solutions.
|
||||
StorageTags = map[string]string{
|
||||
"createdBy": "constellation-kms-client",
|
||||
"component": "constellation-dek-store",
|
||||
StorageTags = map[string]*string{
|
||||
"createdBy": toPtr("constellation-kms-client"),
|
||||
"component": toPtr("constellation-dek-store"),
|
||||
}
|
||||
// AWSS3Tag is the default tag string for kms client created AWS S3 storage solutions.
|
||||
AWSS3Tag = "createdBy=constellation-kms-client&component=constellation-dek-store"
|
||||
)
|
||||
|
||||
func toPtr[T any](v T) *T {
|
||||
return &v
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue