Skip to content

Commit

Permalink
Merge pull request #762 from ecordell/upstream-catalog
Browse files Browse the repository at this point in the history
Add upstream catalog
  • Loading branch information
openshift-merge-robot authored Mar 18, 2019
2 parents ee4c86f + 22820fd commit 5159b0a
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ spec:
path: /healthz
port: {{ .Values.olm.service.internalPort }}
env:
{{ if (.Values.installType) and eq .Values.installType "ocp" }}
- name: RELEASE_VERSION
value: "0.0.1-snapshot"
{{ end }}
- name: OPERATOR_NAMESPACE
valueFrom:
fieldRef:
Expand Down
4 changes: 4 additions & 0 deletions deploy/chart/templates/0000_50_olm_14-operatorstatus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,8 @@ apiVersion: config.openshift.io/v1
kind: ClusterOperator
metadata:
name: {{ .Values.writeStatusName }}
status:
versions:
- name: operator
version: "0.0.1-snapshot"
{{- end }}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#! validate-crd: ./deploy/chart/templates/05-catalogsource.crd.yaml
#! parse-kind: CatalogSource
{{ if (.Values.installType) and eq .Values.installType "upstream" }}
apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
name: operatorhubio-catalog
namespace: {{ .Values.catalog_namespace }}
spec:
sourceType: grpc
image: quay.io/operator-framework/upstream-community-operators:latest
displayName: Community Operators
publisher: OperatorHub.io
{{ end }}

0 comments on commit 5159b0a

Please sign in to comment.