Open belforte opened 4 years ago
modify K8s secrets so that crabserver's config.py abd CRABServerAuth.py are outside the secrets and the latter allows multiple DB instances, like already done in VM installation [1]. I.e. keep in the repository a version of CRABServerAuth.py similar to what is here https://github.com/dmwm/deployment/blob/4558e945d9b03761dd96d545d2e34ac0d08ba077/crabserver/deploy#L53-L99 and have a deploy script which fills in the passwords from the secret file along the lines of: https://github.com/dmwm/CMSKubernetes/blob/master/docker/crabserver/run.sh
[1] Note that these URLs all work https://cmsweb.cern.ch/crabserver/prod/info https://cmsweb.cern.ch/crabserver/preprod/info https://cmsweb-testbed.cern.ch/crabserver/prod/info https://cmsweb-testbed.cern.ch/crabserver/preprod/info https://cmsweb-k8s-testbed.cern.ch/crabserver/preprod/info while this one does not https://cmsweb-k8s-testbed.cern.ch/crabserver/prod/info
sort of done... to review
modify K8s secrets so that crabserver's config.py abd CRABServerAuth.py are outside the secrets and the latter allows multiple DB instances, like already done in VM installation [1]. I.e. keep in the repository a version of CRABServerAuth.py similar to what is here https://github.com/dmwm/deployment/blob/4558e945d9b03761dd96d545d2e34ac0d08ba077/crabserver/deploy#L53-L99 and have a deploy script which fills in the passwords from the secret file along the lines of: https://github.com/dmwm/CMSKubernetes/blob/master/docker/crabserver/run.sh
[1] Note that these URLs all work https://cmsweb.cern.ch/crabserver/prod/info https://cmsweb.cern.ch/crabserver/preprod/info https://cmsweb-testbed.cern.ch/crabserver/prod/info https://cmsweb-testbed.cern.ch/crabserver/preprod/info https://cmsweb-k8s-testbed.cern.ch/crabserver/preprod/info while this one does not https://cmsweb-k8s-testbed.cern.ch/crabserver/prod/info