The Kubernetes Container Storage Interface implementation defines some API objects as CRDs that Kubernetes components
including the Attach/Detach controller depend on.
If you are using CSI, it is recommended that you enable the relevant feature gates (e.g. `CSIDriverRegistry`, `CSINodeInfo`, etc.), and ensure the CRDs in this directory are installed.
These objects and their CRDs are defined in `staging/src/k8s.io/csi-api/pkg/crd/manifests`, the source of truth.
They are copied from that CRD manifest directory to this addon directory.
A unit test in `staging/src/k8s.io/csi-api/pkg/crd` verifies that this (and any other) copies of the manifest outside of `staging/src/k8s.io/csi-api/pkg/crd/manifests` do not drift from that source of truth.
If you need to make changes please make changes in the `staging/src/k8s.io/csi-api/pkg/crd/manifests` directory and then update this copy.
For more information, see: https://kubernetes-csi.github.io/docs/
t.Logf("Verify the diff, commit changes, and rerun the tests")
}else{
t.Logf("Could not update data in %s: %v",copyFilename,err)
}
}else{
}else{
t.Logf("Could not update data in %s: %v",filename,err)
t.Logf("Diff between source of truth data and copy data in %s:\n-------------\n%s",copyFilename,diff.StringDiff(string(actualYAML),string(expectedYAML)))
t.Logf("If the change is expected, re-run with %s=true to update the copy data",updateEnvVar)
}
}
}else{
t.Logf("Diff between data in code and fixture data in %s:\n-------------\n%s",filename,diff.StringDiff(string(yamlData),string(expectedYAML)))
t.Logf("If the change is expected, re-run with %s=true to update the fixtures",updateEnvVar)