Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Commit

Permalink
fake device manager
Browse files Browse the repository at this point in the history
This fake device manager is useful for testing the non-PMEM parts of
PMEM-CSI like controller<->node communication on a cluster that
doesn't have PMEM.
  • Loading branch information
pohly committed Nov 10, 2020
1 parent 601d884 commit cafe248
Show file tree
Hide file tree
Showing 15 changed files with 1,136 additions and 32 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,9 @@ KUSTOMIZE += deploy/common/pmem-storageclass-cache.yaml=deploy/kustomize/storage
KUSTOMIZE += deploy/common/pmem-storageclass-late-binding.yaml=deploy/kustomize/storageclass-late-binding
KUSTOMIZE += deploy/operator/pmem-csi-operator.yaml=deploy/kustomize/operator

# Special one-off deployment with device mode = fake.
KUSTOMIZE += deploy/kubernetes-1.19/pmem-csi-fake.yaml=deploy/kustomize/kubernetes-base-fake

KUSTOMIZE_OUTPUT := $(foreach item,$(KUSTOMIZE),$(firstword $(subst =, ,$(item))))

# This function takes the name of a .yaml output file and returns the
Expand Down
41 changes: 33 additions & 8 deletions deploy/bindata_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions deploy/kubernetes-1.19/fake/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
resources: [ pmem-csi.yaml ]
Loading

0 comments on commit cafe248

Please sign in to comment.