feat(ctl): Namespace separation and support skipping release installation#79
Conversation
sbernauer
left a comment
There was a problem hiding this comment.
Not tested it yet, waiting for non-draft PR with that
Co-authored-by: Sebastian Bernauer <sebastian.bernauer@stackable.de>
sbernauer
left a comment
There was a problem hiding this comment.
Haven't had the time to actually use and test it yet :/
The final missing pice from #259 would be
Demos have the possibility to say "i can only run in stackable-demo" namespace (in stacks.yaml or demo.yaml). If they do so, a warning is printed when they are installed in a different namespace, saying the demo will likely not work. This can be the case as we have to use FQDN service names so that the TLS certs are valid
We could do it in a follow-up PR but I think it should not be that complicated
Co-authored-by: Sebastian Bernauer <sebastian.bernauer@stackable.de>
sbernauer
left a comment
There was a problem hiding this comment.
cargo r -p stackablectl -- stack in trino-superset-s3 -c kind
Finished dev [unoptimized + debuginfo] target(s) in 0.10s
Running `target/debug/stackablectl stack in trino-superset-s3 -c kind`
Error: stack command error
Caused by these errors (recent errors listed first):
1: stack error
2: release install error *
3: failed with Helm error *
4: failed to install Helm release *
5: helm error: create: failed to create: namespaces "stackable-operators" not found
NOTE: Some redundant information has been removed from the lines marked with *. Set SNAFU_RAW_ERROR_MESSAGES=1 to disable this behavior.
|
Change LGTM, did play around and bit and gave feedback via PN |
sbernauer
left a comment
There was a problem hiding this comment.
The only thing missing from #259 is:
stackablectl tries to create specified namespaces if not existing
- If this fails because of missing permissions an error is thrown as the user is suggested to specify operators and demo namespace manually
sbernauer
left a comment
There was a problem hiding this comment.
Thanks for working on this!
Fixes #259
Needs #274