Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor nocodb template variable names for minio secret #205

Merged
merged 1 commit into from
Oct 18, 2024
Merged
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
2 changes: 1 addition & 1 deletion charts/nocodb/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.3.2
version: 0.3.3

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 1 addition & 1 deletion charts/nocodb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@



![Version: 0.3.2](https://img.shields.io/badge/Version-0.3.2-informational?style=flat-square)
![Version: 0.3.3](https://img.shields.io/badge/Version-0.3.3-informational?style=flat-square)

A Helm chart for Kubernetes

Expand Down
8 changes: 4 additions & 4 deletions charts/nocodb/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -241,16 +241,16 @@ Get the credentials secret.
{{- end -}}

{{- define "nocodb.minio.rootUserKey" -}}
{{- if .Values.minio.auth.existingSecretRootUserKey -}}
{{- printf "%s" .Values.minio.auth.existingSecretRootUserKey -}}
{{- if .Values.minio.auth.rootUserSecretKey -}}
{{- printf "%s" .Values.minio.auth.rootUserSecretKey -}}
{{- else -}}
{{- print "root-user" -}}
{{- end -}}
{{- end -}}

{{- define "nocodb.minio.rootPasswordKey" -}}
{{- if .Values.minio.auth.existingSecretRootPasswordKey -}}
{{- printf "%s" .Values.minio.auth.existingSecretRootPasswordKey -}}
{{- if .Values.minio.auth.rootPasswordSecretKey -}}
{{- printf "%s" .Values.minio.auth.rootPasswordSecretKey -}}
{{- else -}}
{{- print "root-password" -}}
{{- end -}}
Expand Down