Skip to content

Commit 6993c18

Browse files
committed
deployment: proper name for auth ca
1 parent d390563 commit 6993c18

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/console/subresource/deployment/deployment.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ func withConsoleVolumes(
238238
}
239239

240240
if authServerCAConfigMap != nil {
241-
volumeConfig = append(volumeConfig, authServerCAVolumeConfig())
241+
volumeConfig = append(volumeConfig, authServerCAVolumeConfig(authServerCAConfigMap.Name))
242242
}
243243

244244
if sessionSecret != nil {
@@ -500,9 +500,9 @@ func oauthServingCertVolumeConfig() volumeConfig {
500500
}
501501
}
502502

503-
func authServerCAVolumeConfig() volumeConfig {
503+
func authServerCAVolumeConfig(cmName string) volumeConfig {
504504
return volumeConfig{
505-
name: api.AuthServerCAFileName,
505+
name: cmName,
506506
path: api.AuthServerCAMountDir,
507507
readOnly: true,
508508
isConfigMap: true,

0 commit comments

Comments
 (0)