-
Notifications
You must be signed in to change notification settings - Fork 69
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
refactor(bundle): kustomize changes #1375
Conversation
🤖 Created branch: z_pr1375/SteveMattar/kustomize |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my comments, let's setup a meeting tomorrow with @skitt
packagemanifests/0.9.0/submariner.v0.9.0.clusterserviceversion.yaml
Outdated
Show resolved
Hide resolved
packagemanifests/0.9.0/submariner.v0.9.0.clusterserviceversion.yaml
Outdated
Show resolved
Hide resolved
packagemanifests/0.9.0/submariner.v0.9.0.clusterserviceversion.yaml
Outdated
Show resolved
Hide resolved
@skitt @mangelajo can you please review? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I would like to keep a pointer still to subctl, before anybody ventures into standalone operator management they should know that subctl is available and that we prefer that solution instead.
If running on an OpenShift cluster, perform the following steps to bind the Submariner service accounts to the **privileged** SCC. | ||
|
||
```shell | ||
oc adm policy add-scc-to-user privileged system:serviceaccount:submariner-operator:submariner-gateway | ||
oc adm policy add-scc-to-user privileged system:serviceaccount:submariner-operator:submariner-routeagent | ||
oc adm policy add-scc-to-user privileged system:serviceaccount:submariner-operator:submariner-globalnet | ||
oc adm policy add-scc-to-user privileged system:serviceaccount:submariner-operator:submariner-lighthouse-coredns | ||
``` | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we move these under the suggested "#### Deployment with the operator (without subctl)" ? as those wouldn't apply to subctl?
echo export PATH=\$PATH:~/.local/bin >> ~/.profile | ||
``` | ||
Deploy the broker: | ||
On the broker cluster: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On the broker cluster: | |
#### Deployment with subctl | |
For deploying the submariner operator and submariner we recommend the use of subctl. Please have a look at our [quickstarts](https://submariner.io/getting-started/quickstart/) for more details. | |
#### Deployment with the operator (without subctl) | |
On the broker cluster: |
@@ -103,61 +121,71 @@ spec: | |||
For complete information about subctl, please refer to [this page](https://submariner.io/operations/deployment/subctl). | |||
In addition to Operator and subctl, Submariner also provides [Helm Charts](https://submariner.io/operations/deployment/helm). | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
### Deployment | |
Submariner provides an [Operator](https://github.com/submariner-io/submariner-operator) for easy API-based | |
installation and management. | |
A command line utility, [subctl](https://github.com/submariner-io/submariner-operator/releases), wraps the | |
Operator to aid users with manual deployments and easy experimentation. | |
subctl greatly simplifies the deployment of Submariner, and is therefore the recommended deployment method. | |
For complete information about subctl, please refer to [this page](https://submariner.io/operations/deployment/subctl). | |
In addition to Operator and subctl, Submariner also provides [Helm Charts](https://submariner.io/operations/deployment/helm). |
@mangelajo subctl
is mentioned here. There is a reference with a link for all sort of deployments we provide: subctl, helm,...
I think this specific description should focus on the bundle installation only and if the user wants to use a different method he should follow our documentation.
Does it make sense?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I want to highlight that they should use subctl as first option, unless they have a good reason to use the operator standalone. As it will save many general issues.
Do you think there is a better way to highlight it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In our current description we recommend for subctl:
subctl greatly simplifies the deployment of Submariner, and is therefore the recommended deployment method
We can maybe rephrase the sentence to make the message even more clear.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Signed-off-by: Steve Mattar <smattar@redhat.com>
Signed-off-by: Steve Mattar <smattar@redhat.com>
Signed-off-by: Steve Mattar <smattar@redhat.com>
Signed-off-by: Steve Mattar <smattar@redhat.com>
Signed-off-by: Steve Mattar <smattar@redhat.com>
Signed-off-by: Steve Mattar <smattar@redhat.com>
Signed-off-by: Steve Mattar <smattar@redhat.com>
🤖 Closed branches: [z_pr1375/SteveMattar/kustomize] |
This is relevant only for deploying submariner using the bundle.
When working with
subctl
the manifests definition and objects creation are handled automatically, but when it comes to the operator bundle we have to make sure those resources are aligned.Note: The
submariner-k8s-broker
namespace cannot be created during the operator bundle installation.The user has to make sure the namespace exists before installing the bundle.
Same for the SCC on Openshift.
Backported in #1398