*: 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: ServiceMonitor defines monitoring for a set of services.
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
@@ -143,7 +142,10 @@ spec:
scrapeTimeout:
description: Timeout after which the scrape is ended
type: string
targetPort: {}
targetPort:
anyOf:
- type: string
- type: integer
tlsConfig:
description: TLSConfig specifies TLS configuration parameters.
properties:
@@ -230,12 +232,4 @@ spec:
required:
- endpoints
- selector
required:
- spec
version: v1
status:
acceptedNames:
kind: ""
plural: ""
conditions: null
storedVersions: null