Skip to content

Conversation

@shellclear
Copy link

SUMMARY

This PR try to make it more consistent with the type we use in the awx-operator and to prevent input user errors due to the possibility of entering any value when defining it in the CR, as the variable allows the string type.

ADDITIONAL INFORMATION

This change was also applied to the awx-operator repository, and during a discussion in the PR submitted to that repository, we concluded that it might be interesting to apply the same change here in the galaxy-operator.

#182
ansible/awx-operator#2014

type: string
description: Sets the maximum allowed size of the client request body in megabytes (defaults to 10M)
default: 10
type: integer
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The galaxy-operator change would be a breaking change for anyone who is currently setting nginx_client_max_body_size on their Galaxy.spec right if I understand correctly.

I don't think we should do a breaking change like this until we can cut a new apiVersion for the Galaxy CRD. So I think we need to make it backwards compatible if we are going to merge this. And since the validation happens on the CRD when it is applied, I don't see a clean way to add backwards compatibility without adding a new apiVersion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants