Skip to content

Commit

Permalink
Merge pull request #20 from gravitational/fred/secret-format-fix-1
Browse files Browse the repository at this point in the history
Fixed incorrect secret manifest formatting
  • Loading branch information
fheinecke authored Mar 8, 2024
2 parents 622e804 + bb014a4 commit 16d02ed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Fixed
- Fixed incorrect secret manifest formatting

## [0.0.4] - 2024-03-07
### Added
Expand Down
3 changes: 2 additions & 1 deletion helm/templates/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ metadata:
{{- include "gha-exporter.labels" . | nindent 4 }}
type: Opaque
stringData:
GHA_APP_KEY: {{ .Values.exporter.githubApp.privateKey }}
GHA_APP_KEY: |
{{ .Values.exporter.githubApp.privateKey | indent 6 }}
{{- else }}
{{- $_ := required
".Values.exporter.githubApp.privateKey or .Values.exporter.githubApp.privateKeySecretName must be set"
Expand Down

0 comments on commit 16d02ed

Please sign in to comment.