File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
pkg/operator/controller/gatewayclass Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,10 @@ import (
1818 "k8s.io/utils/ptr"
1919)
2020
21+ // systemClusterCriticalPriorityClassName is the keyword to specify
22+ // cluster-critical priority class in a pod's spec.priorityClassName.
23+ const systemClusterCriticalPriorityClassName = "system-cluster-critical"
24+
2125// ensureIstio attempts to ensure that an Istio CR is present and returns a
2226// Boolean indicating whether it exists, the CR if it exists, and an error
2327// value.
@@ -105,7 +109,8 @@ func desiredIstio(name types.NamespacedName, ownerRef metav1.OwnerReference) *sa
105109 },
106110 Values : & sailv1.Values {
107111 Global : & sailv1.GlobalConfig {
108- IstioNamespace : ptr .To (controller .DefaultOperandNamespace ),
112+ IstioNamespace : ptr .To (controller .DefaultOperandNamespace ),
113+ PriorityClassName : ptr .To (systemClusterCriticalPriorityClassName ),
109114 },
110115 Pilot : & sailv1.PilotConfig {
111116 Cni : & sailv1.CNIUsageConfig {
You can’t perform that action at this time.
0 commit comments