mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-08-03 04:34:31 -07:00
parent
15c36acbf0
commit
cd35f3bce6
2 changed files with 12 additions and 8 deletions
|
@ -9,7 +9,7 @@ namespace: google
|
||||||
name: cloud
|
name: cloud
|
||||||
|
|
||||||
# The version of the collection. Must be compatible with semantic versioning
|
# The version of the collection. Must be compatible with semantic versioning
|
||||||
version: "1.1.3"
|
version: "1.1.4"
|
||||||
|
|
||||||
# The path to the Markdown (.md) readme file. This path is relative to the root of the collection
|
# The path to the Markdown (.md) readme file. This path is relative to the root of the collection
|
||||||
readme: README.md
|
readme: README.md
|
||||||
|
@ -20,7 +20,6 @@ authors:
|
||||||
- Google <alexstephen@google.com>
|
- Google <alexstephen@google.com>
|
||||||
- Google <yusuketsutsumi@google.com>
|
- Google <yusuketsutsumi@google.com>
|
||||||
|
|
||||||
|
|
||||||
### OPTIONAL but strongly recommended
|
### OPTIONAL but strongly recommended
|
||||||
|
|
||||||
# A short summary description of the collection
|
# A short summary description of the collection
|
||||||
|
|
|
@ -628,6 +628,11 @@ options:
|
||||||
required: false
|
required: false
|
||||||
type: dict
|
type: dict
|
||||||
suboptions:
|
suboptions:
|
||||||
|
datapath_provider:
|
||||||
|
description:
|
||||||
|
- The datapath provider selects the implementation of the Kubernetes networking model for service resolution and network policy enforcement.
|
||||||
|
required: false
|
||||||
|
type: str
|
||||||
enable_intra_node_visibility:
|
enable_intra_node_visibility:
|
||||||
description:
|
description:
|
||||||
- Whether Intra-node visibility is enabled for this cluster. This makes same
|
- Whether Intra-node visibility is enabled for this cluster. This makes same
|
||||||
|
@ -1572,7 +1577,7 @@ def main():
|
||||||
binary_authorization=dict(type='dict', options=dict(enabled=dict(type='bool'))),
|
binary_authorization=dict(type='dict', options=dict(enabled=dict(type='bool'))),
|
||||||
release_channel=dict(type='dict', options=dict(channel=dict(type='str'))),
|
release_channel=dict(type='dict', options=dict(channel=dict(type='str'))),
|
||||||
shielded_nodes=dict(type='dict', options=dict(enabled=dict(type='bool'))),
|
shielded_nodes=dict(type='dict', options=dict(enabled=dict(type='bool'))),
|
||||||
network_config=dict(type='dict', options=dict(enable_intra_node_visibility=dict(type='bool'), default_snat_status=dict(type='bool'))),
|
network_config=dict(type='dict', options=dict(enable_intra_node_visibility=dict(type='bool'), default_snat_status=dict(type='bool'), datapath_provider=dict(type='str'))),
|
||||||
enable_kubernetes_alpha=dict(type='bool'),
|
enable_kubernetes_alpha=dict(type='bool'),
|
||||||
location=dict(required=True, type='str', aliases=['zone']),
|
location=dict(required=True, type='str', aliases=['zone']),
|
||||||
kubectl_path=dict(type='str'),
|
kubectl_path=dict(type='str'),
|
||||||
|
@ -2422,12 +2427,12 @@ class ClusterNetworkconfig(object):
|
||||||
|
|
||||||
def to_request(self):
|
def to_request(self):
|
||||||
return remove_nones_from_dict(
|
return remove_nones_from_dict(
|
||||||
{u'enableIntraNodeVisibility': self.request.get('enable_intra_node_visibility'), u'defaultSnatStatus': self.request.get('default_snat_status')}
|
{u'enableIntraNodeVisibility': self.request.get('enable_intra_node_visibility'), u'defaultSnatStatus': self.request.get('default_snat_status'), u'datapathProvider': self.request.get('datapath_provider')}
|
||||||
)
|
)
|
||||||
|
|
||||||
def from_response(self):
|
def from_response(self):
|
||||||
return remove_nones_from_dict(
|
return remove_nones_from_dict(
|
||||||
{u'enableIntraNodeVisibility': self.request.get(u'enableIntraNodeVisibility'), u'defaultSnatStatus': self.request.get(u'defaultSnatStatus')}
|
{u'enableIntraNodeVisibility': self.request.get(u'enableIntraNodeVisibility'), u'defaultSnatStatus': self.request.get(u'defaultSnatStatus'), u'datapathProvider': self.request.get('datapath_provider') }
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue