-
Notifications
You must be signed in to change notification settings - Fork 59
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 #141 from datawire/rel/v1.9.0
Update for Ambassador v1.9.0
- Loading branch information
Showing
9 changed files
with
158 additions
and
5 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
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 |
---|---|---|
@@ -0,0 +1,91 @@ | ||
# GENERATED FILE: edits made by hand will not be preserved. | ||
--- | ||
apiVersion: apiextensions.k8s.io/v1beta1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.3.1-0.20200517180335-820a4a27ea84 | ||
helm.sh/hook: crd-install | ||
labels: | ||
app.kubernetes.io/name: ambassador | ||
product: aes | ||
name: devportals.getambassador.io | ||
spec: | ||
group: getambassador.io | ||
names: | ||
categories: | ||
- ambassador-crds | ||
kind: DevPortal | ||
listKind: DevPortalList | ||
plural: devportals | ||
singular: devportal | ||
scope: Namespaced | ||
validation: | ||
openAPIV3Schema: | ||
description: "DevPortal is the Schema for the DevPortals API \n DevPortal resources specify the `what` and `how` is shown in a DevPortal: \n * `what` is in a DevPortal can be controlled with - a `selector`, that can be used for filtering `Mappings`. - a `docs` listing of (services, url) * `how` is a pointer to some `contents` (a checkout of a Git repository with go-templates/markdown/css). \n Multiple `DevPortal`s can exist in the cluster, and the Dev Portal server will show them at different endpoints. A `DevPortal` resource with a special name, `ambassador`, will be used for configuring the default Dev Portal (served at `/docs/` by default)." | ||
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: | ||
description: DevPortalSpec defines the desired state of DevPortal | ||
properties: | ||
ambassador_id: | ||
description: "AmbassadorID declares which Ambassador instances should pay attention to this resource. May either be a string or a list of strings. If no value is provided, the default is: \n ambassador_id: - \"default\"" | ||
items: | ||
type: string | ||
oneOf: | ||
- type: string | ||
- type: array | ||
content: | ||
description: Content specifies where the content shown in the DevPortal come from | ||
properties: | ||
branch: | ||
type: string | ||
dir: | ||
type: string | ||
url: | ||
type: string | ||
type: object | ||
default: | ||
description: Default must be true when this is the default DevPortal | ||
type: boolean | ||
docs: | ||
description: Docs is a static docs definition | ||
items: | ||
description: 'DevPortalDocsSpec is a static documentation definition: instead of using a Selector for finding documentation for services, users can provide a static list of <service>:<URL> tuples. These services will be shown in the Dev Portal with the documentation obtained from this URL.' | ||
properties: | ||
service: | ||
description: Service is the service being documented | ||
type: string | ||
url: | ||
description: URL is the URL used for obtaining docs | ||
type: string | ||
type: object | ||
type: array | ||
selector: | ||
description: Selector is used for choosing what is shown in the DevPortal | ||
properties: | ||
matchLabels: | ||
additionalProperties: | ||
type: string | ||
description: MatchLabels specifies the list of labels that must be present in Mappings for being present in this DevPortal. | ||
type: object | ||
matchNamespaces: | ||
description: MatchNamespaces is a list of namespaces that will be included in this DevPortal. | ||
items: | ||
type: string | ||
type: array | ||
type: object | ||
type: object | ||
type: object | ||
version: null | ||
versions: | ||
- name: v2 | ||
served: true | ||
storage: true |
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
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