- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for GetK8S (0.11 sec)
-
operator/pkg/apis/istio/v1alpha1/validation/validation.go
func CheckAutoScaleAndReplicaCount(values *valuesv1alpha1.Values, spec *v1alpha1.IstioOperatorSpec) (errs util.Errors, warnings []string) { if values.GetPilot().GetAutoscaleEnabled().GetValue() && spec.GetComponents().GetPilot().GetK8S().GetReplicaCount() > 1 { warnings = append(warnings, "components.pilot.k8s.replicaCount should not be set when values.pilot.autoscaleEnabled is true") }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 16 20:02:28 UTC 2024 - 14.9K bytes - Viewed (0) -
operator/pkg/translate/translate_test.go
serviceObj, err := object.ParseYAMLToK8sObject([]byte(serviceString)) assert.NoError(t, err) obj, err := translator.fixMergedObjectWithCustomServicePortOverlay(serviceObj, iop.Components.IngressGateways[0].GetK8S().GetService(), serviceObj) assert.NoError(t, err) val := obj.UnstructuredObject().Object["spec"].(map[string]interface{})["ports"].([]interface{})[0] apVal, found, _ := tpath.GetFromStructPath(val, "appProtocol")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Feb 12 19:43:09 UTC 2024 - 5.1K bytes - Viewed (0)