I have deployed Spring Cloud Data Flow (SCDF) version 2.4.0 on kubernets v1.17.4 using minikube v1.8.2 based on this reference. Documentation | Spring Cloud Data Flow
I want to enable Basic Authentication on SCDF. 17.2 Basic Authentication However I can not find the relevant documentation for kubernets or Spring to change the SCDF pod security.
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
Should I change it using data flow config server shell? if so what is the command?
Or should I change security using kubectl update resource yaml? How do I put the security config in pod yaml file?
You are using a very old version of SCDF which is not currently maintained. I suggest you update to a recent release version from here.
The basic authentication got removed in the later versions of SCDF and the authentication/authorization is now supported via OAuth 2.
You can refer the documentation here for more information.