-
-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(dependencies): upgrade dependencies and fix namespace in certs (#764
- Loading branch information
Showing
34 changed files
with
491 additions
and
481 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
using System.Security.Cryptography; | ||
using System.Security.Cryptography.X509Certificates; | ||
|
||
namespace KubeOps.Abstractions.Certificates | ||
{ | ||
public record CertificatePair(X509Certificate2 Certificate, AsymmetricAlgorithm Key); | ||
} | ||
namespace KubeOps.Abstractions.Certificates; | ||
|
||
public record CertificatePair(X509Certificate2 Certificate, AsymmetricAlgorithm Key); |
28 changes: 12 additions & 16 deletions
28
src/KubeOps.Abstractions/Certificates/ICertificateProvider.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,18 @@ | ||
using System.Security.Cryptography; | ||
using System.Security.Cryptography.X509Certificates; | ||
namespace KubeOps.Abstractions.Certificates; | ||
|
||
namespace KubeOps.Abstractions.Certificates | ||
/// <summary> | ||
/// Defines properties for certificate/key pair so a custom certificate/key provider may be implemented. | ||
/// The provider is used by the CertificateWebhookService to provide a caBundle to the webhooks. | ||
/// </summary> | ||
public interface ICertificateProvider : IDisposable | ||
{ | ||
/// <summary> | ||
/// Defines properties for certificate/key pair so a custom certificate/key provider may be implemented. | ||
/// The provider is used by the CertificateWebhookService to provide a caBundle to the webhooks. | ||
/// The server certificate and key. | ||
/// </summary> | ||
public interface ICertificateProvider : IDisposable | ||
{ | ||
/// <summary> | ||
/// The server certificate and key. | ||
/// </summary> | ||
CertificatePair Server { get; } | ||
CertificatePair Server { get; } | ||
|
||
/// <summary> | ||
/// The root certificate and key. | ||
/// </summary> | ||
CertificatePair Root { get; } | ||
} | ||
/// <summary> | ||
/// The root certificate and key. | ||
/// </summary> | ||
CertificatePair Root { get; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.