mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-08-27 19:36:11 +00:00
Define the WebhookIdentityProvider CRD.
Signed-off-by: Matt Moyer <moyerm@vmware.com>
This commit is contained in:
@@ -4,6 +4,7 @@ processor:
|
||||
# Ignore internal API versions
|
||||
ignoreGroupVersions:
|
||||
- "crd.pinniped.dev/crdpinniped"
|
||||
- "idp.pinniped.dev/idp"
|
||||
- "pinniped.dev/pinniped"
|
||||
ignoreFields:
|
||||
- "TypeMeta$"
|
||||
|
||||
@@ -121,7 +121,7 @@ echo "generating API-related code for our internal API groups..."
|
||||
"${BASE_PKG}/generated/${KUBE_MINOR_VERSION}/client" \
|
||||
"${BASE_PKG}/generated/${KUBE_MINOR_VERSION}/apis" \
|
||||
"${BASE_PKG}/generated/${KUBE_MINOR_VERSION}/apis" \
|
||||
"pinniped:v1alpha1 crdpinniped:v1alpha1" \
|
||||
"pinniped:v1alpha1 crdpinniped:v1alpha1 idp:v1alpha1" \
|
||||
--go-header-file "${ROOT}/hack/boilerplate.go.txt" 2>&1 | sed "s|^|gen-int-api > |"
|
||||
)
|
||||
|
||||
@@ -136,7 +136,7 @@ echo "generating client code for our public API groups..."
|
||||
client,lister,informer \
|
||||
"${BASE_PKG}/generated/${KUBE_MINOR_VERSION}/client" \
|
||||
"${BASE_PKG}/generated/${KUBE_MINOR_VERSION}/apis" \
|
||||
"pinniped:v1alpha1 crdpinniped:v1alpha1" \
|
||||
"pinniped:v1alpha1 crdpinniped:v1alpha1 idp:v1alpha1" \
|
||||
--go-header-file "${ROOT}/hack/boilerplate.go.txt" 2>&1 | sed "s|^|gen-client > |"
|
||||
)
|
||||
|
||||
@@ -155,5 +155,6 @@ crd-ref-docs \
|
||||
|
||||
# Generate CRD YAML
|
||||
(cd apis &&
|
||||
controller-gen paths=./crdpinniped/v1alpha1 crd:trivialVersions=true output:crd:artifacts:config=../crds
|
||||
controller-gen paths=./crdpinniped/v1alpha1 crd:trivialVersions=true output:crd:artifacts:config=../crds &&
|
||||
controller-gen paths=./idp/v1alpha1 crd:trivialVersions=true output:crd:artifacts:config=../crds
|
||||
)
|
||||
|
||||
+1
-1
@@ -8,5 +8,5 @@ set -euo pipefail
|
||||
ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )"
|
||||
|
||||
xargs "$ROOT/hack/lib/update-codegen.sh" < "${ROOT}/hack/lib/kube-versions.txt"
|
||||
cp "$ROOT/generated/1.19/crds/crd.pinniped.dev_credentialissuerconfigs.yaml" "$ROOT/deploy/crd.yaml"
|
||||
cp "$ROOT/generated/1.19/crds/"*.yaml "$ROOT/deploy/"
|
||||
"$ROOT/hack/module.sh" tidy
|
||||
|
||||
Reference in New Issue
Block a user