...
Openshift cluster should be provisioned
Provisioning of NFS server (NFS Server Deployment on OpenShift ), this is needed for deployment of statefulsets
Openshift cluster kubeconfig must be exported (Make sure that you are in the correct openshift-cluster)
helmfile needs to be installed
kubectl needs to be installed
The following helm charts have been tested on the following openshift cluster:
Code Block |
---|
oc version
Client Version: 4.15.0-0.okd-2024-03-10-010116
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: 4.15.0-0.okd-2024-03-10-010116
Kubernetes Version: v1.28.2-3598+6e2789bbd58938-dirty
|
Clone the following repository:
Code Block |
---|
git clone git@github.com:egovernments/DIGIT-Openshift.git |
cd deploy-as-code
Before running helmfile command for deploying digit, the following manifests are to be applied on to the openshift cluster. The below manifests defines the security context constraints that are needed for openshift deployment. For more details on the security context constraints, please refer to this doc
Security Context Constraints - OpenShift Deployment
Code Block |
---|
kubectl apply -f charts/openshift-scc/*.yaml
|
Digit helmcharts can be deployed by running the following command
Code Block |
---|
helmfile -f digit-helmfile.yaml apply |