mirror of https://github.com/k3s-io/k3s
0165fd2f6f
Automatic merge from submit-queue Adding Services to federation clientset Commits: 1. Regenerate the client without any changes to client-gen 2. Update clientgen to add a parameter to specify generating client only for Services v1 object. 3. Regenerate federation_internalclientset 4. Regenerate federation_release_1_3 Second commit is the most important one. Other 3 commits are auto generated by running client-gen. I have added a command line argument to client-gen that takes in a list of group/version/resource. If a group version is part of this list, then only the resources in this list are included in the client. For other group versions, the existing check of genclient=true in types.go is used. Other alternatives considered were: * Update genclient in types.go to mention the clientset name in which it should be included instead of just saying genclient=true (so Services will say genclient=core,federation while all other v1 resources will say genclient=core). This requires a code change in types.go to change a client set. * Create another types.go which will only include Services and use that to generate federation clientset. This will lead to duplicate Service definition. cc @caesarxuchao @lavalamp @jianhuiz @mfanjie @kubernetes/sig-cluster-federation <!-- Reviewable:start --> --- This change is [<img src="http://reviewable.k8s.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](http://reviewable.k8s.io/reviews/kubernetes/kubernetes/25443) <!-- Reviewable:end --> |
||
---|---|---|
.. | ||
boilerplate | ||
e2e-internal | ||
gen-swagger-doc | ||
jenkins | ||
lib | ||
testdata | ||
verify-flags | ||
OWNERS | ||
benchmark-go.sh | ||
benchmark-integration.sh | ||
build-cross.sh | ||
build-go.sh | ||
build-ui.sh | ||
cherry_pick_pull.sh | ||
dev-build-and-push.sh | ||
dev-build-and-up.sh | ||
e2e-node-test.sh | ||
e2e.go | ||
get-build.sh | ||
ginkgo-e2e.sh | ||
godep-save.sh | ||
grab-profiles.sh | ||
install-etcd.sh | ||
list-feature-tests.sh | ||
local-up-cluster.sh | ||
lookup_pull.py | ||
test-cmd.sh | ||
test-go.sh | ||
test-integration.sh | ||
test-update-storage-objects.sh | ||
update-all.sh | ||
update-api-reference-docs.sh | ||
update-codecgen.sh | ||
update-codegen.sh | ||
update-generated-docs.sh | ||
update-generated-protobuf-dockerized.sh | ||
update-generated-protobuf.sh | ||
update-generated-swagger-docs.sh | ||
update-godep-licenses.sh | ||
update-gofmt.sh | ||
update-swagger-spec.sh | ||
verify-all.sh | ||
verify-api-reference-docs.sh | ||
verify-boilerplate.sh | ||
verify-codecgen.sh | ||
verify-codegen.sh | ||
verify-description.sh | ||
verify-flags-underscore.py | ||
verify-generated-docs.sh | ||
verify-generated-protobuf.sh | ||
verify-generated-swagger-docs.sh | ||
verify-godep-licenses.sh | ||
verify-godeps.sh | ||
verify-gofmt.sh | ||
verify-govet.sh | ||
verify-import-boss.sh | ||
verify-linkcheck.sh | ||
verify-swagger-spec.sh | ||
verify-symbols.sh |