File tree 2 files changed +6
-4
lines changed
install/installer/pkg/components/server
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -260,7 +260,9 @@ export interface ConfigSerialized {
260
260
*/
261
261
patSigningKeyFile ?: string ;
262
262
263
- auth : AuthPKIConfig ;
263
+ auth : {
264
+ pki : AuthPKIConfig ;
265
+ } ;
264
266
}
265
267
266
268
export interface AuthPKIConfig {
@@ -375,8 +377,8 @@ export namespace ConfigFile {
375
377
376
378
const authPKI : Config [ "auth" ] [ "pki" ] = {
377
379
signing : {
378
- privateKey : fs . readFileSync ( filePathTelepresenceAware ( config . auth . signing . privateKeyPath ) , "utf-8" ) ,
379
- publicKey : fs . readFileSync ( filePathTelepresenceAware ( config . auth . signing . publicKeyPath ) , "utf-8" ) ,
380
+ privateKey : fs . readFileSync ( filePathTelepresenceAware ( config . auth . pki . signing . privateKeyPath ) , "utf-8" ) ,
381
+ publicKey : fs . readFileSync ( filePathTelepresenceAware ( config . auth . pki . signing . publicKeyPath ) , "utf-8" ) ,
380
382
} ,
381
383
validating : [ ] ,
382
384
} ;
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ type AuthPKIConfig struct {
75
75
Signing KeyPair `json:"signing"`
76
76
77
77
// Validating KeyPairs are used for checking validity only
78
- Validating []KeyPair `json:"validating"`
78
+ Validating []KeyPair `json:"validating,omitempty "`
79
79
}
80
80
81
81
type KeyPair struct {
You can’t perform that action at this time.
0 commit comments