Add affinity-rules feature to configmap config-deployment #9922
knative-verify.yaml
on: pull_request
verify
/
Verify Deps and Codegen
3m 48s
Annotations
3 errors and 1 warning
verify / Verify Deps and Codegen:
config/core/configmaps/deployment.yaml#L1
Please run ./hack/update-codegen.sh.
diff --git a/config/core/configmaps/deployment.yaml b/config/core/configmaps/deployment.yaml
index 052d92c..27177fc 100644
--- a/config/core/configmaps/deployment.yaml
+++ b/config/core/configmaps/deployment.yaml
@@ -22,7 +22,7 @@ metadata:
app.kubernetes.io/component: controller
app.kubernetes.io/version: devel
annotations:
- knative.dev/example-checksum: "ed77183a"
+ knative.dev/example-checksum: "92f3969b"
data:
# This is the Go import path for the binary that is containerized
# and substituted here.
@@ -91,7 +91,7 @@ data:
# Sets rootCA for the queue proxy - used by QPOptions
# If omitted, or empty, no rootCA is added to the golang rootCAs
queue-sidecar-rootca: ""
-
+
# If specified, sets the pod's scheduling constraints
# Affinity is a group of affinity scheduling rules.
#
|
verify / Verify Deps and Codegen:
pkg/deployment/zz_generated.deepcopy.go#L1
Please run ./hack/update-codegen.sh.
diff --git a/pkg/deployment/zz_generated.deepcopy.go b/pkg/deployment/zz_generated.deepcopy.go
index f736228..bbd135e 100644
--- a/pkg/deployment/zz_generated.deepcopy.go
+++ b/pkg/deployment/zz_generated.deepcopy.go
@@ -22,6 +22,7 @@ limitations under the License.
package deployment
import (
+ v1 "k8s.io/api/core/v1"
sets "k8s.io/apimachinery/pkg/util/sets"
)
@@ -72,6 +73,11 @@ func (in *Config) DeepCopyInto(out *Config) {
(*out)[key] = val
}
}
+ if in.AffinityRules != nil {
+ in, out := &in.AffinityRules, &out.AffinityRules
+ *out = new(v1.Affinity)
+ (*in).DeepCopyInto(*out)
+ }
return
}
|
verify / Verify Deps and Codegen
Process completed with exit code 1.
|
verify / Verify Deps and Codegen
Restore cache failed: Dependencies file is not found in /home/runner/work/serving/serving. Supported file pattern: go.sum
|