Introduce set_self_labels in CRDs

To allow skipping labels maintenance on CRs processed by the operator.
Resolves https://github.com/ansible/awx-operator/issues/756
This commit is contained in:
Stanislav Zaprudskiy
2022-07-07 17:59:54 +02:00
parent 7697825944
commit 36355b6a15
9 changed files with 24 additions and 0 deletions

View File

@@ -493,6 +493,10 @@ spec:
description: Should AWX instances be automatically upgraded when operator gets upgraded
type: boolean
default: true
set_self_labels:
description: Maintain some of the recommended `app.kubernetes.io/*` labels on the resource (self)
type: boolean
default: true
type: object
status:
properties:

View File

@@ -58,6 +58,10 @@ spec:
no_log:
description: Configure no_log for no_log tasks
type: string
set_self_labels:
description: Maintain some of the recommended `app.kubernetes.io/*` labels on the resource (self)
type: boolean
default: true
status:
type: object
properties:

View File

@@ -59,6 +59,10 @@ spec:
no_log:
description: Configure no_log for no_log tasks
type: string
set_self_labels:
description: Maintain some of the recommended `app.kubernetes.io/*` labels on the resource (self)
type: boolean
default: true
status:
type: object
properties: