*: Fix CRD generation

This commit is contained in:
Frederic Branczyk
2018-07-02 16:17:39 +02:00
parent 171b7c41e1
commit 9c26600e0a
4 changed files with 72 additions and 54 deletions

View File

@@ -11,7 +11,6 @@ spec:
scope: Namespaced
validation:
openAPIV3Schema:
description: Alertmanager describes an Alertmanager cluster.
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
@@ -815,7 +814,10 @@ spec:
path:
description: Path to access on the HTTP server.
type: string
port: {}
port:
anyOf:
- type: string
- type: integer
scheme:
description: Scheme to use for connecting to the host.
Defaults to HTTP.
@@ -830,7 +832,10 @@ spec:
description: 'Optional: Host name to connect to, defaults
to the pod IP.'
type: string
port: {}
port:
anyOf:
- type: string
- type: integer
required:
- port
preStop:
@@ -882,7 +887,10 @@ spec:
path:
description: Path to access on the HTTP server.
type: string
port: {}
port:
anyOf:
- type: string
- type: integer
scheme:
description: Scheme to use for connecting to the host.
Defaults to HTTP.
@@ -897,7 +905,10 @@ spec:
description: 'Optional: Host name to connect to, defaults
to the pod IP.'
type: string
port: {}
port:
anyOf:
- type: string
- type: integer
required:
- port
livenessProbe:
@@ -955,7 +966,10 @@ spec:
path:
description: Path to access on the HTTP server.
type: string
port: {}
port:
anyOf:
- type: string
- type: integer
scheme:
description: Scheme to use for connecting to the host.
Defaults to HTTP.
@@ -986,7 +1000,10 @@ spec:
description: 'Optional: Host name to connect to, defaults
to the pod IP.'
type: string
port: {}
port:
anyOf:
- type: string
- type: integer
required:
- port
timeoutSeconds:
@@ -1095,7 +1112,10 @@ spec:
path:
description: Path to access on the HTTP server.
type: string
port: {}
port:
anyOf:
- type: string
- type: integer
scheme:
description: Scheme to use for connecting to the host.
Defaults to HTTP.
@@ -1126,7 +1146,10 @@ spec:
description: 'Optional: Host name to connect to, defaults
to the pod IP.'
type: string
port: {}
port:
anyOf:
- type: string
- type: integer
required:
- port
timeoutSeconds:
@@ -2379,12 +2402,4 @@ spec:
- updatedReplicas
- availableReplicas
- unavailableReplicas
required:
- spec
version: v1
status:
acceptedNames:
kind: ""
plural: ""
conditions: null
storedVersions: null