Skip to content

Instantly share code, notes, and snippets.

@Pothulapati
Created January 19, 2019 10:56
Show Gist options
  • Save Pothulapati/b2352c7d49663b47576da9ce728852c9 to your computer and use it in GitHub Desktop.
Save Pothulapati/b2352c7d49663b47576da9ce728852c9 to your computer and use it in GitHub Desktop.
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
creationTimestamp: null
labels:
controller-tools.k8s.io: "1.0"
name: applications.sfmesh.k8s.io
spec:
group: sfmesh.k8s.io
names:
kind: Application
plural: applications
scope: Namespaced
validation:
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/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/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
properties:
description:
type: string
location:
type: string
services:
items:
properties:
codePackages:
items:
properties:
endPoints:
items:
properties:
name:
type: string
port:
format: int64
type: integer
required:
- name
- port
type: object
type: array
image:
type: string
name:
type: string
required:
- name
- image
type: object
type: array
description:
type: string
name:
type: string
networks:
items:
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/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/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
type: object
status:
type: object
type: object
type: array
osType:
type: string
replicaCount:
format: int32
type: integer
required:
- name
- description
- osType
- replicaCount
type: object
type: array
required:
- location
- description
type: object
status:
type: object
version: v1alpha1
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment