Skip to content

Releases: kubeshop/botkube

v1.0.0-rc.1

31 Mar 10:55
Compare
Choose a tag to compare
v1.0.0-rc.1 Pre-release
Pre-release

What's Changed

Breaking Changes 💥

  • notification: short/long was removed, it's up to the plugin to return a suitable message.
  • kubectl error handling
    Before:
    "Sorry, the kubectl command is not authorized to work with 'role' resources in the 'default' Namespace on cluster '%s'. Use 'list executors' to see allowed executors."
    
    After:
    Error from server (Forbidden): roles.rbac.authorization.k8s.io is forbidden: User "kubectl-wait-and-deploy-all" cannot list resource "roles" in API group "rbac.authorization.k8s.io" in the namespace "default"
    
  • kubectl configuration is named as botkube/kubectl
  • kubernetes configuration is named as botkube/kubernetes
  • New RBAC support: Plugins that use kubernetes client need to declare RBAC config in order to get kubeconfig.
    botkube/kubectl:
      context:
        rbac:
          group:
            type: Static
            prefix: ""
            static:
              values: [my-group]
  • filters configuration is removed from main configuration, now it is under Kubernetes source plugin.
    Before:
    # ...trimmed
    filters:
      kubernetes:
        objectAnnotationChecker: true
        nodeEventsChecker: true
    #...trimmed
    After:
    ...trimmed
     'k8s-all-events':
        displayName: "Kubernetes Info"
        botkube/kubernetes:
          enabled: true
          config:
            filters:
              objectAnnotationChecker: true
              nodeEventsChecker: true
    # ...trimmed

Implemented Enhancements 🎉

  • Update prometheus message format by @mszostok in #966
  • Add SourceBindings built-in alias and fix filtering commands by @pkosiec in #967
  • Use new format to download deps by @mszostok in #968
  • Support include/exclude regexes for event and resource constraints by @pkosiec in #963
  • Add kubectl plugin to run directly typed kubectl commands by @mszostok in #973
  • Introduce global bot name placeholder by @mszostok in #979
  • Include API Key when fetching remote Botkube configuration by @pkosiec in #980
  • Add interactive builder in kubectl plugin by @mszostok in #982
  • Kubernetes source plugin by @huseyinbabal in #985
  • Add resource version for status reporting and update configuration types by @pkosiec in #1004
  • Add event rendering for all platforms, add isInteractive, fix e2e tests, update Prometheus by @mszostok in #1005
  • Reload Botkube on remote config change by @pkosiec in #1006
  • Update and validate plugin JSON schemas, produce second plugin index by @pkosiec in #1013
  • Report Deployment ID when using remote configuration by @pkosiec in #1019
  • Support ChannelName RBAC mapping for executors by @josefkarasek in #1023
  • Remove built-in kubectl, filters, defaultNamespace, fix list bugs by @mszostok in #1026
  • Add error message to remote gql reporter by @mszostok in #1029

Fixed Bugs 🐛

  • Fix alias validation and "Show Config" button in Help by @pkosiec in #970
  • Enable actions even if not bind to a specific channel by @mszostok in #1014
  • Fix audit log reporting for source events and commands by @pkosiec in #1022

Other Changes ✨

New Contributors

Full Changelog: v0.18.0...v1.0.0-rc.1

v0.18.0

06 Feb 10:53
Compare
Choose a tag to compare

What's Changed

Implemented Enhancements 🎉

Fixed Bugs 🐛

  • Add default helm namespace, update helm help by @mszostok in #921
  • Fix marshalling event for Elasticsearch integration by @pkosiec in #923
  • Fix changelog generation by @mszostok in #928
  • start|stop -> enable|disable notifications by @josefkarasek in #924
  • Fix Prometheus source JSON schema and generated resources CI job by @pkosiec in #952
  • Comment deprecated Slack configuration properties by @pkosiec in #962
  • Fix alias validation and "Show Config" button in Help by @pkosiec #970

Other Changes ✨

Full Changelog: v0.17.0...v0.18.0

v0.18.0-rc.3

03 Feb 14:57
Compare
Choose a tag to compare
v0.18.0-rc.3 Pre-release
Pre-release

What's Changed

Fixed Bugs 🐛

  • Fix alias validation and "Show Config" button in Help by @pkosiec #970

Full Changelog: v0.17.0...v0.18.0-rc.3

v0.18.0-rc.2

03 Feb 12:35
Compare
Choose a tag to compare
v0.18.0-rc.2 Pre-release
Pre-release

What's Changed

Implemented Enhancements 🎉

Fixed Bugs 🐛

  • Add SourceBindings built-in alias and fix filtering commands by @pkosiec in #967

Other Changes ✨

Full Changelog: v0.17.0...v0.18.0-rc.2

v0.18.0-rc.1

02 Feb 11:22
Compare
Choose a tag to compare
v0.18.0-rc.1 Pre-release
Pre-release

What's Changed

Implemented Enhancements 🎉

Fixed Bugs 🐛

  • Add default helm namespace, update helm help by @mszostok in #921
  • Fix marshalling event for Elasticsearch integration by @pkosiec in #923
  • Fix changelog generation by @mszostok in #928
  • start|stop -> enable|disable notifications by @josefkarasek in #924
  • Fix Prometheus source JSON schema and generated resources CI job by @pkosiec in #952
  • Comment deprecated Slack configuration properties by @pkosiec in #962

Other Changes ✨

Full Changelog: v0.17.0...v0.18.0-rc.1

v0.17.0

09 Jan 13:44
Compare
Choose a tag to compare

What's Changed

