Skip to content

Conversation

@erezrokah
Copy link
Member

@erezrokah erezrokah commented Feb 7, 2023

Summary

Fixes #7714

See https://kubernetes.io/docs/tasks/run-application/configure-pdb/#specifying-a-poddisruptionbudget on how to specify a pod disruption budget.

Notes:

  1. This is a new service (policy) for the K8S plugin, so needed to create mocks for it
  2. To list pod disruption budgets we need the namespaces. It made sense to multiplex over those, instead of making budgets a relation of namespaces, but open to feedback

@erezrokah erezrokah requested review from a team and yevgenypats and removed request for a team February 7, 2023 19:26
@cq-bot cq-bot added k8s labels Feb 7, 2023
@github-actions
Copy link

github-actions bot commented Feb 7, 2023

This PR has the following changes to source plugin(s) tables:

  • Table k8s_policy_pod_disruption_budgets was added

@erezrokah erezrokah added the automerge Automatically merge once required checks pass label Feb 8, 2023
@erezrokah erezrokah requested a review from shimonp21 February 12, 2023 08:28
@kodiakhq kodiakhq bot merged commit 5c8eae4 into cloudquery:main Feb 13, 2023
kodiakhq bot pushed a commit that referenced this pull request Feb 14, 2023
🤖 I have created a release *beep* *boop*
---


## [3.2.0](plugins-source-k8s-v3.1.1...plugins-source-k8s-v3.2.0) (2023-02-14)


### Features

* **k8s-resources:** Add Pod Disruption Budgets ([#7792](#7792)) ([5c8eae4](5c8eae4))


### Bug Fixes

* **deps:** Update module github.com/cloudquery/plugin-sdk to v1.36.0 ([#7809](#7809)) ([c85a9cb](c85a9cb))
* **deps:** Update module github.com/cloudquery/plugin-sdk to v1.36.1 ([#7930](#7930)) ([39dccc1](39dccc1))
* **deps:** Update module github.com/cloudquery/plugin-sdk to v1.37.0 ([#7933](#7933)) ([dc9cffb](dc9cffb))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge Automatically merge once required checks pass

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Kubernetes Pod Disruption Budgets

3 participants