Skip to content
This repository has been archived by the owner on Feb 2, 2024. It is now read-only.

Commit

Permalink
Dynamic plugins config map as a template
Browse files Browse the repository at this point in the history
Signed-off-by: David Festal <dfestal@redhat.com>
  • Loading branch information
davidfestal committed Oct 24, 2023
1 parent c7888ff commit 9259d0b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
8 changes: 8 additions & 0 deletions charts/backstage/templates/dynamic-plugins-configmap.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: dynamic-plugins
data:
dynamic-plugins.yaml: >
{{- include "common.tplvalues.render" ( dict "value"
.Values.global.dynamic "context" $) | nindent 4 }}
11 changes: 0 additions & 11 deletions charts/backstage/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,17 +123,6 @@ upstream:
ingress:
host: "{{ .Values.global.host }}"

extraDeploy:
- |
apiVersion: v1
data:
dynamic-plugins.yaml: |
{{- include "common.tplvalues.render" ( dict "value"
.Values.global.dynamic "context" $) | nindent 4 }}
kind: ConfigMap
metadata:
name: dynamic-plugins
# -- OpenShift Route parameters
route:
# -- Route specific annotations
Expand Down

0 comments on commit 9259d0b

Please sign in to comment.