Skip to content

Commit

Permalink
Fix webhook warning in bucket and obc creation
Browse files Browse the repository at this point in the history
  • Loading branch information
TimothyAsirJeyasing authored and openshift-cherrypick-robot committed Dec 17, 2024
1 parent 5f6de9d commit 9f4240f
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 8 deletions.
1 change: 0 additions & 1 deletion packages/odf/components/create-bs/create-bs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,6 @@ const CreateBackingStoreForm: React.FC<CreateBackingStoreFormProps> = (
},
spec: {
type: NOOBAA_TYPE_MAP[provider],
ssl: false,
},
};
if (provider === BC_PROVIDERS.PVC) {
Expand Down
4 changes: 1 addition & 3 deletions packages/odf/components/mcg/CreateObjectBucketClaim.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,7 @@ export const CreateOBCForm: React.FC<CreateOBCFormProps> = (props) => {
metadata: {
namespace,
},
spec: {
ssl: false,
},
spec: {},
};
if (state.scName) {
obj.spec.storageClassName = state.scName;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ const externalProviders = getExternalProviders(StoreType.NS);
type Payload = K8sResourceCommon & {
spec: {
type: string;
ssl: boolean;
[key: string]: any;
};
};
Expand Down Expand Up @@ -208,7 +207,6 @@ const NamespaceStoreForm: React.FC<NamespaceStoreFormProps> = (props) => {
},
spec: {
type: NOOBAA_TYPE_MAP[provider],
ssl: false,
},
};
if (externalProviders.includes(provider)) {
Expand Down
1 change: 0 additions & 1 deletion packages/odf/types/mcg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ export type BackingStoreKind = K8sResourceCommon & {
export type MCGPayload = K8sResourceCommon & {
spec: {
type: string;
ssl: boolean;
[key: string]: any;
};
};
Expand Down
1 change: 0 additions & 1 deletion packages/odf/utils/mcg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,6 @@ export const createNewObjectBucketClaim = (
namespace,
},
spec: {
ssl: false,
storageClassName,
generateBucketName: name,
additionalConfig: {
Expand Down

0 comments on commit 9f4240f

Please sign in to comment.