Skip to content

Commit

Permalink
move admin user/pwd to statusDescriptors
Browse files Browse the repository at this point in the history
Signed-off-by: tchughesiv <[email protected]>
  • Loading branch information
tchughesiv committed Sep 21, 2020
1 parent 2864177 commit ac8ef52
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 38 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
categories: Integration & Delivery
certified: "false"
containerImage: quay.io/kiegroup/kie-cloud-operator:7.9.0
createdAt: "2020-09-18 13:58:00"
createdAt: "2020-09-21 09:27:22"
description: Deploys and manages Red Hat Process Automation Manager and Red Hat Decision Manager environments.
operators.openshift.io/infrastructure-features: '["Disconnected"]'
repository: https://github.com/kiegroup/kie-cloud-operator
Expand All @@ -17,7 +17,7 @@ metadata:
operator-businessautomation: "true"
operatorframework.io/arch.amd64: supported
operatorframework.io/os.linux: supported
name: businessautomation-operator.7.9.0-dev-zgt7h8cxlm
name: businessautomation-operator.7.9.0-dev-fd4nzs45sm
namespace: placeholder
spec:
apiservicedefinitions: {}
Expand Down Expand Up @@ -62,16 +62,6 @@ spec:
name: ""
version: v1
specDescriptors:
- description: The admin user for BC console.
displayName: Business/Decision Central Admin User (defaults to 'adminUser')
path: commonConfig.adminUser
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:password
- description: The admin password for BC console.
displayName: Business/Decision Central Admin Password (defaults to 'RedHat')
path: commonConfig.adminPassword
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:password
- description: Set true to enable automatic micro version product upgrades, it is disabled by default.
displayName: Enable Upgrades
path: upgrades.enabled
Expand All @@ -93,6 +83,16 @@ spec:
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:label
statusDescriptors:
- description: The admin user for BC console.
displayName: Business/Decision Central Admin User
path: applied.commonConfig.adminUser
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:password
- description: The admin password for BC console.
displayName: Business/Decision Central Admin Password
path: applied.commonConfig.adminPassword
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:password
- description: Product version installed.
displayName: Version
path: version
Expand Down Expand Up @@ -443,7 +443,7 @@ spec:
- operator
labels:
alm-owner-businessautomation: businessautomation-operator
operated-by: businessautomation-operator.7.9.0-dev-zgt7h8cxlm
operated-by: businessautomation-operator.7.9.0-dev-fd4nzs45sm
links:
- name: Product Page
url: https://access.redhat.com/products/red-hat-process-automation-manager
Expand Down Expand Up @@ -546,5 +546,5 @@ spec:
selector:
matchLabels:
alm-owner-businessautomation: businessautomation-operator
operated-by: businessautomation-operator.7.9.0-dev-zgt7h8cxlm
version: 7.9.0+zgt7h8cxlm
operated-by: businessautomation-operator.7.9.0-dev-fd4nzs45sm
version: 7.9.0+fd4nzs45sm
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
categories: Integration & Delivery
certified: "true"
containerImage: registry.redhat.io/rhpam-7/rhpam-rhel8-operator:7.9.0
createdAt: "2020-09-18 13:58:00"
createdAt: "2020-09-21 09:27:22"
description: Deploys and manages Red Hat Process Automation Manager and Red Hat Decision Manager environments.
operators.openshift.io/infrastructure-features: '["Disconnected"]'
repository: https://github.com/kiegroup/kie-cloud-operator
Expand Down Expand Up @@ -62,16 +62,6 @@ spec:
name: ""
version: v1
specDescriptors:
- description: The admin user for BC console.
displayName: Business/Decision Central Admin User (defaults to 'adminUser')
path: commonConfig.adminUser
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:password
- description: The admin password for BC console.
displayName: Business/Decision Central Admin Password (defaults to 'RedHat')
path: commonConfig.adminPassword
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:password
- description: Set true to enable automatic micro version product upgrades, it is disabled by default.
displayName: Enable Upgrades
path: upgrades.enabled
Expand All @@ -93,6 +83,16 @@ spec:
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:label
statusDescriptors:
- description: The admin user for BC console.
displayName: Business/Decision Central Admin User
path: applied.commonConfig.adminUser
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:password
- description: The admin password for BC console.
displayName: Business/Decision Central Admin Password
path: applied.commonConfig.adminPassword
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:password
- description: Product version installed.
displayName: Version
path: version
Expand Down
24 changes: 12 additions & 12 deletions tools/csv-gen/csv-gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -233,18 +233,6 @@ func main() {
},
},
SpecDescriptors: []csvv1.SpecDescriptor{
{
Description: "The admin user for BC console.",
DisplayName: "Business/Decision Central Admin User (defaults to '" + constants.DefaultAdminUser + "')",
Path: "commonConfig.adminUser",
XDescriptors: []string{"urn:alm:descriptor:com.tectonic.ui:password"},
},
{
Description: "The admin password for BC console.",
DisplayName: "Business/Decision Central Admin Password (defaults to '" + constants.DefaultPassword + "')",
Path: "commonConfig.adminPassword",
XDescriptors: []string{"urn:alm:descriptor:com.tectonic.ui:password"},
},
{
Description: "Set true to enable automatic micro version product upgrades, it is disabled by default.",
DisplayName: "Enable Upgrades",
Expand All @@ -271,6 +259,18 @@ func main() {
},
},
StatusDescriptors: []csvv1.StatusDescriptor{
{
Description: "The admin user for BC console.",
DisplayName: "Business/Decision Central Admin User",
Path: "applied.commonConfig.adminUser",
XDescriptors: []string{"urn:alm:descriptor:com.tectonic.ui:password"},
},
{
Description: "The admin password for BC console.",
DisplayName: "Business/Decision Central Admin Password",
Path: "applied.commonConfig.adminPassword",
XDescriptors: []string{"urn:alm:descriptor:com.tectonic.ui:password"},
},
{
Description: "Product version installed.",
DisplayName: "Version",
Expand Down

0 comments on commit ac8ef52

Please sign in to comment.