Change Denied to *string

This commit is contained in:
Alex Kursell 2019-02-22 11:48:13 -05:00
parent 62191fc3e2
commit 53538acbaf
4 changed files with 6 additions and 5 deletions

View file

@ -239,7 +239,7 @@ type Location struct {
BasicDigestAuth auth.Config `json:"basicDigestAuth,omitempty"`
// Denied returns an error when this location cannot not be allowed
// Requesting a denied location should return HTTP code 403.
Denied string `json:"denied,omitempty"`
Denied *string `json:"denied,omitempty"`
// CorsConfig returns the Cors Configuration for the ingress rule
// +optional
CorsConfig cors.Config `json:"corsConfig,omitempty"`