Skip to content

Commit 86aa9b2

Browse files
author
Corey Daley
authored
feature: Remove Audit Log PVC (#47)
https://issues.redhat.com/browse/RHIDP-4922
1 parent bc193ee commit 86aa9b2

5 files changed

Lines changed: 3 additions & 38 deletions

File tree

charts/backstage/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@ sources:
4545
# This is the chart version. This version number should be incremented each time you make changes
4646
# to the chart and its templates, including the app version.
4747
# Versions are expected to follow Semantic Versioning (https://semver.org/)
48-
version: 2.21.0
48+
version: 2.22.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.21.0](https://img.shields.io/badge/Version-2.21.0-informational?style=flat-square)
5+
![Version: 2.22.0](https://img.shields.io/badge/Version-2.22.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.
Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,10 @@
11
kind: PersistentVolumeClaim
22
apiVersion: v1
3-
metadata:
4-
name: {{ printf "%s-audit-log" .Release.Name }}
5-
spec:
6-
accessModes:
7-
- ReadWriteOnce
8-
resources:
9-
requests:
10-
storage: 1Gi
11-
---
12-
kind: PersistentVolumeClaim
13-
apiVersion: v1
143
metadata:
154
name: {{ printf "%s-dynamic-plugins-root" .Release.Name }}
165
spec:
176
accessModes:
187
- ReadWriteOnce
198
resources:
209
requests:
21-
storage: 5Gi
10+
storage: 5Gi

charts/backstage/values.schema.json

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -954,11 +954,6 @@
954954
"app": {
955955
"baseUrl": "https://{{- include \"janus-idp.hostname\" . }}"
956956
},
957-
"auditLog": {
958-
"rotateFile": {
959-
"enabled": true
960-
}
961-
},
962957
"auth": {
963958
"providers": {}
964959
},
@@ -2596,10 +2591,6 @@
25962591
{
25972592
"mountPath": "/opt/app-root/src/dynamic-plugins-root",
25982593
"name": "dynamic-plugins-root"
2599-
},
2600-
{
2601-
"mountPath": "/var/log/redhat-developer-hub/audit",
2602-
"name": "audit-log-data"
26032594
}
26042595
],
26052596
"items": {
@@ -2651,12 +2642,6 @@
26512642
"claimName": "{{ printf \"%s-dynamic-plugins-root\" .Release.Name }}"
26522643
}
26532644
},
2654-
{
2655-
"name": "audit-log-data",
2656-
"persistentVolumeClaim": {
2657-
"claimName": "{{ printf \"%s-audit-log\" .Release.Name }}"
2658-
}
2659-
},
26602645
{
26612646
"configMap": {
26622647
"defaultMode": 420,

charts/backstage/values.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,6 @@ upstream:
4747
# create multiple DBs. Since Backstage requires by default 5 different DBs, we
4848
# can't accommodate that properly.
4949
appConfig:
50-
auditLog:
51-
rotateFile:
52-
enabled: true
5350
auth:
5451
providers: {}
5552
app:
@@ -123,16 +120,10 @@ upstream:
123120
# The initContainer below will install dynamic plugins in this volume mount.
124121
- name: dynamic-plugins-root
125122
mountPath: /opt/app-root/src/dynamic-plugins-root
126-
# Audit Log data will be stored in this volume mount.
127-
- name: audit-log-data
128-
mountPath: /var/log/redhat-developer-hub/audit
129123
extraVolumes:
130124
- name: dynamic-plugins-root
131125
persistentVolumeClaim:
132126
claimName: '{{ printf "%s-dynamic-plugins-root" .Release.Name }}'
133-
- name: audit-log-data
134-
persistentVolumeClaim:
135-
claimName: '{{ printf "%s-audit-log" .Release.Name }}'
136127
# Volume that will expose the `dynamic-plugins.yaml` file from the `dynamic-plugins` config map.
137128
# The `dynamic-plugins` config map is created by the helm chart from the content of the `global.dynamic` field.
138129
- name: dynamic-plugins

0 commit comments

Comments
 (0)