Skip to content

Commit

Permalink
Merge pull request #207 from bparees/channels41
Browse files Browse the repository at this point in the history
Bug 1724833: Cleanup 4.1 manifest content
  • Loading branch information
openshift-merge-robot committed Jul 9, 2019
2 parents 135ae2f + 3e91ca7 commit dbfd918
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
Expand Up @@ -3,7 +3,7 @@
apiVersion: operators.coreos.com/v1alpha1
kind: ClusterServiceVersion
metadata:
name: clusterlogging.v4.1.2
name: clusterlogging.v4.1.0
namespace: placeholder
annotations:
capabilities: Seamless Upgrades
Expand All @@ -15,7 +15,7 @@ metadata:
containerImage: quay.io/openshift/origin-cluster-logging-operator:latest
createdAt: 2018-08-01T08:00:00Z
support: AOS Logging
olm.skipRange: ">=4.1.0 <4.1.2"
olm.skipRange: ">=4.1.0 <4.1.0"
alm-examples: |-
[
{
Expand Down Expand Up @@ -60,6 +60,7 @@ metadata:
}
]
spec:
version: 4.1.0
displayName: Cluster Logging

description: |
Expand Down Expand Up @@ -248,7 +249,6 @@ spec:
value: "quay.io/openshift/origin-oauth-proxy:latest"
- name: RSYSLOG_IMAGE
value: "quay.io/openshift/origin-logging-rsyslog:latest"
version: 4.1.2
customresourcedefinitions:
owned:
- name: clusterloggings.logging.openshift.io
Expand Down
10 changes: 5 additions & 5 deletions manifests/art.yaml
Expand Up @@ -2,15 +2,15 @@ updates:
- file: "{MAJOR}.{MINOR}/cluster-logging.v{MAJOR}.{MINOR}.0.clusterserviceversion.yaml" # relative to this file
update_list:
# replace metadata.name value
- search: "clusterlogging.v{MAJOR}.{MINOR}.2"
- search: "clusterlogging.v{MAJOR}.{MINOR}.0"
replace: "clusterlogging.{FULL_VER}"
# replace entire version line, otherwise would replace 4.1.0 anywhere
- search: "version: 4.1.2"
# replace entire version line, otherwise would replace {MAJOR}.{MINOR}.0 anywhere
- search: "version: {MAJOR}.{MINOR}.0"
replace: "version: {FULL_VER}"
- search: 'olm.skipRange: ">=4.1.0 <4.1.2"'
- search: 'olm.skipRange: ">=4.1.0 <{MAJOR}.{MINOR}.0"'
replace: 'olm.skipRange: ">=4.1.0 <{FULL_VER}"'
- file: "cluster-logging.package.yaml"
update_list:
- search: "currentCSV: clusterlogging.v{MAJOR}.{MINOR}.2"
- search: "currentCSV: clusterlogging.v{MAJOR}.{MINOR}.0"
replace: "currentCSV: clusterlogging.{FULL_VER}"

2 changes: 1 addition & 1 deletion manifests/cluster-logging.package.yaml
Expand Up @@ -2,4 +2,4 @@
packageName: cluster-logging
channels:
- name: preview
currentCSV: clusterlogging.v4.1.2
currentCSV: clusterlogging.v4.1.0

0 comments on commit dbfd918

Please sign in to comment.