cli: write MAAUrl to idfile again (#2387)

This commit is contained in:
3u13r 2023-09-27 17:40:17 +02:00 committed by GitHub
parent f4b2d02194
commit ac2fca344d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -193,6 +193,11 @@ func convertToIDFile(infra state.Infrastructure, provider cloudprovider.Provider
file.APIServerCertSANs = infra.APIServerCertSANs file.APIServerCertSANs = infra.APIServerCertSANs
file.InitSecret = []byte(infra.InitSecret) // Convert string to []byte file.InitSecret = []byte(infra.InitSecret) // Convert string to []byte
file.UID = infra.UID file.UID = infra.UID
if infra.Azure != nil {
file.AttestationURL = infra.Azure.AttestationURL
}
return file return file
} }