Skip to content

Commit

Permalink
Bugfixes to secrets and gh workflow (#35)
Browse files Browse the repository at this point in the history
* added missing `kubetail.secrets.enabled` handler
* fixed repo name in github release workflow
* bumped kubetail chart version number
  • Loading branch information
amorey authored Apr 28, 2024
1 parent e6fe288 commit 1869e51
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,5 @@ jobs:
if [ -z "${pkg:-}" ]; then
break
fi
helm push "${pkg}" "oci://ghcr.io/${GITHUB_REPOSITORY_OWNER}/helm"
helm push "${pkg}" "oci://ghcr.io/${GITHUB_REPOSITORY_OWNER}/helm-charts"
done
2 changes: 1 addition & 1 deletion charts/kubetail/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ keywords:
- private
- realtime
type: application
version: 0.4.1
version: 0.4.2
appVersion: "0.4.5"
home: https://github.com/kubetail-org/kubetail
maintainers:
Expand Down
2 changes: 2 additions & 0 deletions charts/kubetail/templates/secret.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{{- $secret := index .Values "kubetail" "secret" -}}
{{- if $secret.enabled }}
kind: Secret
apiVersion: v1
metadata:
Expand All @@ -22,3 +23,4 @@ data:
{{- end }}
KUBETAIL_CSRF_SECRET: {{ $secret.KUBETAIL_CSRF_SECRET | default $currentValsRef.data.KUBETAIL_CSRF_SECRET | default ((randAlphaNum 32) | b64enc | quote) }}
KUBETAIL_SESSION_SECRET: {{ $secret.KUBETAIL_SESSION_SECRET | default $currentValsRef.data.KUBETAIL_SESSION_SECRET | default ((randAlphaNum 32) | b64enc | quote) }}
{{- end }}

0 comments on commit 1869e51

Please sign in to comment.