Skip to content

Commit

Permalink
Update helm template with new parameters
Browse files Browse the repository at this point in the history
Signed-off-by: M Essam Hamed <github@messam.xyz>
  • Loading branch information
mohamed-essam committed Jan 18, 2024
1 parent 89cd372 commit ad36db3
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions helm/sealed-secrets/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ The command removes all the Kubernetes components associated with the chart and
| `privateKeyAnnotations` | Map of annotations to be set on the sealing keypairs | `{}` |
| `privateKeyLabels` | Map of labels to be set on the sealing keypairs | `{}` |
| `logInfoStdout` | Specifies whether the Sealed Secrets controller will log info to stdout | `false` |
| `logLevel` | Specifies log level of controller (DEBUG,INFO,WARN,ERROR) | `""` |
| `logFormat` | Specifies log format (text,json) | `""` |
| `command` | Override default container command | `[]` |
| `args` | Override default container args | `[]` |
| `livenessProbe.enabled` | Enable livenessProbe on Sealed Secret containers | `true` |
Expand Down
8 changes: 8 additions & 0 deletions helm/sealed-secrets/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,14 @@ spec:
{{- if .Values.logInfoStdout }}
- --log-info-stdout
{{- end }}
{{- if .Values.logLevel }}
- --log-level
- {{ .Values.logLevel }}
{{- end }}
{{- if .Values.logFormat }}
- --log-level
- {{ .Values.logFormat }}
{{- end }}
{{- end }}
image: {{ printf "%s/%s:%s" .Values.image.registry .Values.image.repository .Values.image.tag }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
Expand Down
6 changes: 6 additions & 0 deletions helm/sealed-secrets/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,12 @@ privateKeyLabels: {}
## @param logInfoStdout Specifies whether the Sealed Secrets controller will log info to stdout
##
logInfoStdout: false
## @param logLevel Specifies log level of controller (DEBUG,INFO,WARN,ERROR)
##
logLevel: ""
## @param logFormat Specifies log format (text,json)
##
logFormat: ""
## @param command Override default container command
##
command: []
Expand Down

0 comments on commit ad36db3

Please sign in to comment.