Skip to content

Commit 20ca41f

Browse files
committed
Peer feedback for version 5.6
1 parent 500fe23 commit 20ca41f

3 files changed

Lines changed: 20 additions & 63 deletions

File tree

versioned_docs/version-5.6/10.updating/01.updating/01.updating.md

Lines changed: 6 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ slug: /updating/updating
99

1010
It’s super easy to update your NeuVector containers. If there is a new release available, pull it from Docker Hub. It is recommended to use a ‘rolling update’ strategy to keep at least one Allinone or Controller container running at any time during an update.
1111

12+
:::note Critical CVE Stats After Upgrades
13+
When upgrading controllers to version `5.6.0-rc1` (or later) from a version that does not support critical-level severity (e.g., `5.5.3`), existing scanner pods must be restarted or redeployed.
14+
15+
Older scanner pods cache the controller's initial capability response. They will not recognize that the upgraded controller supports critical-level severity until they are restarted and re-query the controller on startup.
16+
:::
17+
1218
:::warning imporant
1319
Host OS updates, reboots, and orchestrator updates can cause pods to be evicted or stopped. If a Controller is affected, and there are no other Controllers active to maintain the state, the Controllers can become available for some time while new controllers are started, a cluster is formed with a leader, and the persistent storage backup of the configuration is attempted to be accessed to restore the cluster. Be careful when scheduling host or orchestrator updates and reboots which may affect the number of controllers available at any time. See the Pod Disruption Budget below for possible ways to mitigate this.
1420

@@ -125,66 +131,3 @@ spec:
125131
matchLabels:
126132
app: neuvector-controller-pod
127133
```
128-
129-
### Upgrading from NeuVector 4.x to 5.1.x
130-
131-
Upgrade first to a 5.1.x release such as 5.1.3, then see the [Kubernetes deployment section](/deploying/kubernetes) for updating to 5.2.x+ for important changes to services accounts and bindings.
132-
133-
For Helm users, update to NeuVector Helm chart 2.0.0 or later (prior to NeuVector 5.2.0). If updating an Operator or Helm install on OpenShift, see note below.
134-
135-
1. Delete old neuvector-binding-customresourcedefinition clusterrole
136-
137-
```shell
138-
kubectl delete clusterrole neuvector-binding-customresourcedefinition
139-
```
140-
141-
2. Apply new update verb for neuvector-binding-customresourcedefinition clusterrole
142-
143-
```shell
144-
kubectl create clusterrole neuvector-binding-customresourcedefinition --verb=watch,create,get,update --resource=customresourcedefinitions
145-
```
146-
147-
3. Delete old crd schema for Kubernetes 1.19+
148-
149-
```shell
150-
kubectl delete -f https://raw.githubusercontent.com/neuvector/manifests/main/kubernetes/crd-k8s-1.19.yaml
151-
```
152-
153-
4. Create new crd schema for Kubernetes 1.19+
154-
155-
```shell
156-
kubectl apply -f https://raw.githubusercontent.com/neuvector/manifests/main/kubernetes/5.0.0/crd-k8s-1.19.yaml
157-
kubectl apply -f https://raw.githubusercontent.com/neuvector/manifests/main/kubernetes/5.0.0/waf-crd-k8s-1.19.yaml
158-
kubectl apply -f https://raw.githubusercontent.com/neuvector/manifests/main/kubernetes/5.0.0/dlp-crd-k8s-1.19.yaml
159-
kubectl apply -f https://raw.githubusercontent.com/neuvector/manifests/main/kubernetes/5.0.0/admission-crd-k8s-1.19.yaml
160-
```
161-
162-
5. Create a new DLP, WAP, Admission clusterrole and clusterrolebinding
163-
164-
```shell
165-
kubectl create clusterrole neuvector-binding-nvwafsecurityrules --verb=list,delete --resource=nvwafsecurityrules
166-
kubectl create clusterrolebinding neuvector-binding-nvwafsecurityrules --clusterrole=neuvector-binding-nvwafsecurityrules --serviceaccount=neuvector:default
167-
kubectl create clusterrole neuvector-binding-nvadmissioncontrolsecurityrules --verb=list,delete --resource=nvadmissioncontrolsecurityrules
168-
kubectl create clusterrolebinding neuvector-binding-nvadmissioncontrolsecurityrules --clusterrole=neuvector-binding-nvadmissioncontrolsecurityrules --serviceaccount=neuvector:default
169-
kubectl create clusterrole neuvector-binding-nvdlpsecurityrules --verb=list,delete --resource=nvdlpsecurityrules
170-
kubectl create clusterrolebinding neuvector-binding-nvdlpsecurityrules --clusterrole=neuvector-binding-nvdlpsecurityrules --serviceaccount=neuvector:default
171-
```
172-
173-
6. Update image names and paths for pulling NeuVector images from Docker hub (docker.io).
174-
The images are on the NeuVector Docker Hub registry. Use the appropriate version tag for the manager, controller, enforcer, and leave the version as 'latest' for scanner and updater. For example:
175-
176-
+ neuvector/manager:5.1.3
177-
+ neuvector/controller:5.1.3
178-
+ neuvector/enforcer:5.1.3
179-
+ neuvector/scanner:latest
180-
+ neuvector/updater:latest
181-
182-
Optionally, remove any references to the NeuVector license and secrets in Helm charts, deployment yaml, configmap, scripts etc, as these are no longer required to pull the images or to start using NeuVector.
183-
184-
**Note about SCC and Upgrading via Operator/Helm**
185-
186-
Privileged SCC is added to the Service Account specified in the deployment yaml by Operator version 1.3.4 and above in new deployments. In the case of upgrading the NeuVector Operator from a previous version to 1.3.4 or Helm to 2.0.0, please delete Privileged SCC before upgrading.
187-
188-
```shell
189-
oc delete rolebinding -n neuvector system:openshift:scc:privileged
190-
```

versioned_docs/version-5.6/14.releasenotes/01.5x/01.5x.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ To receive email notifications of new releases, please subscribe to this SUSE ma
1515

1616
#### 5.6.0 July 2026
1717

18+
:::note Critical CVE Stats After Upgrades
19+
When upgrading controllers to version `5.6.0-rc1` (or later) from a version that does not support critical-level severity (e.g., `5.5.3`), existing scanner pods must be restarted or redeployed.
20+
21+
Older scanner pods cache the controller's initial capability response. They will not recognize that the upgraded controller supports critical-level severity until they are restarted and re-query the controller on startup.
22+
:::
23+
1824
##### Feature requests
1925

2026
- **issue-2235**: Add a column containing the image digest in generated reports for containers.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"tutorialSidebar": [
3+
{
4+
"type": "autogenerated",
5+
"dirName": "."
6+
}
7+
]
8+
}

0 commit comments

Comments
 (0)