Last active
April 26, 2021 18:58
-
-
Save mitch-seymour/39aec63e71d786dad1981084cddbb33f to your computer and use it in GitHub Desktop.
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
--- | |
apiVersion: apiextensions.k8s.io/v1 | |
kind: CustomResourceDefinition | |
metadata: | |
name: trafficshadows.smispec.mitchseymour.com | |
spec: | |
group: smispec.mitchseymour.com | |
scope: Namespaced | |
names: | |
kind: TrafficShadow | |
listKind: TrafficShadowList | |
shortNames: | |
- shadow | |
plural: trafficshadows | |
singular: trafficshadow | |
versions: | |
- name: v1alpha1 | |
served: true | |
storage: true | |
additionalPrinterColumns: | |
- name: Service | |
type: string | |
description: The service | |
jsonPath: .spec.service | |
schema: | |
openAPIV3Schema: | |
type: object | |
properties: | |
spec: | |
type: object | |
required: | |
- service | |
- shadowBackends | |
properties: | |
service: | |
description: The primary backend service | |
type: string | |
shadowBackends: | |
description: The shadow backend services | |
type: array | |
items: | |
type: object | |
required: ['service'] | |
properties: | |
service: | |
description: Name of the Kubernetes service. | |
type: string |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment