Skip to content

Instantly share code, notes, and snippets.

View jayachristina's full-sized avatar

Jaya Christina jayachristina

View GitHub Profile
@jayachristina
jayachristina / PipelineRun.yaml
Created April 10, 2024 02:35
PipelineRun for upload-cms-run-user<X>
apiVersion: tekton.dev/v1
kind: PipelineRun
metadata:
name: upload-cms-run-user<X>
namespace: 3scale
labels:
app.kubernetes.io/instance: threescale
tekton.dev/pipeline: upload-cms
triggers.tekton.dev/eventlistener: upload-cms
triggers.tekton.dev/trigger: upload-cms
{
"openapi": "3.0.2",
"info": {
"title": "Globex Partners API Gateway",
"version": "1.0.0",
"description": "Globex APIs made accessible to global partners to view Globex' catalog and products"
},
"servers": [
{
"url": "https://prodapi-user1-3scale-apicast-production.apps.jaya.local.sandbox1316.opentlc.com:443"
@jayachristina
jayachristina / debezium-setup.yaml
Created January 30, 2023 14:49
debezium setup
# Source: debezium/templates/debezium-connector.yaml
kind: KafkaConnector
apiVersion: kafka.strimzi.io/v1beta2
metadata:
name: debezium
labels:
strimzi.io/cluster: kafka-connect
spec:
class: io.debezium.connector.postgresql.PostgresConnector
tasksMax: 1
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"promotion": {
"type": "object",
"properties": {
"amount": {
"type": "string"
},
@jayachristina
jayachristina / sample.dmn
Created August 4, 2021 04:07
sample.dmn
<dmn:definitions xmlns:dmn="http://www.omg.org/spec/DMN/20180521/MODEL/" xmlns="https://kiegroup.org/dmn/_857FE424-BEDA-4772-AB8E-2F4CDDB864AB" xmlns:di="http://www.omg.org/spec/DMN/20180521/DI/" xmlns:kie="http://www.drools.org/kie/dmn/1.2" xmlns:dmndi="http://www.omg.org/spec/DMN/20180521/DMNDI/" xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/" xmlns:feel="http://www.omg.org/spec/DMN/20180521/FEEL/" id="_C6CBECEB-2BBC-4E14-80B0-17F576B2CF92" name="loan_pre_qualification" expressionLanguage="http://www.omg.org/spec/DMN/20180521/FEEL/" typeLanguage="http://www.omg.org/spec/DMN/20180521/FEEL/" namespace="https://kiegroup.org/dmn/_857FE424-BEDA-4772-AB8E-2F4CDDB864AB">
<dmn:extensionElements/>
<dmn:itemDefinition id="_D40B0106-62E8-4AC0-A39A-C6C9506194A9" name="Requested_Product" isCollection="false">
<dmn:itemComponent id="_68b4a96c-198a-4575-b29a-a2c8b0539a2c" name="Type" isCollection="false">
<dmn:typeRef>Product_Type</dmn:typeRef>
</dmn:itemComponent>
<dmn:itemComponent id="_ab1647c
apiVersion: redhatcop.redhat.io/v1alpha1
kind: QuayEcosystem
metadata:
name: example-quayecosystem
spec:
disableFinalizers: true
quay:
imagePullSecretName: redhat-pull-secret
resources:
requests:
AUTHENTICATION_TYPE: Database
BITTORRENT_FILENAME_PEPPER: 53c2a90f-1387-4c6c-8bca-a4687a196a1f
BUILDLOGS_REDIS:
host: example-quayecosystem-redis
port: 6379
DATABASE_SECRET_KEY: '98536816002843652815826391023815891386753881146986257520405318783214774327371'
DB_URI: postgresql://quay:quay@example-quayecosystem-quay-postgresql/quay
DEFAULT_TAG_EXPIRATION: 2w
DISTRIBUTED_STORAGE_CONFIG:
default:
apiVersion: redhatcop.redhat.io/v1alpha1
kind: QuayEcosystem
metadata:
annotations:
kubectl.kubernetes.io/last-applied-configuration: |
{"apiVersion":"redhatcop.redhat.io/v1alpha1","kind":"QuayEcosystem","metadata":{"annotations":{},"name":"example-quayecosystem","namespace":"quay-enterprise1"},"spec":{"clair":{"enabled":true},"quay":{}}}
creationTimestamp: "2020-09-15T17:40:56Z"
generation: 4
name: example-quayecosystem
namespace: quay-enterprise1
@jayachristina
jayachristina / ibmc-file-silver-rwx-no-root.yml
Last active February 27, 2020 09:18
StorageClass for RWX without root
kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
name: ibmc-file-silver-gid-1
selfLink: /apis/storage.k8s.io/v1/storageclasses/ibmc-file-silver-gid-1
uid: ebb0c7a9-57f9-11ea-8588-420d10f11f0f
resourceVersion: '2094705'
creationTimestamp: '2020-02-25T18:09:10Z'
labels:
kubernetes.io/cluster-service: 'true'
oc describe pvc system-storage -n 3scale-mt-api0
Name: system-storage
Namespace: 3scale-mt-api0
StorageClass: ibmc-file-silver
Status: Bound
Volume: pvc-a0f5f385-57e4-11ea-8588-420d10f11f0f
Labels: billingType=hourly
region=eu-gb
zone=lon02
Annotations: ibm.io/provisioning-status=complete