Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v0.1.14 #391

Merged
merged 37 commits into from
Sep 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
ca1c123
Remove stale elements from PROJECT (#372)
roehrich-hpe Sep 4, 2024
17012c9
Use "nnfv1alpha1" to refer to the api/v1alpha1 libs (#371)
roehrich-hpe Sep 4, 2024
d812004
Rename kubebuilder-generated files to what it expects (#370)
roehrich-hpe Sep 4, 2024
31ce995
Rename config/crd files to what kubebuilder expects (#373)
roehrich-hpe Sep 5, 2024
196f68b
Remove unused lib routines in nnfstorageprofile_webhook.go (#374)
roehrich-hpe Sep 5, 2024
2d536aa
Move kubebuilder:scaffold:builder for new webhooks (#376)
roehrich-hpe Sep 5, 2024
a309946
Allow empty FStype in NnfNodeStorageSpec (#377)
roehrich-hpe Sep 5, 2024
07dde66
Enable all webhooks in suite_test.go (#375)
roehrich-hpe Sep 5, 2024
3d79990
CRDBUMPER-create-apis
roehrich-hpe Sep 5, 2024
a07811d
CRDBUMPER-copy-api-content
roehrich-hpe Sep 5, 2024
2bf891f
CRDBUMPER-mv-webhooks
roehrich-hpe Sep 5, 2024
717e022
CRDBUMPER-conversion-webhooks
roehrich-hpe Sep 5, 2024
568c204
CRDBUMPER-conversion-gen
roehrich-hpe Sep 5, 2024
eadb251
CRDBUMPER-bump-controllers
roehrich-hpe Sep 5, 2024
5c16592
CRDBUMPER-auto-gens
roehrich-hpe Sep 5, 2024
1b71b01
Enable fuzzer conversion test
roehrich-hpe Sep 5, 2024
1a4d94f
Fill-in fuzzer conversion test
roehrich-hpe Sep 5, 2024
5360dc6
Fill-in conversion webhook tests
roehrich-hpe Sep 5, 2024
ffde9f8
Fix clientmount rpm build
roehrich-hpe Sep 6, 2024
aa06da3
Fix missing conversionReviewVersions in a few CRDs
roehrich-hpe Sep 6, 2024
ffedc56
Clean up internal/controller/nnf.db immediately after make test (#379)
roehrich-hpe Sep 6, 2024
6f1fe57
Merge pull request #378 from NearNodeFlash/api-v1alpha2
roehrich-hpe Sep 6, 2024
2c5c6ef
Reference to CRD bumper for CRD versioning
roehrich-hpe Sep 6, 2024
ea1e7fc
Merge pull request #380 from NearNodeFlash/crd-ver-doc
roehrich-hpe Sep 6, 2024
cdf8fda
clientmountd: use nnfv1alpha2
bdevcich Sep 9, 2024
81fba73
Specify a repo-specific config for crd-bumper (#383)
roehrich-hpe Sep 10, 2024
765bc35
Move example resources to v1alpha2 (#384)
roehrich-hpe Sep 10, 2024
8766e1c
Add config/examples for crd-bumper (#385)
roehrich-hpe Sep 10, 2024
9fa5f61
Update apiVersion in config/ports (#386)
roehrich-hpe Sep 10, 2024
ac890ec
Trigger reconcile for NnfNodeBlockStorage from nnf-ec events
matthew-richerson Sep 6, 2024
a5bd416
Add config/dws to crd-bumper (#387)
roehrich-hpe Sep 11, 2024
41709d9
Merge pull request #388 from NearNodeFlash/storagegroup_wait
matthew-richerson Sep 11, 2024
0efb3b5
Use deleteUnknownVolume cli parameter to initialize nnf-ec (#382)
ajfloeder Sep 13, 2024
9d67b76
Ignore disabled Rabbits in NnfSystemStorage (#389)
matthew-richerson Sep 13, 2024
2fe131e
Re-vendor lustre-fs-operator (#390)
roehrich-hpe Sep 13, 2024
3959ff4
Merge branch 'master' into release-v0.1.14
roehrich-hpe Sep 13, 2024
0b6b888
Update own release references
roehrich-hpe Sep 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CRD_VERSIONING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# CRD Versioning

See Kubebuilder's [Tutorial: Multi-Version API](https://book.kubebuilder.io/multiversion-tutorial/tutorial) for a description of the mechanism. For more detail read the Kubernetes document [Versions in CustomResourceDefinitions](https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definition-versioning/).

This repository uses [crd-bumper](https://github.com/NearNodeFlash/nnf-deploy/tree/master/tools/crd-bumper#readme) to handle CRD versioning.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ WORKDIR /workspace

ARG FAILFAST
COPY hack/ hack/
COPY test-tools.sh .
COPY Makefile .

RUN echo "building test target after copy" && pwd && ls -al
Expand Down
9 changes: 6 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -222,17 +222,20 @@ TESTDIRS ?= internal api github/cluster-api
FAILFAST ?= no
test: manifests generate fmt vet envtest ## Run tests.
find internal -name "*.db" -type d -exec rm -rf {} +
source test-tools.sh; prefix_webhook_names config/webhook ${ENVTEST_ASSETS_DIR}/webhook
./hack/prefix-webhook-names.sh config/webhook ${ENVTEST_ASSETS_DIR}/webhook-nnf nnf
./hack/prefix-webhook-names.sh vendor/github.com/NearNodeFlash/lustre-fs-operator/config/webhook ${ENVTEST_ASSETS_DIR}/webhook-lus lus
./hack/prefix-webhook-names.sh vendor/github.com/DataWorkflowServices/dws/config/webhook ${ENVTEST_ASSETS_DIR}/webhook-dws dws
if [[ "${FAILFAST}" == yes ]]; then \
failfast="-ginkgo.fail-fast"; \
fi; \
set -o errexit; \
export GOMEGA_DEFAULT_EVENTUALLY_TIMEOUT=${EVENTUALLY_TIMEOUT}; \
export GOMEGA_DEFAULT_EVENTUALLY_INTERVAL=${EVENTUALLY_INTERVAL}; \
export WEBHOOK_DIR=${ENVTEST_ASSETS_DIR}/webhook; \
export WEBHOOK_DIRS=${ENVTEST_ASSETS_DIR}/webhook-nnf:${ENVTEST_ASSETS_DIR}/webhook-lus:${ENVTEST_ASSETS_DIR}/webhook-dws; \
for subdir in ${TESTDIRS}; do \
KUBEBUILDER_ASSETS="$(shell $(ENVTEST) use $(ENVTEST_K8S_VERSION) -p path --bin-dir $(LOCALBIN))" go test -v ./$$subdir/... -coverprofile cover-$$(basename $$subdir.out) -ginkgo.v $$failfast; \
done
done; \
rm -rf internal/controller/nnf.db

##@ Build
RPM_PLATFORM ?= linux/amd64
Expand Down
171 changes: 146 additions & 25 deletions PROJECT
Original file line number Diff line number Diff line change
Expand Up @@ -62,23 +62,24 @@ resources:
namespaced: true
domain: cray.hpe.com
group: nnf
kind: NnfJobStorageInstance
kind: NnfDataMovement
path: github.com/NearNodeFlash/nnf-sos/api/v1alpha1
version: v1alpha1
- api:
crdVersion: v1
namespaced: true
domain: cray.hpe.com
group: nnf
kind: NnfDataMovement
kind: NnfDataMovementManager
path: github.com/NearNodeFlash/nnf-sos/api/v1alpha1
version: v1alpha1
- api:
crdVersion: v1
namespaced: true
controller: true
domain: cray.hpe.com
group: nnf
kind: NnfDataMovementManager
kind: NnfAccess
path: github.com/NearNodeFlash/nnf-sos/api/v1alpha1
version: v1alpha1
- api:
Expand All @@ -87,23 +88,24 @@ resources:
controller: true
domain: cray.hpe.com
group: nnf
kind: NnfAccess
kind: NnfStorageProfile
path: github.com/NearNodeFlash/nnf-sos/api/v1alpha1
version: v1alpha1
- api:
crdVersion: v1
namespaced: true
controller: true
domain: cray.hpe.com
group: nnf
kind: NnfPersistentStorageInstance
kind: NnfNodeECData
path: github.com/NearNodeFlash/nnf-sos/api/v1alpha1
version: v1alpha1
- api:
crdVersion: v1
namespaced: true
domain: cray.hpe.com
group: nnf
kind: NnfDataMovementWorkflow
kind: NnfContainerProfile
path: github.com/NearNodeFlash/nnf-sos/api/v1alpha1
version: v1alpha1
- api:
Expand All @@ -112,68 +114,187 @@ resources:
controller: true
domain: cray.hpe.com
group: nnf
kind: NnfStorageProfile
kind: NnfPortManager
path: github.com/NearNodeFlash/nnf-sos/api/v1alpha1
version: v1alpha1
webhooks:
validation: true
webhookVersion: v1
- api:
crdVersion: v1
namespaced: true
controller: true
domain: cray.hpe.com
group: nnf
kind: NnfNodeECData
kind: NnfLustreMGT
path: github.com/NearNodeFlash/nnf-sos/api/v1alpha1
version: v1alpha1
- api:
crdVersion: v1
namespaced: true
domain: cray.hpe.com
group: nnf
kind: NnfContainerProfile
kind: NnfDataMovementProfile
path: github.com/NearNodeFlash/nnf-sos/api/v1alpha1
version: v1alpha1
webhooks:
validation: true
webhookVersion: v1
- api:
crdVersion: v1
namespaced: true
controller: true
domain: cray.hpe.com
group: nnf
kind: NnfPortManager
kind: NnfSystemStorage
path: github.com/NearNodeFlash/nnf-sos/api/v1alpha1
version: v1alpha1
- api:
crdVersion: v1
namespaced: true
controller: true
domain: cray.hpe.com
group: nnf
kind: NnfLustreMGT
path: github.com/NearNodeFlash/nnf-sos/api/v1alpha1
version: v1alpha1
kind: NnfAccess
path: github.com/NearNodeFlash/nnf-sos/api/v1alpha2
version: v1alpha2
webhooks:
conversion: true
webhookVersion: v1
- api:
crdVersion: v1
namespaced: true
domain: cray.hpe.com
group: nnf
kind: NnfContainerProfile
path: github.com/NearNodeFlash/nnf-sos/api/v1alpha2
version: v1alpha2
webhooks:
validation: true
webhookVersion: v1
- api:
crdVersion: v1
namespaced: true
domain: cray.hpe.com
group: nnf
kind: NnfDataMovement
path: github.com/NearNodeFlash/nnf-sos/api/v1alpha2
version: v1alpha2
webhooks:
conversion: true
webhookVersion: v1
- api:
crdVersion: v1
namespaced: true
domain: cray.hpe.com
group: nnf
kind: NnfDataMovementManager
path: github.com/NearNodeFlash/nnf-sos/api/v1alpha2
version: v1alpha2
webhooks:
conversion: true
webhookVersion: v1
- api:
crdVersion: v1
namespaced: true
domain: cray.hpe.com
group: nnf
kind: NnfDataMovementProfile
path: github.com/NearNodeFlash/nnf-sos/api/v1alpha1
version: v1alpha1
path: github.com/NearNodeFlash/nnf-sos/api/v1alpha2
version: v1alpha2
webhooks:
validation: true
webhookVersion: v1
- api:
crdVersion: v1
namespaced: true
domain: cray.hpe.com
group: nnf
kind: NnfLustreMGT
path: github.com/NearNodeFlash/nnf-sos/api/v1alpha2
version: v1alpha2
webhooks:
conversion: true
webhookVersion: v1
- api:
crdVersion: v1
namespaced: true
domain: cray.hpe.com
group: nnf
kind: NnfNode
path: github.com/NearNodeFlash/nnf-sos/api/v1alpha2
version: v1alpha2
webhooks:
conversion: true
webhookVersion: v1
- api:
crdVersion: v1
namespaced: true
domain: cray.hpe.com
group: nnf
kind: NnfNodeBlockStorage
path: github.com/NearNodeFlash/nnf-sos/api/v1alpha2
version: v1alpha2
webhooks:
conversion: true
webhookVersion: v1
- api:
crdVersion: v1
namespaced: true
domain: cray.hpe.com
group: nnf
kind: NnfNodeECData
path: github.com/NearNodeFlash/nnf-sos/api/v1alpha2
version: v1alpha2
webhooks:
conversion: true
webhookVersion: v1
- api:
crdVersion: v1
namespaced: true
domain: cray.hpe.com
group: nnf
kind: NnfNodeStorage
path: github.com/NearNodeFlash/nnf-sos/api/v1alpha2
version: v1alpha2
webhooks:
conversion: true
webhookVersion: v1
- api:
crdVersion: v1
namespaced: true
domain: cray.hpe.com
group: nnf
kind: NnfPortManager
path: github.com/NearNodeFlash/nnf-sos/api/v1alpha2
version: v1alpha2
webhooks:
conversion: true
webhookVersion: v1
- api:
crdVersion: v1
namespaced: true
domain: cray.hpe.com
group: nnf
kind: NnfStorage
path: github.com/NearNodeFlash/nnf-sos/api/v1alpha2
version: v1alpha2
webhooks:
conversion: true
webhookVersion: v1
- api:
crdVersion: v1
namespaced: true
domain: cray.hpe.com
group: nnf
kind: NnfStorageProfile
path: github.com/NearNodeFlash/nnf-sos/api/v1alpha2
version: v1alpha2
webhooks:
validation: true
webhookVersion: v1
- api:
crdVersion: v1
namespaced: true
controller: true
domain: cray.hpe.com
group: nnf
kind: NnfSystemStorage
path: github.com/NearNodeFlash/nnf-sos/api/v1alpha1
version: v1alpha1
path: github.com/NearNodeFlash/nnf-sos/api/v1alpha2
version: v1alpha2
webhooks:
conversion: true
webhookVersion: v1
version: "3"
Loading
Loading