deployment.toml 配置选项 [英] deployment.toml configuration options

查看:19
本文介绍了deployment.toml 配置选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

WSO IS 5.9.0"的新功能是 deployment.toml ,但我还没有找到配置选项,也没有找到如何从这个文件设置 xml 配置文件的方式.

new feature of "WSO IS 5.9.0" is the deployment.toml , but i have not found the configuration options nor the way how one can set the xml config file from this file.

例如,如果我想在 carbon.xml 中启用选项 EnableHTTPAdminConsole,应该怎么做?

For example, if I want to enable in carbon.xml option EnableHTTPAdminConsole, what should one do?

[server]
hostname = "my.server.com"
node_ip = "127.0.0.1"
base_path = "https://$ref{server.hostname}:${carbon.management.port}"
enable_h_t_t_p_admin_console = true
enable_http_admin_console = true
EnableHTTPAdminConsole = true

不起作用

另外,我尝试修改我的 docker 镜像:

Also, i have tried to modify in my docker image:

wso2is-5.9.0/repository/resources/conf/templates/repository/conf/carbon.xml.j2

wso2is-5.9.0/conf/carbon.xml

但是所有这些文件都被覆盖了.

But all these files gets overwritten.

我的用例是在没有端口的情况下在 K8S 中使用 WSO2IS.

My UseCase is to use WSO2IS in K8S without the port.

https://wso2is.my.domain/ > k8s nginx 入口:443(管理证书)> wso2is-service > wso2is-pod:9763(普通 http)

https://wso2is.my.domain/ > k8s nginx ingress : 443 (manages certificate) > wso2is-service > wso2is-pod : 9763 (plain http)

然而问题仍然存在,deployment.toml 中有哪些可用的配置选项

However the question still resides, what configuration options are available in deployment.toml

推荐答案

这似乎无法通过 deployment.toml 实现.作为一种解决方法,您可以在

This seems like not possible through the deployment.toml. As a workaround, you can uncomment the property in

wso2is-5.9.0/repository/resources/conf/templates/repository/conf/carbon.xml.j2

wso2is-5.9.0/repository/resources/conf/templates/repository/conf/carbon.xml.j2

将此报告为问题:https://github.com/wso2/product-is/问题

这篇关于deployment.toml 配置选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