Hello,
I initially deployed SCM-Manager in an OpenShift Cluster using the official Helm Chart (with persistence disabled).
I then tried to configure the initial user directly in the Deployment using args
(as suggested by the Chart Values):
kind: Deployment
apiVersion: apps/v1
# ...
containers:
- image: '<internal registry>/scm-manager:3.4.1'
args:
- '-Dscm.initialUser=admin'
- '-Dscm.initialPassword=123456'
Though, when the Pod gets recreated, it still logs the token for initial user creation. The UI also asks me to initialize the user (username prefilled with scmadmin
).
The Pod’s YAML reflects the args:
kind: Pod
apiVersion: v1
# ...
args:
- '-Dscm.initialUser=admin'
- '-Dscm.initialPassword=123456'