forked from openshift/origin
-
Notifications
You must be signed in to change notification settings - Fork 1
/
types.go
22 lines (18 loc) · 790 Bytes
/
types.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package v1
import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// IngressAdmissionConfig is the configuration for the the ingress
// controller limiter plugin. It changes the behavior of ingress
// objects to behave better with openshift routes and routers.
// *NOTE* This has security implications in the router when handling
// ingress objects
type IngressAdmissionConfig struct {
metav1.TypeMeta `json:",inline"`
// AllowHostnameChanges when false or unset openshift does not
// allow changing or adding hostnames to ingress objects. If set
// to true then hostnames can be added or modified which has
// security implications in the router.
AllowHostnameChanges bool `json:"allowHostnameChanges"`
}