botkube
by Avesha
Helm chartv1.0.0App v1.0.0Verified publisher
Controller for the Kubeslice Botkube Slack app which helps you monitor your Kubernetes cluster, debug deployments and run specific checks on kubeslice resources as well as kuberenetes resources in the cluster.
About this chart
Botkube
Controller for the Botkube Slack app which helps you monitor your Kubernetes cluster, debug deployments and run specific checks on resources in the cluster.
Homepage: https://botkube.io
Maintainers
| Name | |
|---|---|
| Botkube Dev Team | [email protected] |
Source Code
Parameters
| Key | Type | Default | Description |
|---|---|---|---|
| image.registry | string | "ghcr.io" | Botkube container image registry. |
| image.repository | string | "kubeshop/botkube" | Botkube container image repository. |
| image.pullPolicy | string | "IfNotPresent" | Botkube container image pull policy. |
| image.tag | string | "v1.0.0" | Botkube container image tag. Default tag is appVersion from Chart.yaml. |
| podSecurityPolicy | object | {"enabled":false} | Configures Pod Security Policy to allow Botkube to run in restricted clusters. Ref doc. |
| securityContext | object | Runs as a Non-Privileged user. | Configures security context to manage user Privileges in Pod. Ref doc. |
| containerSecurityContext | object | {"allowPrivilegeEscalation":false,"privileged":false,"readOnlyRootFilesystem":true} | Configures container security context. Ref doc. |
| rbac | object | {"create":true,"rules":[{"apiGroups":["*"],"resources":["*"],"verbs":["get","watch","list"]}],"staticGroupName":"botkube-plugins-default"} | Role Based Access for Botkube Pod. Ref doc. |
| kubeconfig.enabled | bool | false | If true, enables overriding the Kubernetes auth. |
| kubeconfig.base64Config | string | "" | A base64 encoded kubeconfig that will be stored in a Secret, mounted to the Pod, and specified in the KUBECONFIG environment variable. |
| kubeconfig.existingSecret | string | "" | A Secret containing a kubeconfig to use. |
| actions | object | See the values.yaml file for full object. | Map of actions. Action contains configuration for automation based on observed events. The property name under actions object is an alias for a given configuration. You can define multiple actions configuration with different names. |
| actions.describe-created-resource.enabled | bool | false | If true, enables the action. |
| actions.describe-created-resource.displayName | string | "Describe created resource" | Action display name posted in the channels bound to the same source bindings. |
| actions.describe-created-resource.command | string | See the values.yaml file for the command in the Go template form. | Command to execute when the action is triggered. You can use Go template (https://pkg.go.dev/text/template) together with all helper functions defined by Slim-Sprig library (https://go-task.github.io/slim-sprig). You can use the {{ .Event }} variable, which contains the event object that triggered the action. See all available event properties on https://github.com/kubeshop/botkube/blob/main/pkg/event/event.go. |
| actions.describe-created-resource.bindings | object | {"executors":["k8s-default-tools"],"sources":["k8s-create-events"]} | Bindings for a given action. |
| actions.describe-created-resource.bindings.sources | list | ["k8s-create-events"] | Event sources that trigger a given action. |
| actions.describe-created-resource.bindings.executors | list | ["k8s-default-tools"] | Executors configuration used to execute a configured command. |
| actions.show-logs-on-error.enabled | bool | false | If true, enables the action. |
| actions.show-logs-on-error.displayName | string | "Show logs on error" | Action display name posted in the channels bound to the same source bindings. |
| actions.show-logs-on-error.command | string | See the values.yaml file for the command in the Go template form. | Command to execute when the action is triggered. You can use Go template (https://pkg.go.dev/text/template) together with all helper functions defined by Slim-Sprig library (https://go-task.github.io/slim-sprig). You can use the {{ .Event }} variable, which contains the event object that triggered the action. See all available event properties on https://github.com/kubeshop/botkube/blob/main/pkg/event/event.go. |
| actions.show-logs-on-error.bindings | object | {"executors":["k8s-default-tools"],"sources":["k8s-err-with-logs-events"]} | Bindings for a given action. |
| actions.show-logs-on-error.bindings.sources | list | ["k8s-err-with-logs-events"] | Event sources that trigger a given action. |
| actions.show-logs-on-error.bindings.executors | list | ["k8s-default-tools"] | Executors configuration used to execute a configured command. |
| sources | object | See the values.yaml file for full object. | Map of sources. Source contains configuration for Kubernetes events and sending recommendations. The property name under sources object is an alias for a given configuration. You can define multiple sources configuration with different names. Key name is used as a binding reference. |
| sources.k8s-recommendation-events.botkube/kubernetes | object | See the values.yaml file for full object. | Describes Kubernetes source configuration. |
| sources.k8s-recommendation-events.botkube/kubernetes.context.rbac | object | {"group":{"prefix":"","static":{"values":["botkube-plugins-default"]},"type":"Static"}} | RBAC configuration for this plugin. |
| sources.k8s-all-events.botkube/kubernetes.context.rbac | object | {"group":{"prefix":"","static":{"values":["botkube-plugins-default"]},"type":"Static"}} | RBAC configuration for this plugin. |
| sources.k8s-create-events.botkube/kubernetes.context.rbac | object | {"group":{"prefix":"","static":{"values":["botkube-plugins-default"]},"type":"Static"}} | RBAC configuration for this plugin. |
| executors.k8s-default-tools.botkube/kubectl.context.rbac | object | {"group":{"prefix":"","static":{"values":["botkube-plugins-default"]},"type":"Static"}} | RBAC configuration for this plugin. |
| executors.k8s-default-tools.botkube/helm.context.rbac | object | {"group":{"prefix":"","static":{"values":["botkube-plugins-default"]},"type":"Static"}} | RBAC configuration for this plugin. |
| sources.k8s-err-with-logs-events.botkube/kubernetes.context.rbac | object | {"group":{"prefix":"","static":{"values":["botkube-plugins-default"]},"type":"Static"}} | RBAC configuration for this plugin. |
| sources.k8s-err-events.botkube/kubernetes.context.rbac | object | {"group":{"prefix":"","static":{"values":["botkube-plugins-default"]},"type":"Static"}} | RBAC configuration for this plugin. |
| executors.k8s-default-tools.botkube/helm.context.rbac.group.type | string | "Static" | Static impersonation for a given username and groups. |
| sources.k8s-create-events.botkube/kubernetes.context.rbac.group.type | string | "Static" | Static impersonation for a given username and groups. |
| sources.k8s-err-events.botkube/kubernetes.context.rbac.group.type | string | "Static" | Static impersonation for a given username and groups. |
| sources.k8s-recommendation-events.botkube/kubernetes.context.rbac.group.type | string | "Static" | Static impersonation for a given username and groups. |
| sources.k8s-err-with-logs-events.botkube/kubernetes.context.rbac.group.type | string | "Static" | Static impersonation for a given username and groups. |
| executors.k8s-default-tools.botkube/kubectl.context.rbac.group.type | string | "Static" | Static impersonation for a given username and groups. |
| sources.k8s-all-events.botkube/kubernetes.context.rbac.group.type | string | "Static" | Static impersonation for a given username and groups. |
| sources.k8s-create-events.botkube/kubernetes.context.rbac.group.prefix | string | "" | Prefix that will be applied to .static.value[*]. |
| sources.k8s-err-with-logs-events.botkube/kubernetes.context.rbac.group.prefix | string | "" | Prefix that will be applied to .static.value[*]. |
| executors.k8s-default-tools.botkube/helm.context.rbac.group.prefix | string | "" | Prefix that will be applied to .static.value[*]. |
| sources.k8s-err-events.botkube/kubernetes.context.rbac.group.prefix | string | "" | Prefix that will be applied to .static.value[*]. |
| sources.k8s-recommendation-events.botkube/kubernetes.context.rbac.group.prefix | string | "" | Prefix that will be applied to .static.value[*]. |
| sources.k8s-all-events.botkube/kubernetes.context.rbac.group.prefix | string | "" | Prefix that will be applied to .static.value[*]. |
| executors.k8s-default-tools.botkube/kubectl.context.rbac.group.prefix | string | "" | Prefix that will be applied to .static.value[*]. |
| sources.k8s-create-events.botkube/kubernetes.context.rbac.group.static.values | list | ["botkube-plugins-default"] | Name of group.rbac.authorization.k8s.io the plugin will be bound to. |
| executors.k8s-default-tools.botkube/kubectl.context.rbac.group.static.values | list | ["botkube-plugins-default"] | Name of group.rbac.authorization.k8s.io the plugin will be bound to. |
| sources.k8s-recommendation-events.botkube/kubernetes.context.rbac.group.static.values | list | ["botkube-plugins-default"] | Name of group.rbac.authorization.k8s.io the plugin will be bound to. |
| sources.k8s-err-with-logs-events.botkube/kubernetes.context.rbac.group.static.values | list | ["botkube-plugins-default"] | Name of group.rbac.authorization.k8s.io the plugin will be bound to. |
| executors.k8s-default-tools.botkube/helm.context.rbac.group.static.values | list | ["botkube-plugins-default"] | Name of group.rbac.authorization.k8s.io the plugin will be bound to. |
| sources.k8s-err-events.botkube/kubernetes.context.rbac.group.static.values | list | ["botkube-plugins-default"] | Name of group.rbac.authorization.k8s.io the plugin will be bound to. |
| sources.k8s-all-events.botkube/kubernetes.context.rbac.group.static.values | list | ["botkube-plugins-default"] | Name of group.rbac.authorization.k8s.io the plugin will be bound to. |
| sources.k8s-recommendation-events.botkube/kubernetes.config.recommendations | object | {"ingress":{"backendServiceValid":true,"tlsSecretValid":true},"pod":{"labelsSet":true,"noLatestImageTag":true}} | Describes configuration for various recommendation insights. |
| sources.k8s-recommendation-events.botkube/kubernetes.config.recommendations.pod | object | {"labelsSet":true,"noLatestImageTag":true} | Recommendations for Pod Kubernetes resource. |
| sources.k8s-recommendation-events.botkube/kubernetes.config.recommendations.pod.noLatestImageTag | bool | true | If true, notifies about Pod containers that use latest tag for images. |
| sources.k8s-recommendation-events.botkube/kubernetes.config.recommendations.pod.labelsSet | bool | true | If true, notifies about Pod resources created without labels. |
| sources.k8s-recommendation-events.botkube/kubernetes.config.recommendations.ingress | object | {"backendServiceValid":true,"tlsSecretValid":true} | Recommendations for Ingress Kubernetes resource. |
| sources.k8s-recommendation-events.botkube/kubernetes.config.recommendations.ingress.backendServiceValid | bool | true | If true, notifies about Ingress resources with invalid backend service reference. |
| sources.k8s-recommendation-events.botkube/kubernetes.config.recommendations.ingress.tlsSecretValid | bool | true | If true, notifies about Ingress resources with invalid TLS secret reference. |
| sources.k8s-all-events.botkube/kubernetes | object | See the values.yaml file for full object. | Describes Kubernetes source configuration. |
| sources.k8s-all-events.botkube/kubernetes.config.filters | object | See the values.yaml file for full object. | Filter settings for various sources. |
| sources.k8s-all-events.botkube/kubernetes.config.filters.objectAnnotationChecker | bool | true | If true, enables support for botkube.io/disable resource annotation. |
| sources.k8s-all-events.botkube/kubernetes.config.filters.nodeEventsChecker | bool | true | If true, filters out Node-related events that are not important. |
| [sources.k8 |
Deploy botkube with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has botkube on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartbotkube is pinned at v1.0.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply