Installation

Prev Next

To install Envoy:

  1. Obtain the Envoy Authorizer zip archive from PlainID Support.
  2. Unpack the Authorizer archive.
  3. Configure authz image versions:
  • Update the appVersion value in Chart.yaml file: Set tag of the authz-operator image from the images.txt file.
  • Update spec.container.image value tag in samples/authz_v1_plainidinjector.yaml file: Set tag of authz-envoy-sidecar
    image from file images.txt
  1. Update specific settings in values.yaml.
  2. Update specific settings of the PlainidSidecar kind (example in samples/sidecar-echo.yaml).
  3. Install Helm if not installed (Helm | Helm ).
  4. Install using the Helm Chart:
    helm install sidecar-test authz-envoy
  5. Label target namespace for PlainID Injection.
    kubectl label namespace default pid-injection=enabled
  6. Deploy authz-sidecar injector.
    kubectl apply -f samples/authz_v1_plainidinjector.yaml
  7. Deploy authz-sidecar configuration (PlainidSidecar kind).
    kubectl apply -f samples/sidecar-echo.yaml
  8. Restart a pod with the target microservice, so authz-sidecar will be injected.
    kubectl delete pod echo
  9. Configure Service Mesh to Integrate with the Authorizer.