Open amitsadaphule opened 3 years ago
@amitsadaphule Thanks for opening. The order yaml files are applied isn't great sometimes. To work around this issue for now, you can retry the installer script multiple times. If a resource is not created on the first pass, a second pass should fix it.
Thanks @JohnStarich for the response! I'm using that as a workaround currently. :)
SUMMARY
I built the operator code and tried to install on k8s cluster by following these steps. But the application of the last 3 yaml files fails due to missing namespace. Log pasted below:
However, it was seen that the namespace gets created as expected. The issue seems to be that the remaining dependent yaml files are applied too soon. There needs to be some check for namespace before applying the rest of the dependent yamls:
Manually applying the yamls later works fine and the operator pod comes up properly.
VERSION
v1.0.7
OS, environment
Ubuntu 16.04 x86_64 Go 1.15.7
Steps to reproduce the problem
Please help me resolve this issue. Thanks!