operator-framework / ansible-operator-plugins

Experimental extraction/refactoring of the Operator SDK's ansible operator plugin
Apache License 2.0
9 stars 20 forks source link

mark unsafe the non-spec obj parameter #66

Open gaelgatelement opened 5 months ago

gaelgatelement commented 5 months ago

There are two magic variables in ansible-operator, one for the _spec and containing the whole object. If we have some jinja syntax in the annotations or in the status, markUnsafe currently misses it and it fails when injecting the variable in the playbook/role.