Proposal Pillar
The Proposal Pillar backend when combined with the Core GovTool Frontend UI will enable viewing of Budget Proposals and Governance Actions -> Proposals areas
Prerequisites
As the proposal pillar was designed for off-chain discussion it will require a Postgres DB to store any user discussion information
Notice
As stated above because this service covers off chain discussions when initially launched the DB will be empty and so there will be nothing to load when the respective pages are accessed from the frontend UI
As this repo was designed for dev purposes only the db has not been assigned any persistent storage (if running long term this will need to be updated)
Setting Up the Proposal Pillar
Review the pdf-db-connect.yaml and pdf-env-vars.yaml files adding your custom env vars
Review pdf-db.yaml and pdf.yaml ensuring to update the Deployment Containers Image Spec with the associated image for the service (these can be custom or the images referenced in the current deployments) and metadata -> namespace if not using the default govtool namespace
Create the Kubernetes Secrets which will house the env vars using
kubectl apply
in your chosen namespaceUse
kubectl apply
to first create the pdf db and then pdf service in the same namespace as your secrets -- (kubectl links)
Last updated