Skip to content

Instantly share code, notes, and snippets.

@warroyo
Created July 28, 2023 09:49
Show Gist options
  • Save warroyo/0343c846c855dd4c2a4370be8fd80861 to your computer and use it in GitHub Desktop.
Save warroyo/0343c846c855dd4c2a4370be8fd80861 to your computer and use it in GitHub Desktop.
---
apiVersion: carto.run/v1alpha1
kind: Workload
metadata:
labels:
app.kubernetes.io/part-of: company-api
apps.tanzu.vmware.com/has-tests: "true"
apps.tanzu.vmware.com/workload-type: web
apis.apps.tanzu.vmware.com/register-api: "true"
name: company-api
spec:
build:
env:
- name: BP_KEEP_FILES
value: "docs/*"
source:
git:
ref:
branch: main
url: https://github.com/warroyo/tap-go-sample
params:
- name: testing_pipeline_matching_labels
value:
apps.tanzu.vmware.com/custom-test: "true"
- name: api_descriptor
value:
type: openapi # We currently support any of openapi, aysncapi, graphql, grpc
system: test-installation
location:
path: "/docs/openapi.json" # The path to the api documentation
owner: default # The team that owns thi
description: "api for company app"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment