Skip to content

Commit

Permalink
Move from v1veta to v1 for CSIDrivers
Browse files Browse the repository at this point in the history
Disable Ceph tests until downstream builds are ready with the updated versions
  • Loading branch information
bipuladh committed Aug 16, 2021
1 parent 0a20908 commit 42e5134
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
poolMessage,
} from '../views/block-pool';
import { pvc } from '../views/pvc';
import { createStorageClass, deleteStorageClassFromCli } from '../views/storage-class';
import { createStorageClass } from '../views/storage-class';

const pvcName: string = 'testing-pvc';

Expand All @@ -24,12 +24,14 @@ describe('Test block pool deletion under OCS UI', () => {
});

after(() => {
deleteStorageClassFromCli(scName);
// Todo(bipuladh): Enable after downstream builds are available with v1 CSIDrivers
// deleteStorageClassFromCli(scName);
checkErrors();
cy.logout();
});

it('deletion of a non-default pool deletion pool is successful', () => {
// Todo(bipuladh): Enable after downstream builds are available with v1 CSIDrivers
xit('deletion of a non-default pool deletion pool is successful', () => {
cy.log('Create storage class using newly created pool');
createStorageClass(scName, poolName);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ import { configureVault, isPodRunningWithEncryptedPV } from '../support/vault-st
import { pvc } from '../views/pvc';
import { createStorageClass } from '../views/storage-class';

describe('Test Ceph pool creation', () => {
// Todo(bipuladh): Enable after downstream builds are available with v1 CSIDrivers
xdescribe('Test Ceph pool creation', () => {
before(() => {
configureVault();
cy.login();
Expand Down
2 changes: 1 addition & 1 deletion frontend/public/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1103,7 +1103,7 @@ export const CSIDriverModel: K8sKind = {
labelPlural: 'CSIDrivers',
// t('public~CSIDrivers')
labelPluralKey: 'public~CSIDrivers',
apiVersion: 'v1beta1',
apiVersion: 'v1',
apiGroup: 'storage.k8s.io',
plural: 'csidrivers',
abbr: 'CSI',
Expand Down

0 comments on commit 42e5134

Please sign in to comment.