Skip to content

Instantly share code, notes, and snippets.

apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
labels:
odf-operator-internal: "true"
name: odf-catalogsource
namespace: openshift-marketplace
spec:
sourceType: grpc
image: quay.io/ocs-dev/odf-operator-catalog:main
---
apiVersion: v1
kind: Namespace
metadata:
labels:
openshift.io/cluster-monitoring: "true"
name: openshift-storage
spec: {}
---
apiVersion: operators.coreos.com/v1
@afreen23
afreen23 / storage_cluster_cr.yaml
Last active December 21, 2020 06:04
storage_cluster_cr.yaml
apiVersion: ocs.openshift.io/v1
kind: StorageCluster
metadata:
namespace: openshift-storage
name: ocs-storagecluster
spec:
manageNodes: false
monPVCTemplate:
spec:
storageClassName: gp2
@afreen23
afreen23 / readme.md
Last active October 28, 2019 11:19
Noobaa deployment for UI Development And Testing

Install Noobaa CLI

Any of the options can be followed:

  1.  brew install noobaa/noobaa/noobaa
  2. From the git repo of Noobaa operator: https://github.com/noobaa/noobaa-operator

Installing the Noobaa System on your AWS Cluster

Deploying noobaa-core and noobaa-operator with the custom docker images under the openshift-storage namespace

@afreen23
afreen23 / .js
Last active August 5, 2019 10:34
Data Consumtion Card demo data
import {
ACCOUNTS,
BY_IOPS,
BY_LOGICAL_USAGE,
BY_PHYSICAL_VS_LOGICAL_USAGE,
BY_EGRESS,
PROVIDERS,
} from '../../constants';
// prettier-ignore
import * as React from 'react';
import * as _ from 'lodash';
import {
Chart,
ChartAxis,
ChartBar,
ChartGroup,
ChartLegend,
ChartThemeColor,
} from '@patternfly/react-charts';
@afreen23
afreen23 / errors.txt
Last active February 11, 2019 11:49
interview question to delete nodes in doubly linked list
typos and forgot to pass address of pointer to delete and head function
missed to update temp to next node in traverse() function
@afreen23
afreen23 / journal.html
Last active January 14, 2019 20:20
to demonstrate localstorage; allows to take notes and store the notes in localstorage
<!DOCTYPE html>
<html>
<head>
<title>
Journal page
</title>
<link rel="stylesheet" href="journal.css">
<link href="https://fonts.googleapis.com/css?family=Concert+One|Work+Sans" rel="stylesheet">
</head>
<body>
{
"intents": [],
"entities": [],
"input": {},
"output": {
"text": [
"Hi. It looks like a nice drive today. What would you like me to do? "
],
"nodes_visited": [
"Start And Initialize Context"
<html>
<body><p>testing</p></body>
</html>