Skip to content

Commit

Permalink
MGMT-16649: Add Ignition Endpoint Headers to Host DB struct
Browse files Browse the repository at this point in the history
  • Loading branch information
CrystalChun committed Feb 6, 2024
1 parent 37952bb commit b192620
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/common/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,9 @@ type Host struct {

// A string which will be used as Authorization Bearer token to fetch the ignition from ignition_endpoint_url.
IgnitionEndpointToken string `json:"ignition_endpoint_token" gorm:"type:TEXT"`

// Json formatted string of the additional HTTP headers when fetching the ignition.
IgnitionEndpointHTTPHeaders string `json:"ignition_endpoint_http_headers,omitempty" gorm:"type:TEXT"`
}

func (h *Host) GetClusterID() *strfmt.UUID {
Expand Down

0 comments on commit b192620

Please sign in to comment.