|
1 | 1 | # OPC-Router 4 Helm Chart |
2 | 2 |
|
| 3 | +## Prequisites |
| 4 | +- Kubernetes 1.12+ |
| 5 | +- Helm 3.1.0 |
| 6 | + |
| 7 | +## Installation |
| 8 | +To install the chart with the name `my-opcrouter`: |
| 9 | +```shell |
| 10 | +$ helm install my-opcrouter <Path> --set I_do_accept_the_EULA=true |
| 11 | +``` |
| 12 | +This command will install the opc router with standard settings, as a service with a seperate mongodb container. Accepting the [End User License Agreement](https://www.opc-router.com/terms-of-use-and-eula/) by setting `I_do_accept_the_EULA` to true is required for the OPCRouter to run. |
| 13 | + |
| 14 | +## Uninstalling |
| 15 | +The chart with the name `my-opcrouter` can simply be uninstalled by executing: |
| 16 | +```shell |
| 17 | +$ helm uninstall my-opcrouter |
| 18 | +``` |
| 19 | +However, keep in mind that the persitant volumes of the mongodb container don't get deleted by this. When reinstalling the chart under the same name you will have to use the previous mongodb root password and replica set key or delete the persistant volume beforehand. |
| 20 | + |
3 | 21 | ## Parameters |
4 | 22 |
|
5 | 23 | ### Global parameters |
|
11 | 29 | | `global.storageClass` | Global StorageClass for Persistent Volume(s) | `""` | |
12 | 30 | | `global.namespaceOverride` | Override the namespace for resource deployed by the chart, but can itself be overridden by the local namespaceOverride | `""` | |
13 | 31 |
|
14 | | - |
15 | 32 | ### Common parameters |
16 | 33 |
|
17 | | -| Name | Description | Value | |
18 | | -| ------------------------ | --------------------------------------------------------------------------------------------------------- | --------------- | |
19 | | -| `nameOverride` | String to partially override opc-router.fullname template (will maintain the release name) | `""` | |
20 | | -| `fullnameOverride` | String to fully override opc-router.fullname template | `""` | |
21 | | - |
| 34 | +| Name | Description | Value | |
| 35 | +| ------------------ | ------------------------------------------------------------------------------------------ | ----- | |
| 36 | +| `nameOverride` | String to partially override opc-router.fullname template (will maintain the release name) | `""` | |
| 37 | +| `fullnameOverride` | String to fully override opc-router.fullname template | `""` | |
22 | 38 |
|
23 | 39 | ### OPCRouter parameters |
24 | 40 |
|
25 | | -| Name | Description | Value | |
26 | | -| ---------------------------------------- | ------------------------------------------------------------------------------------------------------ | ---------------------- | |
27 | | -| `I_do_accept_the_EULA` | If this is false the opc router container won't be able to run. | `false` | |
28 | | -| `image.repository` | OPC-Router image registry. | `opcrouter/runtime` | |
29 | | -| `image.tag` | OPC-Router image tag (immutable tags are recommended). | `""` | |
30 | | -| `image.pullPolicy` | OPC-Router image pull policy. | `IfNotPresent` | |
31 | | -| `serviceAccount.create` | Specifies whether a service account should be created. | `true` | |
32 | | -| `serviceAccount.annotations` | Annotations to add to the service account. | `{}` | |
33 | | -| `serviceAccount.name` | Name of the service account to use. If not set and create is true, it is generated using the fullname. | `""` | |
34 | | -| `service.type` | Type of the service. Possible values: ClusterIP, NodePort, LoadBalancer. | `ClusterIP` | |
35 | | -| `service.port` | Internal port. The service will be reachable under this port inside the cluster. | `27017` | |
36 | | -| `service.nodePort` | External port. When NodePort, this port will allow external access to the service. | `""` | |
37 | | -| `project.projectRepo` | URL to git repository of a opcrouter4 project. Optional. Empty means no project gets loaded. | `""` | |
38 | | -| `project.projectPath` | Path to the project .rpe file in the repository. Don't begin with '/'. Optional. | `""` | |
39 | | -| `project.configPath` | Path to a projects configuration file. Optional. Empty means no configuration file gets loaded. | `""` | |
40 | | -| `project.auth.ssh_secret` | An existing secret containing the ssh-key under the key 'project-ssh-key'. Optional. | `""` | |
41 | | -| `project.auth.ssh_key` | SSH private key for accessing the git repository. Overridden by ssh_secret, Optional. | `""` | |
42 | | -| `project.auth.safe_key` | If false, the ssh key won't be saved on the cluster and will be deleted from the cluster. | `true` | |
43 | | -| `containerHistoryLimit` | The size of the history of deployments kept for potential rollbacks. | `10` | |
44 | | -| `mongodb.deploy` | If false, the mongodb container wont be deployed. Useful when using integrated db of opcrouter/runtime.| `true` | |
45 | | -| `mongodb.auth.dbRootPassword` | Root password for the mongodb. Will override autogenerated or existing one in secret. | `""` | |
46 | | -| `mongodb.auth.dbReplicaKeySet` | Replica set key for the mongodb. Will override autogenerated or existing one in secret. | `""` | |
| 41 | +| Name | Description | Value | |
| 42 | +| -------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------- | |
| 43 | +| `I_do_accept_the_EULA` | If this is false the opc router container won't be able to run. | `false` | |
| 44 | +| `image.repository` | OPC-Router image registry. | `opcrouter/service` | |
| 45 | +| `image.tag` | OPC-Router image tag (immutable tags are recommended). | `""` | |
| 46 | +| `image.pullPolicy` | OPC-Router image pull policy. | `IfNotPresent` | |
| 47 | +| `serviceAccount.create` | Specifies whether a service account should be created. | `true` | |
| 48 | +| `serviceAccount.annotations` | Annotations to add to the service account. | `{}` | |
| 49 | +| `serviceAccount.name` | Name of the service account to use. If not set and create is true, it is generated using the fullname. | `""` | |
| 50 | +| `project.projectRepo` | URL to git repository of a opcrouter4 project. Optional. Empty means no project gets loaded. | `""` | |
| 51 | +| `project.projectPath` | Path to the project .rpe file in the repository. Don't begin with '/'. Optional. | `""` | |
| 52 | +| `project.configPath` | Path to a projects configuration file. Optional. Empty means no configuration file gets loaded. | `""` | |
| 53 | +| `project.auth.ssh_secret` | An existing secret containing the ssh-key under the key 'project-ssh-key'. Optional. | `""` | |
| 54 | +| `project.auth.ssh_key` | SSH private key for accessing the git repository. Overridden by ssh_secret, Optional. | `""` | |
| 55 | +| `project.auth.safe_key` | If false, the ssh key won't be saved on the cluster and will be deleted from the cluster. | `true` | |
| 56 | +| `project.persistantVolume.deploy` | If true, deploys a persistant storage volume for the project and runtime db. | `true` | |
| 57 | +| `project.persistantVolume.size` | The size of the persistant volume. | `3Gi` | |
| 58 | +| `containerHistoryLimit` | The size of the history of deployments kept for potential rollbacks. | `10` | |
| 59 | +| `mongodb.deploy` | If false, the mongodb container wont be deployed. Useful when using integrated db of opcrouter/runtime. | `true` | |
| 60 | +| `mongodb.replicaCount` | The number of mongodb pods to deploy. Set to two when using a redundency twin. | `1` | |
| 61 | +| `mongodb.auth.enabled` | If false, the mongodb won't require any authentification to access. | `true` | |
| 62 | +| `mongodb.auth.dbRootPassword` | Root password for the mongodb. Will override autogenerated or existing one in secret. | `""` | |
| 63 | +| `mongodb.auth.dbReplicaKeySet` | Replica set key for the mongodb. Will override autogenerated or existing one in secret. | `""` | |
| 64 | +| `mongodb.externalAccess.enabled` | If false, the application won't be reachable from outside the cluster. | `true` | |
| 65 | +| `mongodb.externalAccess.service.type` | Type of the service. Possible values: ClusterIP, NodePort, LoadBalancer. | `ClusterIP` | |
| 66 | +| `mongodb.externalAccess.service.port` | Internal port. The service will be reachable under this port inside the cluster. | `27017` | |
| 67 | +| `mongodb.externalAccess.service.nodePorts` | External ports. When NodePort, the ports configured here will allow external access to the service. | ` -` | |
47 | 68 |
|
48 | 69 | ### WARNING: MongoDB root password and replica key set |
49 | 70 |
|
|
0 commit comments