-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request 'Ref #27576: allow to override instance using cook…
…ie and query param' (#5) from feature/27576/access-old into develop
- Loading branch information
Showing
26 changed files
with
1,358 additions
and
294 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ resources: | |
- serviceaccount.yaml | ||
- daemonset.yaml | ||
- service.yaml | ||
- routegroups.crd.yaml |
206 changes: 206 additions & 0 deletions
206
docs/deployment/bases/clustered/skipper-ds/routegroups.crd.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,206 @@ | ||
|
||
--- | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.4.0 | ||
name: routegroups.zalando.org | ||
spec: | ||
group: zalando.org | ||
names: | ||
categories: | ||
- all | ||
kind: RouteGroup | ||
listKind: RouteGroupList | ||
plural: routegroups | ||
shortNames: | ||
- rg | ||
- rgs | ||
singular: routegroup | ||
scope: Namespaced | ||
versions: | ||
- additionalPrinterColumns: | ||
- description: Hosts defined for the RouteGroup | ||
jsonPath: .spec.hosts | ||
name: Hosts | ||
type: string | ||
- description: Address of the Load Balancer for the RouteGroup | ||
jsonPath: .status.loadBalancer | ||
name: Address | ||
type: string | ||
name: v1 | ||
schema: | ||
openAPIV3Schema: | ||
properties: | ||
apiVersion: | ||
description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' | ||
type: string | ||
kind: | ||
description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' | ||
type: string | ||
metadata: | ||
type: object | ||
spec: | ||
properties: | ||
backends: | ||
description: List of backends that can be referenced in the routes. | ||
items: | ||
properties: | ||
address: | ||
description: Address is required for Type network | ||
type: string | ||
algorithm: | ||
description: Algorithm is required for Type lb | ||
enum: | ||
- roundRobin | ||
- random | ||
- consistentHash | ||
- powerOfRandomNChoices | ||
type: string | ||
endpoints: | ||
description: Endpoints is required for Type lb | ||
items: | ||
type: string | ||
minItems: 1 | ||
type: array | ||
name: | ||
description: Name is the BackendName that can be referenced as RouteGroupBackendReference | ||
type: string | ||
serviceName: | ||
description: ServiceName is required for Type service | ||
type: string | ||
servicePort: | ||
description: ServicePort is required for Type service | ||
type: integer | ||
type: | ||
description: Type is one of "service|shunt|loopback|dynamic|lb|network" | ||
enum: | ||
- service | ||
- shunt | ||
- loopback | ||
- dynamic | ||
- lb | ||
- network | ||
type: string | ||
required: | ||
- name | ||
- type | ||
type: object | ||
type: array | ||
defaultBackends: | ||
description: DefaultBackends is a list of default backends defined if no explicit backend is defined for a route. | ||
items: | ||
properties: | ||
backendName: | ||
description: BackendName references the skipperBackend by name | ||
type: string | ||
weight: | ||
description: Weight defines the traffic weight, if there are 2 or more default backends | ||
minimum: 0 | ||
type: integer | ||
required: | ||
- backendName | ||
type: object | ||
type: array | ||
hosts: | ||
description: List of hostnames for the RouteGroup. | ||
items: | ||
pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$" | ||
type: string | ||
type: array | ||
routes: | ||
items: | ||
properties: | ||
backends: | ||
description: RouteGroupBackendReference specifies the list of backendReference that should be applied to override the defaultBackends | ||
items: | ||
properties: | ||
backendName: | ||
description: BackendName references the skipperBackend by name | ||
type: string | ||
weight: | ||
description: Weight defines the traffic weight, if there are 2 or more default backends | ||
minimum: 0 | ||
type: integer | ||
required: | ||
- backendName | ||
type: object | ||
type: array | ||
filters: | ||
description: Filters specifies the list of filters applied to the routeSpec | ||
items: | ||
type: string | ||
type: array | ||
methods: | ||
description: Methods defines valid HTTP methods for the specified routeSpec | ||
items: | ||
description: HTTPMethod is a valid HTTP method in uppercase. | ||
enum: | ||
- GET | ||
- HEAD | ||
- POST | ||
- PUT | ||
- PATCH | ||
- DELETE | ||
- CONNECT | ||
- OPTIONS | ||
- TRACE | ||
type: string | ||
type: array | ||
path: | ||
description: Path specifies Path predicate, only one of Path or PathSubtree is allowed | ||
type: string | ||
pathRegexp: | ||
description: PathRegexp can be added additionally | ||
type: string | ||
pathSubtree: | ||
description: PathSubtree specifies PathSubtree predicate, only one of Path or PathSubtree is allowed | ||
type: string | ||
predicates: | ||
description: Predicates specifies the list of predicates applied to the routeSpec | ||
items: | ||
type: string | ||
type: array | ||
type: object | ||
minItems: 1 | ||
type: array | ||
required: | ||
- backends | ||
type: object | ||
status: | ||
properties: | ||
loadBalancer: | ||
description: LoadBalancer is similar to ingress status, such that external-dns has the same style as in ingress | ||
properties: | ||
routegroup: | ||
description: RouteGroup is similar to Ingress in ingress status.LoadBalancer. | ||
items: | ||
properties: | ||
hostname: | ||
description: Hostname is the hostname of the load balancer and is empty if IP is set | ||
type: string | ||
ip: | ||
description: IP is the IP address of the load balancer and is empty if Hostname is set | ||
type: string | ||
type: object | ||
type: array | ||
required: | ||
- routegroup | ||
type: object | ||
required: | ||
- loadBalancer | ||
type: object | ||
required: | ||
- spec | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} | ||
status: | ||
acceptedNames: | ||
kind: "" | ||
plural: "" | ||
conditions: [] | ||
storedVersions: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,4 @@ resources: | |
- deployment.yaml | ||
- service.yaml | ||
- hpa.yaml | ||
- routegroups.crd.yaml |
Oops, something went wrong.