Merge branch 'main' into rename_stuff

This commit is contained in:
Ryan Richard
2020-09-18 16:39:58 -07:00
318 changed files with 1156 additions and 7087 deletions
+1 -2
View File
@@ -3,9 +3,8 @@ processor:
# Ignore internal API versions
ignoreGroupVersions:
- "crd.pinniped.dev/crdpinniped"
- "config.pinniped.dev/config"
- "idp.pinniped.dev/idp"
- "pinniped.dev/pinniped"
- "login.pinniped.dev/login"
ignoreFields:
- "TypeMeta$"
+2 -2
View File
@@ -1,3 +1,3 @@
1.17.11
1.18.2
1.19.0
1.18.2
1.17.11
+5 -5
View File
@@ -5,7 +5,7 @@
set -euo pipefail
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
KUBE_VERSIONS=("$@")
BASE_PKG="github.com/vmware-tanzu/pinniped"
BASE_PKG="go.pinniped.dev"
export GO111MODULE="on"
# If we're not running in a container, assume that we want to loop over and run each build
@@ -109,7 +109,7 @@ echo "generating API-related code for our public API groups..."
deepcopy \
"${BASE_PKG}/generated/${KUBE_MINOR_VERSION}/apis" \
"${BASE_PKG}/generated/${KUBE_MINOR_VERSION}/apis" \
"pinniped:v1alpha1 crdpinniped:v1alpha1 idp:v1alpha1 login:v1alpha1" \
"config:v1alpha1 idp:v1alpha1 login:v1alpha1" \
--go-header-file "${ROOT}/hack/boilerplate.go.txt" 2>&1 | sed "s|^|gen-api > |"
)
@@ -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 idp:v1alpha1 login:v1alpha1" \
"config:v1alpha1 idp:v1alpha1 login: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 idp:v1alpha1 login:v1alpha1" \
"config:v1alpha1 idp:v1alpha1 login:v1alpha1" \
--go-header-file "${ROOT}/hack/boilerplate.go.txt" 2>&1 | sed "s|^|gen-client > |"
)
@@ -155,6 +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=./config/v1alpha1 crd:trivialVersions=true output:crd:artifacts:config=../crds &&
controller-gen paths=./idp/v1alpha1 crd:trivialVersions=true output:crd:artifacts:config=../crds
)