Skip to content

Commit

Permalink
Remove invalid default from
Browse files Browse the repository at this point in the history
  • Loading branch information
nineinchnick committed Oct 3, 2024
1 parent 36a4833 commit 1fb52c4
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
9 changes: 8 additions & 1 deletion charts/trino/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,14 @@ Fast distributed SQL query engine for big data analytics that helps you explore

When true, only the content in `repository` is used as image reference
* `image.pullPolicy` - string, default: `"IfNotPresent"`
* `imagePullSecrets[0].name` - string, default: `"registry-credentials"`
* `imagePullSecrets` - object, default: `{}`

An optional list of references to secrets in the same namespace to use for pulling images.
Example:
```yaml
imagePullSecrets:
- name: registry-credentials
```
* `server.workers` - int, default: `2`
* `server.node.environment` - string, default: `"production"`
* `server.node.dataDir` - string, default: `"/data/trino"`
Expand Down
2 changes: 2 additions & 0 deletions charts/trino/templates/deployment-coordinator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,10 @@ spec:
initContainers:
{{- tpl (toYaml .Values.initContainers.coordinator) . | nindent 6 }}
{{- end }}
{{- if .Values.imagePullSecrets}}
imagePullSecrets:
{{- toYaml .Values.imagePullSecrets | nindent 8 }}
{{- end }}
terminationGracePeriodSeconds: {{ .Values.coordinator.terminationGracePeriodSeconds }}
containers:
- name: {{ .Chart.Name }}-coordinator
Expand Down
10 changes: 8 additions & 2 deletions charts/trino/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,14 @@ image:
useRepositoryAsSoleImageReference: false
pullPolicy: IfNotPresent

imagePullSecrets:
- name: registry-credentials
# -- An optional list of references to secrets in the same namespace to use for pulling images.
# @raw
# Example:
# ```yaml
# imagePullSecrets:
# - name: registry-credentials
# ```
imagePullSecrets: {}

server:
workers: 2
Expand Down

0 comments on commit 1fb52c4

Please sign in to comment.