Skip to content

Commit

Permalink
Merge pull request #198 from Deydra71/httpd-config
Browse files Browse the repository at this point in the history
Update the route timeout webhook reference
  • Loading branch information
openshift-merge-bot[bot] authored Jan 14, 2025
2 parents 1482a31 + 2c0c44a commit ffbe4b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/v1beta1/barbican_webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ func (spec *BarbicanSpecCore) GetDefaultRouteAnnotations() (annotations map[stri
}

// SetDefaultRouteAnnotations sets HAProxy timeout values for Barbican API routes
func (spec *BarbicanAPITemplateCore) SetDefaultRouteAnnotations(annotations map[string]string) {
func (spec *BarbicanSpecCore) SetDefaultRouteAnnotations(annotations map[string]string) {
const haProxyAnno = "haproxy.router.openshift.io/timeout"
// Use a custom annotation to flag when the operator has set the default HAProxy timeout
// With the annotation func determines when to overwrite existing HAProxy timeout with the APITimeout
Expand Down

0 comments on commit ffbe4b4

Please sign in to comment.