You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Brige-to-Kubernetes dsc cli fails to start on MacOS 15 (Sequoia) because of compatibility issue affecting .NET prior to 8.0.10, see dotnet/announcements#324 for details.
Error message is:
./dsc check-credentials --namespace default The specified item is no longer valid. It may have been deleted from the keychain.
Stack trace:
An exception of type 'Interop.AppleCrypto.AppleCommonCryptoCryptographicException' occurred in System.Security.Cryptography.dll but was not handled in user code: 'The specified item is no longer valid. It may have been deleted from the keychain.'
at Interop.AppleCrypto.X509CopyWithPrivateKey(SafeSecCertificateHandle certHandle, SafeSecKeyRefHandle privateKeyHandle, SafeKeychainHandle targetKeychain)
at System.Security.Cryptography.X509Certificates.AppleCertificatePal.CopyWithPrivateKey(SafeSecKeyRefHandle privateKey)
at System.Security.Cryptography.X509Certificates.AppleCertificatePal.CopyWithPrivateKey(RSA privateKey)
at System.Security.Cryptography.X509Certificates.RSACertificateExtensions.CopyWithPrivateKey(X509Certificate2 certificate, RSA privateKey)
at System.Security.Cryptography.X509Certificates.X509Certificate2.ExtractKeyFromPem[TAlg](ReadOnlySpan`1 keyPem, String[] labels, Func`1 factory, Func`2 import)
at System.Security.Cryptography.X509Certificates.X509Certificate2.CreateFromPem(ReadOnlySpan`1 certPem, ReadOnlySpan`1 keyPem)
at k8s.CertUtils.GeneratePfx(KubernetesClientConfiguration config)
at k8s.CertUtils.GetClientCert(KubernetesClientConfiguration config)
at k8s.Kubernetes.InitializeFromConfig(KubernetesClientConfiguration config)
at k8s.Kubernetes..ctor(KubernetesClientConfiguration config, DelegatingHandler[] handlers)
at Microsoft.BridgeToKubernetes.Common.Kubernetes.K8sClientFactory.CreateFromKubeConfig(K8SConfiguration kubeConfig) in /Users/verapocobut/Projects/Bridge-To-Kubernetes/src/common/Kubernetes/K8sClientFactory.cs:line 119
at Microsoft.BridgeToKubernetes.Common.Kubernetes.KubernetesClient.<>c__DisplayClass12_0.<.ctor>b__0() in /Users/verapocobut/Projects/Bridge-To-Kubernetes/src/common/Kubernetes/KubernetesClient.cs:line 81
at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
Same error is displayed when starting via VS Code Bridge to Kubernetes plugin.
Workaround is to re-target to .net 8.0 instead and set custom binaries path for VS Code plugin:
Brige-to-Kubernetes dsc cli fails to start on MacOS 15 (Sequoia) because of compatibility issue affecting .NET prior to 8.0.10, see dotnet/announcements#324 for details.
Error message is:
Stack trace:
Same error is displayed when starting via VS Code Bridge to Kubernetes plugin.
Workaround is to re-target to .net 8.0 instead and set custom binaries path for VS Code plugin:
The text was updated successfully, but these errors were encountered: