Skip to content

Commit 44190ba

Browse files
authored
Update install-network-function-operator.md
1 parent afb1774 commit 44190ba

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

articles/operator-service-manager/install-network-function-operator.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -78,27 +78,19 @@ az k8s-extension create --cluster-name
7878
### Optional feature specific configurations
7979

8080
#### Pod Mutating Webhook
81-
8281
`--config global.networkfunctionextension.webhook.pod.mutation.matchConditionExpression=`
8382
* This configuration is an optional parameter. It comes into play only when container network functions (CNFs) are installed in the corresponding release namespace.
8483
* This configuration configures more granular control on top of rules and namespaceSelectors.
8584
* Default value:
8685
```bash
8786
"((object.metadata.namespace != \"kube-system\") || (object.metadata.namespace == \"kube-system\" && has(object.metadata.labels) && (has(object.metadata.labels.app) && (object.metadata.labels.app == \"commissioning\") || (has(object.metadata.labels.name) && object.metadata.labels.name == \"cert-exporter\") || (has(object.metadata.labels.app) && object.metadata.labels.app == \"descheduler\"))))"
8887
```
89-
The referenced matchCondition implies that the pods getting accepted in kube-system namespace are mutated only if they have at least one of the following labels:
90-
- app == "commissioning"
91-
- name == "cert-exporter"
92-
- app == "descheduler"
93-
94-
else they aren't mutated and continue to be pulled from the original source as per the helm chart of CNF/Component/Application.
95-
* Accepted value:
96-
Any valid CEL expression.
88+
The referenced matchCondition implies that the pods getting accepted in kube-system namespace are mutated only if they have at least one of the following labels: app == "commissioning", app == "descheduler", or name == "cert-exporter." Otherwise, they aren't mutated and continue to be pulled from the original source as per the helm chart of CNF/Component/Application.
89+
* Accepted value: Any valid CEL expression.
9790
* This parameter can be set or updated during either network function (NF) extension installation or update.
9891
* This condition comes into play only when the CNF/Component/Application are getting installed into the namespace as per the rules and namespaceSelectors. If there are more pods getting spin up in that namespace, this condition is applied.
9992

10093
#### Cluster registry
101-
10294
`--config global.networkfunctionextension.enableClusterRegistry=`
10395
* This configuration provisions a registry in the cluster to locally cache artifacts.
10496
* Default values enable lazy loading mode unless global.networkfunctionextension.enableEarlyLoading=true.

0 commit comments

Comments
 (0)