Class RouteAdmissionPolicy
- java.lang.Object
-
- io.fabric8.openshift.api.model.operator.v1.RouteAdmissionPolicy
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<RouteAdmissionPolicyBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class RouteAdmissionPolicy extends Object implements io.fabric8.kubernetes.api.builder.Editable<RouteAdmissionPolicyBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
RouteAdmissionPolicy is an admission policy for allowing new route claims.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RouteAdmissionPolicy()No args constructor for use in serializationRouteAdmissionPolicy(String namespaceOwnership, String wildcardPolicy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RouteAdmissionPolicyBuilderedit()Map<String,Object>getAdditionalProperties()StringgetNamespaceOwnership()namespaceOwnership describes how host name claims across namespaces should be handled.StringgetWildcardPolicy()wildcardPolicy describes how routes with wildcard policies should be handled for the ingress controller.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetNamespaceOwnership(String namespaceOwnership)namespaceOwnership describes how host name claims across namespaces should be handled.voidsetWildcardPolicy(String wildcardPolicy)wildcardPolicy describes how routes with wildcard policies should be handled for the ingress controller.RouteAdmissionPolicyBuildertoBuilder()
-
-
-
Method Detail
-
getNamespaceOwnership
public String getNamespaceOwnership()
namespaceOwnership describes how host name claims across namespaces should be handled.Value must be one of:
- Strict: Do not allow routes in different namespaces to claim the same host.
- InterNamespaceAllowed: Allow routes to claim different paths of the same
host name across namespaces.
If empty, the default is Strict.
-
setNamespaceOwnership
public void setNamespaceOwnership(String namespaceOwnership)
namespaceOwnership describes how host name claims across namespaces should be handled.Value must be one of:
- Strict: Do not allow routes in different namespaces to claim the same host.
- InterNamespaceAllowed: Allow routes to claim different paths of the same
host name across namespaces.
If empty, the default is Strict.
-
getWildcardPolicy
public String getWildcardPolicy()
wildcardPolicy describes how routes with wildcard policies should be handled for the ingress controller. WildcardPolicy controls use of routes [1] exposed by the ingress controller based on the route's wildcard policy.[1] https://github.com/openshift/api/blob/master/route/v1/types.go
Note: Updating WildcardPolicy from WildcardsAllowed to WildcardsDisallowed will cause admitted routes with a wildcard policy of Subdomain to stop working. These routes must be updated to a wildcard policy of None to be readmitted by the ingress controller.
WildcardPolicy supports WildcardsAllowed and WildcardsDisallowed values.
If empty, defaults to "WildcardsDisallowed".
-
setWildcardPolicy
public void setWildcardPolicy(String wildcardPolicy)
wildcardPolicy describes how routes with wildcard policies should be handled for the ingress controller. WildcardPolicy controls use of routes [1] exposed by the ingress controller based on the route's wildcard policy.[1] https://github.com/openshift/api/blob/master/route/v1/types.go
Note: Updating WildcardPolicy from WildcardsAllowed to WildcardsDisallowed will cause admitted routes with a wildcard policy of Subdomain to stop working. These routes must be updated to a wildcard policy of None to be readmitted by the ingress controller.
WildcardPolicy supports WildcardsAllowed and WildcardsDisallowed values.
If empty, defaults to "WildcardsDisallowed".
-
edit
public RouteAdmissionPolicyBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<RouteAdmissionPolicyBuilder>
-
toBuilder
public RouteAdmissionPolicyBuilder toBuilder()
-
-