Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions charts/health-discovery/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,15 @@ The chart can optionally be configured using the following parameters:
| `existingDbSecret` | Use MariaDB credentials from an existing secret. The secret has to contain the keys `databaseUsername` and `databasePassword`. Please refer to the [kubernetes documentation](https://kubernetes.io/docs/tasks/configmap-secret/managing-secret-using-kubectl/) for more information about how to create secrets | "" |
| `externalDbConnectionUrl` | JDBC connection URL of an external MariaDB 10.x database. Requires the `existingDbSecret` parameter to be set | "" |
| `registryUrl` | Container registry URL | registry.averbis.com |
| `database.tolerations` | Node Tolerations | [] |
| `database.affinity` | Node Affinity | {} |
| `database.nodeSelector` | Node Selector | {} |
| `healthDiscovery.tolerations` | Node Tolerations | [] |
| `healthDiscovery.affinity` | Node Affinity | {} |
| `healthDiscovery.nodeSelector` | Node Selector | {} |
| `solr.tolerations` | Node Tolerations | [] |
| `solr.affinity` | Node Affinity | {} |
| `solr.nodeSelector` | Node Selector | {} |


Specify each parameter using the `--set name=value` argument to `helm install` and `helm upgrade` to overwrite the chart default values, for example:
Expand Down
12 changes: 12 additions & 0 deletions charts/health-discovery/templates/database-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,17 @@ spec:
- name: dbvol
persistentVolumeClaim:
claimName: dbvol
{{- with (.Values.database).tolerations }}
tolerations:
{{ toYaml . | nindent 8 }}
{{- end }}
{{- with (.Values.database).affinity }}
affinity:
{{ toYaml . | nindent 8 }}
{{- end }}
{{- with (.Values.database).nodeSelector }}
nodeSelector:
{{ toYaml . | nindent 8 }}
{{- end }}
status: {}
{{ end }}
12 changes: 12 additions & 0 deletions charts/health-discovery/templates/health-discovery-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,16 @@ spec:
- name: resourcevol
persistentVolumeClaim:
claimName: resourcevol
{{- with (.Values.healthDiscovery).tolerations }}
tolerations:
{{ toYaml . | nindent 8 }}
{{- end }}
{{- with (.Values.healthDiscovery).affinity }}
affinity:
{{ toYaml . | nindent 8 }}
{{- end }}
{{- with (.Values.healthDiscovery).nodeSelector }}
nodeSelector:
{{ toYaml . | nindent 8 }}
{{- end }}
status: {}
12 changes: 12 additions & 0 deletions charts/health-discovery/templates/solr-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,16 @@ spec:
- name: solrvol
persistentVolumeClaim:
claimName: solrvol
{{- with (.Values.solr).tolerations }}
tolerations:
{{ toYaml . | nindent 8 }}
{{- end }}
{{- with (.Values.solr).affinity }}
affinity:
{{ toYaml . | nindent 8 }}
{{- end }}
{{- with (.Values.solr).nodeSelector }}
nodeSelector:
{{ toYaml . | nindent 8 }}
{{- end }}
status: {}