Skip to content

Commit 4096934

Browse files
author
Corey Daley
authored
chore: add temp emptyDir volume and mounts (#93)
1 parent de96121 commit 4096934

4 files changed

Lines changed: 22 additions & 4 deletions

File tree

charts/backstage/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ sources:
4444
# This is the chart version. This version number should be incremented each time you make changes
4545
# to the chart and its templates, including the app version.
4646
# Versions are expected to follow Semantic Versioning (https://semver.org/)
47-
version: 2.29.0
47+
version: 2.30.0

charts/backstage/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# RHDH Backstage Helm Chart for OpenShift (Community Version)
33

44
[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/rhdh-chart&style=flat-square)](https://artifacthub.io/packages/search?repo=rhdh-chart)
5-
![Version: 2.29.0](https://img.shields.io/badge/Version-2.29.0-informational?style=flat-square)
5+
![Version: 2.30.0](https://img.shields.io/badge/Version-2.30.0-informational?style=flat-square)
66
![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
77

88
A Helm chart for deploying Red Hat Developer Hub.

charts/backstage/values.schema.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2628,6 +2628,10 @@
26282628
{
26292629
"mountPath": "/opt/app-root/src/dynamic-plugins-root",
26302630
"name": "dynamic-plugins-root"
2631+
},
2632+
{
2633+
"mountPath": "/tmp",
2634+
"name": "temp"
26312635
}
26322636
],
26332637
"items": {
@@ -2706,6 +2710,10 @@
27062710
{
27072711
"emptyDir": {},
27082712
"name": "npmcacache"
2713+
},
2714+
{
2715+
"emptyDir": {},
2716+
"name": "temp"
27092717
}
27102718
],
27112719
"items": {
@@ -4383,6 +4391,10 @@
43834391
{
43844392
"mountPath": "/opt/app-root/src/.npm/_cacache",
43854393
"name": "npmcacache"
4394+
},
4395+
{
4396+
"mountPath": "/tmp",
4397+
"name": "temp"
43864398
}
43874399
],
43884400
"workingDir": "/opt/app-root/src"

charts/backstage/values.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ global:
55
includes:
66
# -- List of dynamic plugins included inside the `janus-idp/backstage-showcase` container image, some of which are disabled by default.
77
# This file ONLY works with the `janus-idp/backstage-showcase` container image.
8-
- 'dynamic-plugins.default.yaml'
8+
- "dynamic-plugins.default.yaml"
99

1010
# -- List of dynamic plugins, possibly overriding the plugins listed in `includes` files.
1111
# Every item defines the plugin `package` as a [NPM package spec](https://docs.npmjs.com/cli/v10/using-npm/package-spec),
@@ -134,12 +134,14 @@ upstream:
134134
name: '{{- include "janus-idp.postgresql.secretName" . }}'
135135
args:
136136
# This additional `app-config`` file is generated by the initContainer below, and contains the merged configuration of installed dynamic plugins.
137-
- '--config'
137+
- "--config"
138138
- dynamic-plugins-root/app-config.dynamic-plugins.yaml
139139
extraVolumeMounts:
140140
# The initContainer below will install dynamic plugins in this volume mount.
141141
- name: dynamic-plugins-root
142142
mountPath: /opt/app-root/src/dynamic-plugins-root
143+
- name: temp
144+
mountPath: /tmp
143145
extraVolumes:
144146
- name: dynamic-plugins-root
145147
persistentVolumeClaim:
@@ -167,6 +169,8 @@ upstream:
167169
secretName: '{{ printf "%s-dynamic-plugins-registry-auth" .Release.Name }}'
168170
- name: npmcacache
169171
emptyDir: {}
172+
- name: temp
173+
emptyDir: {}
170174
initContainers:
171175
- name: install-dynamic-plugins
172176
resources:
@@ -211,6 +215,8 @@ upstream:
211215
readOnly: true
212216
- mountPath: /opt/app-root/src/.npm/_cacache
213217
name: npmcacache
218+
- name: temp
219+
mountPath: /tmp
214220
workingDir: /opt/app-root/src
215221
installDir: /opt/app-root/src
216222
podAnnotations:

0 commit comments

Comments
 (0)