Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions components/ra/request-consumables/base/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,19 @@ spec:
env:
- name: CONFIG_PATH
value: /FBS/.env
envFrom:
- secretRef:
name: request-consumables
volumeMounts:
- name: env-config
mountPath: "/FBS"
readOnly: true
- name: common-views
mountPath: "/app/build/common-views"
readOnly: true
- name: common-public
mountPath: "/app/build/common-public"
readOnly: true
readinessProbe:
httpGet:
path: /consumables/health/ready
Expand All @@ -46,3 +52,9 @@ spec:
- name: env-config
secret:
secretName: request-consumables-environment
- name: common-views
configMap:
name: common-pug-views-2026
- name: common-public
configMap:
name: common-pug-public-2026
14 changes: 0 additions & 14 deletions components/ra/request-consumables/overlays/dev/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,3 @@ spec:
env:
- name: NODE_ENV
value: development
envFrom:
- secretRef:
name: request-consumables
volumeMounts:
- name: common-public
mountPath: "/app/build/common-public"
readOnly: true
volumes:
- name: common-views
configMap:
name: common-pug-views-2026
- name: common-public
configMap:
name: common-pug-public-2026
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ resources:
namespace: apps

patches:
- path: deployment.yaml
- path: deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,7 @@ spec:
spec:
containers:
- name: request-consumables
image: ghcr.io/isisbusapps/request-consumables:1.2.0
image: ghcr.io/isisbusapps/request-consumables:1.3.0
env:
- name: NODE_ENV
value: production
volumeMounts:
- name: common-js
mountPath: "/app/build/common-public/js"
readOnly: true
volumes:
- name: common-views
configMap:
name: common-pug-views
- name: common-js
configMap:
name: common-pug-content-js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ kind: Kustomization

resources:
- ../../base
- static-secret.yaml

namespace: apps

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
apiVersion: secrets.hashicorp.com/v1beta1
kind: VaultStaticSecret
metadata:
name: request-consumables
namespace: apps
spec:
type: kv-v2
refreshAfter: 30s
vaultAuthRef: static-auth

mount: reviews_and_allocations
path: prod/request-consumables
destination:
name: request-consumables
overwrite: true
create: true
Loading