Skip to content

Commit

Permalink
[gcloud-sqlproxy] add extraFlags (single-hyphen arguments) for contai…
Browse files Browse the repository at this point in the history
…ner command to run (#138)
  • Loading branch information
rverenich authored Jul 25, 2023
1 parent 4338879 commit 67e7d5d
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion stable/gcloud-sqlproxy/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ name: gcloud-sqlproxy
sources:
- https://github.com/rimusz/charts
type: application
version: 0.24.1
version: 0.24.2
1 change: 1 addition & 0 deletions stable/gcloud-sqlproxy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ The following table lists the configurable parameters of the `gcloud-sqlproxy` c
| `networkPolicy.enabled` | Enable NetworkPolicy | `false` |
| `networkPolicy.ingress.from` | List of sources which should be able to access the pods selected for this rule. If empty, allows all sources. | `[]` |
| `extraArgs` | Additional container arguments | `{}` |
| `extraFlags` | Additional container flags | `[]` |
| `podSecurityContext` | Configure Pod Security Context | `{}` |
| `containerSecurityContext` | Configure Container Security Context | `{}` |
| `livenessProbe.enabled` | Would you like a livenessProbe to be enabled | `false` |
Expand Down
3 changes: 3 additions & 0 deletions stable/gcloud-sqlproxy/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ spec:
{{- range $key, $value := .Values.extraArgs }}
- --{{ $key }}={{ $value }}
{{- end }}
{{- range .Values.extraFlags }}
- -{{ . }}
{{- end }}
{{- if .Values.env }}
env:
{{ toYaml .Values.env | indent 10 }}
Expand Down
5 changes: 5 additions & 0 deletions stable/gcloud-sqlproxy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,11 @@ podDisruptionBudget: |
extraArgs: {}
# term_timeout: 30s

## Additional container flags (single-hypen '-' arguments)
## Uncomment the log_debug_stdout line if you don't want connection-related messages to log as errors
extraFlags: []
# - log_debug_stdout

topologySpreadConstraints: []
## e.g.
# - maxSkew: 1
Expand Down

0 comments on commit 67e7d5d

Please sign in to comment.