mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-04-23 03:11:22 -07:00
Add source snapshot to ansible (#300)
* Make `iap` field computed (#3814) (#272) Signed-off-by: Modular Magician <magic-modules@google.com> * add source_image and source_snapshot to google_compute_image (#3799) (#273) * add source_image to google_compute_image * add source_snapshot to google_compute_image * PR comment changes Signed-off-by: Modular Magician <magic-modules@google.com> * Collection fixes for release (#3831) (#274) Signed-off-by: Modular Magician <magic-modules@google.com> * Add new field filter to pubsub. (#3759) (#275) * Add new field filter to pubsub. Fixes: https://github.com/terraform-providers/terraform-provider-google/issues/6727 * Fixed filter name, it was improperly set. * add filter key to pubsub subscription unit test * spaces not tabs! * hardcode filter value in test * revert remove escaped quotes Co-authored-by: Tim O'Connell <hi@timoconnell.co.uk> Signed-off-by: Modular Magician <magic-modules@google.com> Co-authored-by: Tim O'Connell <hi@timoconnell.co.uk> * Add archive class to gcs (#3867) (#276) Signed-off-by: Modular Magician <magic-modules@google.com> * Add support for gRPC healthchecks (#3825) (#277) Signed-off-by: Modular Magician <magic-modules@google.com> * Add enableMessageOrdering to Pub/Sub Subscription (#3872) (#278) Add enableMessageOrdering to Pub/Sub Subscription Signed-off-by: Modular Magician <magic-modules@google.com> * use {product}.googleapis.com endpoints (#3755) (#279) * use {product}.googleapis.com endpoints * use actual correct urls * fix zone data source test * fix network peering tests * possibly fix deleting default network Signed-off-by: Modular Magician <magic-modules@google.com> * Removed instances where input and output are both true (#3890) (#280) * [provider-yaml] - Removed instances where input and output are both true * modified to only supply output. Following pattern from bigquerydatatransfer Co-authored-by: Scott Suarez <scottsuarez@google.com> Signed-off-by: Modular Magician <magic-modules@google.com> Co-authored-by: Scott Suarez <scottsuarez@google.com> * retrypolicy attribute added (#3843) (#281) * retrypolicy attribute added * test case updated Signed-off-by: Modular Magician <magic-modules@google.com> * Advanced logging config options in google_compute_subnetwork (#3603) (#282) Co-authored-by: Dana Hoffman <danahoffman@google.com> Signed-off-by: Modular Magician <magic-modules@google.com> Co-authored-by: Dana Hoffman <danahoffman@google.com> * Add Erase Windows VSS support to compute disk (#3898) (#283) Co-authored-by: Cameron Thornton <camthornton@google.com> Signed-off-by: Modular Magician <magic-modules@google.com> Co-authored-by: Cameron Thornton <camthornton@google.com> * Add Snapshot location to compute snapshot (#3896) (#286) * added storage locations * add storage locations to field * tweak cmek logic * fix the decoder logic and cleanup whitespaces * remove duplicate entry Signed-off-by: Modular Magician <magic-modules@google.com> * Added missing 'all' option for protocol firewall rule (#3962) (#287) Signed-off-by: Modular Magician <magic-modules@google.com> * Added support GRPC for google_compute_(region)_backend_service.protocol (#3973) (#289) Co-authored-by: Edward Sun <sunedward@google.com> Signed-off-by: Modular Magician <magic-modules@google.com> Co-authored-by: Edward Sun <sunedward@google.com> * Add schema update support to spanner db 2082 (#3947) (#291) * eoncders and customdiff added for spanner DB ddl update * config update test case added * customdiff modified to handle out-of-index issue * new lines added * indent fixed * indent fixed for tests * test added for ddl update condition * mock added Terraformresourcediff, unit tests added * test fixed * more unit tests added * tests fixed * PR comments implemented * unit tests converted to table driven tests * ImportStateVerifyIgnore flag added to tests * syntax corrected in test Signed-off-by: Modular Magician <magic-modules@google.com> * Added properties of options & artifacts on google_cloudbuild_trigger (#3944) (#292) * added options & artifacts to cloudbuild trigger * updated with minor changes and added more options in test * a test adding update behavior for multiple optional fields Co-authored-by: Edward Sun <sunedward@google.com> Signed-off-by: Modular Magician <magic-modules@google.com> Co-authored-by: Edward Sun <sunedward@google.com> * Enable TPUs to use Shared VPC (#3939) (#293) * add support for shared vpc * make cidr_block computable * add diffsuppression * tweak diffsupression to ignore when network has a change * rework diffsupress * add customizediff * switch the diff checks Signed-off-by: Modular Magician <magic-modules@google.com> * Add SEV_CAPABLE option to google_compute_image (#3994) (#294) Signed-off-by: Modular Magician <magic-modules@google.com> * Update docs for pubsub targets in cloud scheduler (#4008) (#295) Signed-off-by: Modular Magician <magic-modules@google.com> * Make RegionBackendService health checks optional (#4053) (#297) Signed-off-by: Modular Magician <magic-modules@google.com> * Update terminology for IAM roles (#4056) (#299) Roles like "Owner" and "Editor" are now called "basic roles": https://cloud.google.com/iam/docs/understand Signed-off-by: Modular Magician <magic-modules@google.com> * Add source snapshot to ansible (#4060) Signed-off-by: Modular Magician <magic-modules@google.com> Co-authored-by: Tim O'Connell <hi@timoconnell.co.uk> Co-authored-by: Scott Suarez <scottsuarez@google.com> Co-authored-by: Dana Hoffman <danahoffman@google.com> Co-authored-by: Cameron Thornton <camthornton@google.com> Co-authored-by: Edward Sun <sunedward@google.com>
This commit is contained in:
parent
fb1485be7b
commit
7fa00db18c
169 changed files with 2105 additions and 764 deletions
|
@ -33,7 +33,6 @@ module: gcp_container_cluster
|
|||
description:
|
||||
- A Google Container Engine cluster.
|
||||
short_description: Creates a GCP Cluster
|
||||
version_added: '2.6'
|
||||
author: Google Inc. (@googlecloudplatform)
|
||||
requirements:
|
||||
- python >= 2.6
|
||||
|
@ -179,7 +178,6 @@ options:
|
|||
elements: dict
|
||||
required: false
|
||||
type: list
|
||||
version_added: '2.9'
|
||||
suboptions:
|
||||
accelerator_count:
|
||||
description:
|
||||
|
@ -197,14 +195,12 @@ options:
|
|||
If unspecified, the default disk type is 'pd-standard' .
|
||||
required: false
|
||||
type: str
|
||||
version_added: '2.9'
|
||||
min_cpu_platform:
|
||||
description:
|
||||
- Minimum CPU platform to be used by this instance. The instance may be scheduled
|
||||
on the specified or newer CPU platform.
|
||||
required: false
|
||||
type: str
|
||||
version_added: '2.9'
|
||||
taints:
|
||||
description:
|
||||
- List of kubernetes taints to be applied to each node.
|
||||
|
@ -213,7 +209,6 @@ options:
|
|||
elements: dict
|
||||
required: false
|
||||
type: list
|
||||
version_added: '2.9'
|
||||
suboptions:
|
||||
key:
|
||||
description:
|
||||
|
@ -237,7 +232,6 @@ options:
|
|||
- Shielded Instance options.
|
||||
required: false
|
||||
type: dict
|
||||
version_added: '2.10'
|
||||
suboptions:
|
||||
enable_secure_boot:
|
||||
description:
|
||||
|
@ -281,7 +275,6 @@ options:
|
|||
is issued.
|
||||
required: false
|
||||
type: dict
|
||||
version_added: '2.9'
|
||||
suboptions:
|
||||
issue_client_certificate:
|
||||
description:
|
||||
|
@ -318,7 +311,6 @@ options:
|
|||
- Configuration for a private cluster.
|
||||
required: false
|
||||
type: dict
|
||||
version_added: '2.8'
|
||||
suboptions:
|
||||
enable_private_nodes:
|
||||
description:
|
||||
|
@ -354,7 +346,6 @@ options:
|
|||
.
|
||||
required: false
|
||||
type: bool
|
||||
version_added: '2.9'
|
||||
addons_config:
|
||||
description:
|
||||
- Configurations for the various addons available to run in the cluster.
|
||||
|
@ -397,7 +388,6 @@ options:
|
|||
for the nodes.
|
||||
required: false
|
||||
type: dict
|
||||
version_added: '2.9'
|
||||
suboptions:
|
||||
disabled:
|
||||
description:
|
||||
|
@ -418,20 +408,17 @@ options:
|
|||
type: list
|
||||
aliases:
|
||||
- nodeLocations
|
||||
version_added: '2.9'
|
||||
resource_labels:
|
||||
description:
|
||||
- The resource labels for the cluster to use to annotate any related Google Compute
|
||||
Engine resources.
|
||||
required: false
|
||||
type: dict
|
||||
version_added: '2.9'
|
||||
legacy_abac:
|
||||
description:
|
||||
- Configuration for the legacy ABAC authorization mode.
|
||||
required: false
|
||||
type: dict
|
||||
version_added: '2.9'
|
||||
suboptions:
|
||||
enabled:
|
||||
description:
|
||||
|
@ -446,7 +433,6 @@ options:
|
|||
- Configuration options for the NetworkPolicy feature.
|
||||
required: false
|
||||
type: dict
|
||||
version_added: '2.9'
|
||||
suboptions:
|
||||
provider:
|
||||
description:
|
||||
|
@ -466,7 +452,6 @@ options:
|
|||
- Only honored if cluster created with IP Alias support.
|
||||
required: false
|
||||
type: dict
|
||||
version_added: '2.9'
|
||||
suboptions:
|
||||
max_pods_per_node:
|
||||
description:
|
||||
|
@ -478,7 +463,6 @@ options:
|
|||
- Configuration for controlling how IPs are allocated in the cluster.
|
||||
required: false
|
||||
type: dict
|
||||
version_added: '2.9'
|
||||
suboptions:
|
||||
use_ip_aliases:
|
||||
description:
|
||||
|
@ -553,13 +537,11 @@ options:
|
|||
when it was first created. The version can be upgraded over time.
|
||||
required: false
|
||||
type: str
|
||||
version_added: '2.10'
|
||||
master_authorized_networks_config:
|
||||
description:
|
||||
- Configuration for controlling how IPs are allocated in the cluster.
|
||||
required: false
|
||||
type: dict
|
||||
version_added: '2.10'
|
||||
suboptions:
|
||||
enabled:
|
||||
description:
|
||||
|
@ -589,7 +571,6 @@ options:
|
|||
- Configuration for the BinaryAuthorization feature.
|
||||
required: false
|
||||
type: dict
|
||||
version_added: '2.10'
|
||||
suboptions:
|
||||
enabled:
|
||||
description:
|
||||
|
@ -603,7 +584,6 @@ options:
|
|||
type: str
|
||||
aliases:
|
||||
- zone
|
||||
version_added: '2.8'
|
||||
kubectl_path:
|
||||
description:
|
||||
- The path that the kubectl config file will be written to.
|
||||
|
@ -612,14 +592,12 @@ options:
|
|||
- This requires the PyYaml library.
|
||||
required: false
|
||||
type: str
|
||||
version_added: '2.9'
|
||||
kubectl_context:
|
||||
description:
|
||||
- The name of the context for the kubectl config file. Will default to the cluster
|
||||
name.
|
||||
required: false
|
||||
type: str
|
||||
version_added: '2.9'
|
||||
project:
|
||||
description:
|
||||
- The Google Cloud Platform project to use.
|
||||
|
@ -651,6 +629,7 @@ options:
|
|||
description:
|
||||
- Array of scopes to be used
|
||||
type: list
|
||||
elements: str
|
||||
env_type:
|
||||
description:
|
||||
- Specifies which Ansible environment you're running this module within.
|
||||
|
@ -1717,9 +1696,7 @@ class Kubectl(object):
|
|||
|
||||
return {
|
||||
'apiVersion': 'v1',
|
||||
'clusters': [
|
||||
{'name': context, 'cluster': {'certificate-authority-data': str(self.fetch['masterAuth']['clusterCaCertificate']), 'server': endpoint,}}
|
||||
],
|
||||
'clusters': [{'name': context, 'cluster': {'certificate-authority-data': str(self.fetch['masterAuth']['clusterCaCertificate'])}}],
|
||||
'contexts': [{'name': context, 'context': {'cluster': context, 'user': context}}],
|
||||
'current-context': context,
|
||||
'kind': 'Config',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue