Skip to content

Latest commit

 

History

History
461 lines (267 loc) · 13.5 KB

CHANGELOG.md

File metadata and controls

461 lines (267 loc) · 13.5 KB

Changelog

0.25.0 - 2024-04-30

Added

  • The chaosgcp.networkconnectivity.actions activities to set policy based route

0.24.0 - 2024-04-30

Added

  • The chaosgcp.compute.actions activities to set tags on resources
  • Ensuring actions return a response as per their signature

0.23.0 - 2024-04-10

Added

  • The chaosgcp.dns.actions activities to update a DNS record

0.22.0 - 2024-03-27

Added

  • The chaosgcp.cloudlogging.controls.journal control to send the journal to GCP Cloud Logging:

    "controls": [
          {
              "name": "gcp-journal-logger",
              "provider": {
                  "type": "python",
                  "module": "chaosgcp.cloudlogging.controls.journal",
                  "arguments": {
                      "labels": {
                          "appid": "123456"
                      }
                  }
              }
          }
      ]

0.21.1 - 2024-03-15

Fixed

  • get_backend_service_health requires to be iterated over each network group

0.21.0 - 2024-03-15

Added

  • The get_backend_service_health probe in the load balancing package

0.20.1 - 2024-03-15

Fixed

  • Make sure run_mql_query returns the values it computed

0.20.0 - 2024-03-14

Added

  • The run_mql_query probe in the monitoring package

0.19.0 - 2024-03-14

Changed

  • Support string filters in get_metrics

0.18.1 - 2024-03-14

Fixed

  • Expose chaosgcp.gke.nodepool.actions.resize_nodepool action

0.18.0 - 2024-03-14

Added

  • The chaosgcp.gke.nodepool.actions.resize_nodepool action

Changed

  • Bump dependencies

0.17.1 - 2024-03-08

Changed

  • Bump dependencies

0.17.0 - 2024-03-08

Changed

  • Allow to retrieve the project id from the GCP_PROJECT_ID environment variable
  • Bump dependencies

0.16.1 - 2024-02-21

Fixed

  • Remove trailing function call in monitoring/actions.py module

0.16.0 - 2024-02-21

Changed

  • Switched from setuptoolsto pdm to package and manage the project. This also brings a much stricter dependency management support
  • Read package version using importlib_metadata
  • Drops supports for Python 3.7 as it's been EOL since June 2023
  • Adds Code of Conduct file

0.15.0 - 2023-12-08

Changed

  • All actions and probes now take optional project_id and region arguments so that they can be set on per activity basis. In that case, they take precedence over the configuration payload. But this also means, the configuration block can be left unset entirely for these fields
  • It is not expected anymore that you set a service account file to authenticate When none is provided, we delegate to the GCP client library to figure it out. This allows for newer authentication approaches supported by that client without relying on a less secure service account

Breaking

  • In the chaosgcp.cloudrun.probes.get_service probe, the name argument has been repurposed and has been renamed to parent. The name now expects the service name without its parent path as a prefix.
  • The extension will not raise an ActivityFailed exception when it could not load credentials explicitely set from the secrets. This is so the underlying client can attempt to load credentials directly and natively

0.14.1 - 2023-10-24

Fixed

  • Read region from the configuration block in the load balancer actions

0.14.0 - 2023-10-24

Added

  • Network Endpoint Groups actions and probes

0.13.2 - 2023-10-24

Fixed

  • Set the region paramater in LB requests

0.13.1 - 2023-10-11

Changed

  • renamed service_has_at_least_slo_across_time to valid_slo_ratio_during_window

0.13.0 - 2023-10-11

Added

  • the service_has_at_least_slo_across_time probe to use in a steady-state

0.12.3 - 2023-10-09

Changed

  • Make get_slo_health cross_series_reducer and per_series_aligner arguments are now strings and mapped back to their numeric value as it's friendlier that way

0.12.2 - 2023-10-09

Changed

  • Make get_slo_health group_by_fields argument support comma-separated strings

0.12.1 - 2023-10-09

Changed

  • Removed unused argument in get_slo_budget
  • Fix types for per_series_aligner and cross_series_reducer in get_slo_health

0.12.0 - 2023-10-09

Added

  • Support for regional LB access from the load-balancer actions
  • SLO probes

0.11.0 - 2023-08-23

Added

  • Also read credentials from GCP_APPLICATION_CREDENTIALS as an alternative to GOOGLE_APPLICATION_CREDENTIALS since the latter can lead to issues when running in GCP Cloud Run job which already provides its own credentials

0.10.1 - 2023-08-22

Fixed

  • Added missing compute dependency

0.10.0 - 2023-08-22

Added

  • Added fault injection policiy actions for UrlMap/LB

Changed

  • Switched from flake8 to ruff

0.9.2 - 2023-05-18

Changed

  • Fixed missing dependencies

0.9.0 - 2023-05-18

Added

  • Probes to list docker images and their vulnerabilities from Artifact Registry

0.8.2 - 2023-02-08

Changed

  • Default first on secret before env variable

0.8.1 - 2023-02-08

Fixed

  • Missing dependencies on in setup file

0.8.0 - 2023-02-07

Added

  • A get_metrics probe to query Cloud Monitoring data
  • A get_logs_between_timestamps probe to query Cloud Logging data

0.7.0 - 2023-02-01

Added

  • Support for GOOGLE_APPLICATION_CREDENTIALS as the default way to authenticate

0.6.0 - 2023-02-01

Added

  • A restore_backup action to restore Cloud SQL backups
  • A promote_replica action to promote a read replica to a standalone instance
  • A enable_replication action to enable replication on a a read replica
  • A disable_replication action to disable replication on a a read replica

Changed

  • Renamed field max_instance_request_concurrency in create_service method. Modified init value.
  • Added vpc_access parameter to RevisionTemplate object
  • Added test for 'chaosgcp.cloudrun.actions.update_service'
  • Updated RevisionTemplate field name max_instance_request_concurrency
  • Updated Cloud SQL activities to the v1 API

0.5.0 - 2022-06-21

Changed

[CAUTION]: We took care of not breaking compatibility but please report if you have a changed behavior with this version!

  • Fix discover between probes and actions
  • Migrated to newer gcp Python client
  • Introducing support for the parent argument to locate resources

0.4.1 - 2022-06-14

Changed

  • Expose chaosgcp.nodepool.actions.rollback through the dicover interface

0.4.0 - 2022-06-14

Added

  • chaosgcp.nodepool.probes to list and get nodepools of a cluster
  • chaosgcp.nodepool.actions.rollback when the upgrade of nodepool failed

0.3.0 - 2022-06-08

Added

  • chaosgcp.cloudrun package for Cloud Run support

Changed

  • Switched from travis to github actions

0.2.1 - 2020-04-30

Added

  • chaosgcp.cloudbuild package is embedded into distributed source package; it was missing from previous 0.2.0 release.

Changed

  • Allow discovering probes & actions from chaosgcp.cloudbuld package

0.2.0 - 2020-04-30

Added

  • New probes for listing and describing instance databases in chaosgcp.sql.probes module: list_databasesand describe_database.
  • New chaosgcp.cloudbuild package for Google Cloud Build probes and actions. List, retrieve and run cloud build triggers.

Changed

  • Pass the secrets to the drain_nodes action, that is called in the swap_nodepool action, so that it knows how to connect to the Kubernetes cluster to be drained. [#9][9]

0.1.0 - 2019-12-11

Added

  • Initial release This extension has the following internal structure: chaosgcp package with GCP products as first level subpackage. This structure intends to follow GCP products navigation, as seen on the GCP console to keep some consistency for the user.
  • New chaosgcp.gke package for Google Kubernetes Engine probes & actions.
  • New chaosgcp.sql package for Google Cloud SQL probes and actions.
  • New chaosgcp.storage package for Google Cloud Storage probes and actions.

Changed

  • The chaosgce.nodepool package from the deprecated chaostoolkit-google-cloud extension has been ported to chaosgcp.gke.nodepool.
  • Allow optional values in GCPContext
  • Refactored wait_on_operation to accept multiple & various keyword arguments
  • Expose a load_credentials function in chaosgcp to load credentials from secrets.

Added

  • DNS action to patch record sets