mirror of
https://github.com/ansible/awx-operator.git
synced 2026-03-26 21:33:14 +00:00
Fix backup reconciliation loop, add error status
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
---
|
||||
apiVersion: apiextensions.k8s.io/v1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
@@ -11,12 +12,21 @@ spec:
|
||||
singular: awxbackup
|
||||
scope: Namespaced
|
||||
versions:
|
||||
- name: v1beta1
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
type: object
|
||||
x-kubernetes-preserve-unknown-fields: true
|
||||
served: true
|
||||
storage: true
|
||||
subresources:
|
||||
status: {}
|
||||
- name: v1beta1
|
||||
served: true
|
||||
storage: true
|
||||
subresources:
|
||||
status: {}
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
type: object
|
||||
x-kubernetes-preserve-unknown-fields: true
|
||||
description: Schema validation for the AWXBackup CRD
|
||||
# TODO: Figure out how to require the tower_name field
|
||||
properties:
|
||||
spec:
|
||||
type: object
|
||||
properties:
|
||||
tower_name:
|
||||
description: Name of the deployment to be backed up
|
||||
type: string
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
---
|
||||
apiVersion: awx.ansible.com/v1beta1
|
||||
kind: AWXBackup
|
||||
metadata:
|
||||
name: example-awxbackup
|
||||
namespace: example-awx
|
||||
spec:
|
||||
tower_name: ''
|
||||
tower_backup_pvc: ''
|
||||
tower_backup_size: ''
|
||||
tower_backup_storage_class: ''
|
||||
|
||||
Reference in New Issue
Block a user