Skip to content

Instantly share code, notes, and snippets.

View sahil143's full-sized avatar
:octocat:
Experimenting

Sahil Budhwar sahil143

:octocat:
Experimenting
  • Red Hat
  • Bangalore, IN
View GitHub Profile
apiVersion: appstudio.redhat.com/v1alpha1
kind: EnterpriseContractPolicy
metadata:
name: test-ec-policy
spec:
configuration: {}
description: My EnterpriseContractPolicy
publicKey: k8s://tekton-chains/public-key
sources:
- data:
components:
- containerImage: quay.io/redhat-appstudio/user-workload:GE4iZ-devfile-sample-code-with-quarkus-skok
name: devfile-sample-code-with-quarkus-skok
success: false
violations:
- msg: 'Image URL is not accessible: HEAD https://quay.io/v2/redhat-appstudio/user-workload/manifests/GE4iZ-devfile-sample-code-with-quarkus-skok:
unexpected status code 404 Not Found (HEAD responses have no body, use GET for
details)'
- containerImage: quay.io/redhat-appstudio/user-workload:GE4iZ-devfile-sample-python-basic-pd53
name: devfile-sample-python-basic-pd53
@sahil143
sahil143 / ec.json
Created March 15, 2023 12:09
enterprise contract sample data
{
"components": [
{
"containerImage": "quay.io/redhat-appstudio/user-workload@sha256:7edda485ba347dd02ea616d32b3c49539d5e23946bb27bb88910d60bbf828e55",
"name": "credit-review-portal-xcvp",
"signatures": [
{
"keyid": "SHA256:ngBmVXGMzx/ZriUdur0MtnnIuZLYWY5tvPslf7LvE3c",
"metadata": {
"predicateBuildType": "tekton.dev/v1beta1/TaskRun",
apiVersion: eventing.knative.dev/v1alpha1
kind: KafkaSink
metadata:
annotations:
eventing.knative.dev/creator: 'kube:admin'
eventing.knative.dev/lastModifier: 'kube:admin'
resourceVersion: '752261'
name: my-kafka-sink-3
uid: fbcecfa3-7f82-4334-bd9e-8151195482dd
creationTimestamp: '2022-04-07T13:17:57Z'
{
"apiVersion": "tekton.dev/v1beta1",
"kind": "PipelineRun",
"metadata": {
"creationTimestamp": "2022-03-01T11:43:11Z",
"generateName": "java-quarkus-basic-",
"generation": 1,
"labels": {
"build.appstudio.openshift.io/application": "new-app",
"build.appstudio.openshift.io/build": "true",
apiVersion: console.openshift.io/v1
kind: ConsoleQuickStart
metadata:
name: test-highlights
spec:
description: Description here
displayName: test highlights
durationMinutes: 1
introduction: Introduction here
tasks:
apiVersion: console.openshift.io/v1
kind: ConsoleQuickStart
metadata:
name: copy-execute-snippets
spec:
description: Description here
displayName: Execute and Copy snippets Demo
durationMinutes: 1
introduction: Introduction here
tasks:
@sahil143
sahil143 / knative-svc.yaml
Created February 19, 2020 13:44
kantive service
apiVersion: serving.knative.dev/v1
kind: Service
metadata:
name: greeter
spec:
template:
metadata:
name: greeter-v1
annotations:
# disable istio-proxy injection
@sahil143
sahil143 / jaeger.yaml
Created February 19, 2020 13:38
install jeager operator backed
apiVersion: jaegertracing.io/v1
kind: Jaeger
metadata:
name: jaeger-all-in-one-inmemory
namespace: default
@sahil143
sahil143 / styles.less
Created May 5, 2018 17:54 — forked from brandondurham/styles.less
Using Operator Mono in Atom
/**
* Using Operator Mono in Atom
*
* 1. Open up Atom Preferences.
* 2. Click the “Open Config Folder” button.
* 3. In the new window’s tree view on the left you should see a file called “styles.less”. Open that up.
* 4. Copy and paste the CSS below into that file. As long as you have Operator Mono SSm installed you should be golden!
* 5. Tweak away.
*
* Theme from the screenshot (http://cdn.typography.com/assets/images/blog/operator_ide2.png):