Breaking Changes 💥

  • Remove support for running kubectl command without prefix by @mszostok in #914

  • Unify commands by @josefkarasek in #867

    In release v0.17.0 we introduce new structure of commands, where verb is followed by feature:

    @Botkube <verb> [feature]
    

    For example:

    @Botkube show config
    

    This is a breaking change and commands in the previous form are no longer accepted.
    The following table describes which commands have changed:

    Before v0.17.0 In v0.17.0
    filters enable enable filters
    filters disable disable filters
    filters list list filters
    commands list show config
    notifier start enable notifications
    notifier stop disable notifications
    notifier status status notifications
    notifier showconfig show config

Implemented Enhancements 🎉

  • Describe how plugins can be consumed within Botkube core by @mszostok in #859
  • Add support for handling executor plugins by @mszostok in #862
  • Add plugin manager for sources by @mszostok in #857
  • Pass configuration to source and executor plugins by @mszostok in #875
  • Add plugin validation for configuration groups, bindings and index repository by @mszostok in #877
  • Add automated way of generating plugin index file by @mszostok in #884
  • Add logger for plugin binary output and the plugin client itself by @mszostok in #879
  • Add release process for Botkube plugins by @mszostok in #882
  • Dynamically generate help messages by @josefkarasek in #885
  • Update docs in example folder by @mszostok in #898
  • Add Botkube Helm plugin by @mszostok in #900
  • Add commands for Sources and Executors by @josefkarasek in #905
  • Add plugins configuration to make release possible by @mszostok in #911
  • Add helm get and history cmds, update Botkube help, add testing scenario, fix bugs by @mszostok in #912
  • Replace removed 'list commands', print multi-cluster info only for supported platforms by @mszostok in #913

Fixed Bugs 🐛

Other Changes ✨

New Contributors

Full Changelog: v0.16.0...v0.17.0

v0.17.0-rc.3

09 Jan 12:18
Compare
Choose a tag to compare
v0.17.0-rc.3 Pre-release
Pre-release

What's Changed

Fixed Bugs 🐛

  • Add default helm namespace, update helm help by @mszostok in #921
  • Fix marshalling event for Elasticsearch integration by @pkosiec in #923

Full Changelog: v0.17.0-rc.2...v0.17.0-rc.3

v0.17.0-rc.2

09 Jan 08:19
Compare
Choose a tag to compare
v0.17.0-rc.2 Pre-release
Pre-release

What's Changed

Other Changes ✨

Full Changelog: v0.17.0-rc.1...v0.17.0-rc.2

v0.17.0-rc.1

05 Jan 13:51
Compare
Choose a tag to compare
v0.17.0-rc.1 Pre-release
Pre-release

What's Changed

Implemented Enhancements 🎉

  • Describe how plugins can be consumed within Botkube core by @mszostok in #859
  • Add support for handling executor plugins by @mszostok in #862
  • Add plugin manager for sources by @mszostok in #857
  • Pass configuration to source and executor plugins by @mszostok in #875
  • Add plugin validation for configuration groups, bindings and index repository by @mszostok in #877
  • Unify commands by @josefkarasek in #867
  • Add automated way of generating plugin index file by @mszostok in #884
  • Add logger for plugin binary output and the plugin client itself by @mszostok in #879
  • Add release process for Botkube plugins by @mszostok in #882
  • Dynamically generate help messages by @josefkarasek in #885
  • Update docs in example folder by @mszostok in #898
  • Add Botkube Helm plugin by @mszostok in #900
  • Add commands for Sources and Executors by @josefkarasek in #905
  • Add plugins configuration to make release possible by @mszostok in #911
  • Add helm get and history cmds, update Botkube help, add testing scenario, fix bugs by @mszostok in #912
  • Replace removed 'list commands', print multi-cluster info only for supported platforms by @mszostok in #913

Fixed Bugs 🐛

Breaking Changes 💥

  • Remove support for running kubectl command without prefix by @mszostok in #914

Other Changes ✨

New Contributors

Full Changelog: v0.16.0...v0.17.0-rc.1

v0.16.0

28 Nov 09:08
Compare
Choose a tag to compare

What's Changed

Breaking Changes 💥

  • The sources[alias].resources[].name field has been renamed to sources[alias].resources[].type, to allow resource name regexes.
  • The sources[alias].events field has been renamed and moved to sources[alias].event.types to allow definition of additional event constraints. Similarly, the sources[alias]resources[].events field has been renamed and moved to sources[alias]resources[].event.types.

Implemented Enhancements 🎉

  • Botkube extensibility design for sources and executors by @huseyinbabal in #783
  • Wire execution of automated actions by @pkosiec in #837
  • Validate bindings for communcators by @josefkarasek in #845
  • Trigger automated actions based on config and fix event issues by @pkosiec in #848
  • Prepare sources config for additional constraints by @pkosiec in #850
  • Support source constraints for event details and resource labels, annotations, name by @pkosiec in #854
  • Add support for list/enable/disable actions by @josefkarasek in #852

Fixed Bugs 🐛

  • Cherry-picked v0.15.0 Fixes / Enhancements (#826) by @ezodude in #827
  • Work around empty K8s resources list which causes Botkube crash by @pkosiec in #834
  • Improve Helm chart documentation for Actions and sources by @pkosiec in #856

Other Changes ✨

  • Configure action automation for a selected incoming event by @ezodude in #830
  • Include node count in anonymous analytics by @pradeepnnv in #853
  • Unify package names and split utils by @pkosiec in #855
  • Add warning about kubectl to the help message by @mszostok in #861

New Contributors

Full Changelog: v0.15.0...v0.16.0