根据此参考资料,我已使用minikube v1.8.2在kubernets v1.17.4上部署了Spring Cloud Data Flow(SCDF)版本2.4.0。 Documentation | Spring Cloud Data Flow
我想在SCDF上启用基本身份验证。17.2 Basic Authentication但是我找不到有关Kubernets或Spring更改SCDF pod安全性的相关文档。
17.2 Basic Authentication
Basic Authentication can be enabled by adding the following to application.yml or via environment variables:
security:
basic:
enabled: true
realm: Spring Cloud Data Flow
我应该使用数据流配置服务器外壳对其进行更改吗?如果是这样,命令是什么?
还是我应该使用kubectl更新资源yaml更改安全性?如何将安全性配置放在pod yaml文件中?