File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -111,6 +111,9 @@ Defining the spec for an Ansible Operator can be done entirely in Ansible. The
111
111
Ansible Operator will simply pass all key value pairs listed in the Custom
112
112
Resource spec field along to Ansible as
113
113
[variables](https://docs.ansible.com/ansible/2.5/user_guide/playbooks_variables.html#passing-variables-on-the-command-line).
114
+ The names of all variables in the spec field are converted to snake_case
115
+ by the operator before running ansible. For example, `serviceAccount` in
116
+ the spec becomes `service_account` in ansible.
114
117
It is recommended that you perform some type validation in Ansible on the
115
118
variables to ensure that your application is receiving expected input.
116
119
You can’t perform that action at this time.
0 commit comments