Skip to content

Commit

Permalink
Merge pull request #486 from matskiv/release-2.0.0-er3
Browse files Browse the repository at this point in the history
Release 2.0.0-er3
  • Loading branch information
openshift-merge-robot committed Mar 5, 2020
2 parents df5bf90 + 4eb3650 commit 247dd2f
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 16 deletions.
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ NAMESPACE=redhat-rhmi-operator
PROJECT=integreatly-operator
REG=quay.io
SHELL=/bin/bash
PREVIOUS_TAG=1.18.0
TAG=1.19.0
PREVIOUS_TAG=1.19.0
TAG=2.0.0
PKG=github.com/integr8ly/integreatly-operator
TEST_DIRS?=$(shell sh -c "find $(TOP_SRC_DIRS) -name \\*_test.go -exec dirname {} \\; | sort | uniq")
TEST_POD_NAME=integreatly-operator-test
Expand Down Expand Up @@ -244,14 +244,14 @@ deploy/integreatly-rhmi-cr.yml:
gen/csv:
@mv deploy/olm-catalog/integreatly-operator/integreatly-operator-$(PREVIOUS_TAG) deploy/olm-catalog/integreatly-operator/$(PREVIOUS_TAG)
@rm -rf deploy/olm-catalog/integreatly-operator/integreatly-operator-$(TAG)
@sed -i 's/image:.*/image: quay\.io\/integreatly\/integreatly-operator:v$(TAG)/g' deploy/operator.yaml
@sed -i '' 's/image:.*/image: quay\.io\/integreatly\/integreatly-operator:v$(TAG)/g' deploy/operator.yaml
operator-sdk generate csv --csv-version $(TAG) --default-channel --csv-channel=rhmi --update-crds --from-version $(PREVIOUS_TAG)
@echo Updating package file
@sed -i 's/$(PREVIOUS_TAG)/$(TAG)/g' version/version.go
@sed -i 's/$(PREVIOUS_TAG)/$(TAG)/g' deploy/olm-catalog/integreatly-operator/integreatly-operator.package.yaml
@sed -i '' 's/$(PREVIOUS_TAG)/$(TAG)/g' version/version.go
@sed -i '' 's/$(PREVIOUS_TAG)/$(TAG)/g' deploy/olm-catalog/integreatly-operator/integreatly-operator.package.yaml
@mv deploy/olm-catalog/integreatly-operator/$(PREVIOUS_TAG) deploy/olm-catalog/integreatly-operator/integreatly-operator-$(PREVIOUS_TAG)
@mv deploy/olm-catalog/integreatly-operator/$(TAG) deploy/olm-catalog/integreatly-operator/integreatly-operator-$(TAG)
@sed -i 's/integreatly-operator:v$(PREVIOUS_TAG)/integreatly-operator:v$(TAG)/g' deploy/olm-catalog/integreatly-operator/integreatly-operator-$(TAG)/integreatly-operator.v${TAG}.clusterserviceversion.yaml
@sed -i '' 's/integreatly-operator:v$(PREVIOUS_TAG)/integreatly-operator:v$(TAG)/g' deploy/olm-catalog/integreatly-operator/integreatly-operator-$(TAG)/integreatly-operator.v${TAG}.clusterserviceversion.yaml

.PHONY: push/csv
push/csv:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ metadata:
"name": "INSTALLATION_NAME"
},
"spec": {
"deadMansSnitchSecret": "INSTALLATION_PREFIX-deadmanssnitch",
"namespacePrefix": "INSTALLATION_PREFIX-",
"operatorsInProductNamespace": "OPERATORS_IN_PRODUCT_NAMESPACE",
"pagerdutySecret": "INSTALLATION_PREFIX-pagerduty",
"selfSignedCerts": "SELF_SIGNED_CERTS",
"smtpSecret": "INSTALLATION_PREFIX-smtp",
"type": "INSTALLATION_TYPE",
Expand All @@ -26,28 +28,30 @@ metadata:
"name": "example-rhmi"
},
"spec": {
"deadMansSnitchSecret": "redhat-rhmi-deadmanssnitch",
"namespacePrefix": "redhat-rhmi-",
"pagerdutySecret": "redhat-rhmi-pagerduty",
"selfSignedCerts": true,
"smtpSecret": "redhat-rhmi-smtp",
"type": "managed",
"useClusterStorage": true
"useClusterStorage": "true"
}
}
]
capabilities: Basic Install
categories: RHMI integration
certified: "false"
containerImage: quay.io/integreatly/integreatly-operator:v1.19.0
containerImage: quay.io/integreatly/integreatly-operator:v2.0.0-er3
createdAt: "2019-10-15 10:39:00"
description: RHMI integration suite of tools
support: RHMI
name: integreatly-operator.v1.19.0
name: integreatly-operator.v2.0.0
namespace: placeholder
spec:
apiservicedefinitions: {}
customresourcedefinitions:
owned:
- description: Represents an installation of RHMI.
- description: RHMI is the Schema for the RHMI API
kind: RHMI
name: rhmis.integreatly.org
version: v1alpha1
Expand All @@ -68,6 +72,15 @@ spec:
- '*'
verbs:
- '*'
- apiGroups:
- console.openshift.io
resources:
- consolelinks
verbs:
- get
- create
- update
- delete
- apiGroups:
- ""
- project.openshift.io
Expand Down Expand Up @@ -257,7 +270,7 @@ spec:
value: rhmi-operator
- name: USE_CLUSTER_STORAGE
value: "true"
image: quay.io/integreatly/integreatly-operator:v1.19.0
image: quay.io/integreatly/integreatly-operator:v2.0.0-er3
imagePullPolicy: Always
name: rhmi-operator
resources: {}
Expand Down Expand Up @@ -367,4 +380,4 @@ spec:
matchLabels:
alm-owner-rhmi: rhmi-operator
operated-by: rhmi-operator
version: 1.19.0
version: 2.0.0
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ spec:
spec:
description: RHMISpec defines the desired state of Installation
properties:
deadMansSnitchSecret:
description: "DeadMansSnitchSecret is the name of a secret in the installation
namespace containing connection details for Dead Mans Snitch. The
secret must contain the following fields: \n url"
type: string
masterURL:
type: string
namespacePrefix:
Expand All @@ -42,6 +47,11 @@ spec:
Standalone namespace will be used only for those operators that support
it.
type: boolean
pagerdutySecret:
description: "PagerDutySecret is the name of a secret in the installation
namespace containing PagerDuty account details. The secret must contain
the following fields: \n serviceKey"
type: string
pullSecret:
properties:
name:
Expand All @@ -68,7 +78,7 @@ spec:
https://book.kubebuilder.io/beyond_basics/generating_crd.html'
type: string
useClusterStorage:
type: boolean
type: string
required:
- namespacePrefix
- type
Expand All @@ -86,6 +96,8 @@ spec:
type: string
smtpEnabled:
type: boolean
stage:
type: string
stages:
additionalProperties:
properties:
Expand Down Expand Up @@ -128,6 +140,7 @@ spec:
type: object
required:
- lastError
- stage
- stages
type: object
type: object
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion deploy/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
containers:
- name: rhmi-operator
# Replace this with the built image name
image: quay.io/integreatly/integreatly-operator:v1.19.0
image: quay.io/integreatly/integreatly-operator:v2.0.0-er3
command:
- rhmi-operator
imagePullPolicy: Always
Expand Down
2 changes: 1 addition & 1 deletion version/version.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package version

var (
Version = "1.19.0"
Version = "2.0.0"
IntegreatlyVersion = "2.0.0"
)

0 comments on commit 247dd2f

Please sign in to comment.