mirror of
https://github.com/ansible-collections/kubernetes.core.git
synced 2026-06-10 10:36:16 +00:00
update modules
This commit is contained in:
@@ -78,10 +78,9 @@ options:
|
||||
type: dict
|
||||
spec_alternate_backends:
|
||||
description:
|
||||
- alternateBackends is an extension of the 'to' field. If more than one service
|
||||
needs to be pointed to, then use this field. Use the weight field in RouteTargetReference
|
||||
object to specify relative preference. If the weight field is zero, the backend
|
||||
is ignored.
|
||||
- alternateBackends allows up to 3 additional backends to be assigned to the route.
|
||||
Only the Service kind is allowed, and it will be defaulted to Service. Use the
|
||||
weight field in RouteTargetReference object to specify relative preference.
|
||||
aliases:
|
||||
- alternate_backends
|
||||
type: list
|
||||
@@ -118,7 +117,10 @@ options:
|
||||
description:
|
||||
- destinationCACertificate provides the contents of the ca certificate of the
|
||||
final destination. When using reencrypt termination this file should be provided
|
||||
in order to have routers use it for health checks on the secure connection
|
||||
in order to have routers use it for health checks on the secure connection.
|
||||
If this field is not specified, the router may provide its own destination CA
|
||||
and perform hostname validation using the short service name (service.namespace.svc),
|
||||
which allows infrastructure generated certificates to automatically verify.
|
||||
aliases:
|
||||
- tls_destination_ca_certificate
|
||||
spec_tls_insecure_edge_termination_policy:
|
||||
@@ -153,8 +155,9 @@ options:
|
||||
- to_name
|
||||
spec_to_weight:
|
||||
description:
|
||||
- weight as an integer between 1 and 256 that specifies the target's relative
|
||||
weight against other target reference objects
|
||||
- weight as an integer between 0 and 256, default 1, that specifies the target's
|
||||
relative weight against other target reference objects. 0 suppresses requests
|
||||
to this backend.
|
||||
aliases:
|
||||
- to_weight
|
||||
type: int
|
||||
@@ -195,7 +198,7 @@ options:
|
||||
- Whether or not to verify the API server's SSL certificates.
|
||||
type: bool
|
||||
requirements:
|
||||
- openshift == 1.0.0-snapshot
|
||||
- openshift == 0.3.1
|
||||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
@@ -230,10 +233,6 @@ EXAMPLES = '''
|
||||
tls_termination: reencrypt
|
||||
spec_to_kind: Service
|
||||
spec_to_name: other-service-name
|
||||
tls_destination_ca_certificate: |-
|
||||
-----BEGIN CERTIFICATE-----
|
||||
destination_cetricate_contents
|
||||
-----END CERTIFICATE-----
|
||||
|
||||
- name: Replace route
|
||||
openshift_v1_route.yml:
|
||||
@@ -245,18 +244,6 @@ EXAMPLES = '''
|
||||
spec_to_kind: Service
|
||||
spec_to_name: whimsy-name
|
||||
tls_termination: edge
|
||||
tls_key: |-
|
||||
-----BEGIN PRIVATE KEY-----
|
||||
key_file_contents
|
||||
-----END PRIVATE KEY-----
|
||||
tls_certificate: |-
|
||||
-----BEGIN CERTIFICATE-----
|
||||
certificate_contents
|
||||
-----END CERTIFICATE-----
|
||||
tls_ca_certificate: |-
|
||||
-----BEGIN CERTIFICATE-----
|
||||
ca_certificate_contents
|
||||
-----END CERTIFICATE-----
|
||||
|
||||
- name: Remove route
|
||||
openshift_v1_route.yml:
|
||||
@@ -366,6 +353,150 @@ route:
|
||||
- A sequence number representing a specific generation of the desired state.
|
||||
Populated by the system. Read-only.
|
||||
type: int
|
||||
initializers:
|
||||
description:
|
||||
- An initializer is a controller which enforces some system invariant at
|
||||
object creation time. This field is a list of initializers that have not
|
||||
yet acted on this object. If nil or empty, this object has been completely
|
||||
initialized. Otherwise, the object is considered uninitialized and is
|
||||
hidden (in list/watch and get calls) from clients that haven't explicitly
|
||||
asked to observe uninitialized objects. When an object is created, the
|
||||
system will populate this list with the current set of initializers. Only
|
||||
privileged users may set or modify this list. Once it is empty, it may
|
||||
not be modified further by any user.
|
||||
type: complex
|
||||
contains:
|
||||
pending:
|
||||
description:
|
||||
- Pending is a list of initializers that must execute in order before
|
||||
this object is visible. When the last pending initializer is removed,
|
||||
and no failing result is set, the initializers struct will be set
|
||||
to nil and the object is considered as initialized and visible to
|
||||
all clients.
|
||||
type: list
|
||||
contains:
|
||||
name:
|
||||
description:
|
||||
- name of the process that is responsible for initializing this
|
||||
object.
|
||||
type: str
|
||||
result:
|
||||
description:
|
||||
- If result is set with the Failure field, the object will be persisted
|
||||
to storage and then deleted, ensuring that other clients can observe
|
||||
the deletion.
|
||||
type: complex
|
||||
contains:
|
||||
api_version:
|
||||
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.
|
||||
type: str
|
||||
code:
|
||||
description:
|
||||
- Suggested HTTP return code for this status, 0 if not set.
|
||||
type: int
|
||||
details:
|
||||
description:
|
||||
- Extended data associated with the reason. Each reason may define
|
||||
its own extended details. This field is optional and the data
|
||||
returned is not guaranteed to conform to any schema except that
|
||||
defined by the reason type.
|
||||
type: complex
|
||||
contains:
|
||||
causes:
|
||||
description:
|
||||
- The Causes array includes more details associated with the
|
||||
StatusReason failure. Not all StatusReasons may provide detailed
|
||||
causes.
|
||||
type: list
|
||||
contains:
|
||||
field:
|
||||
description:
|
||||
- 'The field of the resource that has caused this error,
|
||||
as named by its JSON serialization. May include dot and
|
||||
postfix notation for nested attributes. Arrays are zero-indexed.
|
||||
Fields may appear more than once in an array of causes
|
||||
due to fields having multiple errors. Optional. Examples:
|
||||
"name" - the field "name" on the current resource "items[0].name"
|
||||
- the field "name" on the first array entry in "items"'
|
||||
type: str
|
||||
message:
|
||||
description:
|
||||
- A human-readable description of the cause of the error.
|
||||
This field may be presented as-is to a reader.
|
||||
type: str
|
||||
reason:
|
||||
description:
|
||||
- A machine-readable description of the cause of the error.
|
||||
If this value is empty there is no information available.
|
||||
type: str
|
||||
group:
|
||||
description:
|
||||
- The group attribute of the resource associated with the status
|
||||
StatusReason.
|
||||
type: str
|
||||
kind:
|
||||
description:
|
||||
- The kind attribute of the resource associated with the status
|
||||
StatusReason. On some operations may differ from the requested
|
||||
resource Kind.
|
||||
type: str
|
||||
name:
|
||||
description:
|
||||
- The name attribute of the resource associated with the status
|
||||
StatusReason (when there is a single name which can be described).
|
||||
type: str
|
||||
retry_after_seconds:
|
||||
description:
|
||||
- If specified, the time in seconds before the operation should
|
||||
be retried.
|
||||
type: int
|
||||
uid:
|
||||
description:
|
||||
- UID of the resource. (when there is a single resource which
|
||||
can be described).
|
||||
type: str
|
||||
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.
|
||||
type: str
|
||||
message:
|
||||
description:
|
||||
- A human-readable description of the status of this operation.
|
||||
type: str
|
||||
metadata:
|
||||
description:
|
||||
- Standard list metadata.
|
||||
type: complex
|
||||
contains:
|
||||
resource_version:
|
||||
description:
|
||||
- String that identifies the server's internal version of this
|
||||
object that can be used by clients to determine when objects
|
||||
have changed. Value must be treated as opaque by clients and
|
||||
passed unmodified back to the server. Populated by the system.
|
||||
Read-only.
|
||||
type: str
|
||||
self_link:
|
||||
description:
|
||||
- SelfLink is a URL representing this object. Populated by the
|
||||
system. Read-only.
|
||||
type: str
|
||||
reason:
|
||||
description:
|
||||
- A machine-readable description of why this operation is in the
|
||||
"Failure" status. If this value is empty there is no information
|
||||
available. A Reason clarifies an HTTP status code but does not
|
||||
override it.
|
||||
type: str
|
||||
status:
|
||||
description:
|
||||
- 'Status of the operation. One of: "Success" or "Failure".'
|
||||
type: str
|
||||
labels:
|
||||
description:
|
||||
- Map of string keys and values that can be used to organize and categorize
|
||||
@@ -401,6 +532,14 @@ route:
|
||||
description:
|
||||
- API version of the referent.
|
||||
type: str
|
||||
block_owner_deletion:
|
||||
description:
|
||||
- If true, AND if the owner has the "foregroundDeletion" finalizer,
|
||||
then the owner cannot be deleted from the key-value store until this
|
||||
reference is removed. Defaults to false. To set this field, a user
|
||||
needs "delete" permission of the owner, otherwise 422 (Unprocessable
|
||||
Entity) will be returned.
|
||||
type: bool
|
||||
controller:
|
||||
description:
|
||||
- If true, this reference points to the managing controller.
|
||||
@@ -444,10 +583,10 @@ route:
|
||||
contains:
|
||||
alternate_backends:
|
||||
description:
|
||||
- alternateBackends is an extension of the 'to' field. If more than one
|
||||
service needs to be pointed to, then use this field. Use the weight field
|
||||
in RouteTargetReference object to specify relative preference. If the
|
||||
weight field is zero, the backend is ignored.
|
||||
- alternateBackends allows up to 3 additional backends to be assigned to
|
||||
the route. Only the Service kind is allowed, and it will be defaulted
|
||||
to Service. Use the weight field in RouteTargetReference object to specify
|
||||
relative preference.
|
||||
type: list
|
||||
contains:
|
||||
kind:
|
||||
@@ -462,8 +601,9 @@ route:
|
||||
type: str
|
||||
weight:
|
||||
description:
|
||||
- weight as an integer between 1 and 256 that specifies the target's
|
||||
relative weight against other target reference objects
|
||||
- weight as an integer between 0 and 256, default 1, that specifies
|
||||
the target's relative weight against other target reference objects.
|
||||
0 suppresses requests to this backend.
|
||||
type: int
|
||||
host:
|
||||
description:
|
||||
@@ -488,8 +628,7 @@ route:
|
||||
- The target port on pods selected by the service this route points
|
||||
to. If this is a string, it will be looked up as a named port in the
|
||||
target endpoints port list. Required
|
||||
type: complex
|
||||
contains: {}
|
||||
type: str
|
||||
tls:
|
||||
description:
|
||||
- The tls field provides the ability to configure certificates and termination
|
||||
@@ -509,7 +648,10 @@ route:
|
||||
- destinationCACertificate provides the contents of the ca certificate
|
||||
of the final destination. When using reencrypt termination this file
|
||||
should be provided in order to have routers use it for health checks
|
||||
on the secure connection
|
||||
on the secure connection. If this field is not specified, the router
|
||||
may provide its own destination CA and perform hostname validation
|
||||
using the short service name (service.namespace.svc), which allows
|
||||
infrastructure generated certificates to automatically verify.
|
||||
type: str
|
||||
insecure_edge_termination_policy:
|
||||
description:
|
||||
@@ -532,7 +674,8 @@ route:
|
||||
description:
|
||||
- to is an object the route should use as the primary backend. Only the
|
||||
Service kind is allowed, and it will be defaulted to Service. If the weight
|
||||
field is set to zero, no traffic will be sent to this service.
|
||||
field (0-256 default 1) is set to zero, no traffic will be sent to this
|
||||
backend.
|
||||
type: complex
|
||||
contains:
|
||||
kind:
|
||||
@@ -547,8 +690,9 @@ route:
|
||||
type: str
|
||||
weight:
|
||||
description:
|
||||
- weight as an integer between 1 and 256 that specifies the target's
|
||||
relative weight against other target reference objects
|
||||
- weight as an integer between 0 and 256, default 1, that specifies
|
||||
the target's relative weight against other target reference objects.
|
||||
0 suppresses requests to this backend.
|
||||
type: int
|
||||
wildcard_policy:
|
||||
description:
|
||||
|
||||
Reference in New Issue
Block a user