@@ -55,12 +55,12 @@ func (s *TemplateConsole) TestCookieEncryptionKey() {
5555 var values map [string ]string
5656 if withEncryptioNKey {
5757 values = map [string ]string {
58- "global.platform.portal.oauth .cookie.existingSecret" : uuid .NewString (),
59- "global.platform.portal.oauth .cookie.secretKeys.encryptionKey" : uuid .NewString (),
58+ "global.platform.console .cookie.existingSecret" : uuid .NewString (),
59+ "global.platform.console .cookie.secretKeys.encryptionKey" : uuid .NewString (),
6060 }
6161 } else {
6262 values = map [string ]string {
63- "global.platform.portal.oauth .cookie.encryptionKey" : uuid .NewString (),
63+ "global.platform.console .cookie.encryptionKey" : uuid .NewString (),
6464 }
6565 }
6666 options := s .Options (
@@ -73,7 +73,7 @@ func (s *TemplateConsole) TestCookieEncryptionKey() {
7373 if ! withEncryptioNKey {
7474 require .Contains (t , r .Spec .Template .Spec .Containers [0 ].Env , coreV1.EnvVar {
7575 Name : "ENCRYPTION_KEY" ,
76- Value : values ["global.platform.portal.oauth .cookie.encryptionKey" ],
76+ Value : values ["global.platform.console .cookie.encryptionKey" ],
7777 })
7878
7979 return
@@ -83,9 +83,9 @@ func (s *TemplateConsole) TestCookieEncryptionKey() {
8383 ValueFrom : & coreV1.EnvVarSource {
8484 SecretKeyRef : & coreV1.SecretKeySelector {
8585 LocalObjectReference : coreV1.LocalObjectReference {
86- Name : values ["global.platform.portal.oauth .cookie.existingSecret" ],
86+ Name : values ["global.platform.console .cookie.existingSecret" ],
8787 },
88- Key : values ["global.platform.portal.oauth .cookie.secretKeys.encryptionKey" ],
88+ Key : values ["global.platform.console .cookie.secretKeys.encryptionKey" ],
8989 },
9090 },
9191 })
0 commit comments