Skip to content

Commit

Permalink
Merge pull request #1447 from wallarm/connector-code-bundle-versioning
Browse files Browse the repository at this point in the history
remove untested way of configmapping for istio controller
  • Loading branch information
AnastasiaTWW authored Dec 24, 2024
2 parents 094ab5a + 548fdac commit cbc2afc
Showing 1 changed file with 30 additions and 57 deletions.
87 changes: 30 additions & 57 deletions docs/latest/installation/connectors/istio.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,63 +71,36 @@ To deploy the Wallarm node as a separate service in your Kubernetes cluster, fol
```
1. To mount the ConfigMaps, update your Istio Ingress Gateway deployment. Depending on how you manage Istio (Helm, IstioOperator, or custom deployment), apply the changes accordingly.
The following are the configuration examples:
=== "Using Helm"
If Istio was installed using Helm, you can mount the ConfigMaps by updating the `values.yaml` file for the Istio Ingress Gateway:
```yaml
gateways:
istio-ingressgateway:
name: istio-ingressgateway
additionalVolumes:
- name: lua-mpack
configMap:
name: lua-msgpack-lib
- name: lua-rrasync
configMap:
name: rr-async-packed
additionalVolumeMounts:
- name: lua-mpack
mountPath: /usr/local/share/lua/5.1/msgpack
- name: lua-rrasync
mountPath: /usr/local/share/lua/5.1/rrasync
```
```
helm upgrade istio-base istio/gateway -n <ISTIO_INGRESS_NS> -f values.yaml
```
=== "Using IstioOperator"
If Istio was installed using IstioOperator, you can mount the ConfigMaps by updating the `IstioOperator` resource:
```yaml
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
spec:
components:
ingressGateways:
- name: istio-ingressgateway
enabled: true
k8s:
volumes:
- name: lua-mpack
configMap:
name: lua-msgpack-lib
- name: lua-rrasync
configMap:
name: rr-async-packed
volumeMounts:
- name: lua-mpack
mountPath: /usr/local/share/lua/5.1/msgpack
container: istio-proxy
- name: lua-rrasync
mountPath: /usr/local/share/lua/5.1/rrasync
container: istio-proxy
```
```
kubectl apply -f istio-operator.yaml
```
For example, if Istio was installed using IstioOperator, you can mount the ConfigMaps by updating the `IstioOperator` resource:
```yaml
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
spec:
components:
ingressGateways:
- name: istio-ingressgateway
enabled: true
k8s:
volumes:
- name: lua-mpack
configMap:
name: lua-msgpack-lib
- name: lua-rrasync
configMap:
name: rr-async-packed
volumeMounts:
- name: lua-mpack
mountPath: /usr/local/share/lua/5.1/msgpack
container: istio-proxy
- name: lua-rrasync
mountPath: /usr/local/share/lua/5.1/rrasync
container: istio-proxy
```
```
kubectl apply -f istio-operator.yaml
```
## Testing
Expand Down

0 comments on commit cbc2afc

Please sign in to comment.