Class 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 Detail

      • RouteAdmissionPolicy

        public RouteAdmissionPolicy()
        No args constructor for use in serialization
      • RouteAdmissionPolicy

        public RouteAdmissionPolicy​(String namespaceOwnership,
                                    String wildcardPolicy)
    • 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".

      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)