Rename pvc name var to be consistent with other backup variables

This commit is contained in:
Christian M. Adams
2021-03-24 11:27:08 -04:00
parent 54efda1a25
commit 9e44e21a66
4 changed files with 6 additions and 6 deletions

View File

@@ -6,5 +6,5 @@ metadata:
spec:
tower_backup_pvc: ''
tower_backup_size: ''
tower_postgres_storage_class: ''
tower_backup_storage_class: ''
tower_postgres_configuration_secret: ''

View File

@@ -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'
```

View File

@@ -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:

View File

@@ -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: ''