Skip to content

Commit

Permalink
Revert change to cast settings values to strings as they could be nes…
Browse files Browse the repository at this point in the history
…ted (#1756)

- We cast the settings value to a string so that it would display
  properly in the Openshift UI. Unfortunately, the k8s validator will no
  longer allow arrays for settings values.
  • Loading branch information
rooftopcellist authored Mar 12, 2024
1 parent ed6ac1a commit d5a3cb7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions config/crd/bases/awx.ansible.com_awxs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1889,13 +1889,12 @@ spec:
description: Set log level of receptor service
type: string
extra_settings:
description: Extra settings to specify for the API
description: Extra settings to specify for AWX
items:
properties:
setting:
type: string
value:
type: string
x-kubernetes-preserve-unknown-fields: true
type: object
type: array
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -952,6 +952,7 @@ spec:
path: extra_settings
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:advanced
- urn:alm:descriptor:com.tectonic.ui:hidden
- displayName: No Log Configuration
path: no_log
x-descriptors:
Expand Down

0 comments on commit d5a3cb7

Please sign in to comment.