How to create a custom configuration of censhare Static Resource Server (SRS).
Requirements
The Static Resource Server is only used for censhare WP (aka censhare 5).Installation
To use the Static Resource Server, install the following:
- minikube
- authentication
- cloud gateway
User configuration
- In Keycloak, create a system user with password.
- Use this system user with the same login ID for the Keycloak Service configuration in the censhare Admin Client.
Configuration
Customizable configuration:
- https://git.censhare.com/devops/kubernetes/blob/master/microservices/static-resource-server/static-resource-server-cmap.yaml
Note: Take care of indentation if you edit the configuration map for the Static Resource Server.
- Edit the settings of
static-resource-server-cmap.yaml
and save it. Deploy the new configuration map to your cluster and recreate deployment:
kubectl delete configmap static-resource-server-config
kubectl delete deployment static-resource-server-deployment
kubectl apply -f microservices
/static-resource-server/static-resource-server-cmap
.yaml
kubectl apply -f microservices
/static-resource-server/static-resource-server-deployment
.yaml