You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 1, 2020. It is now read-only.
If you set the global pvc-storage-class flag and configure pvc values with --pvc-file-path, then synopsysctl will not add the storage class to the PVCs that are being overwritten/added from the file. It just adds the storage class to PVCs that are not in the file.
What you expected to happen:
Synopsysctl should add the global pvc storage class to all the pvcs. If the pvc.json explicitly sets a different storage class, then that should be used for just that pvc (the others will still use the global one (or none) ).
How to reproduce it (as minimally and precisely as possible):
Command: $ ./synopsysctl create blackduck bd --admin-password a --postgres-password p --user-password u --persistent-storage true --pvc-file-path /Users/hammer/go/src/github.com/blackducksoftware/synopsys-operator/examples/synopsysctl/pvc.json --pvc-storage-class "hello" --mock yaml
What happened:
If you set the global pvc-storage-class flag and configure pvc values with --pvc-file-path, then synopsysctl will not add the storage class to the PVCs that are being overwritten/added from the file. It just adds the storage class to PVCs that are not in the file.
What you expected to happen:
Synopsysctl should add the global pvc storage class to all the pvcs. If the pvc.json explicitly sets a different storage class, then that should be used for just that pvc (the others will still use the global one (or none) ).
How to reproduce it (as minimally and precisely as possible):
Command:
$ ./synopsysctl create blackduck bd --admin-password a --postgres-password p --user-password u --persistent-storage true --pvc-file-path /Users/hammer/go/src/github.com/blackducksoftware/synopsys-operator/examples/synopsysctl/pvc.json --pvc-storage-class "hello" --mock yaml
pvc.json (notice zookeeper is missing):
Output:
The text was updated successfully, but these errors were encountered: