Commit 8c71d10f authored by Christopher Harm's avatar Christopher Harm

Update README.md

parent 68cf1eee
Pipeline #81297 passed with stages
in 30 seconds
......@@ -59,3 +59,43 @@ build:
webaccess:
user: crh5255
```
### Local-Only Deployments
The devtool supports deploying additional charts locally to simulate development resources. This eliminates the need to alter/maintain charts to add resources that will never be needed in production environments.
```json
{
"name": "accounts-service",
"language": "java",
"deployables": [
{
"name": "accounts-service",
"dockerfile": "Dockerfile",
"chart": "cm/eio-swe-service",
"chartVersion": "0.14.0",
"localConfig": "config/local.yml"
},
{
"name": "accounts-service-postgres",
"chart": "postgresql",
"chartVersion": "0.18.1",
"localConfig": "config/local-postgres.yml",
"localOnly": true
}
],
"localEnvVars": ["OAUTH_CLIENT_ID"],
"localSecrets": ["OAUTH_CLIENT_SECRET","OAUTH_JWK"]
}
```
config/local-postgres.yml:
```yaml
service:
type: NodePort
enabled: true
postgresUser: accounts_service_user
postgresPassword: secret
postgresDatabase: accounts_service
```
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment