mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-05 09:21:54 +02:00
Create new stable
environment (#367)
update documentation for environments and setup new stable environment
This commit is contained in:
parent
80f8748f39
commit
6a54bf1ff4
16 changed files with 88 additions and 137 deletions
|
@ -21,7 +21,7 @@ Where `credentials-<ENVIRONMENT>.json` looks like:
|
|||
|
||||
(Specific credentials are mentioned below.)
|
||||
|
||||
You can see the current environment with `cf env <APP>`, for example `cf env getgov-unstable`.
|
||||
You can see the current environment with `cf env <APP>`, for example `cf env getgov-stable`.
|
||||
|
||||
The commands `cups` and `uups` stand for [`create user provided service`](https://docs.cloudfoundry.org/devguide/services/user-provided.html) and `update user provided service`. User provided services are the way currently recommended by Cloud.gov for deploying secrets. The user provided service is bound to the application in `manifest-<ENVIRONMENT>.json`.
|
||||
|
||||
|
@ -30,8 +30,8 @@ To rotate secrets, create a new `credentials-<ENVIRONMENT>.json` file, upload it
|
|||
Example:
|
||||
|
||||
```bash
|
||||
cf update-user-provided-service getgov-credentials -p credentials-unstable.json
|
||||
cf restage getgov-unstable --strategy rolling
|
||||
cf update-user-provided-service getgov-credentials -p credentials-stable.json
|
||||
cf restage getgov-stable --strategy rolling
|
||||
```
|
||||
|
||||
Non-secret environment variables can be declared in `manifest-<ENVIRONMENT>.json` directly.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue