Skip to content

Commit

Permalink
Merge pull request #185 from enxebre/openshift-machine-api-crds
Browse files Browse the repository at this point in the history
Include CRDs for openshift.io
  • Loading branch information
openshift-merge-robot committed Jan 28, 2019
2 parents 489ccf1 + d0917a9 commit e791b3d
Show file tree
Hide file tree
Showing 8 changed files with 528 additions and 0 deletions.
120 changes: 120 additions & 0 deletions install/0000_50_machine-api-operator_08_machine.crd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
labels:
controller-tools.k8s.io: "1.0"
name: machines.machine.openshift.io
spec:
additionalPrinterColumns:
- JSONPath: .status.providerStatus.instanceId
name: Instance
description: Instance ID of machine created in AWS
type: string
- JSONPath: .status.providerStatus.instanceState
name: State
description: State of the AWS instance
type: string
- JSONPath: .spec.providerSpec.value.instanceType
name: Type
description: Type of instance
type: string
- JSONPath: .spec.providerSpec.value.placement.region
name: Region
description: Region associated with machine
type: string
- JSONPath: .spec.providerSpec.value.placement.availabilityZone
name: Zone
description: Zone associated with machine
type: string
- JSONPath: .metadata.creationTimestamp
name: Age
type: date
group: machine.openshift.io
names:
kind: Machine
plural: machines
scope: Namespaced
subresources:
status: {}
validation:
openAPIV3Schema:
properties:
apiVersion:
type: string
kind:
type: string
metadata:
type: object
spec:
type: object
properties:
configSource:
type: object
metadata:
type: object
providerSpec:
properties:
value:
type: object
valueFrom:
properties:
machineClass:
properties:
provider:
type: string
type: object
type: object
type: object
taints:
items:
type: object
type: array
versions:
properties:
controlPlane:
type: string
kubelet:
type: string
required:
- kubelet
type: object
required:
- providerSpec
status:
properties:
addresses:
items:
type: object
type: array
conditions:
items:
type: object
type: array
errorMessage:
type: string
errorReason:
type: string
lastUpdated:
format: date-time
type: string
nodeRef:
type: object
providerStatus:
type: object
versions:
properties:
controlPlane:
type: string
kubelet:
type: string
required:
- kubelet
type: object
type: object
version: v1beta1
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
131 changes: 131 additions & 0 deletions install/0000_50_machine-api-operator_09_machineset.crd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
labels:
controller-tools.k8s.io: "1.0"
name: machinesets.machine.openshift.io
spec:
group: machine.openshift.io
names:
kind: MachineSet
plural: machinesets
scope: Namespaced
subresources:
scale:
labelSelectorPath: .status.labelSelector
specReplicasPath: .spec.replicas
statusReplicasPath: .status.replicas
status: {}
validation:
openAPIV3Schema:
properties:
apiVersion:
type: string
kind:
type: string
metadata:
type: object
spec:
type: object
properties:
minReadySeconds:
format: int32
type: integer
replicas:
format: int32
type: integer
selector:
type: object
template:
type: object
properties:
metadata:
type: object
spec:
type: object
properties:
configSource:
type: object
metadata:
type: object
providerSpec:
properties:
value:
type: object
valueFrom:
properties:
machineClass:
properties:
provider:
type: string
type: object
type: object
type: object
taints:
items:
type: object
type: array
versions:
properties:
controlPlane:
type: string
kubelet:
type: string
required:
- kubelet
type: object
required:
- providerSpec
required:
- selector
status:
properties:
availableReplicas:
format: int32
type: integer
errorMessage:
type: string
errorReason:
type: string
fullyLabeledReplicas:
format: int32
type: integer
observedGeneration:
format: int64
type: integer
readyReplicas:
format: int32
type: integer
replicas:
format: int32
type: integer
required:
- replicas
type: object
version: v1beta1
additionalPrinterColumns:
- JSONPath: .spec.replicas
description: Desired Replicas
name: Desired
type: integer
- JSONPath: .status.replicas
description: Current Replicas
name: Current
type: integer
- JSONPath: .status.readyReplicas
description: Ready Replicas
name: Ready
type: integer
- JSONPath: .status.availableReplicas
name: Available
description: Observed number of available replicas
type: string
- JSONPath: .metadata.creationTimestamp
name: Age
type: date
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
127 changes: 127 additions & 0 deletions install/0000_50_machine-api-operator_10_machinedeployment.crd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
labels:
controller-tools.k8s.io: "1.0"
name: machinedeployments.machine.openshift.io
spec:
group: machine.openshift.io
names:
kind: MachineDeployment
plural: machinedeployments
scope: Namespaced
subresources:
scale:
labelSelectorPath: .status.labelSelector
specReplicasPath: .spec.replicas
statusReplicasPath: .status.replicas
status: {}
validation:
openAPIV3Schema:
properties:
apiVersion:
type: string
kind:
type: string
metadata:
type: object
spec:
type: object
properties:
minReadySeconds:
format: int32
type: integer
paused:
type: boolean
progressDeadlineSeconds:
format: int32
type: integer
replicas:
format: int32
type: integer
revisionHistoryLimit:
format: int32
type: integer
selector:
type: object
strategy:
properties:
rollingUpdate:
properties:
maxSurge: {}
maxUnavailable: {}
type: object
type:
type: string
type: object
template:
type: object
properties:
metadata:
type: object
spec:
type: object
properties:
configSource:
type: object
metadata:
type: object
providerSpec:
properties:
value:
type: object
valueFrom:
properties:
machineClass:
properties:
provider:
type: string
type: object
type: object
type: object
taints:
items:
type: object
type: array
versions:
properties:
controlPlane:
type: string
kubelet:
type: string
required:
- kubelet
type: object
required:
- providerSpec
required:
- selector
- template
status:
properties:
availableReplicas:
format: int32
type: integer
observedGeneration:
format: int64
type: integer
readyReplicas:
format: int32
type: integer
replicas:
format: int32
type: integer
unavailableReplicas:
format: int32
type: integer
updatedReplicas:
format: int32
type: integer
type: object
version: v1beta1
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
Loading

0 comments on commit e791b3d

Please sign in to comment.