Commit d3f25e8
Exclude watcher-operator-index- image in env_op_images role
watcher-operator is going to shipped as a standalone operator.
It is going to be installed via olm seperatly from index image in openstack-operators
namespace.
when env_ops_images creates operator_images dictionary, it goes over all
the pods listed under openstack-operators namespace with label openstack.org/operator-name
which does not exists for watcher-operator-index- pod. It fails with
following error[1]:
```
The task includes an option with an undefined variable.
The error was: 'dict object' has no attribute 'openstack.org/operator-name'. 'dict object' has no attribute 'openstack.org/operator-name'
```
This pr excluded the watcher-operator-index- pod to fix the issue.
Links:
[1]. openstack-k8s-operators/watcher-operator#9 (comment)
Signed-off-by: Chandan Kumar <[email protected]>1 parent ac382fa commit d3f25e8
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
| 122 | + | |
| 123 | + | |
123 | 124 | | |
124 | 125 | | |
125 | 126 | | |
| |||
0 commit comments