mirror of
https://github.com/ansible/awx-operator.git
synced 2026-03-26 21:33:14 +00:00
Rename pvc name var to be consistent with other backup variables
This commit is contained in:
@@ -6,5 +6,5 @@ metadata:
|
||||
spec:
|
||||
tower_backup_pvc: ''
|
||||
tower_backup_size: ''
|
||||
tower_postgres_storage_class: ''
|
||||
tower_backup_storage_class: ''
|
||||
tower_postgres_configuration_secret: ''
|
||||
|
||||
@@ -30,7 +30,7 @@ metadata:
|
||||
namespace: my-namespace
|
||||
```
|
||||
|
||||
Finally, use `kubectl` to create the awx instance in your cluster:
|
||||
Finally, use `kubectl` to create the backup object in your cluster:
|
||||
|
||||
```bash
|
||||
#> kubectl apply -f backup-awx.yml
|
||||
@@ -53,7 +53,7 @@ tower_backup_pvc: 'awx-backup-volume-claim'
|
||||
This role will automatically create a pvc using a Storage Class if provided:
|
||||
|
||||
```
|
||||
tower_postgres_storage_class: 'standard'
|
||||
tower_backup_storage_class: 'standard'
|
||||
tower_backup_size: '20Gi'
|
||||
```
|
||||
|
||||
|
||||
@@ -7,8 +7,8 @@ metadata:
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
{% if tower_postgres_storage_class != '' %}
|
||||
storageClassName: {{ tower_postgres_storage_class }}
|
||||
{% if tower_backup_storage_class != '' %}
|
||||
storageClassName: {{ tower_backup_storage_class }}
|
||||
{% endif %}
|
||||
resources:
|
||||
requests:
|
||||
|
||||
@@ -7,7 +7,7 @@ tower_backup_pvc: ''
|
||||
tower_backup_size: ''
|
||||
|
||||
# Specify storage class to determine how to dynamically create PVC's with
|
||||
tower_postgres_storage_class: ''
|
||||
tower_backup_storage_class: ''
|
||||
|
||||
# Secret to lookup that provide the PostgreSQL configuration
|
||||
tower_postgres_configuration_secret: ''
|
||||
|
||||
Reference in New Issue
Block a user