Kubernetes deployment using Helm Chart
To deploy the Security Server using the Helm chart, clone the X-Road-Helm Git repository and go to the helm/security-server folder.
In that folder, we need to edit the values.yaml file of the chart to:
1. Set the Security Server version to 7.8.0.¶
2. Set the Security Server PIN and create the first admin user (from the Kubernetes Secret).¶
Where XROAD-USER-SECRET is a pre-created Kubernetes Secret that must contain the following keys:
- XROAD_TOKEN_PIN
- XROAD_ADMIN_USER
- XROAD_ADMIN_PASSWORD
The XROAD_TOKEN_PIN must be a passphrase with upper and lower case letters, symbols, and numbers (minimum length is 10).
3. Provide the database secret with the superuser password (from the Kubernetes Secret).¶
Where XROAD-DB-SECRET is a pre-created Kubernetes Secret that must contain the password key with the postgres user’s password as the value.
4. Provide the SSH keys so the secondary pods can synchronize their configuration from the primary pod.¶
Where XROAD-SSH-SECRET is a pre-created Kubernetes Secret that must contain the following keys:
private-keypublic-key
5. Apply Helm chart¶
At the end, adjust the PVC volume sizes and service type if necessary. The defaults are:
And deploy to the cluster using the following command:
Once deployed, follow the instructions in the X-Road Security Server Configuration Guide to continue the installation.