Custom resource definition
Co-authored-by: Mathieu Lonjaret <mathieu.lonjaret@gmail.com>
This commit is contained in:
parent
cfaf47c8a2
commit
4c060a78cc
1348 changed files with 92364 additions and 55766 deletions
14
script/update-generated-crd-code.sh
Executable file
14
script/update-generated-crd-code.sh
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/bash -e
|
||||
|
||||
HACK_DIR=$(dirname "${BASH_SOURCE}")
|
||||
REPO_ROOT=${HACK_DIR}/..
|
||||
|
||||
${REPO_ROOT}/vendor/k8s.io/code-generator/generate-groups.sh \
|
||||
all \
|
||||
github.com/containous/traefik/provider/kubernetes/crd/generated \
|
||||
github.com/containous/traefik/provider/kubernetes/crd \
|
||||
traefik:v1alpha1 \
|
||||
--go-header-file ${HACK_DIR}/boilerplate.go.tmpl \
|
||||
$@
|
||||
|
||||
deepcopy-gen --input-dirs github.com/containous/traefik/config -O zz_generated.deepcopy --go-header-file ${HACK_DIR}/boilerplate.go.tmpl
|
Loading…
Add table
Add a link
Reference in a new issue