Skip to content

Introduction

Deploy the operator using the following command:

kubectl apply -f https://github.com/belastingdienst/opr-paas/releases/latest/download/install.yaml
kubectl apply -f https://raw.githubusercontent.com/belastingdienst/opr-paas/refs/heads/main/examples/resources/_v1alpha1_paasconfig.yaml

The second command will load an example PaasConfig resource from the main branch to get you going. Feel free to replace this with your own or a release specific version instead.

This will install the operator using the install.yaml that was generated for the latest release. It will create:

  • a namespace called paas-system;
  • 3 CRDs (Paas, PaasNs and PaasConfig);
  • a service account, role, role binding, cluster role & cluster role binding for all permissions required by the operator; As the operator binds role for others the serviceaccount gets the: bind permission. It is advised to follow the principle of least privilege and scope the permission to only allow binding of the roles set in your operator config by setting resourcesNames in your role.yaml
  • a viewer & an editor cluster role for all crds;
  • a deployment running the operator;

Feel free to change config as required.