Add HealthCheck for KubernetesCRD ExternalName services

This commit is contained in:
Marc Mognol 2024-05-30 17:18:05 +02:00 committed by GitHub
parent c0a2e6b4b6
commit 7fc56454ea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 885 additions and 22 deletions

View file

@ -47,6 +47,46 @@ spec:
mirroring:
description: Mirroring defines the Mirroring service configuration.
properties:
healthCheck:
description: Healthcheck defines health checks for the service.
properties:
followRedirects:
type: boolean
headers:
additionalProperties:
type: string
type: object
hostname:
type: string
interval:
description: |-
Duration is a custom type suitable for parsing duration values.
It supports `time.ParseDuration`-compatible values and suffix-less digits; in
the latter case, seconds are assumed.
format: int64
type: integer
method:
type: string
mode:
type: string
path:
type: string
port:
type: integer
scheme:
type: string
status:
type: integer
timeout:
description: |-
Duration is a custom type suitable for parsing duration values.
It supports `time.ParseDuration`-compatible values and suffix-less digits; in
the latter case, seconds are assumed.
format: int64
type: integer
required:
- followRedirects
type: object
kind:
description: Kind defines the kind of the Service.
enum:
@ -66,6 +106,46 @@ spec:
items:
description: MirrorService holds the mirror configuration.
properties:
healthCheck:
description: Healthcheck defines health checks for the service.
properties:
followRedirects:
type: boolean
headers:
additionalProperties:
type: string
type: object
hostname:
type: string
interval:
description: |-
Duration is a custom type suitable for parsing duration values.
It supports `time.ParseDuration`-compatible values and suffix-less digits; in
the latter case, seconds are assumed.
format: int64
type: integer
method:
type: string
mode:
type: string
path:
type: string
port:
type: integer
scheme:
type: string
status:
type: integer
timeout:
description: |-
Duration is a custom type suitable for parsing duration values.
It supports `time.ParseDuration`-compatible values and suffix-less digits; in
the latter case, seconds are assumed.
format: int64
type: integer
required:
- followRedirects
type: object
kind:
description: Kind defines the kind of the Service.
enum:
@ -300,6 +380,46 @@ spec:
description: Service defines an upstream HTTP service to proxy
traffic to.
properties:
healthCheck:
description: Healthcheck defines health checks for the service.
properties:
followRedirects:
type: boolean
headers:
additionalProperties:
type: string
type: object
hostname:
type: string
interval:
description: |-
Duration is a custom type suitable for parsing duration values.
It supports `time.ParseDuration`-compatible values and suffix-less digits; in
the latter case, seconds are assumed.
format: int64
type: integer
method:
type: string
mode:
type: string
path:
type: string
port:
type: integer
scheme:
type: string
status:
type: integer
timeout:
description: |-
Duration is a custom type suitable for parsing duration values.
It supports `time.ParseDuration`-compatible values and suffix-less digits; in
the latter case, seconds are assumed.
format: int64
type: integer
required:
- followRedirects
type: object
kind:
description: Kind defines the kind of the Service.
enum: