SKIP UPGRADE CHECK fix incorrect podselector for netpols
General MR
Summary
Allow HTTPS Egress Network Policy fix Incorrect podSelector
Relevant logs/screenshots
Linked Issue
Upgrade Notices
Breaking Changes
- This release resets the SonarQube StatefulSet label from
app: upstream
toapp: sonarqube
. Because this also changes the StatefulSet’s selector labels(.spec.selector.matchLabels)
, which are immutable, an upgrade may fail due to a conflict. To ensure a successful upgrade, follow the steps below."
Follow these steps to upgrade your SonarQube instance:
-
Delete the existing SonarQube StatefulSets. This will prevent the upgrade from failing due to immutable field errors.
kubectl delete statefulset sonarqube-sonarqube -n sonarqube
-
Run the Helm upgrade command. This command will upgrade your SonarQube instance and create a new StatefulSet.
helm upgrade -i sonarqube ./chart -n sonarqube
Edited by Sarafa Lawal