Class: Ansible::Ruby::Modules::Kubernetes
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Kubernetes
- Defined in:
- lib/ansible/ruby/modules/generated/clustering/k8s/kubernetes.rb
Overview
This module can manage Kubernetes resources on an existing cluster using the Kubernetes server API. Users can specify in-line API data, or specify an existing Kubernetes YAML file. Currently, this module (1) Only supports HTTP Basic Auth (2) Only supports ‘strategic merge’ for update, goo.gl/fCPYxT SSL certs are not working, use C(validate_certs=off) to disable.
Instance Method Summary collapse
-
#api_endpoint ⇒ String
The IPv4 API endpoint of the Kubernetes cluster.
-
#certificate_authority_data ⇒ Object?
Certificate Authority data for Kubernetes server.
-
#file_reference ⇒ String?
Specify full path to a Kubernets YAML file to send to API I(endpoint).
-
#inline_data ⇒ Hash
The Kubernetes YAML data to send to the API I(endpoint).
-
#insecure ⇒ Boolean?
Reverts the connection to using HTTP instead of HTTPS.
-
#patch_operation ⇒ :"JSON Patch", ...
Specify patch operation for Kubernetes resource update.,For details, see the description of PATCH operations at U(github.com/kubernetes/kubernetes/blob/release-1.5/docs/devel/api-conventions.md#patch-operations).
-
#state ⇒ :absent, ...
The desired action to take on the Kubernetes data.
-
#url_password ⇒ String?
The HTTP Basic Auth password for the API I(endpoint).
-
#url_username ⇒ String?
The HTTP Basic Auth username for the API I(endpoint).
-
#validate_certs ⇒ :yes, ...
Enable/disable certificate validation.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#api_endpoint ⇒ String
13 |
# File 'lib/ansible/ruby/modules/generated/clustering/k8s/kubernetes.rb', line 13 attribute :api_endpoint |
#certificate_authority_data ⇒ Object?
29 |
# File 'lib/ansible/ruby/modules/generated/clustering/k8s/kubernetes.rb', line 29 attribute :certificate_authority_data |
#file_reference ⇒ String?
21 |
# File 'lib/ansible/ruby/modules/generated/clustering/k8s/kubernetes.rb', line 21 attribute :file_reference |
#inline_data ⇒ Hash
17 |
# File 'lib/ansible/ruby/modules/generated/clustering/k8s/kubernetes.rb', line 17 attribute :inline_data |
#insecure ⇒ Boolean?
44 |
# File 'lib/ansible/ruby/modules/generated/clustering/k8s/kubernetes.rb', line 44 attribute :insecure |
#patch_operation ⇒ :"JSON Patch", ...
25 |
# File 'lib/ansible/ruby/modules/generated/clustering/k8s/kubernetes.rb', line 25 attribute :patch_operation |
#state ⇒ :absent, ...
32 |
# File 'lib/ansible/ruby/modules/generated/clustering/k8s/kubernetes.rb', line 32 attribute :state |
#url_password ⇒ String?
36 |
# File 'lib/ansible/ruby/modules/generated/clustering/k8s/kubernetes.rb', line 36 attribute :url_password |
#url_username ⇒ String?
40 |
# File 'lib/ansible/ruby/modules/generated/clustering/k8s/kubernetes.rb', line 40 attribute :url_username |
#validate_certs ⇒ :yes, ...
48 |
# File 'lib/ansible/ruby/modules/generated/clustering/k8s/kubernetes.rb', line 48 attribute :validate_certs |