Skip to content

update for basic-template redefinition #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 15 additions & 17 deletions basic-template.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
---
schema: olm.package
name: testoperator
defaultChannel: stable
---
schema: olm.channel
package: testoperator
name: stable
schema: olm.template.basic
entries:
- name: testoperator.v0.1.0
- name: testoperator.v0.2.0
replaces: testoperator.v0.1.0
---
schema: olm.bundle
image: quay.io/ankitathomas/olm:testoperator.v0.1.0
---
schema: olm.bundle
image: quay.io/ankitathomas/olm:testoperator.v0.2.0
- schema: olm.package
name: testoperator
defaultChannel: stable
- schema: olm.channel
package: testoperator
name: stable
entries:
- name: testoperator.v0.1.0
- name: testoperator.v0.2.0
replaces: testoperator.v0.1.0
- schema: olm.bundle
image: quay.io/ankitathomas/olm:testoperator.v0.1.0
- schema: olm.bundle
image: quay.io/ankitathomas/olm:testoperator.v0.2.0

32 changes: 32 additions & 0 deletions example-templates/etcd/operator-basic.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"schema": "olm.template.basic",
"entries": [
{
"defaultChannel": "alpha",
"name": "etcd",
"schema": "olm.package"
},
{
"schema": "olm.bundle",
"image": "docker.io/anik120/etcd:latest"
},
{
"schema": "olm.bundle",
"image": "docker.io/anik120/etcd:v0.9.4"
},
{
"entries": [
{
"name": "etcdoperator-community.v0.6.1"
},
{
"name": "etcdoperator-community.v0.9.4",
"replaces": "etcdoperator-community.v0.6.1"
}
],
"name": "alpha",
"package": "etcd",
"schema": "olm.channel"
}
]
}
20 changes: 20 additions & 0 deletions example-templates/etcd/operator-basic.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
entries:
- entries:
- defaultChannel: alpha
name: etcd
schema: olm.package
- image: docker.io/anik120/etcd:latest
schema: olm.bundle
- image: docker.io/anik120/etcd:v0.9.4
schema: olm.bundle
- entries:
- name: etcdoperator-community.v0.6.1
- name: etcdoperator-community.v0.9.4
replaces: etcdoperator-community.v0.6.1
name: alpha
package: etcd
schema: olm.channel
schema: olm.template.basic
schema: olm.template.basic

60 changes: 0 additions & 60 deletions example-templates/etcd/operator.json

This file was deleted.

42 changes: 0 additions & 42 deletions example-templates/etcd/operator.yaml

This file was deleted.

32 changes: 32 additions & 0 deletions example-templates/prometheus/operator-basic.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"schema": "olm.template.basic",
"entries": [
{
"defaultChannel": "alpha",
"name": "prometheus",
"schema": "olm.package"
},
{
"entries": [
{
"name": "prometheus-operator.v0.14.0"
},
{
"name": "prometheus-operator.v0.15.0",
"replaces": "prometheus-operator.v0.14.0"
}
],
"name": "alpha",
"package": "prometheus",
"schema": "olm.channel"
},
{
"schema": "olm.bundle",
"image": "quay.io/operator-framework/operator-bundle-prometheus:0.14.0"
},
{
"schema": "olm.bundle",
"image": "quay.io/operator-framework/operator-bundle-prometheus:0.15.0"
}
]
}
18 changes: 18 additions & 0 deletions example-templates/prometheus/operator-basic.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
entries:
- defaultChannel: alpha
name: prometheus
schema: olm.package
- entries:
- name: prometheus-operator.v0.14.0
- name: prometheus-operator.v0.15.0
replaces: prometheus-operator.v0.14.0
name: alpha
package: prometheus
schema: olm.channel
- image: quay.io/operator-framework/operator-bundle-prometheus:0.14.0
schema: olm.bundle
- image: quay.io/operator-framework/operator-bundle-prometheus:0.15.0
schema: olm.bundle
schema: olm.template.basic

90 changes: 0 additions & 90 deletions example-templates/prometheus/operator.json

This file was deleted.

62 changes: 0 additions & 62 deletions example-templates/prometheus/operator.yaml

This file was deleted.

Loading