mirror of
https://github.com/ansible/awx-operator.git
synced 2026-03-26 21:33:14 +00:00
restore: Set deployment_name as required
The deployment_name from the AWXRestore CR doesn't requires to set a value for this parameter. That parameter is already required for the AWXBackup CR so it should be the same for AWXRestore. Creating an AWXRestore CR without deployment_name set results in a failure during the Secrets restoration. "reason":"FieldValueInvalid","message":"Invalid value: \\"-receptor-ca\\": a lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters, \'-\' or \'.\', and must start and end with an alphanumeric character (e.g. \'example.com\', regex used for validation is \'[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*\')" Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
This commit is contained in:
@@ -39,6 +39,8 @@ spec:
|
||||
spec:
|
||||
type: object
|
||||
x-kubernetes-preserve-unknown-fields: true
|
||||
required:
|
||||
- deployment_name
|
||||
properties:
|
||||
backup_source:
|
||||
description: Backup source
|
||||
|
||||
Reference in New Issue
Block a user