Deploy the Layer7 Operator - CAAPIM/layer7-operator GitHub Wiki
Deploy the Layer7 Operator
The following command will deploy the Operator with all of it's required resources.
By default, the Layer7 Operator is namespaced meaning it will be deployed into your current namespace
kubectl apply -f https://github.com/CAAPIM/layer7-operator/releases/download/v1.2.1/bundle.yaml
If you would like to have the Layer7 Operator watch all namespaces you will need to have cert-manager installed.
Cert manager
The Cluster deployment requires cert-manager for the Operators Validating and Mutating WebhookConfigurations.
You can install cert-manager with kubectl. There are additional options here
kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.13.3/cert-manager.yaml
Cluster Deployment
kubectl apply -f https://github.com/CAAPIM/layer7-operator/releases/download/v1.2.1/cw-bundle.yaml
By default all namespaces are watched, to target specific namespaces, download cw-bundle.yaml and update the following
Default
env:
- name: WATCH_NAMESPACE
value: ""
Watch specific namespaces
env:
- name: WATCH_NAMESPACE
value: "ns1,ns2,ns3"