Skip to content

Commit

Permalink
CatalogSource template (#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
jfilipcz authored Jan 3, 2023
1 parent b064412 commit 77c73f4
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions operatorhub/catalogSource.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
apiVersion: template.openshift.io/v1
kind: Template
message: |-
The following CatalogSource has been created: ${NAME}
metadata:
name: catalogsource-template
objects:
- apiVersion: operators.coreos.com/v1
kind: CatalogSource
metadata:
name: ${NAME}
namespace: ${TARGET_NAMESPACE}
spec:
image: ${IMAGE}
sourceType: ${SOURCE_TYPE}
parameters:
- name: NAME
required: true
description: Name of the CatalogSource to create
- name: TARGET_NAMESPACE
required: true
description: A namespace for the CatalogSource to target
- name: IMAGE
required: true
desciption: Index image to be used for CatalogSource
- name: SOURCE_TYPE
required: false
value: "grpc"
description: Source Type

0 comments on commit 77c73f4

Please sign in to comment.