mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-03 16:59:22 +02:00
core/zero: add organization id and cluster id to bootstrap config (#5275)
This commit is contained in:
parent
db52d0cfbd
commit
790c11b368
5 changed files with 25 additions and 9 deletions
|
@ -18,8 +18,11 @@ const (
|
|||
|
||||
// BootstrapConfig defines model for BootstrapConfig.
|
||||
type BootstrapConfig struct {
|
||||
ClusterId string `json:"clusterId"`
|
||||
|
||||
// DatabrokerStorageConnection databroker storage connection string
|
||||
DatabrokerStorageConnection *string `json:"databrokerStorageConnection,omitempty"`
|
||||
OrganizationId string `json:"organizationId"`
|
||||
|
||||
// SharedSecret shared secret
|
||||
SharedSecret []byte `json:"sharedSecret"`
|
||||
|
|
|
@ -163,14 +163,20 @@ components:
|
|||
BootstrapConfig:
|
||||
type: object
|
||||
properties:
|
||||
clusterId:
|
||||
type: string
|
||||
databrokerStorageConnection:
|
||||
type: string
|
||||
description: databroker storage connection string
|
||||
organizationId:
|
||||
type: string
|
||||
sharedSecret:
|
||||
type: string
|
||||
format: byte
|
||||
description: shared secret
|
||||
required:
|
||||
- clusterId
|
||||
- organizationId
|
||||
- sharedSecret
|
||||
|
||||
Bundle:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue