372cfe1601
This check predates the API renaming we did. Now that our API groups have `concierge`/`supervisor` in the name, we don't need to maintain a specific set of `cp` commands and keep them in sync, so we don't really need this check. Signed-off-by: Matt Moyer <moyerm@vmware.com>
19 lines
573 B
Bash
Executable File
19 lines
573 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Copyright 2020 the Pinniped contributors. All Rights Reserved.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
set -euo pipefail
|
|
|
|
ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )"
|
|
|
|
# Generate code.
|
|
xargs -n 1 -P 8 "$ROOT/hack/lib/update-codegen.sh" < "${ROOT}/hack/lib/kube-versions.txt"
|
|
|
|
# Copy each CRD yaml to the app which should cause it to be installed.
|
|
cp "$ROOT"/generated/1.19/crds/*.supervisor.*.yaml "$ROOT/deploy/supervisor"
|
|
cp "$ROOT"/generated/1.19/crds/*.concierge.*.yaml "$ROOT/deploy/concierge"
|
|
|
|
# Tidy.
|
|
"$ROOT/hack/module.sh" tidy
|