-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: define extra app config which generates ConfigMap (#23)
* feat: define extra app config which generates ConfigMap * change appConfig from multiline string to dict * docs: document the usage of appConfig key to generate ConfigMap automatically * chore: load ConfigMap with tplvalues from Bitnami common instead of just toYaml * tests: appConfig and extraVolumes * docs: warn about appConfig vs extraAppConfig priority * docs: reference section with MarkDown link Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com> * docs: reference Backstage config docs and template to clarify config priority * docs: typo Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com> * fix: run helm-docs * fix: do not use specific drivers on CI tests * chore: bump minor version Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com>
- Loading branch information
1 parent
3f3a618
commit ff60712
Showing
9 changed files
with
86 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
backstage: | ||
appConfig: | ||
app: | ||
# Let's test that everything is fine with comments | ||
title: The very best Backstage Helm Chart! :D | ||
baseUrl: https://somedomain.tl | ||
backend: | ||
baseUrl: https://somedomain.tl | ||
listen: | ||
port: 12345 |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
backstage: | ||
extraVolumeMounts: | ||
- name: test | ||
mountPath: /somepath | ||
readOnly: true | ||
extraVolumes: | ||
- name: test | ||
emptyDir: | ||
sizeLimit: 5Mi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{{- if .Values.backstage.appConfig }} | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: backstage-app-config | ||
data: | ||
app-config.yaml: | | ||
{{- include "common.tplvalues.render" ( dict "value" .Values.backstage.appConfig "context" $) | nindent 4 }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters