Skip to content

Commit

Permalink
Merge branch 'master' into 1.0.x
Browse files Browse the repository at this point in the history
  • Loading branch information
tchughesiv committed Mar 18, 2019
2 parents 27384be + ebaafea commit a0358c8
Show file tree
Hide file tree
Showing 5 changed files with 59 additions and 52 deletions.
25 changes: 3 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,25 +36,10 @@ As cluster-admin and an OCP 3.11+ cluster with OLM installed, issue the followin

This will create a new `CatalogSource` and `ConfigMap`, allowing the OLM Catalog to see this Operator's `ClusterServiceVersion`.

## Deploy to OpenShift Manually

Globally and only once for the whole cluster:

```bash
oc create -f deploy/crds/kieapp.crd.yaml
```

In a project:

```bash
oc create -f deploy/service_account.yaml
oc create -f deploy/role.yaml
oc create -f deploy/role_binding.yaml
oc create -f deploy/operator.yaml
```

### Trigger a KieApp deployment

Use the OLM console to subscribe to the `Kie Cloud` Operator Catalog Source within your namespace. Once subscribed, use the console to `Create KieApp` or create one manually as seen below.

```bash
$ oc create -f deploy/crs/kieapp_rhpam_trial.yaml
kieapp.app.kiegroup.org/rhpam-trial created
Expand All @@ -63,12 +48,7 @@ kieapp.app.kiegroup.org/rhpam-trial created
### Clean up a KieApp deployment

```bash
# Using the KieApp name
oc delete kieapp rhpam-trial
# OR using the file name
oc delete -f deploy/crs/kieapp_rhpam_trial.yaml
# OR delete all the KieApp deployments
oc delete kieapp --all
```

## Development
Expand Down Expand Up @@ -164,6 +144,7 @@ spec:
## Build rhel-based image for release
Requires `cekit` and `rhpkg` -

```bash
# local build
make rhel
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: kiecloud-operator.v1.0.0
namespace: placeholder
annotations:
categories: kieapp, rhpam, rhdm, kie, cloud, pam, bpm, process, case, automation, operator
categories: "Integration & Delivery"
certified: "false"
description: Kie Cloud Operator can deploy RHPAM/RHDM environments in the form of KieApp objects.
containerImage: quay.io/kiegroup/kie-cloud-operator:1.0
Expand All @@ -19,9 +19,15 @@ spec:
displayName: Kie Cloud
description: Kie Cloud Operator can deploy RHPAM/RHDM environments in the form of KieApp objects.
keywords:
[
kieapp rhpam rhdm kie cloud pam bpm process case automation decision operator,
]
- kieapp
- pam
- decision
- kie
- cloud
- bpm
- process
- automation
- operator
version: 1.0.0
maturity: beta
maintainers:
Expand All @@ -48,11 +54,11 @@ spec:
- type: OwnNamespace
supported: true
- type: SingleNamespace
supported: true
supported: false
- type: MultiNamespace
supported: false
- type: AllNamespaces
supported: true
supported: false
customresourcedefinitions:
owned:
- version: v1
Expand Down Expand Up @@ -82,12 +88,12 @@ spec:
- kind: ImageStream
version: image.openshift.io/v1
specDescriptors:
- description: Environment of PAM to deploy.
- description: Environment deployed.
displayName: Environment
path: environment
x-descriptors:
- "urn:alm:descriptor:com.tectonic.ui:label"
- description: PAM version to be installed.
- description: Product version installed.
displayName: Version
path: commonConfig.version
x-descriptors:
Expand Down Expand Up @@ -203,4 +209,6 @@ spec:
fieldRef:
fieldPath: metadata.name
- name: OPERATOR_NAME
value: "kie-cloud-operator"
valueFrom:
fieldRef:
fieldPath: metadata.labels['name']
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: businessautomation-operator.v1.0.0
namespace: placeholder
annotations:
categories: kieapp, rhpam, rhdm, kie, cloud, pam, bpm, process, case, business, automation, operator
categories: "Integration & Delivery"
certified: "false"
description: Business Automation Operator can deploy RHPAM/RHDM environments in the form of KieApp objects.
containerImage: registry.redhat.io/rhpam-7-tech-preview/rhpam73-operator:1.0
Expand All @@ -19,9 +19,15 @@ spec:
displayName: Business Automation
description: Business Automation Operator can deploy RHPAM/RHDM environments in the form of KieApp objects.
keywords:
[
kieapp rhpam rhdm kie cloud pam bpm process case business automation decision operator,
]
- kieapp
- pam
- decision
- kie
- cloud
- bpm
- process
- automation
- operator
version: 1.0.0
maturity: beta
maintainers:
Expand All @@ -33,7 +39,7 @@ spec:
- name: Product Page
url: https://access.redhat.com/products/red-hat-process-automation-manager
- name: Documentation
url: https://access.redhat.com/documentation/en-us/red_hat_process_automation_manager/7.2/html-single/installing_and_configuring_red_hat_process_automation_manager_on_red_hat_jboss_eap_7.2/
url: https://access.redhat.com/documentation/en-us/red_hat_process_automation_manager/7.3/html-single/installing_and_configuring_red_hat_process_automation_manager_on_red_hat_jboss_eap_7.3/
icon:
- base64data: PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2Q3MWUwMH0uY2xzLTJ7ZmlsbDojYzIxYTAwfS5jbHMtM3tmaWxsOiNmZmZ9LmNscy00e2ZpbGw6I2VhZWFlYX0uY2xzLTV7ZmlsbDojYjdiN2I3fS5jbHMtNntmaWxsOiNjZGNkY2R9PC9zdHlsZT48L2RlZnM+PHRpdGxlPkxvZ288L3RpdGxlPjxnIGlkPSJMYXllcl8xIiBkYXRhLW5hbWU9IkxheWVyIDEiPjxjaXJjbGUgY2xhc3M9ImNscy0xIiBjeD0iNTAiIGN5PSI1MCIgcj0iNTAiIHRyYW5zZm9ybT0icm90YXRlKC00NSA1MCA1MCkiLz48cGF0aCBjbGFzcz0iY2xzLTIiIGQ9Ik04NS4zNiAxNC42NGE1MCA1MCAwIDAgMS03MC43MiA3MC43MnoiLz48cGF0aCBjbGFzcz0iY2xzLTMiIGQ9Ik02NS43NiAzNC4yOEwxNS42IDQzLjE1djEuMTNhLjM0LjM0IDAgMCAwIC4zLjM0YzEuNDcuMTcgNy45MyAyLjExIDggMjMuNDlhLjQ2LjQ2IDAgMCAwIC4zNS40NGwyLjU5LjU3cy0xLjIxLTI1LjU0IDguNzctMjcuMDYgMTEuMiAyNy4yNyAxMS4zMyAzMS4xYS41NC41NCAwIDAgMCAuNDMuNTFsMy41MS43OHMuMDYtMzQuNTQgMTQuOTItMzYuODJ2LTMuMzV6Ii8+PHBhdGggY2xhc3M9ImNscy00IiBkPSJNNjUuMzU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5MC45MSA5MC45MSAwIDAgMC0yLjU2IDIwLjgyek01My40MyA1My42MnoiLz48L2c+PC9zdmc+
mediatype: image/svg+xml
Expand All @@ -48,11 +54,11 @@ spec:
- type: OwnNamespace
supported: true
- type: SingleNamespace
supported: true
supported: false
- type: MultiNamespace
supported: false
- type: AllNamespaces
supported: true
supported: false
customresourcedefinitions:
owned:
- version: v1
Expand Down Expand Up @@ -82,12 +88,12 @@ spec:
- kind: ImageStream
version: image.openshift.io/v1
specDescriptors:
- description: Environment of PAM to deploy.
- description: Environment deployed.
displayName: Environment
path: environment
x-descriptors:
- "urn:alm:descriptor:com.tectonic.ui:label"
- description: PAM version to be installed.
- description: Product version installed.
displayName: Version
path: commonConfig.version
x-descriptors:
Expand Down Expand Up @@ -203,4 +209,6 @@ spec:
fieldRef:
fieldPath: metadata.name
- name: OPERATOR_NAME
value: "business-automation-operator"
valueFrom:
fieldRef:
fieldPath: metadata.labels['name']
28 changes: 18 additions & 10 deletions deploy/catalog_resources/redhat/catalog-source.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ items:
name: businessautomation-operator.v1.0.0
namespace: placeholder
annotations:
categories: kieapp, rhpam, rhdm, kie, cloud, pam, bpm, process, case, business, automation, operator
categories: "Integration & Delivery"
certified: "false"
description: Business Automation Operator can deploy RHPAM/RHDM environments in the form of KieApp objects.
containerImage: registry.redhat.io/rhpam-7-tech-preview/rhpam73-operator:1.0
Expand All @@ -29,9 +29,15 @@ items:
displayName: Business Automation
description: Business Automation Operator can deploy RHPAM/RHDM environments in the form of KieApp objects.
keywords:
[
kieapp rhpam rhdm kie cloud pam bpm process case business automation decision operator,
]
- kieapp
- pam
- decision
- kie
- cloud
- bpm
- process
- automation
- operator
version: 1.0.0
maturity: beta
maintainers:
Expand All @@ -43,7 +49,7 @@ items:
- name: Product Page
url: https://access.redhat.com/products/red-hat-process-automation-manager
- name: Documentation
url: https://access.redhat.com/documentation/en-us/red_hat_process_automation_manager/7.2/html-single/installing_and_configuring_red_hat_process_automation_manager_on_red_hat_jboss_eap_7.2/
url: https://access.redhat.com/documentation/en-us/red_hat_process_automation_manager/7.3/html-single/installing_and_configuring_red_hat_process_automation_manager_on_red_hat_jboss_eap_7.3/
icon:
- base64data: PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2Q3MWUwMH0uY2xzLTJ7ZmlsbDojYzIxYTAwfS5jbHMtM3tmaWxsOiNmZmZ9LmNscy00e2ZpbGw6I2VhZWFlYX0uY2xzLTV7ZmlsbDojYjdiN2I3fS5jbHMtNntmaWxsOiNjZGNkY2R9PC9zdHlsZT48L2RlZnM+PHRpdGxlPkxvZ288L3RpdGxlPjxnIGlkPSJMYXllcl8xIiBkYXRhLW5hbWU9IkxheWVyIDEiPjxjaXJjbGUgY2xhc3M9ImNscy0xIiBjeD0iNTAiIGN5PSI1MCIgcj0iNTAiIHRyYW5zZm9ybT0icm90YXRlKC00NSA1MCA1MCkiLz48cGF0aCBjbGFzcz0iY2xzLTIiIGQ9Ik04NS4zNiAxNC42NGE1MCA1MCAwIDAgMS03MC43MiA3MC43MnoiLz48cGF0aCBjbGFzcz0iY2xzLTMiIGQ9Ik02NS43NiAzNC4yOEwxNS42IDQzLjE1djEuMTNhLjM0LjM0IDAgMCAwIC4zLjM0YzEuNDcuMTcgNy45MyAyLjExIDggMjMuNDlhLjQ2LjQ2IDAgMCAwIC4zNS40NGwyLjU5LjU3cy0xLjIxLTI1LjU0IDguNzctMjcuMDYgMTEuMiAyNy4yNyAxMS4zMyAzMS4xYS41NC41NCAwIDAgMCAuNDMuNTFsMy41MS43OHMuMDYtMzQuNTQgMTQuOTItMzYuODJ2LTMuMzV6Ii8+PHBhdGggY2xhc3M9ImNscy00IiBkPSJNNjUuMzUgMjcuNTZMMTYuMTggMzguNDJhLjc1Ljc1IDAgMCAwLS41O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42MnoiLz48L2c+PC9zdmc+
mediatype: image/svg+xml
Expand All @@ -58,11 +64,11 @@ items:
- type: OwnNamespace
supported: true
- type: SingleNamespace
supported: true
supported: false
- type: MultiNamespace
supported: false
- type: AllNamespaces
supported: true
supported: false
customresourcedefinitions:
owned:
- version: v1
Expand Down Expand Up @@ -92,12 +98,12 @@ items:
- kind: ImageStream
version: image.openshift.io/v1
specDescriptors:
- description: Environment of PAM to deploy.
- description: Environment deployed.
displayName: Environment
path: environment
x-descriptors:
- "urn:alm:descriptor:com.tectonic.ui:label"
- description: PAM version to be installed.
- description: Product version installed.
displayName: Version
path: commonConfig.version
x-descriptors:
Expand Down Expand Up @@ -213,7 +219,9 @@ items:
fieldRef:
fieldPath: metadata.name
- name: OPERATOR_NAME
value: "business-automation-operator"
valueFrom:
fieldRef:
fieldPath: metadata.labels['name']
customResourceDefinitions: |
- apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
Expand Down
4 changes: 3 additions & 1 deletion deploy/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ spec:
fieldRef:
fieldPath: metadata.name
- name: OPERATOR_NAME
value: "kie-cloud-operator"
valueFrom:
fieldRef:
fieldPath: metadata.labels['name']
- name: DEBUG
value: "false"
#- name: INSECURE
Expand Down

0 comments on commit a0358c8

Please sign in to comment.