Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for field selector for onKubernetesEvent hooks #35

Closed
dmgtn opened this issue Aug 16, 2019 · 2 comments
Closed

Add support for field selector for onKubernetesEvent hooks #35

dmgtn opened this issue Aug 16, 2019 · 2 comments
Assignees
Milestone

Comments

@dmgtn
Copy link
Member

dmgtn commented Aug 16, 2019

Example, that seems to be self-explaining:

{
  "onKubernetesEvent": [
    {
      "fieldsSelector": {
        "matchExpressions":[
          {
            "field": "status.phase",
            "operator": "Equal",           # Equal or NotEqual
            "value": "Pending", 
          }, 
        ]
      }
    },
    ...
  ]
}
@diafour
Copy link
Contributor

diafour commented Aug 28, 2019

edit:

  • selector → fieldSelector
  • matchFieldExpressions → matchExpressions

dmgtn pushed a commit that referenced this issue Sep 2, 2019
* Introduce versioning for hooks configuration API #36
* Hooks configuration API refactoring #37
* Add support for field selector for onKubernetesEvent hooks #35
@diafour
Copy link
Contributor

diafour commented Sep 12, 2019

Implemented in #47

@diafour diafour closed this as completed Sep 12, 2019
@diafour diafour modified the milestones: 1.0.0, 1.0.0-beta.6 Oct 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants