debuginfod: follow storage PV rename into PVC objects

This commit is contained in:
Frank Ch. Eigler 2021-03-19 13:58:22 -04:00 committed by pingou
parent 8b5b37cd4b
commit 9c2a3b93d9
2 changed files with 3 additions and 3 deletions

View file

@ -36,7 +36,7 @@
- role: openshift/object
app: debuginfod
file: storage.yml
template: storage.yml
objectname: storage.yml
- role: openshift/route

View file

@ -15,7 +15,7 @@ spec:
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: debuginfod-volume
name: debuginfod-storage{{ '-stg' if env == 'staging' else '' }}
spec:
storageClassName: ""
accessModes:
@ -23,4 +23,4 @@ spec:
resources:
requests:
storage: 300Gi
volumeName: debuginfod-volume
volumeName: debuginfod-storage{{ '-stg' if env == 'staging' else '' }}