@@ -2280,12 +2280,12 @@ private static async Task ConfigureCertificatesInternalAsync(
2280
2280
NodeSshProxy < NodeDefinition > controlNode ,
2281
2281
string idempotencySuffix = null )
2282
2282
{
2283
- controller . LogProgress ( controlNode , verb : "setup" , message : "cluster-certificate" ) ;
2283
+ controller . LogProgress ( controlNode , verb : "setup" , message : "cluster-tls- certificate" ) ;
2284
2284
2285
- var cluster = controller . Get < ClusterProxy > ( KubeSetupProperty . ClusterProxy ) ;
2286
- var k8s = GetK8sClient ( controller ) ;
2287
- var headendClient = controller . Get < HeadendClient > ( KubeSetupProperty . NeonCloudHeadendClient ) ;
2288
- var idempotencyKey = "setup/cluster-certificates " ;
2285
+ var cluster = controller . Get < ClusterProxy > ( KubeSetupProperty . ClusterProxy ) ;
2286
+ var k8s = GetK8sClient ( controller ) ;
2287
+ var headendClient = controller . Get < HeadendClient > ( KubeSetupProperty . NeonCloudHeadendClient ) ;
2288
+ var idempotencyKey = "setup/cluster-tls-certificate " ;
2289
2289
2290
2290
if ( ! idempotencySuffix . IsNullOrEmpty ( ) )
2291
2291
{
@@ -2296,7 +2296,7 @@ private static async Task ConfigureCertificatesInternalAsync(
2296
2296
await controlNode . InvokeIdempotentAsync ( idempotencyKey ,
2297
2297
async ( ) =>
2298
2298
{
2299
- controller . LogProgress ( controlNode , verb : "configure" , message : "neon- cluster-certificate" ) ;
2299
+ controller . LogProgress ( controlNode , verb : "configure" , message : "cluster-tls -certificate" ) ;
2300
2300
2301
2301
var retry = new LinearRetryPolicy (
2302
2302
transientDetector : null ,
@@ -2323,7 +2323,7 @@ await retry.InvokeAsync(
2323
2323
{
2324
2324
Metadata = new V1ObjectMeta ( )
2325
2325
{
2326
- Name = "neon-cluster-certificate" ,
2326
+ Name = KubeSecretName . ClusterTlsCertificate ,
2327
2327
} ,
2328
2328
Data = cert ,
2329
2329
Type = "kubernetes.io/tls"
@@ -4787,7 +4787,7 @@ await controlNode.InvokeIdempotentAsync("setup/redis-ready",
4787
4787
}
4788
4788
4789
4789
/// <summary>
4790
- /// Installs a harbor container registry and required components.
4790
+ /// Installs Harbor container registry and required components.
4791
4791
/// </summary>
4792
4792
/// <param name="controller">Specifies the setup controller.</param>
4793
4793
/// <param name="controlNode">Specifies the control-plane node where the operation will be performed.</param>
@@ -4950,6 +4950,7 @@ await controlNode.InvokeIdempotentAsync("setup/harbor",
4950
4950
values . Add ( "notary.server.priorityClassName" , PriorityClass . NeonData . Name ) ;
4951
4951
values . Add ( "notary.signer.priorityClassName" , PriorityClass . NeonData . Name ) ;
4952
4952
values . Add ( "trivy.priorityClassName" , PriorityClass . NeonData . Name ) ;
4953
+ values . Add ( "clusterTlsCertificateName" , KubeSecretName . ClusterTlsCertificate ) ;
4953
4954
4954
4955
await controlNode . InstallHelmChartAsync ( controller , "harbor" ,
4955
4956
releaseName : "registry-harbor" ,
0 commit comments