Skip to content

openshift-cs/openshift_sts_json

Repository files navigation

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

About

Static JSON generator for OpenShift STS policies

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published