Skip to content

Latest commit

 

History

History
45 lines (27 loc) · 775 Bytes

README.md

File metadata and controls

45 lines (27 loc) · 775 Bytes

OpenShift STS JSON Generator

Static JSON generator for OpenShift STS policies

Deployment

Initialize for Let's Encrypt

Prerequisite

Using OpenShift Acme in the "lets-encrypt" namespace

Process

$ lets-encrypt <PROJECT>

Create the Config Secret

This also only needs to happen once. When modifying the Secret, be sure to trigger a deployment rollout.

$ oc create secret generic env-secrets --from-file=.env.local=$(pwd)/src/.env.prod

Deploy the Template

$ oc new-app deploy-template.yaml

Development

Prerequisites

Poetry: https://python-poetry.org/docs/#installation

Procedure

$ poetry install
$ poetry run pre-commit install