export KUBE_EDITOR='code --wait'
Running k edit ...
will open up the yaml using Visual Studio Code.
Livechat rooms and messages both are stored in the same collection, rocketchat_room
& rocketchat_message
.
To first export the livechat rooms as a json file, use mongoexport
like so,
mongoexport --collection=rocketchat_room --db=rocketchat \
--jsonArray -q='{"t": "l"}' --sort='{_id: 1}' --pretty \
--jsonFormat=relaxed --type=json --out=livechat_rooms.json
Rocket Chat search supports the use of "regular expressions", the benefits of which are great search flexibility and the ability to search chat entries in any language, even ones which are traditionally a challenge for search (e.g. "CJK" languages - Chinese, Japanese, Korean).
Regular expressions are a deep, but admittedly geeky topic. The flexibility of "regex" search increases as you learn more about how to write regex patterns, but if you learn just a couple of simple patterns, you can benefit right away.
Let's see a few simple examples that you can try.
trigger: | |
- '*' | |
pool: | |
name: Default | |
variables: | |
image_name: mcr.microsoft.com/businesscentral/sandbox | |
container_name: Build | |
company_name: My Company |
To verify that the controller is installed
kubectl get deployment -n kube-system aws-load-balancer-controller
This is what i used nginx controller please update the nginx controller service controller annotations. Once the manifest is applied next
# !/bin/bash | |
# Rocket.Chat Matrix Federation Setup | |
# Author: Alan Sikora <[email protected]> | |
# https://github.com/alansikora | |
PWD=$(pwd) | |
[[ $1 = "-dev" ]] && DEV=true || DEV=false | |
# Set image versions | |
ROCKETCHAT_IMAGE_TAG="5.4.0" |