-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace default namespace to runtime-component for kustomize artifacts
- Loading branch information
Showing
23 changed files
with
102 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,47 @@ | ||
= Installing the Runtime Component Operator using kustomize | ||
|
||
This directory contains kustomize files that can be used to install the operator | ||
in your cluster in various different configurations, and also some example overlays | ||
which show how the installation can be customized. | ||
This directory contains configuration files that helps installing the Runtime Component operator | ||
using `kustomize` with the Kubernetes command-line interface (CLI) (`kubectl`). These configurations | ||
are useful when the cluster is not a Red Hat® OpenShift® Container Platform cluster or when | ||
Operator Lifecycle Manager is not being used. | ||
|
||
== Install and watch own namespace | ||
== Installing and watching own namespace | ||
|
||
=== base | ||
The simplest configuration will install the operator into the 'default' namespace, and the operator | ||
will watch for Runtime Component custom resource instances only in its own namespace. To install, run: | ||
`kubectl create -k base` | ||
and to uninstall, run: | ||
`kubectl delete -k base` | ||
The base configuration installs the operator into the 'runtime-component' namespace, | ||
and the operator watches for Runtime Component custom resource instances only in its own namespace. | ||
Create a namespace called 'runtime-component' for the operator. | ||
To install, run: `kubectl create -k base` and to uninstall, run: `kubectl delete -k base` | ||
|
||
=== examples/watch-own-namespace | ||
This example overlay demonstrates how to modify the base configuration to install/watch a | ||
namespace other than 'default'. The example installs the operator to a namespace called | ||
'rco-ns' which should already exist. To install, run `kubectl create -k examples/watch-own-namespace` | ||
This example overlay demonstrates how to modify the base configuration to install the operator and have it | ||
watch a namespace other than 'runtime-component'. Create a namespace called 'rco-ns' for the operator. | ||
To install the operator into the 'rco-ns' namespace, run: `kubectl create -k examples/watch-own-namespace` | ||
|
||
== Install and watch another namespace | ||
== Installing and watching all namespaces | ||
|
||
=== overlays/watch-another-namespace | ||
This overlay installs the operator into the namespace 'rco-ns', but configures it to | ||
watch for Runtime Component custom resource instances in a different namespace called 'rco-watched-ns'. As | ||
this overlay install resources into two different namespaces, the namespace must not be specified | ||
in the kustomize.yaml file. To install, run `kubectl create -k overlays/watch-another-namespace` | ||
watch for Runtime Component custom resource instances in a different namespace called 'rco-watched-ns'. | ||
Because this overlay installs resources into two different namespaces, the namespace must not be specified | ||
in the kustomize.yaml file. To install, run: `kubectl create -k overlays/watch-another-namespace` | ||
|
||
=== examples/watch-another-namespace | ||
This example overlay builds on the previous one, but demonstrates how to change the | ||
install and watched namespaces. In this case, the operator is installed into 'rco-ns2' | ||
and it will watch for resources in 'rco-watched-ns2'. To install run `kubectl create -k | ||
This example overlay builds on the previous example, but demonstrates how to change | ||
the install and watched namespaces. In this case, the operator is installed into 'rco-ns2' | ||
and watches for resources in 'rco-watched-ns2'. To install run: `kubectl create -k | ||
examples/watch-another-namespace` | ||
|
||
== Install and watch all namespaces | ||
== Installing and watching all namespaces | ||
|
||
=== overlays/watch-all-namespaces | ||
This overlay installs the operator into the default namespace, but configures it | ||
to watch for Runtime Component custom resource instances in any namespace. Compared to the base, | ||
this requires additional ClusterRoles and ClusterRoleBindings. To install run: | ||
`kubectl create -k overlays/watch-all-namespaces` | ||
This overlay installs the operator into the 'runtime-component' namespace, | ||
but configures it to watch for Runtime Component custom resource instances in any namespaces. | ||
Compared to the base configuration, this overlay requires additional ClusterRoles and ClusterRoleBindings. | ||
To install, run: `kubectl create -k overlays/watch-all-namespaces` | ||
|
||
=== examples/watch-all-namespaces | ||
This example overlay builds on the previous one, and demonstrates how to change | ||
which namespace the operator is installed into. In this example, the operator | ||
is installed into a namespace called 'rco-ns', and will still watch for | ||
Runtime Component custom resource instances in any namespace. To install, run: | ||
`kubectl create -k examples/watch-all-namespaces` | ||
This example overlay builds on the previous example and demonstrates how to change | ||
the namespace that the operator installs into. In this example, the operator installs | ||
into a namespace that is called 'rco-ns' and watches for Runtime Component custom resource | ||
instances in any namespaces. To install, run: `kubectl create -k examples/watch-all-namespaces` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
internal/deploy/kustomize/1.2.0/overlays/watch-all-namespaces/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,47 @@ | ||
= Installing the Runtime Component Operator using kustomize | ||
|
||
This directory contains kustomize files that can be used to install the operator | ||
in your cluster in various different configurations, and also some example overlays | ||
which show how the installation can be customized. | ||
This directory contains configuration files that helps installing the Runtime Component operator | ||
using `kustomize` with the Kubernetes command-line interface (CLI) (`kubectl`). These configurations | ||
are useful when the cluster is not a Red Hat® OpenShift® Container Platform cluster or when | ||
Operator Lifecycle Manager is not being used. | ||
|
||
== Install and watch own namespace | ||
== Installing and watching own namespace | ||
|
||
=== base | ||
The simplest configuration will install the operator into the 'default' namespace, and the operator | ||
will watch for Runtime Component custom resource instances only in its own namespace. To install, run: | ||
`kubectl create -k base` | ||
and to uninstall, run: | ||
`kubectl delete -k base` | ||
The base configuration installs the operator into the 'runtime-component' namespace, | ||
and the operator watches for Runtime Component custom resource instances only in its own namespace. | ||
Create a namespace called 'runtime-component' for the operator. | ||
To install, run: `kubectl create -k base` and to uninstall, run: `kubectl delete -k base` | ||
|
||
=== examples/watch-own-namespace | ||
This example overlay demonstrates how to modify the base configuration to install/watch a | ||
namespace other than 'default'. The example installs the operator to a namespace called | ||
'rco-ns' which should already exist. To install, run `kubectl create -k examples/watch-own-namespace` | ||
This example overlay demonstrates how to modify the base configuration to install the operator and have it | ||
watch a namespace other than 'runtime-component'. Create a namespace called 'rco-ns' for the operator. | ||
To install the operator into the 'rco-ns' namespace, run: `kubectl create -k examples/watch-own-namespace` | ||
|
||
== Install and watch another namespace | ||
== Installing and watching all namespaces | ||
|
||
=== overlays/watch-another-namespace | ||
This overlay installs the operator into the namespace 'rco-ns', but configures it to | ||
watch for Runtime Component custom resource instances in a different namespace called 'rco-watched-ns'. As | ||
this overlay install resources into two different namespaces, the namespace must not be specified | ||
in the kustomize.yaml file. To install, run `kubectl create -k overlays/watch-another-namespace` | ||
watch for Runtime Component custom resource instances in a different namespace called 'rco-watched-ns'. | ||
Because this overlay installs resources into two different namespaces, the namespace must not be specified | ||
in the kustomize.yaml file. To install, run: `kubectl create -k overlays/watch-another-namespace` | ||
|
||
=== examples/watch-another-namespace | ||
This example overlay builds on the previous one, but demonstrates how to change the | ||
install and watched namespaces. In this case, the operator is installed into 'rco-ns2' | ||
and it will watch for resources in 'rco-watched-ns2'. To install run `kubectl create -k | ||
This example overlay builds on the previous example, but demonstrates how to change | ||
the install and watched namespaces. In this case, the operator is installed into 'rco-ns2' | ||
and watches for resources in 'rco-watched-ns2'. To install run: `kubectl create -k | ||
examples/watch-another-namespace` | ||
|
||
== Install and watch all namespaces | ||
== Installing and watching all namespaces | ||
|
||
=== overlays/watch-all-namespaces | ||
This overlay installs the operator into the default namespace, but configures it | ||
to watch for Runtime Component custom resource instances in any namespace. Compared to the base, | ||
this requires additional ClusterRoles and ClusterRoleBindings. To install run: | ||
`kubectl create -k overlays/watch-all-namespaces` | ||
This overlay installs the operator into the 'runtime-component' namespace, | ||
but configures it to watch for Runtime Component custom resource instances in any namespaces. | ||
Compared to the base configuration, this overlay requires additional ClusterRoles and ClusterRoleBindings. | ||
To install, run: `kubectl create -k overlays/watch-all-namespaces` | ||
|
||
=== examples/watch-all-namespaces | ||
This example overlay builds on the previous one, and demonstrates how to change | ||
which namespace the operator is installed into. In this example, the operator | ||
is installed into a namespace called 'rco-ns', and will still watch for | ||
Runtime Component custom resource instances in any namespace. To install, run: | ||
`kubectl create -k examples/watch-all-namespaces` | ||
This example overlay builds on the previous example and demonstrates how to change | ||
the namespace that the operator installs into. In this example, the operator installs | ||
into a namespace that is called 'rco-ns' and watches for Runtime Component custom resource | ||
instances in any namespaces. To install, run: `kubectl create -k examples/watch-all-namespaces` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.