You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
We have deployed the app to our organisations slack channels. The settings specific to kubectl commands is as follows:
# Setting to support multiple clusterssettings:
# Cluster name to differentiate incoming messagesclustername: oga# Kubectl executor configskubectl:
# Set true to enable kubectl commands executionenabled: truecommands:
# method which are allowedverbs: ["api-resources", "api-versions", "cluster-info", "describe", "diff", "explain", "get", "logs", "top", "auth"]# resource configuration which is allowedresources: ["deployments", "pods" , "namespaces", "daemonsets", "statefulsets", "storageclasses", "nodes"]# set Namespace to execute botkube kubectl commands by defaultdefaultNamespace: dev# Set true to enable commands execution from configured channel onlyrestrictAccess: true
To Reproduce
When using any of the commands (except for ping) from the authorised slack channel, the botkube logs the following message:
@hjpotter92, I see you are setting restrictedAccess: true in the config. Setting that will executing commands only from the channel you get notifications in. Can you please check if you are running the command in the correct Slack channel?
Describe the bug
We have deployed the app to our organisations slack channels. The settings specific to
kubectl
commands is as follows:To Reproduce
When using any of the commands (except for
ping
) from the authorised slack channel, the botkube logs the following message:and no response is sent back to the slack channel or the user.
Expected behavior
The commands' output should be shown in the slack channel.
The text was updated successfully, but these errors were encountered: