Skip to content

Commit d33efa8

Browse files
authored
Merge pull request #3 from Aju100/main
Update config docs of values.yaml
2 parents cf982d2 + 803ae7f commit d33efa8

File tree

2 files changed

+51
-3
lines changed

2 files changed

+51
-3
lines changed

Chart.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ appVersion: "5.4.1"
2323
maintainers:
2424
- name: Rob Kooper
2525
email: kooper@illinois.edu
26+
- name: Aju Tamang
27+
email: aju.775401@ac.tu.edu.np
2628

2729
# location of source code
2830
sources:

README.md

Lines changed: 49 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,55 @@ helm upgrade betydb ncsa/betydb \
5757
--set postgresql.postgresqlPassword="${POSTGRESQL_PASSWORD}"
5858
```
5959

60-
## Configuration
61-
62-
A YAML file that specifies the values for the necessary parameters can be provided while installing the chart. For example,
60+
## Parameters
61+
The following table lists the configurable parameters of the Bety chart and their default values per section/component:
62+
63+
### Common parameters
64+
65+
| Parameter | Description | Default |
66+
|---------------------------|--------------------------------------------------------------------------|---------------------------------------------------------|
67+
| `nameOverride` | String to partially override bety.fullname | `nil` |
68+
| `fullnameOverride` | String to fully override bety.fullname | `nil` |
69+
70+
### Bety parameters
71+
72+
| Parameter | Description | Default |
73+
|---------------------------|------------------------------------------------------------------------------------------|---------------------------------------------------------|
74+
| `image.registry` | Bety image registry | `docker.io` |
75+
| `image.repository` | Bety image name | `pecan/bety` |
76+
| `image.tag` | Bety image tag | `null` |
77+
| `image.pullPolicy` | Bety image pull policy | `IfNotPresent` |
78+
| `image.pullSecrets` | Specify docker-registry secret names as an array | `[]` (does not add image pull secrets to deployed pods) |
79+
| `replicaCount` | Number of Bety Pods to run | `1` |
80+
| `nodeSelector` | Node labels for pod assignment | `{}` (evaluated as a template) |
81+
| `tolerations` | Tolerations for pod assignment | `[]` (evaluated as a template) |
82+
| `affinity` | Affinity for pod assignment | `{}` (evaluated as a template) |
83+
| `service.type` | Kubernetes Service type | `ClusterIP` |
84+
| `service.port` | Service HTTP port | `8000` |
85+
| `betyUser` | User value for bety.user | `bety` |
86+
| `betyPassword` | Password value for bety.password | `bety` |
87+
| `betyDatabase` | Name of the database for bety.database | `bety` |
88+
89+
### Ingress parameters
90+
91+
| Parameter | Description | Default |
92+
|-----------------------------------|----------------------------------------------------------|--------------------------------|
93+
| `ingress.enabled` | Enable ingress controller resource | `false` |
94+
| `ingress.host` | Default host for the ingress resource | `[]` (evaluated as a template) |
95+
| `ingress.tls` | TLS configuration for the hostnames to be covered | `false` |
96+
| `ingress.annotations` | Ingress annotations | `[]` (evaluated as a template) |
97+
98+
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
99+
```
100+
helm install mt-release ncsa/betydb \
101+
--set betyPassword="xxxx" \
102+
--set secretKey="xxxx" \
103+
--set postgresql.postgresqlPassword="xxxx"
104+
```
105+
106+
The above command sets the bety password, secret, postgresql password to `xxxx`,`xxxx`, and `xxxx` respectively.
107+
108+
Alternatively, a YAML file that specifies the values for the necessary parameters can be provided while installing the chart. For example,
63109

64110
```
65111
helm install --name my-release -f values.yaml .

0 commit comments

Comments
 (0)