-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install Script Does Not Work with kubectl Ordering #50
Comments
namespace is included in the release.yml (https://github.com/vmware-tanzu/carvel-kapp-controller/blob/develop/config/namespace.yml). |
Yes, I did see that after a follow up. I am getting the following error when running:
|
This is when using
|
Reordering the script as follows works with namespace creation coming first:
|
ugh kubectl ordering. we could probably order ytt files by prefixing them. but general answer here is -- use kapp. |
This seems like a valid use case. One benefit of using kapp-controller is that you wouldn't need to install any other Carvel tools locally. |
fixed in 00ccf87 |
Will close once new script is released. |
Following the install instructions for kapp-controller, there is no mention of needing to create the
kapp-controller
namespace before usingkapp
orkubectl
.One approach to resolving this would be to actually include the creation of the
kapp-controller
namespace as part of the script. An alternative is to update the documentation so users are aware of the step before installing.EDIT
This issue is actually about how
kubectl
needs the namespace resource to come before all other dependent resources in the release script as shown here. Thekapp
install process should still work as expected.The text was updated successfully, but these errors were encountered: