Skip to content

Commit

Permalink
Update docs to accommmodate SPIRE being disabled by default in OSS
Browse files Browse the repository at this point in the history
  • Loading branch information
orishoshan committed Aug 30, 2023
1 parent ea7e72b commit 94f2d0f
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 8 deletions.
4 changes: 3 additions & 1 deletion docs/_common/install-otterize-kafka.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ Use Helm to install the latest version of Otterize:
helm repo add otterize https://helm.otterize.com
helm repo update
helm install -n otterize-system --create-namespace \
--set intentsOperator.operator.mode=defaultShadow --set intentsOperator.operator.enableNetworkPolicyCreation=false otterize otterize/otterize-kubernetes
--set intentsOperator.operator.mode=defaultShadow --set intentsOperator.operator.enableNetworkPolicyCreation=false \
--set global.deployment.spire=true --set global.deployment.credentialsOperator=true \
otterize otterize/otterize-kubernetes
```

You can add the `--wait` flag for Helm to wait for deployment to complete and all pods to be Ready, or manually watch for all pods to be `Ready` using `kubectl get pods -n otterize-system -w`.
10 changes: 10 additions & 0 deletions docs/_common/install-otterize-mtls.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Use Helm to install the latest version of Otterize:
```shell
helm repo add otterize https://helm.otterize.com
helm repo update
helm install -n otterize-system --create-namespace \
--set global.deployment.spire=true --set global.deployment.credentialsOperator=true \
otterize otterize/otterize-kubernetes
```

You can add the `--wait` flag for Helm to wait for deployment to complete and all pods to be Ready, or manually watch for all pods to be `Ready` using `kubectl get pods -n otterize-system -w`.
2 changes: 1 addition & 1 deletion docs/quick-tutorials/k8s-mtls.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ So either forego browser visualization and:
Otterize requires about 200 MBs and 200 mCPU for all components (including a SPIRE deployment) to install and run properly on Minikube and EKS clusters.
:::

{@include: ../_common/install-otterize.md}
{@include: ../_common/install-otterize-mtls.md}

</details>

Expand Down
12 changes: 6 additions & 6 deletions docs/reference/configuration/otterize-chart/README.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ For example, it configures the credentials operator to work with the deployed SP
# Parameters

## Deployment parameters
| Key | Description | Default |
|----------------------------------|------------------------------------------------|---------|
| `deployment.spire` | Whether or not to deploy spire. | `true` |
| `deployment.credentialsOperator` | Whether or not to deploy credentials-operator. | `true` |
| `deployment.intentsOperator` | Whether or not to deploy intents-operator. | `true` |
| `deployment.networkMapper` | Whether or not to deploy network-mapper. | `true` |
| Key | Description | Default |
|-----------------------------------------|----------------------------------------------------------------------------------|---------|
| `global.deployment.spire` | Whether or not to deploy SPIRE. Required for mTLS, if not using Otterize Cloud. | `true` |
| `global.deployment.credentialsOperator` | Whether or not to deploy credentials-operator. Required for mTLS. | `false` |
| `global.deployment.intentsOperator` | Whether or not to deploy intents-operator. | `true` |
| `global.deployment.networkMapper` | Whether or not to deploy network-mapper. | `true` |

## Global parameters
These parameters are used by multiple charts, and must be kept the same for the correct functioning of the separate components.
Expand Down

0 comments on commit 94f2d0f

Please sign in to comment.