forked from uc-cdis/gen3-helm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds support for specifying ENV Vars for frontend pod
- Loading branch information
1 parent
6368911
commit 71316d2
Showing
10 changed files
with
52 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,30 @@ | ||
# common | ||
|
||
![Version: 0.1.10](https://img.shields.io/badge/Version-0.1.10-informational?style=flat-square) ![Type: library](https://img.shields.io/badge/Type-library-informational?style=flat-square) ![AppVersion: master](https://img.shields.io/badge/AppVersion-master-informational?style=flat-square) | ||
![Version: 0.1.12](https://img.shields.io/badge/Version-0.1.12-informational?style=flat-square) ![Type: library](https://img.shields.io/badge/Type-library-informational?style=flat-square) ![AppVersion: master](https://img.shields.io/badge/AppVersion-master-informational?style=flat-square) | ||
|
||
A Helm chart for provisioning databases in gen3 | ||
|
||
## Values | ||
|
||
| Key | Type | Default | Description | | ||
|-----|------|---------|-------------| | ||
| global.ddEnabled | bool | `false` | Whether Datadog is enabled. | | ||
| global.dev | bool | `true` | Whether the deployment is for development purposes. | | ||
| global.dictionaryUrl | string | `"https://s3.amazonaws.com/dictionary-artifacts/datadictionary/develop/schema.json"` | URL of the data dictionary. | | ||
| global.dispatcherJobNum | int | `"10"` | Number of dispatcher jobs. | | ||
| global.environment | string | `"default"` | Environment name. This should be the same as vpcname if you're doing an AWS deployment. Currently this is being used to share ALB's if you have multiple namespaces. Might be used other places too. | | ||
| global.hostname | string | `"localhost"` | Hostname for the deployment. | | ||
| global.kubeBucket | string | `"kube-gen3"` | S3 bucket name for Kubernetes manifest files. | | ||
| global.logsBucket | string | `"logs-gen3"` | S3 bucket name for log files. | | ||
| global.netPolicy | bool | `true` | Whether network policies are enabled. | | ||
| global.portalApp | string | `"gitops"` | Portal application name. | | ||
| global.postgres.dbCreate | bool | `true` | Whether the database should be created. | | ||
| global.postgres.externalSecret | string | `""` | Name of external secret. Disabled if empty | | ||
| global.postgres.master | map | `{"host":null,"password":null,"port":"5432","username":"postgres"}` | Master credentials to postgres. This is going to be the default postgres server being used for each service, unless each service specifies their own postgres | | ||
| global.postgres.master.host | string | `nil` | hostname of postgres server | | ||
| global.postgres.master.password | string | `nil` | password for superuser in postgres. This is used to create or restore databases | | ||
| global.postgres.master.port | string | `"5432"` | Port for Postgres. | | ||
| global.postgres.master.username | string | `"postgres"` | username of superuser in postgres. This is used to create or restore databases | | ||
| global.publicDataSets | bool | `true` | Whether public datasets are enabled. | | ||
| global.revproxyArn | string | `"arn:aws:acm:us-east-1:123456:certificate"` | ARN of the reverse proxy certificate. | | ||
| global.tierAccessLevel | string | `"libre"` | Access level for tiers. acceptable values for `tier_access_level` are: `libre`, `regular` and `private`. If omitted, by default common will be treated as `private` | | ||
|
||
| Key | Type | Default | Description | | ||
| ------------------------------- | ------ | ------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| global.ddEnabled | bool | `false` | Whether Datadog is enabled. | | ||
| global.dev | bool | `true` | Whether the deployment is for development purposes. | | ||
| global.dictionaryUrl | string | `"https://s3.amazonaws.com/dictionary-artifacts/datadictionary/develop/schema.json"` | URL of the data dictionary. | | ||
| global.dispatcherJobNum | int | `"10"` | Number of dispatcher jobs. | | ||
| global.environment | string | `"default"` | Environment name. This should be the same as vpcname if you're doing an AWS deployment. Currently this is being used to share ALB's if you have multiple namespaces. Might be used other places too. | | ||
| global.hostname | string | `"localhost"` | Hostname for the deployment. | | ||
| global.kubeBucket | string | `"kube-gen3"` | S3 bucket name for Kubernetes manifest files. | | ||
| global.logsBucket | string | `"logs-gen3"` | S3 bucket name for log files. | | ||
| global.netPolicy | bool | `true` | Whether network policies are enabled. | | ||
| global.portalApp | string | `"gitops"` | Portal application name. | | ||
| global.postgres.dbCreate | bool | `true` | Whether the database should be created. | | ||
| global.postgres.externalSecret | string | `""` | Name of external secret. Disabled if empty | | ||
| global.postgres.master | map | `{"host":null,"password":null,"port":"5432","username":"postgres"}` | Master credentials to postgres. This is going to be the default postgres server being used for each service, unless each service specifies their own postgres | | ||
| global.postgres.master.host | string | `nil` | hostname of postgres server | | ||
| global.postgres.master.password | string | `nil` | password for superuser in postgres. This is used to create or restore databases | | ||
| global.postgres.master.port | string | `"5432"` | Port for Postgres. | | ||
| global.postgres.master.username | string | `"postgres"` | username of superuser in postgres. This is used to create or restore databases | | ||
| global.publicDataSets | bool | `true` | Whether public datasets are enabled. | | ||
| global.revproxyArn | string | `"arn:aws:acm:us-east-1:123456:certificate"` | ARN of the reverse proxy certificate. | | ||
| global.tierAccessLevel | string | `"libre"` | Access level for tiers. acceptable values for `tier_access_level` are: `libre`, `regular` and `private`. If omitted, by default common will be treated as `private` | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: {{ include "frontend-framework.fullname" . }}-configmap | ||
labels: | ||
{{- include "frontend-framework.labels" . | nindent 4 }} | ||
data: | ||
{{- range $key, $val := .Values.env }} | ||
{{ $key }}: {{ $val | quote }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters