我的 discourse 服务器在 K8s 中。
我能否使用下面的 app.yaml 配置安装主题组件(例如 discoTOC)?如果不能,如何从我的本地设备安装?(k8s 不允许访问 github)。
hooks:
after_code:
- exec:
cd: $home/plugins
cmd:
- git clone https://github.com/discourse/xxx.git
我的 discourse 服务器在 K8s 中。
我能否使用下面的 app.yaml 配置安装主题组件(例如 discoTOC)?如果不能,如何从我的本地设备安装?(k8s 不允许访问 github)。
hooks:
after_code:
- exec:
cd: $home/plugins
cmd:
- git clone https://github.com/discourse/xxx.git
谢谢你的回复。它奏效了。
重点是使用从 GitHub 下载的 zip 文件。
在 MAC 上解压缩和重新压缩文件不起作用。
我们有一个关于此的指南,请参阅:
如果无法访问 GitHub,那会起作用吗?
是的。本地设备安装有效。
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.