You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Garrett Mills
c72b57a0f8
|
2 years ago | |
---|---|---|
.. | ||
0-namespace.yaml | 2 years ago | |
1-deployment.yaml | 2 years ago | |
2-service.yaml | 2 years ago | |
3-certificate.yaml | 2 years ago | |
4-ingress.yaml | 2 years ago | |
README.md | 2 years ago |
README.md
This deployment is parameterized for use with envsubst(1)
.
Before proceeding, you should also build and push the image from noded/frontend.git
.
You will need to set up the secret values and environment variables (see below).
bash -c 'for f in *.yaml; do envsubst < $f | kubectl apply -f -; done'
Supported environment variables
Set these environment variables in your shell before running the above command to apply the Kubernetes spec.
NODED_DOMAIN
- domain name where CoreID is accessed (e.g.coreid.mydomain.com
)DOCKER_REGISTRY
- host of the docker registry to pull the image from (e.g.registry.mydomain.com
)- this is the same registry that is used by
yarn docker:build
andyarn docker:push
- this is the same registry that is used by
NODED_DATABASE_HOST
- MongoDB host (e.g.mongo.mylan.net
)NODED_DATABASE_NAME
- MongoDB database name to use (e.g.coreid_p1
)
Secret values
The spec expects there to be a coreid-secrets
secret in the starship
namespace with the following values:
SECRET
- hash seed used by CoreID (e.g.df8db5a2-429b-4597-a013-18efee2465e0
)AUTH_COREID_CLIENT_ID
- Starship CoreID OAuth2 client IDAUTH_COREID_CLIENT_SECRET
- Starship CoreID OAuth2 client secret