1
0
Fork 0
forked from infra/ansible

bodhi-stg: define bodhi-valkey-storage pvc

Signed-off-by: Mattia Verga <mattia.verga@tiscali.it>
AI-assisted-by: Claude (Anthropic)
This commit is contained in:
Mattia Verga 2026-05-10 10:18:34 +02:00
commit 06fc965500
2 changed files with 17 additions and 0 deletions

View file

@ -73,6 +73,11 @@
object_app: bodhi
object_file: pvc.yml
object_objectname: pvc.yml
- role: openshift/object
object_app: bodhi
object_template: pvc.yml.j2
object_objectname: pvc-valkey.yml
when: env == "staging"
- role: openshift/keytab
keytab_app: bodhi
keytab_key: koji-keytab

View file

@ -0,0 +1,12 @@
{% if env == "staging" %}
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: bodhi-valkey-storage-stg
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
{% endif %}