Skip to content

Commit

Permalink
install only metalk8s catalog source
Browse files Browse the repository at this point in the history
  • Loading branch information
eg-ayoub committed Jan 10, 2025
1 parent bc69850 commit b605711
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
13 changes: 1 addition & 12 deletions salt/metalk8s/addons/olm/catalog/deployed/cluster-catalog.sls
Original file line number Diff line number Diff line change
@@ -1,17 +1,6 @@
#!jinja | metalk8s_kubernetes
{%- from "metalk8s/repo/macro.sls" import build_image_name with context %}
---
apiVersion: olm.operatorframework.io/v1
kind: ClusterCatalog
metadata:
name: operatorhubio
spec:
source:
type: Image
image:
ref: quay.io/operatorhubio/catalog:latest
pollIntervalMinutes: 10
---
apiVersion: olm.operatorframework.io/v1
kind: ClusterCatalog
Expand All @@ -22,4 +11,4 @@ spec:
type: Image
image:
ref: {{ build_image_name("metalk8s-catalog-source") }}
pollIntervalMinutes: 10
pollIntervalMinutes: 30
2 changes: 1 addition & 1 deletion salt/metalk8s/addons/olm/catalog/deployed/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ include:
Wait for Cluster Catalog to be Serving:
test.configurable_test_state:
- changes: False
- result: __slot__:salt:metalk8s_olm.check_clustercatalog_serving("operatorhubio")
- result: __slot__:salt:metalk8s_olm.check_clustercatalog_serving("metalk8s-catalog-source")
- comment: Wait for ClusterCatalog to be Ready
- retry:
attempts: 30
Expand Down

0 comments on commit b605711

Please sign in to comment.