sample-controller icon indicating copy to clipboard operation
sample-controller copied to clipboard

Repository for sample controller. Complements sample-apiserver

Results 13 sample-controller issues
Sort by recently updated
recently updated
newest added

To quote the README: > The update-codegen script will automatically generate the following files & directories: > > - pkg/apis/samplecontroller/v1alpha1/zz_generated.deepcopy.go > - pkg/generated/ But: ``` $ git clone https://github.com/kubernetes/sample-controller.git $...

Here's what I've figured out from a couple of hours of faffing around with this: The first problem is "how do you run generate-groups.sh"? There are two answers. One was...

lifecycle/stale

When I generate the code with update-codegen with a go mod way, the generated code is located in a wrong path. Reproduce action: ```bash # git download the repo and...

lifecycle/stale

Following the documentation I've tried to apply the steps mentioned here: https://github.com/pravarag/sample-controller#running For the step: ``` # create a CustomResourceDefinition kubectl create -f artifacts/examples/crd-status-subresource.yaml ``` It throws below error upon...

## Overview This PR proposes a minor yet significant update to the comment of the `syncHandler` function in the sample-controller. The aim is to enhance clarity and reduce potential ambiguity...

cncf-cla: yes
size/XS
sig/api-machinery
lifecycle/stale

NO.1:Since most current Go versions no longer use the vendor mode, is it possible to choose to make this project's script compatible with a non-vendor mode version? NO.2:Is it possible...

> When NOT using go 1.11 modules ... I read above line in the docs and now I am very unsure. What is the state of the project? The above...

lifecycle/rotten

./hack/update-codegen.sh ./hack/update-codegen.sh: 行 24: ../code-generator/kube_codegen.sh: No such file or directory

lifecycle/stale

How is the file `./artifacts/examples/crd.yaml` generated? It is impossible for the keyboard to type it out line by line?

lifecycle/rotten

fatal: ambiguous argument ':(glob)/k8s.io/sample-controller/pkg/apis/**/*.go': unknown revision or path not in the working tree.

lifecycle/rotten