From b99504caaef4bdf1e5c92be57830ab414354c670 Mon Sep 17 00:00:00 2001 From: tchughesiv Date: Tue, 27 Oct 2020 13:57:42 -0500 Subject: [PATCH] 7.9.1 version Signed-off-by: tchughesiv --- config/7.9.1/common.yaml | 1024 +++++++++++++++++ config/7.9.1/dbs/mysql.yaml | 111 ++ config/7.9.1/dbs/pim/external.yaml | 42 + config/7.9.1/dbs/pim/mysql.yaml | 49 + config/7.9.1/dbs/pim/postgresql.yaml | 49 + config/7.9.1/dbs/postgresql.yaml | 109 ++ config/7.9.1/dbs/servers/external.yaml | 118 ++ config/7.9.1/dbs/servers/h2.yaml | 81 ++ config/7.9.1/dbs/servers/mysql.yaml | 60 + config/7.9.1/dbs/servers/postgresql.yaml | 60 + config/7.9.1/envs/rhdm-authoring-ha.yaml | 341 ++++++ config/7.9.1/envs/rhdm-authoring.yaml | 35 + .../7.9.1/envs/rhdm-production-immutable.yaml | 90 ++ config/7.9.1/envs/rhdm-trial.yaml | 96 ++ config/7.9.1/envs/rhpam-authoring-ha.yaml | 342 ++++++ config/7.9.1/envs/rhpam-authoring.yaml | 24 + .../envs/rhpam-production-immutable.yaml | 91 ++ config/7.9.1/envs/rhpam-production.yaml | 52 + config/7.9.1/envs/rhpam-trial.yaml | 97 ++ config/7.9.1/jms/activemq-jms-config.yaml | 367 ++++++ config/7.9.1/pim/process-migration-trial.yaml | 17 + config/7.9.1/pim/process-migration.yaml | 134 +++ deploy/crs/v2/snippets/prior_version.yaml | 2 +- ...-operator.7.9.1.clusterserviceversion.yaml | 555 +++++++++ .../dev/7.9.1/manifests/kieapp.crd.yaml | 1 + .../dev/7.9.1/metadata/annotations.yaml | 10 + ...-operator.7.9.1.clusterserviceversion.yaml | 555 +++++++++ .../prod/7.9.1/manifests/kieapp.crd.yaml | 1 + .../prod/7.9.1/metadata/annotations.yaml | 10 + deploy/operator.yaml | 58 +- go.sum | 2 + pkg/controller/kieapp/constants/constants.go | 14 +- 32 files changed, 4560 insertions(+), 37 deletions(-) create mode 100644 config/7.9.1/common.yaml create mode 100644 config/7.9.1/dbs/mysql.yaml create mode 100644 config/7.9.1/dbs/pim/external.yaml create mode 100644 config/7.9.1/dbs/pim/mysql.yaml create mode 100644 config/7.9.1/dbs/pim/postgresql.yaml create mode 100644 config/7.9.1/dbs/postgresql.yaml create mode 100644 config/7.9.1/dbs/servers/external.yaml create mode 100644 config/7.9.1/dbs/servers/h2.yaml create mode 100644 config/7.9.1/dbs/servers/mysql.yaml create mode 100644 config/7.9.1/dbs/servers/postgresql.yaml create mode 100644 config/7.9.1/envs/rhdm-authoring-ha.yaml create mode 100644 config/7.9.1/envs/rhdm-authoring.yaml create mode 100644 config/7.9.1/envs/rhdm-production-immutable.yaml create mode 100644 config/7.9.1/envs/rhdm-trial.yaml create mode 100644 config/7.9.1/envs/rhpam-authoring-ha.yaml create mode 100644 config/7.9.1/envs/rhpam-authoring.yaml create mode 100644 config/7.9.1/envs/rhpam-production-immutable.yaml create mode 100644 config/7.9.1/envs/rhpam-production.yaml create mode 100644 config/7.9.1/envs/rhpam-trial.yaml create mode 100644 config/7.9.1/jms/activemq-jms-config.yaml create mode 100644 config/7.9.1/pim/process-migration-trial.yaml create mode 100644 config/7.9.1/pim/process-migration.yaml create mode 100644 deploy/olm-catalog/dev/7.9.1/manifests/businessautomation-operator.7.9.1.clusterserviceversion.yaml create mode 120000 deploy/olm-catalog/dev/7.9.1/manifests/kieapp.crd.yaml create mode 100644 deploy/olm-catalog/dev/7.9.1/metadata/annotations.yaml create mode 100644 deploy/olm-catalog/prod/7.9.1/manifests/businessautomation-operator.7.9.1.clusterserviceversion.yaml create mode 120000 deploy/olm-catalog/prod/7.9.1/manifests/kieapp.crd.yaml create mode 100644 deploy/olm-catalog/prod/7.9.1/metadata/annotations.yaml diff --git a/config/7.9.1/common.yaml b/config/7.9.1/common.yaml new file mode 100644 index 000000000..5b1270544 --- /dev/null +++ b/config/7.9.1/common.yaml @@ -0,0 +1,1024 @@ +console: + deploymentConfigs: + - metadata: + name: "[[.ApplicationName]]-[[.Console.Name]]" + labels: + app: "[[.ApplicationName]]" + application: "[[.ApplicationName]]" + service: "[[.ApplicationName]]-[[.Console.Name]]" + spec: + strategy: + type: Recreate + triggers: + #[[if not .Console.OmitImageStream]] + - type: ImageChange + imageChangeParams: + automatic: true + containerNames: + - "[[.ApplicationName]]-[[.Console.Name]]" + from: + kind: ImageStreamTag + namespace: "openshift" + name: "[[.Console.Image]]:[[.Console.ImageTag]]" + #[[end]] + - type: ConfigChange + replicas: [[.Console.Replicas]] + selector: + deploymentConfig: "[[.ApplicationName]]-[[.Console.Name]]" + template: + metadata: + name: "[[.ApplicationName]]-[[.Console.Name]]" + labels: + deploymentConfig: "[[.ApplicationName]]-[[.Console.Name]]" + app: "[[.ApplicationName]]" + application: "[[.ApplicationName]]" + service: "[[.ApplicationName]]-[[.Console.Name]]" + spec: + serviceAccountName: "[[.ApplicationName]]-[[.Constants.Product]]svc" + terminationGracePeriodSeconds: 60 + containers: + - name: "[[.ApplicationName]]-[[.Console.Name]]" + image: "[[.Console.ImageURL]]" + imagePullPolicy: Always + resources: + limits: + memory: 2Gi + livenessProbe: + httpGet: + path: /rest/healthy + port: 8080 + scheme: HTTP + initialDelaySeconds: 180 + timeoutSeconds: 2 + periodSeconds: 15 + readinessProbe: + httpGet: + path: /rest/ready + port: 8080 + scheme: HTTP + initialDelaySeconds: 30 + timeoutSeconds: 2 + periodSeconds: 5 + failureThreshold: 36 + ports: + - name: jolokia + containerPort: 8778 + protocol: TCP + - name: http + containerPort: 8080 + protocol: TCP + - name: https + containerPort: 8443 + protocol: TCP + - name: ping + containerPort: 8888 + protocol: TCP + env: + - name: APPLICATION_USERS_PROPERTIES + value: "/opt/kie/data/configuration/application-users.properties" + - name: APPLICATION_ROLES_PROPERTIES + value: "/opt/kie/data/configuration/application-roles.properties" + - name: KIE_ADMIN_USER + value: "[[.AdminUser]]" + - name: KIE_ADMIN_PWD + value: "[[.AdminPassword]]" + - name: KIE_MBEANS + value: enabled + #[[if or .Console.GitHooks.MountPath .Console.GitHooks.From]] + - name: GIT_HOOKS_DIR + value: "[[.Console.GitHooks.MountPath]]" + #[[end]] + ## OpenShift Enhancement BEGIN + - name: KIE_SERVER_CONTROLLER_OPENSHIFT_ENABLED + value: "true" + - name: KIE_SERVER_CONTROLLER_OPENSHIFT_GLOBAL_DISCOVERY_ENABLED + value: "true" + - name: KIE_SERVER_CONTROLLER_OPENSHIFT_PREFER_KIESERVER_SERVICE + value: "true" + - name: KIE_SERVER_CONTROLLER_TEMPLATE_CACHE_TTL + value: "5000" + ## OpenShift Enhancement END + - name: HTTPS_KEYSTORE_DIR + value: "/etc/businesscentral-secret-volume" + - name: HTTPS_KEYSTORE + value: "keystore.jks" + - name: HTTPS_NAME + value: "jboss" + - name: HTTPS_PASSWORD + value: "[[.KeyStorePassword]]" + - name: WORKBENCH_ROUTE_NAME + value: "[[.ApplicationName]]-[[.Console.Name]]" + - name: JGROUPS_PING_PROTOCOL + value: "openshift.DNS_PING" + - name: OPENSHIFT_DNS_PING_SERVICE_NAME + value: "[[.ApplicationName]]-[[.Console.Name]]-ping" + - name: OPENSHIFT_DNS_PING_SERVICE_PORT + value: "8888" + # Auth config BEGIN + ## SSO config BEGIN + #[[if .Auth.SSO.URL]] + - name: SSO_OPENIDCONNECT_DEPLOYMENTS + value: ROOT.war + - name: SSO_URL + value: "[[.Auth.SSO.URL]]" + - name: SSO_REALM + value: "[[.Auth.SSO.Realm]]" + - name: SSO_USERNAME + value: "[[.Auth.SSO.AdminUser]]" + - name: SSO_PASSWORD + value: "[[.Auth.SSO.AdminPassword]]" + - name: SSO_DISABLE_SSL_CERTIFICATE_VALIDATION + value: "[[.Auth.SSO.DisableSSLCertValidation]]" + - name: SSO_PRINCIPAL_ATTRIBUTE + value: "[[.Auth.SSO.PrincipalAttribute]]" + - name: SSO_SECRET + value: "[[.Console.SSOAuthClient.Secret]]" + - name: SSO_CLIENT + value: "[[.Console.SSOAuthClient.Name]]" + - name: HOSTNAME_HTTP + value: "[[.Console.SSOAuthClient.HostnameHTTP]]" + - name: HOSTNAME_HTTPS + value: "[[.Console.SSOAuthClient.HostnameHTTPS]]" + #[[end]] + ## SSO config END + ## LDAP config BEGIN + #[[if .Auth.LDAP.URL]] + - name: AUTH_LDAP_URL + value: "[[.Auth.LDAP.URL]]" + - name: AUTH_LDAP_BIND_DN + value: "[[.Auth.LDAP.BindDN]]" + - name: AUTH_LDAP_BIND_CREDENTIAL + value: "[[.Auth.LDAP.BindCredential]]" + - name: AUTH_LDAP_JAAS_SECURITY_DOMAIN + value: "[[.Auth.LDAP.JAASSecurityDomain]]" + - name: AUTH_LDAP_BASE_CTX_DN + value: "[[.Auth.LDAP.BaseCtxDN]]" + - name: AUTH_LDAP_BASE_FILTER + value: "[[.Auth.LDAP.BaseFilter]]" + - name: AUTH_LDAP_SEARCH_SCOPE + value: "[[.Auth.LDAP.SearchScope]]" + - name: AUTH_LDAP_SEARCH_TIME_LIMIT + value: "[[.Auth.LDAP.SearchTimeLimit]]" + - name: AUTH_LDAP_DISTINGUISHED_NAME_ATTRIBUTE + value: "[[.Auth.LDAP.DistinguishedNameAttribute]]" + - name: AUTH_LDAP_PARSE_USERNAME + value: "[[.Auth.LDAP.ParseUsername]]" + - name: AUTH_LDAP_USERNAME_BEGIN_STRING + value: "[[.Auth.LDAP.UsernameBeginString]]" + - name: AUTH_LDAP_USERNAME_END_STRING + value: "[[.Auth.LDAP.UsernameEndString]]" + - name: AUTH_LDAP_ROLE_ATTRIBUTE_ID + value: "[[.Auth.LDAP.RoleAttributeID]]" + - name: AUTH_LDAP_ROLES_CTX_DN + value: "[[.Auth.LDAP.RolesCtxDN]]" + - name: AUTH_LDAP_ROLE_FILTER + value: "[[.Auth.LDAP.RoleFilter]]" + - name: AUTH_LDAP_ROLE_RECURSION + value: "[[.Auth.LDAP.RoleRecursion]]" + - name: AUTH_LDAP_DEFAULT_ROLE + value: "[[.Auth.LDAP.DefaultRole]]" + - name: AUTH_LDAP_ROLE_NAME_ATTRIBUTE_ID + value: "[[.Auth.LDAP.RoleNameAttributeID]]" + - name: AUTH_LDAP_PARSE_ROLE_NAME_FROM_DN + value: "[[.Auth.LDAP.ParseRoleNameFromDN]]" + - name: AUTH_LDAP_ROLE_ATTRIBUTE_IS_DN + value: "[[.Auth.LDAP.RoleAttributeIsDN]]" + - name: AUTH_LDAP_REFERRAL_USER_ATTRIBUTE_ID_TO_CHECK + value: "[[.Auth.LDAP.ReferralUserAttributeIDToCheck]]" + #[[end]] + ## LDAP config END + ## RoleMapping config BEGIN + #[[if .Auth.RoleMapper.RolesProperties]] + - name: AUTH_ROLE_MAPPER_ROLES_PROPERTIES + value: "[[.Auth.RoleMapper.RolesProperties]]" + - name: AUTH_ROLE_MAPPER_REPLACE_ROLE + value: "[[.Auth.RoleMapper.ReplaceRole]]" + #[[end]] + ## RoleMapping config END + # Auth config END + ## Jvm config BEGIN + #[[if .Console.Jvm.JavaOptsAppend]] + - name: JAVA_OPTS_APPEND + value: "[[.Console.Jvm.JavaOptsAppend]]" + #[[end]] + #[[if .Console.Jvm.JavaMaxMemRatio]] + - name: JAVA_MAX_MEM_RATIO + value: "[[.Console.Jvm.JavaMaxMemRatio]]" + #[[end]] + #[[if .Console.Jvm.JavaInitialMemRatio]] + - name: JAVA_INITIAL_MEM_RATIO + value: "[[.Console.Jvm.JavaInitialMemRatio]]" + #[[end]] + #[[if .Console.Jvm.JavaMaxInitialMem]] + - name: JAVA_MAX_INITIAL_MEM + value: "[[.Console.Jvm.JavaMaxInitialMem]]" + #[[end]] + #[[if .Console.Jvm.JavaDiagnostics]] + - name: JAVA_DIAGNOSTICS + value: "[[.Console.Jvm.JavaDiagnostics]]" + #[[end]] + #[[if .Console.Jvm.JavaDebug]] + - name: JAVA_DEBUG + value: "[[.Console.Jvm.JavaDebug]]" + #[[end]] + #[[if .Console.Jvm.JavaDebugPort]] + - name: JAVA_DEBUG_PORT + value: "[[.Console.Jvm.JavaDebugPort]]" + #[[end]] + #[[if .Console.Jvm.GcMinHeapFreeRatio]] + - name: GC_MIN_HEAP_FREE_RATIO + value: "[[.Console.Jvm.GcMinHeapFreeRatio]]" + #[[end]] + #[[if .Console.Jvm.GcMaxHeapFreeRatio]] + - name: GC_MAX_HEAP_FREE_RATIO + value: "[[.Console.Jvm.GcMaxHeapFreeRatio]]" + #[[end]] + #[[if .Console.Jvm.GcTimeRatio]] + - name: GC_TIME_RATIO + value: "[[.Console.Jvm.GcTimeRatio]]" + #[[end]] + #[[if .Console.Jvm.GcAdaptiveSizePolicyWeight]] + - name: GC_ADAPTIVE_SIZE_POLICY_WEIGHT + value: "[[.Console.Jvm.GcAdaptiveSizePolicyWeight]]" + #[[end]] + #[[if .Console.Jvm.GcMaxMetaspaceSize]] + - name: GC_MAX_METASPACE_SIZE + value: "[[.Console.Jvm.GcMaxMetaspaceSize]]" + #[[end]] + #[[if .Console.Jvm.GcContainerOptions]] + - name: GC_CONTAINER_OPTIONS + value: "[[.Console.Jvm.GcContainerOptions]]" + #[[end]] + ## Jvm config END + volumeMounts: + - name: "[[.ApplicationName]]-[[.Console.Name]]-[[.Constants.KeystoreVolumeSuffix]]" + mountPath: "/etc/businesscentral-secret-volume" + readOnly: true + #[[if not .Console.Simplified]] + - name: "[[.ApplicationName]]-[[.Console.Name]]-pvol" + mountPath: "/opt/kie/data" + #[[end]] + #[[if .Auth.RoleMapper.From]] + - name: "[[.Constants.RoleMapperVolume]]" + mountPath: "[[.Auth.RoleMapper.MountPath]]" + readOnly: true + #[[end]] + #[[if .Console.GitHooks.From]] + - name: "[[.Constants.GitHooksVolume]]" + mountPath: "[[.Console.GitHooks.MountPath]]" + readOnly: true + #[[end]] + #[[if ne .Console.GitHooks.SSHSecret ""]] + - name: "[[.Constants.GitHooksSSHSecret]]" + mountPath: "/home/jboss/.ssh" + #[[end]] + volumes: + - name: "[[.ApplicationName]]-[[.Console.Name]]-[[.Constants.KeystoreVolumeSuffix]]" + secret: + secretName: "[[.Console.KeystoreSecret]]" + #[[if not .Console.Simplified]] + - name: "[[.ApplicationName]]-[[.Console.Name]]-pvol" + persistentVolumeClaim: + claimName: "[[.ApplicationName]]-[[.Console.Name]]-claim" + #[[end]] + #[[if .Auth.RoleMapper.From]] + - name: "[[.Constants.RoleMapperVolume]]" + #[[if eq .Auth.RoleMapper.From.Kind "ConfigMap"]] + configMap: + name: "[[.Auth.RoleMapper.From.Name]]" + defaultMode: 420 + #[[end]] + #[[if eq .Auth.RoleMapper.From.Kind "Secret"]] + secret: + secretName: "[[.Auth.RoleMapper.From.Name]]" + #[[end]] + #[[if eq .Auth.RoleMapper.From.Kind "PersistentVolumeClaim"]] + persistentVolumeClaim: + claimName: "[[.Auth.RoleMapper.From.Name]]" + #[[end]] + #[[end]] + #[[if .Console.GitHooks.From]] + - name: "[[.Constants.GitHooksVolume]]" + #[[if eq .Console.GitHooks.From.Kind "ConfigMap"]] + configMap: + name: "[[.Console.GitHooks.From.Name]]" + defaultMode: 0770 + #[[end]] + #[[if eq .Console.GitHooks.From.Kind "Secret"]] + secret: + secretName: "[[.Console.GitHooks.From.Name]]" + defaultMode: 0770 + #[[end]] + #[[if eq .Console.GitHooks.From.Kind "PersistentVolumeClaim"]] + persistentVolumeClaim: + claimName: "[[.Console.GitHooks.From.Name]]" + #[[end]] + #[[if ne .Console.GitHooks.SSHSecret ""]] + - name: "[[.Constants.GitHooksSSHSecret]]" + secret: + secretName: "[[.Console.GitHooks.SSHSecret]]" + items: + - key: id_rsa + path: id_rsa + mode: 0440 + - key: known_hosts + path: known_hosts + mode: 0660 + #[[end]] + #[[end]] + #[[if not .Console.Simplified]] + persistentVolumeClaims: + - metadata: + name: "[[.ApplicationName]]-[[.Console.Name]]-claim" + spec: + # [[ if ne .Console.StorageClassName "" ]] + storageClassName: "[[.Console.StorageClassName]]" + # [[ end ]] + accessModes: + - ReadWriteMany + resources: + requests: + storage: "64Mi" + #[[end]] + services: + - spec: + ports: + - name: http + port: 8080 + targetPort: 8080 + - name: https + port: 8443 + targetPort: 8443 + selector: + deploymentConfig: "[[.ApplicationName]]-[[.Console.Name]]" + metadata: + name: "[[.ApplicationName]]-[[.Console.Name]]" + labels: + app: "[[.ApplicationName]]" + application: "[[.ApplicationName]]" + service: "[[.ApplicationName]]-[[.Console.Name]]" + annotations: + description: All the Business Central web server's ports. + - spec: + clusterIP: "None" + ports: + - name: "ping" + port: 8888 + targetPort: 8888 + selector: + deploymentConfig: "[[.ApplicationName]]-[[.Console.Name]]" + metadata: + name: "[[.ApplicationName]]-[[.Console.Name]]-ping" + labels: + app: "[[.ApplicationName]]" + application: "[[.ApplicationName]]" + service: "[[.ApplicationName]]-[[.Console.Name]]" + annotations: + service.alpha.kubernetes.io/tolerate-unready-endpoints: "true" + description: "The JGroups ping port for clustering." + routes: + - id: "[[.ApplicationName]]-[[.Console.Name]]-https" + metadata: + name: "[[.ApplicationName]]-[[.Console.Name]]" + labels: + app: "[[.ApplicationName]]" + application: "[[.ApplicationName]]" + service: "[[.ApplicationName]]-[[.Console.Name]]" + annotations: + description: Route for Business Central's https service. + haproxy.router.openshift.io/timeout: 60s + spec: + host: "" + to: + name: "[[.ApplicationName]]-[[.Console.Name]]" + port: + targetPort: https + tls: + insecureEdgeTerminationPolicy: Redirect + termination: passthrough +## KIE smartrouter BEGIN +smartRouter: + persistentVolumeClaims: + - metadata: + name: "[[.ApplicationName]]-smartrouter-claim" + labels: + app: "[[.ApplicationName]]" + application: "[[.ApplicationName]]" + service: "[[.ApplicationName]]-smartrouter" + spec: + # [[ if ne .SmartRouter.StorageClassName "" ]] + storageClassName: "[[.SmartRouter.StorageClassName]]" + # [[ end ]] + accessModes: + - ReadWriteMany + resources: + requests: + storage: "64Mi" + deploymentConfigs: + - metadata: + name: "[[.ApplicationName]]-smartrouter" + labels: + app: "[[.ApplicationName]]" + application: "[[.ApplicationName]]" + service: "[[.ApplicationName]]-smartrouter" + spec: + strategy: + rollingParams: + maxSurge: 100% + maxUnavailable: 0 + type: Rolling + triggers: + #[[if not .SmartRouter.OmitImageStream]] + - type: ImageChange + imageChangeParams: + automatic: true + containerNames: + - "[[.ApplicationName]]-smartrouter" + from: + kind: ImageStreamTag + namespace: "openshift" + name: "[[.SmartRouter.Image]]:[[.SmartRouter.ImageTag]]" + #[[end]] + - type: ConfigChange + replicas: [[.SmartRouter.Replicas]] + selector: + deploymentConfig: "[[.ApplicationName]]-smartrouter" + template: + metadata: + name: "[[.ApplicationName]]-smartrouter" + labels: + app: "[[.ApplicationName]]" + application: "[[.ApplicationName]]" + deploymentConfig: "[[.ApplicationName]]-smartrouter" + service: "[[.ApplicationName]]-smartrouter" + spec: + serviceAccountName: "[[$.ApplicationName]]-[[$.Constants.Product]]svc" + terminationGracePeriodSeconds: 60 + containers: + - name: "[[.ApplicationName]]-smartrouter" + image: "[[.SmartRouter.ImageURL]]" + imagePullPolicy: Always + resources: + limits: + memory: "512Mi" + ports: + - name: http + containerPort: 9000 + protocol: TCP + env: + - name: KIE_SERVER_ROUTER_HOST + valueFrom: + fieldRef: + apiVersion: v1 + fieldPath: status.podIP + - name: KIE_SERVER_ROUTER_PORT + value: "9000" + - name: KIE_SERVER_ROUTER_PORT_TLS + value: "9443" + - name: KIE_SERVER_ROUTER_ID + value: "kie-server-router" + - name: KIE_SERVER_ROUTER_NAME + value: "KIE Server Router" + - name: KIE_SERVER_ROUTER_PROTOCOL + value: "[[.SmartRouter.Protocol]]" + #[[if .SmartRouter.UseExternalRoute]] + - name: KIE_SERVER_ROUTER_ROUTE_NAME + value: "[[$.ApplicationName]]-smartrouter" + #[[end]] + - name: KIE_SERVER_ROUTER_SERVICE + value: "[[.ApplicationName]]-smartrouter" + - name: KIE_SERVER_ROUTER_TLS_KEYSTORE_KEYALIAS + value: "jboss" + - name: KIE_SERVER_ROUTER_TLS_KEYSTORE_PASSWORD + value: "[[.KeyStorePassword]]" + - name: KIE_SERVER_ROUTER_TLS_KEYSTORE + value: "/etc/smartrouter-secret-volume/keystore.jks" + - name: KIE_ADMIN_USER + value: "[[.AdminUser]]" + - name: KIE_ADMIN_PWD + value: "[[.AdminPassword]]" + - name: KIE_SERVER_CONTROLLER_SERVICE + value: "[[.ApplicationName]]-[[.Console.Name]]" + - name: KIE_SERVER_CONTROLLER_PROTOCOL + value: "http" + - name: KIE_SERVER_ROUTER_REPO + value: "/opt/[[.Constants.Product]]-smartrouter/data" + - name: KIE_SERVER_ROUTER_CONFIG_WATCHER_ENABLED + value: "true" + volumeMounts: + - name: "[[.ApplicationName]]-smartrouter" + mountPath: "/opt/[[.Constants.Product]]-smartrouter/data" + - name: smartrouter-[[.Constants.KeystoreVolumeSuffix]] + mountPath: "/etc/smartrouter-secret-volume" + readOnly: true + volumes: + - name: "[[.ApplicationName]]-smartrouter" + persistentVolumeClaim: + claimName: "[[.ApplicationName]]-smartrouter-claim" + - name: smartrouter-[[.Constants.KeystoreVolumeSuffix]] + secret: + secretName: "[[.SmartRouter.KeystoreSecret]]" + services: + - spec: + ports: + - name: http + port: 9000 + targetPort: 9000 + - name: https + port: 9443 + targetPort: 9443 + selector: + deploymentConfig: "[[.ApplicationName]]-smartrouter" + metadata: + name: "[[.ApplicationName]]-smartrouter" + labels: + app: "[[.ApplicationName]]" + application: "[[.ApplicationName]]" + service: "[[.ApplicationName]]-smartrouter" + annotations: + description: The smart router server http and https ports. + routes: + - id: "[[.ApplicationName]]-smartrouter-https" + metadata: + name: "[[.ApplicationName]]-smartrouter" + labels: + app: "[[.ApplicationName]]" + application: "[[.ApplicationName]]" + service: "[[.ApplicationName]]-smartrouter" + annotations: + description: Route for Smart Router's https service. + spec: + host: "" + to: + name: "[[.ApplicationName]]-smartrouter" + port: + targetPort: https + tls: + insecureEdgeTerminationPolicy: Redirect + termination: passthrough +## KIE smartrouter END +## KIE Servers BEGIN +servers: + ## RANGE BEGINS + #[[ range $index, $Map := .Servers ]] + ## KIE server deployment config BEGIN + - deploymentConfigs: + - metadata: + name: "[[.KieName]]" + labels: + app: "[[$.ApplicationName]]" + application: "[[$.ApplicationName]]" + service: "[[.KieName]]" + services.server.kie.org/kie-server-id: "[[.KieServerID]]" + spec: + revisionHistoryLimit: 10 + strategy: + rollingParams: + maxSurge: 100% + maxUnavailable: 0 + type: Rolling + triggers: + #[[if not .OmitImageStream]] + - type: ImageChange + imageChangeParams: + automatic: true + containerNames: + - "[[.KieName]]" + from: + kind: "[[.From.Kind]]" + namespace: "[[.From.Namespace]]" + name: "[[.From.Name]]" + #[[end]] + - type: ConfigChange + replicas: [[.Replicas]] + selector: + deploymentConfig: "[[.KieName]]" + template: + metadata: + name: "[[.KieName]]" + labels: + app: "[[$.ApplicationName]]" + application: "[[$.ApplicationName]]" + service: "[[.KieName]]" + deploymentConfig: "[[.KieName]]" + services.server.kie.org/kie-server-id: "[[.KieServerID]]" + spec: + serviceAccountName: "[[$.ApplicationName]]-[[$.Constants.Product]]svc" + terminationGracePeriodSeconds: 90 + containers: + - name: "[[.KieName]]" + image: "[[.ImageURL]]" + imagePullPolicy: Always + lifecycle: + postStart: + exec: + command: + - /bin/sh + - /opt/eap/bin/launch/jboss-kie-kieserver-hooks.sh + preStop: + exec: + command: + - /bin/sh + - /opt/eap/bin/launch/jboss-kie-kieserver-hooks.sh + env: + #[[if not .OmitConsole]] + - name: WORKBENCH_SERVICE_NAME + value: "[[$.ApplicationName]]-[[$.Console.Name]]" + - name: KIE_SERVER_CONTROLLER_SERVICE + value: "[[$.ApplicationName]]-[[$.Console.Name]]" + - name: KIE_SERVER_CONTROLLER_PROTOCOL + value: ws + #[[end]] + - name: KIE_ADMIN_USER + value: "[[$.AdminUser]]" + - name: KIE_ADMIN_PWD + value: "[[$.AdminPassword]]" + - name: KIE_SERVER_STARTUP_STRATEGY + value: "OpenShiftStartupStrategy" + - name: DROOLS_SERVER_FILTER_CLASSES + value: "true" + - name: KIE_SERVER_MODE + value: DEVELOPMENT + - name: KIE_MBEANS + value: enabled + - name: KIE_SERVER_HOST + valueFrom: + fieldRef: + apiVersion: v1 + fieldPath: status.podIP + - name: KIE_SERVER_ID + valueFrom: + fieldRef: + apiVersion: v1 + fieldPath: metadata.labels['services.server.kie.org/kie-server-id'] + - name: KIE_SERVER_ROUTE_NAME + value: "[[.KieName]]" + - name: "[[$.Constants.MavenRepo]]_MAVEN_REPO_USERNAME" + value: "[[$.AdminUser]]" + - name: "[[$.Constants.MavenRepo]]_MAVEN_REPO_PASSWORD" + value: "[[$.AdminPassword]]" + - name: "[[$.Constants.MavenRepo]]_MAVEN_REPO_SERVICE" + value: "[[$.ApplicationName]]-[[$.Console.Name]]" + - name: MAVEN_REPOS + value: "[[$.Constants.MavenRepo]],EXTERNAL" + - name: "[[$.Constants.MavenRepo]]_MAVEN_REPO_PATH" + value: /maven2/ + - name: KIE_SERVER_BYPASS_AUTH_USER + value: "false" + - name: HTTPS_KEYSTORE_DIR + value: "/etc/kieserver-secret-volume" + - name: HTTPS_KEYSTORE + value: "keystore.jks" + - name: HTTPS_NAME + value: "jboss" + - name: HTTPS_PASSWORD + value: "[[$.KeyStorePassword]]" + - name: JGROUPS_PING_PROTOCOL + value: "openshift.DNS_PING" + - name: OPENSHIFT_DNS_PING_SERVICE_NAME + value: "[[.KieName]]-ping" + - name: OPENSHIFT_DNS_PING_SERVICE_PORT + value: "8888" + # Auth config BEGIN + ## SSO config BEGIN + #[[if $.Auth.SSO.URL]] + - name: SSO_OPENIDCONNECT_DEPLOYMENTS + value: ROOT.war + - name: SSO_URL + value: "[[$.Auth.SSO.URL]]" + - name: SSO_REALM + value: "[[$.Auth.SSO.Realm]]" + - name: SSO_USERNAME + value: "[[$.Auth.SSO.AdminUser]]" + - name: SSO_PASSWORD + value: "[[$.Auth.SSO.AdminPassword]]" + - name: SSO_DISABLE_SSL_CERTIFICATE_VALIDATION + value: "[[$.Auth.SSO.DisableSSLCertValidation]]" + - name: SSO_PRINCIPAL_ATTRIBUTE + value: "[[$.Auth.SSO.PrincipalAttribute]]" + - name: SSO_SECRET + value: "[[.SSOAuthClient.Secret]]" + - name: SSO_CLIENT + value: "[[.SSOAuthClient.Name]]" + - name: HOSTNAME_HTTP + value: "[[.SSOAuthClient.HostnameHTTP]]" + - name: HOSTNAME_HTTPS + value: "[[.SSOAuthClient.HostnameHTTPS]]" + #[[end]] + ## SSO config END + ## LDAP config BEGIN + #[[if $.Auth.LDAP.URL]] + - name: AUTH_LDAP_URL + value: "[[$.Auth.LDAP.URL]]" + - name: AUTH_LDAP_BIND_DN + value: "[[$.Auth.LDAP.BindDN]]" + - name: AUTH_LDAP_BIND_CREDENTIAL + value: "[[$.Auth.LDAP.BindCredential]]" + - name: AUTH_LDAP_JAAS_SECURITY_DOMAIN + value: "[[$.Auth.LDAP.JAASSecurityDomain]]" + - name: AUTH_LDAP_BASE_CTX_DN + value: "[[$.Auth.LDAP.BaseCtxDN]]" + - name: AUTH_LDAP_BASE_FILTER + value: "[[$.Auth.LDAP.BaseFilter]]" + - name: AUTH_LDAP_SEARCH_SCOPE + value: "[[$.Auth.LDAP.SearchScope]]" + - name: AUTH_LDAP_SEARCH_TIME_LIMIT + value: "[[$.Auth.LDAP.SearchTimeLimit]]" + - name: AUTH_LDAP_DISTINGUISHED_NAME_ATTRIBUTE + value: "[[$.Auth.LDAP.DistinguishedNameAttribute]]" + - name: AUTH_LDAP_PARSE_USERNAME + value: "[[$.Auth.LDAP.ParseUsername]]" + - name: AUTH_LDAP_USERNAME_BEGIN_STRING + value: "[[$.Auth.LDAP.UsernameBeginString]]" + - name: AUTH_LDAP_USERNAME_END_STRING + value: "[[$.Auth.LDAP.UsernameEndString]]" + - name: AUTH_LDAP_ROLE_ATTRIBUTE_ID + value: "[[$.Auth.LDAP.RoleAttributeID]]" + - name: AUTH_LDAP_ROLES_CTX_DN + value: "[[$.Auth.LDAP.RolesCtxDN]]" + - name: AUTH_LDAP_ROLE_FILTER + value: "[[$.Auth.LDAP.RoleFilter]]" + - name: AUTH_LDAP_ROLE_RECURSION + value: "[[$.Auth.LDAP.RoleRecursion]]" + - name: AUTH_LDAP_DEFAULT_ROLE + value: "[[$.Auth.LDAP.DefaultRole]]" + - name: AUTH_LDAP_ROLE_NAME_ATTRIBUTE_ID + value: "[[$.Auth.LDAP.RoleNameAttributeID]]" + - name: AUTH_LDAP_PARSE_ROLE_NAME_FROM_DN + value: "[[$.Auth.LDAP.ParseRoleNameFromDN]]" + - name: AUTH_LDAP_ROLE_ATTRIBUTE_IS_DN + value: "[[$.Auth.LDAP.RoleAttributeIsDN]]" + - name: AUTH_LDAP_REFERRAL_USER_ATTRIBUTE_ID_TO_CHECK + value: "[[$.Auth.LDAP.ReferralUserAttributeIDToCheck]]" + #[[end]] + ## LDAP config END + ## RoleMapping config BEGIN + #[[if $.Auth.RoleMapper.RolesProperties]] + - name: AUTH_ROLE_MAPPER_ROLES_PROPERTIES + value: "[[$.Auth.RoleMapper.RolesProperties]]" + - name: AUTH_ROLE_MAPPER_REPLACE_ROLE + value: "[[$.Auth.RoleMapper.ReplaceRole]]" + #[[end]] + ## RoleMapping config END + # Auth config END + - name: KIE_SERVER_ROUTER_SERVICE + value: "[[$.ApplicationName]]-smartrouter" + #[[ if eq .SmartRouter.Protocol "https" ]] + - name: KIE_SERVER_ROUTER_PORT + value: "9443" + #[[ else ]] + - name: KIE_SERVER_ROUTER_PORT + value: "9000" + #[[ end ]] + - name: KIE_SERVER_ROUTER_PROTOCOL + value: "[[.SmartRouter.Protocol]]" + ## Jvm config BEGIN + #[[if .Jvm.JavaOptsAppend]] + - name: JAVA_OPTS_APPEND + value: "[[.Jvm.JavaOptsAppend]]" + #[[end]] + #[[if .Jvm.JavaMaxMemRatio]] + - name: JAVA_MAX_MEM_RATIO + value: "[[.Jvm.JavaMaxMemRatio]]" + #[[end]] + #[[if .Jvm.JavaInitialMemRatio]] + - name: JAVA_INITIAL_MEM_RATIO + value: "[[.Jvm.JavaInitialMemRatio]]" + #[[end]] + #[[if .Jvm.JavaMaxInitialMem]] + - name: JAVA_MAX_INITIAL_MEM + value: "[[.Jvm.JavaMaxInitialMem]]" + #[[end]] + #[[if .Jvm.JavaDiagnostics]] + - name: JAVA_DIAGNOSTICS + value: "[[.Jvm.JavaDiagnostics]]" + #[[end]] + #[[if .Jvm.JavaDebug]] + - name: JAVA_DEBUG + value: "[[.Jvm.JavaDebug]]" + #[[end]] + #[[if .Jvm.JavaDebugPort]] + - name: JAVA_DEBUG_PORT + value: "[[.Jvm.JavaDebugPort]]" + #[[end]] + #[[if .Jvm.GcMinHeapFreeRatio]] + - name: GC_MIN_HEAP_FREE_RATIO + value: "[[.Jvm.GcMinHeapFreeRatio]]" + #[[end]] + #[[if .Jvm.GcMaxHeapFreeRatio]] + - name: GC_MAX_HEAP_FREE_RATIO + value: "[[.Jvm.GcMaxHeapFreeRatio]]" + #[[end]] + #[[if .Jvm.GcTimeRatio]] + - name: GC_TIME_RATIO + value: "[[.Jvm.GcTimeRatio]]" + #[[end]] + #[[if .Jvm.GcAdaptiveSizePolicyWeight]] + - name: GC_ADAPTIVE_SIZE_POLICY_WEIGHT + value: "[[.Jvm.GcAdaptiveSizePolicyWeight]]" + #[[end]] + #[[if .Jvm.GcMaxMetaspaceSize]] + - name: GC_MAX_METASPACE_SIZE + value: "[[.Jvm.GcMaxMetaspaceSize]]" + #[[end]] + #[[if .Jvm.GcContainerOptions]] + - name: GC_CONTAINER_OPTIONS + value: "[[.Jvm.GcContainerOptions]]" + #[[end]] + ## Jvm config END + resources: + limits: + memory: 1Gi + livenessProbe: + httpGet: + path: /services/rest/server/healthcheck + port: 8080 + scheme: HTTP + initialDelaySeconds: 180 + timeoutSeconds: 2 + periodSeconds: 15 + failureThreshold: 3 + readinessProbe: + httpGet: + path: /services/rest/server/readycheck + port: 8080 + scheme: HTTP + initialDelaySeconds: 30 + timeoutSeconds: 2 + periodSeconds: 5 + failureThreshold: 36 + ports: + - name: jolokia + containerPort: 8778 + protocol: TCP + - name: http + containerPort: 8080 + protocol: TCP + - name: https + containerPort: 8443 + protocol: TCP + - name: ping + containerPort: 8888 + protocol: TCP + volumeMounts: + - mountPath: /etc/kieserver-secret-volume + name: kieserver-[[$.Constants.KeystoreVolumeSuffix]] + readOnly: true + #[[if $.Auth.RoleMapper.From]] + - name: "[[$.Constants.RoleMapperVolume]]" + mountPath: "[[$.Auth.RoleMapper.MountPath]]" + readOnly: true + #[[end]] + volumes: + - name: kieserver-[[$.Constants.KeystoreVolumeSuffix]] + secret: + secretName: "[[.KeystoreSecret]]" + #[[if $.Auth.RoleMapper.From]] + - name: "[[$.Constants.RoleMapperVolume]]" + #[[if eq $.Auth.RoleMapper.From.Kind "ConfigMap"]] + configMap: + name: "[[$.Auth.RoleMapper.From.Name]]" + defaultMode: 420 + #[[end]] + #[[if eq $.Auth.RoleMapper.From.Kind "Secret"]] + secret: + secretName: "[[$.Auth.RoleMapper.From.Name]]" + #[[end]] + #[[if eq $.Auth.RoleMapper.From.Kind "PersistentVolumeClaim"]] + persistentVolumeClaim: + claimName: "[[$.Auth.RoleMapper.From.Name]]" + #[[end]] + #[[end]] + ## KIE server deployment config END + ## KIE server services BEGIN + services: + - spec: + ports: + - name: http + port: 8080 + targetPort: 8080 + - name: https + port: 8443 + targetPort: 8443 + selector: + deploymentConfig: "[[.KieName]]" + sessionAffinity: ClientIP + sessionAffinityConfig: + clientIP: + timeoutSeconds: 3600 + metadata: + name: "[[.KieName]]" + labels: + app: "[[$.ApplicationName]]" + application: "[[$.ApplicationName]]" + service: "[[.KieName]]" + annotations: + description: All the KIE server web server's ports. (KIE server) + - spec: + clusterIP: "None" + ports: + - name: "ping" + port: 8888 + targetPort: 8888 + selector: + deploymentConfig: "[[.KieName]]" + metadata: + name: "[[.KieName]]-ping" + labels: + app: "[[$.ApplicationName]]" + application: "[[$.ApplicationName]]" + service: "[[.KieName]]" + annotations: + service.alpha.kubernetes.io/tolerate-unready-endpoints: "true" + description: "The JGroups ping port for clustering." + ## KIE server services END + ## KIE server routes BEGIN + routes: + - id: "[[.KieName]]-https" + metadata: + name: "[[.KieName]]" + labels: + app: "[[$.ApplicationName]]" + application: "[[$.ApplicationName]]" + service: "[[.KieName]]" + annotations: + description: Route for KIE server's https service. + haproxy.router.openshift.io/timeout: 60s + spec: + to: + name: "[[.KieName]]" + port: + targetPort: https + tls: + insecureEdgeTerminationPolicy: Redirect + termination: passthrough + ## KIE server routes END +#[[end]] +## RANGE ends +## KIE Servers END + +## Other required resources BEGIN +others: + - roles: + - metadata: + name: "[[.ApplicationName]]-[[.Constants.Product]]svc-edit" + rules: + - apiGroups: + - "" + resources: + - configmaps + - serviceaccounts + - pods + verbs: + - create + - delete + - deletecollection + - get + - list + - patch + - update + - watch + - apiGroups: + - apps.openshift.io + resources: + - deploymentconfigs + verbs: + - create + - delete + - deletecollection + - get + - list + - patch + - update + - watch + - apiGroups: + - route.openshift.io + resources: + - routes + verbs: + - create + - delete + - deletecollection + - get + - list + - patch + - update + - watch + + serviceAccounts: + - metadata: + name: "[[.ApplicationName]]-[[.Constants.Product]]svc" + labels: + app: "[[.ApplicationName]]" + application: "[[.ApplicationName]]" + + rolebindings: + - metadata: + name: "[[.ApplicationName]]-[[.Constants.Product]]svc-edit" + subjects: + - kind: ServiceAccount + name: "[[.ApplicationName]]-[[.Constants.Product]]svc" + roleRef: + kind: Role + name: "[[.ApplicationName]]-[[.Constants.Product]]svc-edit" +# Other required resources END diff --git a/config/7.9.1/dbs/mysql.yaml b/config/7.9.1/dbs/mysql.yaml new file mode 100644 index 000000000..b0dea7c9a --- /dev/null +++ b/config/7.9.1/dbs/mysql.yaml @@ -0,0 +1,111 @@ +## KIE Databases BEGIN +databases: + ## RANGE BEGINS + #[[ range $index, $Map := .Databases ]] + - deploymentConfigs: + ## MySQL deployment BEGIN + - metadata: + name: "[[.ServerName]]-mysql" + labels: + app: "[[$.ApplicationName]]" + application: "[[$.ApplicationName]]" + service: "[[.ServerName]]-mysql" + spec: + strategy: + type: Recreate + triggers: + - type: ConfigChange + replicas: 1 + selector: + deploymentConfig: "[[.ServerName]]-mysql" + template: + metadata: + name: "[[.ServerName]]-mysql" + labels: + deploymentConfig: "[[.ServerName]]-mysql" + app: "[[$.ApplicationName]]" + application: "[[$.ApplicationName]]" + service: "[[.ServerName]]-mysql" + spec: + terminationGracePeriodSeconds: 60 + containers: + - name: "[[.ServerName]]-mysql" + image: "[[$.Constants.MySQLImageURL]]" + imagePullPolicy: Always + livenessProbe: + tcpSocket: + port: 3306 + initialDelaySeconds: 30 + timeoutSeconds: 1 + readinessProbe: + exec: + command: + - "/bin/sh" + - "-i" + - "-c" + - "MYSQL_PWD=$MYSQL_PASSWORD mysql -h 127.0.0.1 -u $MYSQL_USER -D $MYSQL_DATABASE -e 'SELECT 1'" + port: 3306 + initialDelaySeconds: 5 + timeoutSeconds: 1 + ports: + - containerPort: 3306 + protocol: TCP + env: + - name: MYSQL_USER + value: "[[.Username]]" + - name: MYSQL_PASSWORD + value: "[[$.DBPassword]]" + - name: MYSQL_DATABASE + value: "[[.DatabaseName]]" + - name: MYSQL_DEFAULT_AUTHENTICATION_PLUGIN + value: "mysql_native_password" + volumeMounts: + - mountPath: "/var/lib/mysql/data" + name: "[[.ServerName]]-mysql-[[$.Constants.DatabaseVolumeSuffix]]" + ## [[ if ne .Size "" ]] + volumes: + - name: "[[.ServerName]]-mysql-[[$.Constants.DatabaseVolumeSuffix]]" + persistentVolumeClaim: + claimName: "[[.ServerName]]-mysql-claim" + ## MySQL persistent volume claim BEGIN + persistentVolumeClaims: + - metadata: + name: "[[.ServerName]]-mysql-claim" + labels: + app: "[[$.ApplicationName]]" + application: "[[$.ApplicationName]]" + service: "[[.ServerName]]-mysql" + spec: + # [[ if ne .StorageClassName "" ]] + storageClassName: "[[.StorageClassName]]" + # [[ end ]] + accessModes: + - ReadWriteOnce + resources: + requests: + storage: "[[.Size]]" + ## MySQL persistent volume claim END + ## [[ else ]] + volumes: + - name: "[[.ServerName]]-mysql-[[$.Constants.DatabaseVolumeSuffix]]" + emptyDir: {} + ## [[ end ]] + ## MySQL deployment END + services: + - spec: + ports: + - port: 3306 + targetPort: 3306 + selector: + deploymentConfig: "[[.ServerName]]-mysql" + metadata: + name: "[[.ServerName]]-mysql" + labels: + app: "[[$.ApplicationName]]" + application: "[[$.ApplicationName]]" + service: "[[.ServerName]]-mysql" + annotations: + description: The MySQL server's port. + #[[end]] + ## RANGE ends +## KIE Databases END diff --git a/config/7.9.1/dbs/pim/external.yaml b/config/7.9.1/dbs/pim/external.yaml new file mode 100644 index 000000000..010a9a094 --- /dev/null +++ b/config/7.9.1/dbs/pim/external.yaml @@ -0,0 +1,42 @@ +## KIE ProcessMigration BEGIN +processMigration: + ## KIE ProcessMigration ConfigMap BEGIN + configMaps: + - metadata: + name: "[[.ApplicationName]]-process-migration" + data: + project-overrides.yml: |- + kieservers: + #[[range $index, $Map := .ProcessMigration.KieServerClients]] + - host: [[.Host]] + username: [[.Username]] + password: [[.Password]] + #[[end]] + thorntail: + datasources: + data-sources: + pimDS: + driver-name: "[[.ProcessMigration.Database.ExternalConfig.Driver]]" + connection-url: "[[.ProcessMigration.Database.ExternalConfig.JdbcURL]]" + user-name: "[[.ProcessMigration.Database.ExternalConfig.Username]]" + password: "[[.ProcessMigration.Database.ExternalConfig.Password]]" + #[[if .ProcessMigration.Database.ExternalConfig.MaxPoolSize]] + max-pool-size: "[[.ProcessMigration.Database.ExternalConfig.MaxPoolSize]]" + #[[end]] + #[[if .ProcessMigration.Database.ExternalConfig.MinPoolSize]] + min-pool-size: "[[.ProcessMigration.Database.ExternalConfig.MinPoolSize]]" + #[[end]] + #[[if .ProcessMigration.Database.ExternalConfig.ConnectionChecker]] + valid-connection-checker-class-name: "[[.ProcessMigration.Database.ExternalConfig.ConnectionChecker]]" + #[[end]] + #[[if .ProcessMigration.Database.ExternalConfig.ExceptionSorter]] + exception-sorter-class-name: "[[.ProcessMigration.Database.ExternalConfig.ExceptionSorter]]" + #[[end]] + #[[if .ProcessMigration.Database.ExternalConfig.BackgroundValidation]] + background-validation: "[[.ProcessMigration.Database.ExternalConfig.BackgroundValidation]]" + #[[end]] + #[[if .ProcessMigration.Database.ExternalConfig.BackgroundValidationMillis]] + background-validation-millis: "[[.ProcessMigration.Database.ExternalConfig.BackgroundValidationMillis]]" + #[[end]] + ## KIE ProcessMigration ConfigMap END +## KIE ProcessMigration END diff --git a/config/7.9.1/dbs/pim/mysql.yaml b/config/7.9.1/dbs/pim/mysql.yaml new file mode 100644 index 000000000..605757115 --- /dev/null +++ b/config/7.9.1/dbs/pim/mysql.yaml @@ -0,0 +1,49 @@ +## KIE ProcessMigration BEGIN +processMigration: + ## KIE ProcessMigration Deployment config BEGIN + deploymentConfigs: + - metadata: + name: "[[.ApplicationName]]-process-migration" + spec: + template: + spec: + initContainers: + - command: + [ + "/bin/bash", + "-c", + ">- + replicas=$(oc get dc [[.ApplicationName]]-process-migration-mysql -o=jsonpath='{.status.availableReplicas}'); until '[' $replicas -gt 0 ']'; do echo waiting for [[.ApplicationName]]-process-migration-mysql; replicas=$(oc get dc [[.ApplicationName]]-process-migration-mysql -o=jsonpath='{.status.availableReplicas}'); sleep 2; done;", + ] + image: "[[$.Constants.OseCliImageURL]]" + imagePullPolicy: IfNotPresent + name: "[[.ApplicationName]]-process-migration-mysql-init" + terminationMessagePolicy: FallbackToLogsOnError + containers: + - name: "[[.ApplicationName]]-process-migration" + env: + - name: JBOSS_KIE_EXTRA_CLASSPATH + value: "/opt/rhpam-process-migration/drivers/mariadb-java-client.jar" + ## KIE ProcessMigration Deployment config END + ## KIE ProcessMigration ConfigMap BEGIN + configMaps: + - metadata: + name: "[[.ApplicationName]]-process-migration" + data: + project-overrides.yml: |- + kieservers: + #[[range $index, $Map := .ProcessMigration.KieServerClients]] + - host: [[.Host]] + username: [[.Username]] + password: [[.Password]] + #[[end]] + thorntail: + datasources: + data-sources: + pimDS: + driver-name: mariadb + connection-url: jdbc:mariadb://[[.ApplicationName]]-process-migration-mysql:3306/pimdb?useUnicode=true&useSSL=false&serverTimezone=UTC + user-name: pim + password: "[[$.DBPassword]]" + ## KIE ProcessMigration ConfigMap END +## KIE ProcessMigration END diff --git a/config/7.9.1/dbs/pim/postgresql.yaml b/config/7.9.1/dbs/pim/postgresql.yaml new file mode 100644 index 000000000..dcc8eda51 --- /dev/null +++ b/config/7.9.1/dbs/pim/postgresql.yaml @@ -0,0 +1,49 @@ +## KIE ProcessMigration BEGIN +processMigration: + ## KIE ProcessMigration Deployment config BEGIN + deploymentConfigs: + - metadata: + name: "[[.ApplicationName]]-process-migration" + spec: + template: + spec: + initContainers: + - command: + [ + "/bin/bash", + "-c", + ">- + replicas=$(oc get dc [[.ApplicationName]]-process-migration-postgresql -o=jsonpath='{.status.availableReplicas}'); until '[' $replicas -gt 0 ']'; do echo waiting for [[.ApplicationName]]-process-migration-postgresql; replicas=$(oc get dc [[.ApplicationName]]-process-migration-postgresql -o=jsonpath='{.status.availableReplicas}'); sleep 2; done;", + ] + image: "[[$.Constants.OseCliImageURL]]" + imagePullPolicy: IfNotPresent + name: "[[.ApplicationName]]-process-migration-postgresql-init" + terminationMessagePolicy: FallbackToLogsOnError + containers: + - name: "[[.ApplicationName]]-process-migration" + env: + - name: JBOSS_KIE_EXTRA_CLASSPATH + value: "/opt/rhpam-process-migration/drivers/postgresql-jdbc.jar" + ## KIE ProcessMigration Deployment config END + ## KIE ProcessMigration ConfigMap BEGIN + configMaps: + - metadata: + name: "[[.ApplicationName]]-process-migration" + data: + project-overrides.yml: |- + kieservers: + #[[range $index, $Map := .ProcessMigration.KieServerClients]] + - host: [[.Host]] + username: [[.Username]] + password: [[.Password]] + #[[end]] + thorntail: + datasources: + data-sources: + pimDS: + driver-name: postgresql + connection-url: jdbc:postgresql://[[.ApplicationName]]-process-migration-postgresql:5432/pimdb + user-name: pim + password: "[[$.DBPassword]]" + ## KIE ProcessMigration ConfigMap END +## KIE ProcessMigration END diff --git a/config/7.9.1/dbs/postgresql.yaml b/config/7.9.1/dbs/postgresql.yaml new file mode 100644 index 000000000..452a1f901 --- /dev/null +++ b/config/7.9.1/dbs/postgresql.yaml @@ -0,0 +1,109 @@ +## KIE Databases BEGIN +databases: + ## RANGE BEGINS + #[[ range $index, $Map := .Databases ]] + - deploymentConfigs: + ## PostgreSQL deployment config BEGIN + - metadata: + name: "[[.ServerName]]-postgresql" + labels: + app: "[[$.ApplicationName]]" + application: "[[$.ApplicationName]]" + service: "[[.ServerName]]-postgresql" + spec: + strategy: + type: Recreate + triggers: + - type: ConfigChange + replicas: 1 + selector: + deploymentConfig: "[[.ServerName]]-postgresql" + template: + metadata: + name: "[[.ServerName]]-postgresql" + labels: + deploymentConfig: "[[.ServerName]]-postgresql" + app: "[[$.ApplicationName]]" + application: "[[$.ApplicationName]]" + service: "[[.ServerName]]-postgresql" + spec: + containers: + - name: "[[.ServerName]]-postgresql" + image: "[[$.Constants.PostgreSQLImageURL]]" + imagePullPolicy: IfNotPresent + livenessProbe: + exec: + command: + - "/usr/libexec/check-container" + - "--live" + initialDelaySeconds: 120 + timeoutSeconds: 10 + readinessProbe: + exec: + command: + - "/usr/libexec/check-container" + initialDelaySeconds: 5 + timeoutSeconds: 1 + ports: + - containerPort: 5432 + protocol: TCP + env: + - name: POSTGRESQL_USER + value: "[[.Username]]" + - name: POSTGRESQL_PASSWORD + value: "[[$.DBPassword]]" + - name: POSTGRESQL_DATABASE + value: "[[.DatabaseName]]" + - name: POSTGRESQL_MAX_PREPARED_TRANSACTIONS + value: "100" + volumeMounts: + - mountPath: "/var/lib/pgsql/data" + name: "[[.ServerName]]-postgresql-[[$.Constants.DatabaseVolumeSuffix]]" + ## [[ if ne .Size "" ]] + volumes: + - name: "[[.ServerName]]-postgresql-[[$.Constants.DatabaseVolumeSuffix]]" + persistentVolumeClaim: + claimName: "[[.ServerName]]-postgresql-claim" + ## PostgreSQL deployment config END + ## PostgreSQL persistent volume claim BEGIN + persistentVolumeClaims: + - metadata: + name: "[[.ServerName]]-postgresql-claim" + labels: + app: "[[$.ApplicationName]]" + application: "[[$.ApplicationName]]" + service: "[[.ServerName]]-postgresql" + spec: + # [[ if ne .StorageClassName "" ]] + storageClassName: "[[.StorageClassName]]" + # [[ end ]] + accessModes: + - ReadWriteOnce + resources: + requests: + storage: "[[.Size]]" + ## PostgreSQL persistent volume claim END + ## [[ else ]] + volumes: + - name: "[[.ServerName]]-postgresql-[[$.Constants.DatabaseVolumeSuffix]]" + emptyDir: {} + ## [[ end ]] + services: + ## PostgreSQL service BEGIN + - metadata: + annotations: + description: The database server's port. + labels: + application: prod + service: "[[.ServerName]]-postgresql" + name: "[[.ServerName]]-postgresql" + spec: + ports: + - port: 5432 + targetPort: 5432 + selector: + deploymentConfig: "[[.ServerName]]-postgresql" + ## PostgreSQL service END + #[[end]] + ## RANGE ends +## KIE Databases END diff --git a/config/7.9.1/dbs/servers/external.yaml b/config/7.9.1/dbs/servers/external.yaml new file mode 100644 index 000000000..644459164 --- /dev/null +++ b/config/7.9.1/dbs/servers/external.yaml @@ -0,0 +1,118 @@ +## KIE Servers BEGIN +servers: + ## RANGE BEGINS + #[[ range $index, $Map := .Servers ]] + ## KIE server deployment config BEGIN + - deploymentConfigs: + - metadata: + name: "[[.KieName]]" + spec: + template: + spec: + containers: + - name: "[[.KieName]]" + env: + ## ExternalDB settings BEGIN + - name: KIE_SERVER_PERSISTENCE_DIALECT + value: "[[.Database.ExternalConfig.Dialect]]" + - name: DATASOURCES + value: "RHPAM" + - name: RHPAM_DATABASE + value: "[[.Database.ExternalConfig.Name]]" + - name: RHPAM_SERVICE_HOST + value: "[[.Database.ExternalConfig.Host]]" + - name: RHPAM_SERVICE_PORT + value: "[[.Database.ExternalConfig.Port]]" + - name: RHPAM_JNDI + value: "java:/jboss/datasources/rhpam" + - name: KIE_SERVER_PERSISTENCE_DS + value: "java:/jboss/datasources/rhpam" + - name: RHPAM_DRIVER + value: "[[.Database.ExternalConfig.Driver]]" + - name: RHPAM_USERNAME + value: "[[.Database.ExternalConfig.Username]]" + - name: RHPAM_PASSWORD + value: "[[.Database.ExternalConfig.Password]]" + - name: RHPAM_NONXA + value: "[[.Database.ExternalConfig.NonXA]]" + - name: RHPAM_URL + value: "[[.Database.ExternalConfig.JdbcURL]]" + - name: RHPAM_XA_CONNECTION_PROPERTY_URL + value: "[[.Database.ExternalConfig.JdbcURL]]" + - name: RHPAM_MIN_POOL_SIZE + value: "[[.Database.ExternalConfig.MinPoolSize]]" + - name: RHPAM_MAX_POOL_SIZE + value: "[[.Database.ExternalConfig.MaxPoolSize]]" + - name: RHPAM_CONNECTION_CHECKER + value: "[[.Database.ExternalConfig.ConnectionChecker]]" + - name: RHPAM_EXCEPTION_SORTER + value: "[[.Database.ExternalConfig.ExceptionSorter]]" + - name: RHPAM_BACKGROUND_VALIDATION + value: "[[.Database.ExternalConfig.BackgroundValidation]]" + - name: RHPAM_VALIDATION_MILLIS + value: "[[.Database.ExternalConfig.BackgroundValidationMillis]]" + - name: RHPAM_JTA + value: "true" + - name: TIMER_SERVICE_DATA_STORE_REFRESH_INTERVAL + value: "10000" + ## ExternalDB settings END + ## KIE server deployment config END + ## KIE server build config BEGIN + #[[if .Build.ExtensionImageStreamTag]] + imageStreams: + - metadata: + name: "[[.KieName]]" + labels: + app: "[[$.ApplicationName]]" + application: "[[$.ApplicationName]]" + service: "[[.KieName]]" + buildConfigs: + - metadata: + name: "[[.KieName]]" + labels: + app: "[[$.ApplicationName]]" + application: "[[$.ApplicationName]]" + service: "[[.KieName]]" + annotations: + template.alpha.openshift.io/wait-for-ready: "true" + spec: + source: + type: Image + images: + - from: + kind: ImageStreamTag + namespace: "[[.Build.ExtensionImageStreamTagNamespace]]" + name: "[[.Build.ExtensionImageStreamTag]]" + paths: + - destinationDir: "./extensions/extras" + sourcePath: "[[.Build.ExtensionImageInstallDir]]/." + strategy: + type: Source + sourceStrategy: + env: + - name: CUSTOM_INSTALL_DIRECTORIES + value: "extensions/*" + forcePull: true + from: + kind: "[[.Build.From.Kind]]" + namespace: "[[.Build.From.Namespace]]" + name: "[[.Build.From.Name]]" + output: + to: + kind: ImageStreamTag + name: "[[.KieName]]:latest" + triggers: + - type: ImageChange + imageChange: {} + - type: ImageChange + imageChange: + from: + kind: ImageStreamTag + namespace: "[[.Build.ExtensionImageStreamTagNamespace]]" + name: "[[.Build.ExtensionImageStreamTag]]" + - type: ConfigChange + #[[end]] + ## KIE server build config END + #[[end]] + ## RANGE ends + ## KIE Servers END diff --git a/config/7.9.1/dbs/servers/h2.yaml b/config/7.9.1/dbs/servers/h2.yaml new file mode 100644 index 000000000..695d90d49 --- /dev/null +++ b/config/7.9.1/dbs/servers/h2.yaml @@ -0,0 +1,81 @@ +## KIE Servers BEGIN +servers: + ## RANGE BEGINS + #[[ range $index, $Map := .Servers ]] + - deploymentConfigs: + ## KIE server deployment config BEGIN + - metadata: + name: "[[.KieName]]" + spec: + template: + metadata: + name: "[[.KieName]]" + spec: + containers: + - name: "[[.KieName]]" + env: + ## H2 driver settings BEGIN + - name: DATASOURCES + value: "RHPAM" + - name: RHPAM_DATABASE + value: "rhpam7" + - name: RHPAM_JNDI + value: "java:/jboss/datasources/rhpam" + - name: RHPAM_JTA + value: "true" + - name: RHPAM_DRIVER + value: "h2" + - name: KIE_SERVER_PERSISTENCE_DIALECT + value: "org.hibernate.dialect.H2Dialect" + - name: RHPAM_USERNAME + value: "rhpam" + - name: RHPAM_PASSWORD + value: "[[$.DBPassword]]" + - name: RHPAM_SERVICE_HOST + value: "dummy_ignored" + - name: RHPAM_SERVICE_PORT + value: "12345" + - name: KIE_SERVER_PERSISTENCE_DS + value: "java:/jboss/datasources/rhpam" + - name: RHPAM_NONXA + value: "false" + - name: RHPAM_XA_CONNECTION_PROPERTY_URL + value: "jdbc:h2:/opt/kie/data/h2/rhpam;AUTO_SERVER=TRUE" + ## H2 driver settings END + volumeMounts: + - name: "[[.KieName]]-kie-[[$.Constants.DatabaseVolumeSuffix]]" + mountPath: "/opt/kie/data" + ## [[ if ne .Database.Size "" ]] + volumes: + ## H2 volume settings BEGIN + - name: "[[.KieName]]-kie-[[$.Constants.DatabaseVolumeSuffix]]" + persistentVolumeClaim: + claimName: "[[.KieName]]-kie-claim" + ## KIE server deployment config END + persistentVolumeClaims: + ## H2 persistent volume claim BEGIN + - metadata: + name: "[[.KieName]]-kie-claim" + labels: + app: "[[$.ApplicationName]]" + application: "[[$.ApplicationName]]" + service: "[[.KieName]]" + spec: + # [[ if ne .Database.StorageClassName "" ]] + storageClassName: "[[.Database.StorageClassName]]" + # [[ end ]] + accessModes: + - ReadWriteOnce + resources: + requests: + storage: "[[.Database.Size]]" + ## H2 persistent volume claim END + ## [[ else ]] + volumes: + ## H2 volume settings BEGIN + - name: "[[.KieName]]-kie-[[$.Constants.DatabaseVolumeSuffix]]" + emptyDir: {} +## [[ end ]] +#[[end]] +## RANGE ends +## KIE Servers END diff --git a/config/7.9.1/dbs/servers/mysql.yaml b/config/7.9.1/dbs/servers/mysql.yaml new file mode 100644 index 000000000..7502c4307 --- /dev/null +++ b/config/7.9.1/dbs/servers/mysql.yaml @@ -0,0 +1,60 @@ +## KIE Servers BEGIN +servers: + ## RANGE BEGINS + #[[ range $index, $Map := .Servers ]] + ## KIE server deployment config BEGIN + - deploymentConfigs: + - metadata: + name: "[[.KieName]]" + spec: + template: + spec: + initContainers: + - command: + [ + "/bin/bash", + "-c", + ">- + replicas=$(oc get dc [[.KieName]]-mysql -o=jsonpath='{.status.availableReplicas}'); until '[' $replicas -gt 0 ']'; do echo waiting for [[.KieName]]-mysql; replicas=$(oc get dc [[.KieName]]-mysql -o=jsonpath='{.status.availableReplicas}'); sleep 2; done;", + ] + image: "[[$.Constants.OseCliImageURL]]" + imagePullPolicy: IfNotPresent + name: "[[.KieName]]-mysql-init" + terminationMessagePolicy: FallbackToLogsOnError + containers: + - name: "[[.KieName]]" + env: + ## MySQL driver settings BEGIN + - name: DATASOURCES + value: "RHPAM" + - name: RHPAM_DATABASE + value: "rhpam7" + - name: RHPAM_JNDI + value: "java:/jboss/datasources/rhpam" + - name: RHPAM_JTA + value: "true" + - name: KIE_SERVER_PERSISTENCE_DS + value: "java:/jboss/datasources/rhpam" + - name: RHPAM_DRIVER + value: "mariadb" + - name: KIE_SERVER_PERSISTENCE_DIALECT + value: "org.hibernate.dialect.MySQL8Dialect" + - name: RHPAM_USERNAME + value: "rhpam" + - name: RHPAM_PASSWORD + value: "[[$.DBPassword]]" + - name: RHPAM_SERVICE_HOST + value: "[[.KieName]]-mysql" + - name: RHPAM_SERVICE_PORT + value: "3306" + - name: RHPAM_CONNECTION_CHECKER + value: "org.jboss.jca.adapters.jdbc.extensions.mysql.MySQLValidConnectionChecker" + - name: RHPAM_EXCEPTION_SORTER + value: "org.jboss.jca.adapters.jdbc.extensions.mysql.MySQLExceptionSorter" + - name: TIMER_SERVICE_DATA_STORE_REFRESH_INTERVAL + value: "60000" + ## MySQL driver settings END + ## KIE server deployment config END + #[[end]] + ## RANGE ends +## KIE Servers END diff --git a/config/7.9.1/dbs/servers/postgresql.yaml b/config/7.9.1/dbs/servers/postgresql.yaml new file mode 100644 index 000000000..4af379c33 --- /dev/null +++ b/config/7.9.1/dbs/servers/postgresql.yaml @@ -0,0 +1,60 @@ +## KIE Servers BEGIN +servers: + ## RANGE BEGINS + #[[ range $index, $Map := .Servers ]] + ## KIE server deployment config BEGIN + - deploymentConfigs: + - metadata: + name: "[[.KieName]]" + spec: + template: + spec: + initContainers: + - command: + [ + "/bin/bash", + "-c", + ">- + replicas=$(oc get dc [[.KieName]]-postgresql -o=jsonpath='{.status.availableReplicas}'); until '[' $replicas -gt 0 ']'; do echo waiting for [[.KieName]]-postgresql; replicas=$(oc get dc [[.KieName]]-postgresql -o=jsonpath='{.status.availableReplicas}'); sleep 2; done;", + ] + image: "[[$.Constants.OseCliImageURL]]" + imagePullPolicy: IfNotPresent + name: "[[.KieName]]-postgresql-init" + terminationMessagePolicy: FallbackToLogsOnError + containers: + - name: "[[.KieName]]" + env: + ## PostgreSQL driver settings BEGIN + - name: DATASOURCES + value: "RHPAM" + - name: RHPAM_DATABASE + value: "rhpam7" + - name: RHPAM_JNDI + value: "java:/jboss/datasources/rhpam" + - name: RHPAM_JTA + value: "true" + - name: KIE_SERVER_PERSISTENCE_DS + value: "java:/jboss/datasources/rhpam" + - name: RHPAM_DRIVER + value: "postgresql" + - name: KIE_SERVER_PERSISTENCE_DIALECT + value: "org.hibernate.dialect.PostgreSQLDialect" + - name: RHPAM_USERNAME + value: "rhpam" + - name: RHPAM_PASSWORD + value: "[[$.DBPassword]]" + - name: RHPAM_SERVICE_HOST + value: "[[.KieName]]-postgresql" + - name: RHPAM_SERVICE_PORT + value: "5432" + - name: RHPAM_CONNECTION_CHECKER + value: "org.jboss.jca.adapters.jdbc.extensions.postgres.PostgreSQLValidConnectionChecker" + - name: RHPAM_EXCEPTION_SORTER + value: "org.jboss.jca.adapters.jdbc.extensions.postgres.PostgreSQLExceptionSorter" + - name: TIMER_SERVICE_DATA_STORE_REFRESH_INTERVAL + value: "30000" + ## PostgreSQL driver settings END + ## KIE server deployment config END + #[[end]] + ## RANGE ends + ## KIE Servers END diff --git a/config/7.9.1/envs/rhdm-authoring-ha.yaml b/config/7.9.1/envs/rhdm-authoring-ha.yaml new file mode 100644 index 000000000..6b52e30af --- /dev/null +++ b/config/7.9.1/envs/rhdm-authoring-ha.yaml @@ -0,0 +1,341 @@ +console: + persistentVolumeClaims: + - metadata: + name: "[[.ApplicationName]]-[[.Console.Name]]-claim" + labels: + app: "[[.ApplicationName]]" + application: "[[.ApplicationName]]" + spec: + # [[ if ne .Console.StorageClassName "" ]] + storageClassName: "[[.Console.StorageClassName]]" + # [[ end ]] + accessModes: + - ReadWriteMany + resources: + requests: + storage: 1Gi + + deploymentConfigs: + - metadata: + name: "[[.ApplicationName]]-[[.Console.Name]]" + spec: + template: + metadata: + name: "[[.ApplicationName]]-[[.Console.Name]]" + spec: + containers: + - name: "[[.ApplicationName]]-[[.Console.Name]]" + volumeMounts: + - name: "[[.ApplicationName]]-[[.Console.Name]]-pvol" + mountPath: "/opt/kie/data" + env: + - name: APPFORMER_INFINISPAN_SERVICE_NAME + value: "[[.ApplicationName]]-datagrid" + - name: APPFORMER_INFINISPAN_PORT + value: "11222" + - name: APPFORMER_JMS_BROKER_ADDRESS + value: "[[.ApplicationName]]-amq-tcp" + - name: APPFORMER_JMS_BROKER_PORT + value: "61616" + - name: APPFORMER_JMS_BROKER_USER + value: "jmsBrokerUser" + - name: APPFORMER_JMS_BROKER_PASSWORD + value: "[[.AMQClusterPassword]]" + volumes: + - name: "[[.ApplicationName]]-[[.Console.Name]]-pvol" + persistentVolumeClaim: + claimName: "[[.ApplicationName]]-[[.Console.Name]]-claim" + +# ES/AMQ BEGIN +others: + - statefulsets: + - metadata: + name: "[[.ApplicationName]]-datagrid" + labels: + app: "[[.ApplicationName]]" + application: "[[.ApplicationName]]" + service: "[[.ApplicationName]]-datagrid" + spec: + podManagementPolicy: OrderedReady + updateStrategy: + rollingUpdate: + partition: 0 + type: RollingUpdate + replicas: 2 + selector: + matchLabels: + deploymentConfig: "[[.ApplicationName]]-datagrid" + serviceName: "[[.ApplicationName]]-datagrid" + template: + metadata: + labels: + app: "[[.ApplicationName]]" + application: "[[.ApplicationName]]" + deploymentConfig: "[[.ApplicationName]]-datagrid" + name: "[[.ApplicationName]]-datagrid" + spec: + containers: + - env: + - name: SERVICE_NAME + value: "[[.ApplicationName]]-datagrid" + - name: SERVICE_PROFILE + value: "[[.ApplicationName]]-datagrid" + - name: JGROUPS_PING_PROTOCOL + value: openshift.DNS_PING + - name: OPENSHIFT_DNS_PING_SERVICE_NAME + value: "[[.ApplicationName]]-datagrid-ping" + - name: INFINISPAN_CONNECTORS + value: "hotrod" + image: "[[$.Constants.DatagridImageURL]]" + imagePullPolicy: IfNotPresent + name: "[[.ApplicationName]]-datagrid" + ports: + - containerPort: 8888 + name: ping + protocol: TCP + - containerPort: 11222 + name: hotrod + protocol: TCP + livenessProbe: + exec: + command: + - /opt/datagrid/bin/livenessProbe.sh + failureThreshold: 5 + initialDelaySeconds: 15 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 10 + readinessProbe: + exec: + command: + - /opt/datagrid/bin/readinessProbe.sh + failureThreshold: 5 + initialDelaySeconds: 17 + periodSeconds: 10 + successThreshold: 1 + timeoutSeconds: 10 + resources: + limits: + cpu: "1000m" + memory: "2Gi" + requests: + cpu: "1000m" + memory: "2Gi" + volumeMounts: + - mountPath: /opt/datagrid/standalone/data + name: srv-data + - mountPath: /var/run/secrets/java.io/keystores + name: datagrid-keystore-volume + - mountPath: /var/run/secrets/openshift.io/serviceaccount + name: datagrid-service-certs + dnsPolicy: ClusterFirst + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 60 + volumes: + - empty-dir: {} + name: datagrid-keystore-volume + - name: datagrid-service-certs + secret: + secretName: datagrid-service-certs + triggers: + - type: ConfigChange + volumeClaimTemplates: + - metadata: + name: srv-data + spec: + # [[ if ne .Console.StorageClassName "" ]] + storageClassName: "[[.Console.StorageClassName]]" + # [[ end ]] + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi + + - metadata: + annotations: + alpha.image.policy.openshift.io/resolve-names: "*" + labels: + app: "[[.ApplicationName]]" + application: "[[.ApplicationName]]" + name: "[[.ApplicationName]]-amq" + spec: + podManagementPolicy: + updateStrategy: + rollingUpdate: + partition: 0 + type: RollingUpdate + replicas: 2 + revisionHistoryLimit: 10 + selector: + matchLabels: + app: "[[.ApplicationName]]" + serviceName: "[[.ApplicationName]]-amq-tcp" + template: + metadata: + labels: + app: "[[.ApplicationName]]" + application: "[[.ApplicationName]]" + deploymentConfig: "[[.ApplicationName]]-amq" + name: "[[.ApplicationName]]-amq" + spec: + containers: + - env: + - name: AMQ_USER + value: "jmsBrokerUser" + - name: AMQ_PASSWORD + value: "[[.AMQPassword]]" + - name: AMQ_ROLE + value: admin + - name: AMQ_NAME + value: broker + - name: AMQ_TRANSPORTS + value: "openwire" + - name: AMQ_GLOBAL_MAX_SIZE + value: "100 gb" + - name: AMQ_REQUIRE_LOGIN + - name: AMQ_DATA_DIR + value: /opt/amq/data + - name: AMQ_DATA_DIR_LOGGING + value: "true" + - name: AMQ_CLUSTERED + value: "true" + - name: AMQ_REPLICAS + value: "0" + - name: AMQ_CLUSTER_USER + value: "jmsBrokerUser" + - name: AMQ_CLUSTER_PASSWORD + value: "[[.AMQClusterPassword]]" + - name: OPENSHIFT_DNS_PING_SERVICE_NAME + value: "[[.ApplicationName]]-amq-ping" + - name: AMQ_EXTRA_ARGS + - name: AMQ_ANYCAST_PREFIX + - name: AMQ_MULTICAST_PREFIX + - name: POD_NAMESPACE + valueFrom: + fieldRef: + apiVersion: v1 + fieldPath: metadata.namespace + image: "[[$.Constants.BrokerImageURL]]" + imagePullPolicy: IfNotPresent + name: broker-amq + ports: + - containerPort: 8161 + name: jolokia + protocol: TCP + - containerPort: 5672 + name: amqp + protocol: TCP + - containerPort: 1883 + name: mqtt + protocol: TCP + - containerPort: 61613 + name: stomp + protocol: TCP + - containerPort: 61616 + name: artemis + protocol: TCP + readinessProbe: + exec: + command: + - /bin/bash + - -c + - /opt/amq/bin/readinessProbe.sh + failureThreshold: 3 + periodSeconds: 10 + successThreshold: 1 + timeoutSeconds: 1 + resources: {} + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /opt/amq/data + name: "[[.ApplicationName]]-amq-pvol" + dnsPolicy: ClusterFirst + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 60 + volumeClaimTemplates: + - metadata: + name: "[[.ApplicationName]]-amq-pvol" + spec: + # [[ if ne .Console.StorageClassName "" ]] + storageClassName: "[[.Console.StorageClassName]]" + # [[ end ]] + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi + + services: + - spec: + clusterIP: None + ports: + - port: 61616 + targetPort: 61616 + selector: + deploymentConfig: "[[.ApplicationName]]-amq" + metadata: + name: "[[.ApplicationName]]-amq-tcp" + labels: + app: "[[.ApplicationName]]" + application: "[[.ApplicationName]]" + service: "[[.ApplicationName]]-amq" + annotations: + description: The broker's OpenWire port. + + - spec: + clusterIP: None + ports: + - port: 8888 + protocol: TCP + targetPort: 8888 + selector: + deploymentConfig: "[[.ApplicationName]]-amq" + metadata: + name: "[[.ApplicationName]]-amq-ping" + annotations: + description: The JGroups ping port for clustering. + service.alpha.kubernetes.io/tolerate-unready-endpoints: "true" + labels: + app: "[[.ApplicationName]]" + application: "[[.ApplicationName]]" + + - spec: + clusterIP: None + ports: + - name: ping + port: 8888 + protocol: TCP + targetPort: 8888 + selector: + deploymentConfig: "[[.ApplicationName]]-datagrid" + metadata: + name: "[[.ApplicationName]]-datagrid-ping" + labels: + application: "[[.ApplicationName]]" + annotations: + description: "The JGroups ping port for clustering." + service.alpha.kubernetes.io/tolerate-unready-endpoints: "true" + + - spec: + ports: + - name: hotrod + port: 11222 + protocol: TCP + targetPort: 11222 + selector: + deploymentConfig: "[[.ApplicationName]]-datagrid" + metadata: + name: "[[.ApplicationName]]-datagrid" + labels: + application: "[[.ApplicationName]]" + annotations: + description: Provides a service for accessing the application over Hot Rod protocol. + service.alpha.openshift.io/serving-cert-secret-name: datagrid-service-certs + ## ES/AMQ END + diff --git a/config/7.9.1/envs/rhdm-authoring.yaml b/config/7.9.1/envs/rhdm-authoring.yaml new file mode 100644 index 000000000..58141677e --- /dev/null +++ b/config/7.9.1/envs/rhdm-authoring.yaml @@ -0,0 +1,35 @@ +console: + deploymentConfigs: + - metadata: + name: "[[.ApplicationName]]-[[.Console.Name]]" + spec: + template: + metadata: + name: "[[.ApplicationName]]-[[.Console.Name]]" + spec: + containers: + - name: "[[.ApplicationName]]-[[.Console.Name]]" + env: + - name: MAVEN_MIRROR_URL + value: "" + - name: MAVEN_REPO_ID + value: "" + - name: MAVEN_REPO_URL + value: "" + - name: MAVEN_REPO_USERNAME + value: "" + - name: MAVEN_REPO_PASSWORD + value: "" + persistentVolumeClaims: + - metadata: + name: "[[.ApplicationName]]-[[.Console.Name]]-claim" + spec: + # [[ if ne .Console.StorageClassName "" ]] + storageClassName: "[[.Console.StorageClassName]]" + # [[ end ]] + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi + diff --git a/config/7.9.1/envs/rhdm-production-immutable.yaml b/config/7.9.1/envs/rhdm-production-immutable.yaml new file mode 100644 index 000000000..77a9bae2d --- /dev/null +++ b/config/7.9.1/envs/rhdm-production-immutable.yaml @@ -0,0 +1,90 @@ +## KIE Servers BEGIN +servers: + ## RANGE BEGINS + #[[ range $index, $Map := .Servers ]] + ## KIE server deployment config BEGIN + - deploymentConfigs: + - metadata: + name: "[[.KieName]]" + labels: + app: "[[$.ApplicationName]]" + application: "[[$.ApplicationName]]" + service: "[[.KieName]]" + spec: + template: + spec: + containers: + - name: "[[.KieName]]" + image: "[[.KieName]]" + env: + - name: KIE_SERVER_CONTAINER_DEPLOYMENT + value: "[[.Build.KieServerContainerDeployment]]" + - name: KIE_SERVER_MGMT_DISABLED + value: "true" + - name: "[[$.Constants.MavenRepo]]_MAVEN_REPO_USERNAME" + value: "" + - name: "[[$.Constants.MavenRepo]]_MAVEN_REPO_PASSWORD" + value: "" + - name: "[[$.Constants.MavenRepo]]_MAVEN_REPO_SERVICE" + value: "" + - name: MAVEN_REPOS + value: "EXTERNAL" + + ## KIE server deployment config END + ## KIE server build config BEGIN + #[[if .Build.KieServerContainerDeployment]] + imageStreams: + - metadata: + name: "[[.KieName]]" + labels: + app: "[[$.ApplicationName]]" + application: "[[$.ApplicationName]]" + service: "[[.KieName]]" + buildConfigs: + - metadata: + name: "[[.KieName]]" + labels: + app: "[[$.ApplicationName]]" + application: "[[$.ApplicationName]]" + service: "[[.KieName]]" + spec: + source: + type: Git + git: + uri: "[[.Build.GitSource.URI]]" + ref: "[[.Build.GitSource.Reference]]" + contextDir: "[[.Build.GitSource.ContextDir]]" + strategy: + type: Source + sourceStrategy: + env: + - name: KIE_SERVER_CONTAINER_DEPLOYMENT + value: "[[.Build.KieServerContainerDeployment]]" + - name: MAVEN_MIRROR_URL + value: "[[.Build.MavenMirrorURL]]" + - name: ARTIFACT_DIR + value: "[[.Build.ArtifactDir]]" + forcePull: true + from: + kind: "[[.Build.From.Kind]]" + namespace: "[[.Build.From.Namespace]]" + name: "[[.Build.From.Name]]" + output: + to: + kind: ImageStreamTag + name: "[[.KieName]]:latest" + triggers: + - type: GitHub + github: + secret: "[[.Build.GitHubWebhookSecret]]" + - type: Generic + generic: + secret: "[[.Build.GenericWebhookSecret]]" + - type: ImageChange + imageChange: {} + - type: ConfigChange + #[[end]] + ## KIE server build config END +#[[end]] +## RANGE ends +## KIE Servers END diff --git a/config/7.9.1/envs/rhdm-trial.yaml b/config/7.9.1/envs/rhdm-trial.yaml new file mode 100644 index 000000000..95c3a2725 --- /dev/null +++ b/config/7.9.1/envs/rhdm-trial.yaml @@ -0,0 +1,96 @@ +console: + deploymentConfigs: + - metadata: + name: "[[.ApplicationName]]-[[.Console.Name]]" + spec: + template: + spec: + containers: + - name: "[[.ApplicationName]]-[[.Console.Name]]" + env: + - name: KIE_SERVER_HOST + volumes: + - name: "[[.ApplicationName]]-[[.Console.Name]]-pvol" + emptyDir: {} + persistentVolumeClaims: + - metadata: + name: "[[.ApplicationName]]-[[.Console.Name]]-claim" + annotations: + delete: "true" + routes: + - id: "[[.ApplicationName]]-[[.Console.Name]]-http" + metadata: + name: "[[.ApplicationName]]-[[.Console.Name]]-http" + labels: + app: "[[.ApplicationName]]" + application: "[[.ApplicationName]]" + service: "[[.ApplicationName]]-[[.Console.Name]]" + annotations: + description: Route for Business Central's http service. + haproxy.router.openshift.io/timeout: 60s + spec: + to: + name: "[[.ApplicationName]]-[[.Console.Name]]" + port: + targetPort: http +## KIE Servers BEGIN +servers: + ## RANGE BEGINS + #[[ range $index, $Map := .Servers ]] + - deploymentConfigs: + ## KIE server deployment config BEGIN + - metadata: + name: "[[.KieName]]" + spec: + template: + metadata: + name: "[[.KieName]]" + spec: + containers: + - name: "[[.KieName]]" + env: + - name: FILTERS + value: "AC_ALLOW_ORIGIN,AC_ALLOW_METHODS,AC_ALLOW_HEADERS,AC_ALLOW_CREDENTIALS,AC_MAX_AGE" + - name: AC_ALLOW_ORIGIN_FILTER_RESPONSE_HEADER_NAME + value: "Access-Control-Allow-Origin" + - name: AC_ALLOW_ORIGIN_FILTER_RESPONSE_HEADER_VALUE + value: "*" + - name: AC_ALLOW_METHODS_FILTER_RESPONSE_HEADER_NAME + value: "Access-Control-Allow-Methods" + - name: AC_ALLOW_METHODS_FILTER_RESPONSE_HEADER_VALUE + value: "GET, POST, OPTIONS, PUT" + - name: AC_ALLOW_HEADERS_FILTER_RESPONSE_HEADER_NAME + value: "Access-Control-Allow-Headers" + - name: AC_ALLOW_HEADERS_FILTER_RESPONSE_HEADER_VALUE + value: "Accept, Authorization, Content-Type, X-Requested-With" + - name: AC_ALLOW_CREDENTIALS_FILTER_RESPONSE_HEADER_NAME + value: "Access-Control-Allow-Credentials" + - name: AC_ALLOW_CREDENTIALS_FILTER_RESPONSE_HEADER_VALUE + value: "true" + - name: AC_MAX_AGE_FILTER_RESPONSE_HEADER_NAME + value: "Access-Control-Max-Age" + - name: AC_MAX_AGE_FILTER_RESPONSE_HEADER_VALUE + value: "1" + ## KIE server deployment config END + ## KIE server route BEGIN + routes: + - id: "[[.KieName]]-http" + metadata: + name: "[[.KieName]]-http" + labels: + app: "[[$.ApplicationName]]" + application: "[[$.ApplicationName]]" + service: "[[.KieName]]" + annotations: + description: Route for KIE server's http service. + haproxy.router.openshift.io/balance: source + haproxy.router.openshift.io/timeout: 60s + spec: + to: + name: "[[.KieName]]" + port: + targetPort: http + ## KIE server route END +#[[end]] +## RANGE ends +## KIE Servers END diff --git a/config/7.9.1/envs/rhpam-authoring-ha.yaml b/config/7.9.1/envs/rhpam-authoring-ha.yaml new file mode 100644 index 000000000..7b0c361ed --- /dev/null +++ b/config/7.9.1/envs/rhpam-authoring-ha.yaml @@ -0,0 +1,342 @@ +console: + persistentVolumeClaims: + - metadata: + name: "[[.ApplicationName]]-[[.Console.Name]]-claim" + labels: + app: "[[.ApplicationName]]" + application: "[[.ApplicationName]]" + spec: + # [[ if ne .Console.StorageClassName "" ]] + storageClassName: "[[.Console.StorageClassName]]" + # [[ end ]] + accessModes: + - ReadWriteMany + resources: + requests: + storage: 1Gi + + deploymentConfigs: + - metadata: + name: "[[.ApplicationName]]-[[.Console.Name]]" + spec: + template: + metadata: + name: "[[.ApplicationName]]-[[.Console.Name]]" + spec: + containers: + - name: "[[.ApplicationName]]-[[.Console.Name]]" + volumeMounts: + - name: "[[.ApplicationName]]-[[.Console.Name]]-pvol" + mountPath: "/opt/kie/data" + env: + - name: APPFORMER_INFINISPAN_SERVICE_NAME + value: "[[.ApplicationName]]-datagrid" + - name: APPFORMER_INFINISPAN_PORT + value: "11222" + - name: APPFORMER_JMS_BROKER_ADDRESS + value: "[[.ApplicationName]]-amq-tcp" + - name: APPFORMER_JMS_BROKER_PORT + value: "61616" + - name: APPFORMER_JMS_BROKER_USER + value: "jmsBrokerUser" + - name: APPFORMER_JMS_BROKER_PASSWORD + value: "[[.AMQClusterPassword]]" + volumes: + - name: "[[.ApplicationName]]-[[.Console.Name]]-pvol" + persistentVolumeClaim: + claimName: "[[.ApplicationName]]-[[.Console.Name]]-claim" + +# ES/AMQ BEGIN +others: + - statefulsets: + - metadata: + name: "[[.ApplicationName]]-datagrid" + labels: + app: "[[.ApplicationName]]" + application: "[[.ApplicationName]]" + service: "[[.ApplicationName]]-datagrid" + spec: + podManagementPolicy: OrderedReady + updateStrategy: + rollingUpdate: + partition: 0 + type: RollingUpdate + replicas: 2 + selector: + matchLabels: + deploymentConfig: "[[.ApplicationName]]-datagrid" + serviceName: "[[.ApplicationName]]-datagrid" + template: + metadata: + labels: + app: "[[.ApplicationName]]" + application: "[[.ApplicationName]]" + deploymentConfig: "[[.ApplicationName]]-datagrid" + name: "[[.ApplicationName]]-datagrid" + spec: + containers: + - env: + - name: SERVICE_NAME + value: "[[.ApplicationName]]-datagrid" + - name: SERVICE_PROFILE + value: "[[.ApplicationName]]-datagrid" + - name: JGROUPS_PING_PROTOCOL + value: openshift.DNS_PING + - name: OPENSHIFT_DNS_PING_SERVICE_NAME + value: "[[.ApplicationName]]-datagrid-ping" + - name: INFINISPAN_CONNECTORS + value: "hotrod" + image: "[[$.Constants.DatagridImageURL]]" + imagePullPolicy: IfNotPresent + name: "[[.ApplicationName]]-datagrid" + ports: + - containerPort: 8888 + name: ping + protocol: TCP + - containerPort: 11222 + name: hotrod + protocol: TCP + livenessProbe: + exec: + command: + - /opt/datagrid/bin/livenessProbe.sh + failureThreshold: 5 + initialDelaySeconds: 15 + periodSeconds: 20 + successThreshold: 1 + timeoutSeconds: 10 + readinessProbe: + exec: + command: + - /opt/datagrid/bin/readinessProbe.sh + failureThreshold: 5 + initialDelaySeconds: 17 + periodSeconds: 10 + successThreshold: 1 + timeoutSeconds: 10 + resources: + limits: + cpu: "1000m" + memory: "2Gi" + requests: + cpu: "1000m" + memory: "2Gi" + volumeMounts: + - mountPath: /opt/datagrid/standalone/data + name: srv-data + - mountPath: /var/run/secrets/java.io/keystores + name: datagrid-keystore-volume + - mountPath: /var/run/secrets/openshift.io/serviceaccount + name: datagrid-service-certs + dnsPolicy: ClusterFirst + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 60 + volumes: + - empty-dir: {} + name: datagrid-keystore-volume + - name: datagrid-service-certs + secret: + secretName: datagrid-service-certs + triggers: + - type: ConfigChange + volumeClaimTemplates: + - metadata: + name: srv-data + spec: + # [[ if ne .Console.StorageClassName "" ]] + storageClassName: "[[.Console.StorageClassName]]" + # [[ end ]] + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi + - metadata: + annotations: + alpha.image.policy.openshift.io/resolve-names: "*" + labels: + app: "[[.ApplicationName]]" + application: "[[.ApplicationName]]" + name: "[[.ApplicationName]]-amq" + spec: + podManagementPolicy: OrderedReady + updateStrategy: + rollingUpdate: + partition: 0 + type: RollingUpdate + replicas: 2 + revisionHistoryLimit: 10 + selector: + matchLabels: + app: "[[.ApplicationName]]" + serviceName: "[[.ApplicationName]]-amq-tcp" + template: + metadata: + creationTimestamp: null + labels: + app: "[[.ApplicationName]]" + application: "[[.ApplicationName]]" + deploymentConfig: "[[.ApplicationName]]-amq" + name: "[[.ApplicationName]]-amq" + spec: + containers: + - env: + - name: AMQ_USER + value: "jmsBrokerUser" + - name: AMQ_PASSWORD + value: "[[.AMQPassword]]" + - name: AMQ_ROLE + value: admin + - name: AMQ_NAME + value: broker + - name: AMQ_TRANSPORTS + value: "openwire" + - name: AMQ_GLOBAL_MAX_SIZE + value: "100 gb" + - name: AMQ_REQUIRE_LOGIN + - name: AMQ_DATA_DIR + value: /opt/amq/data + - name: AMQ_DATA_DIR_LOGGING + value: "true" + - name: AMQ_CLUSTERED + value: "true" + - name: AMQ_REPLICAS + value: "0" + - name: AMQ_CLUSTER_USER + value: "jmsBrokerUser" + - name: AMQ_CLUSTER_PASSWORD + value: "[[.AMQClusterPassword]]" + - name: OPENSHIFT_DNS_PING_SERVICE_NAME + value: "[[.ApplicationName]]-amq-ping" + - name: AMQ_EXTRA_ARGS + - name: AMQ_ANYCAST_PREFIX + - name: AMQ_MULTICAST_PREFIX + - name: POD_NAMESPACE + valueFrom: + fieldRef: + apiVersion: v1 + fieldPath: metadata.namespace + image: "[[$.Constants.BrokerImageURL]]" + imagePullPolicy: IfNotPresent + name: broker-amq + ports: + - containerPort: 8161 + name: jolokia + protocol: TCP + - containerPort: 5672 + name: amqp + protocol: TCP + - containerPort: 1883 + name: mqtt + protocol: TCP + - containerPort: 61613 + name: stomp + protocol: TCP + - containerPort: 61616 + name: artemis + protocol: TCP + readinessProbe: + exec: + command: + - /bin/bash + - -c + - /opt/amq/bin/readinessProbe.sh + failureThreshold: 3 + periodSeconds: 10 + successThreshold: 1 + timeoutSeconds: 1 + resources: {} + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + volumeMounts: + - mountPath: /opt/amq/data + name: "[[.ApplicationName]]-amq-pvol" + dnsPolicy: ClusterFirst + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 60 + volumeClaimTemplates: + - metadata: + creationTimestamp: null + name: "[[.ApplicationName]]-amq-pvol" + spec: + # [[ if ne .Console.StorageClassName "" ]] + storageClassName: "[[.Console.StorageClassName]]" + # [[ end ]] + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi + + services: + - spec: + clusterIP: None + ports: + - port: 61616 + targetPort: 61616 + selector: + deploymentConfig: "[[.ApplicationName]]-amq" + metadata: + name: "[[.ApplicationName]]-amq-tcp" + labels: + app: "[[.ApplicationName]]" + application: "[[.ApplicationName]]" + service: "[[.ApplicationName]]-amq" + annotations: + description: The broker's OpenWire port. + + - spec: + clusterIP: None + ports: + - port: 8888 + protocol: TCP + targetPort: 8888 + selector: + deploymentConfig: "[[.ApplicationName]]-amq" + metadata: + name: "[[.ApplicationName]]-amq-ping" + annotations: + description: The JGroups ping port for clustering. + service.alpha.kubernetes.io/tolerate-unready-endpoints: "true" + labels: + app: "[[.ApplicationName]]" + application: "[[.ApplicationName]]" + + - spec: + clusterIP: None + ports: + - name: ping + port: 8888 + protocol: TCP + targetPort: 8888 + selector: + deploymentConfig: "[[.ApplicationName]]-datagrid" + metadata: + name: "[[.ApplicationName]]-datagrid-ping" + labels: + application: "[[.ApplicationName]]" + annotations: + description: "The JGroups ping port for clustering." + service.alpha.kubernetes.io/tolerate-unready-endpoints: "true" + + - spec: + ports: + - name: hotrod + port: 11222 + protocol: TCP + targetPort: 11222 + selector: + deploymentConfig: "[[.ApplicationName]]-datagrid" + metadata: + name: "[[.ApplicationName]]-datagrid" + labels: + application: "[[.ApplicationName]]" + annotations: + description: Provides a service for accessing the application over Hot Rod protocol. + service.alpha.openshift.io/serving-cert-secret-name: datagrid-service-certs +## ES/AMQ END + diff --git a/config/7.9.1/envs/rhpam-authoring.yaml b/config/7.9.1/envs/rhpam-authoring.yaml new file mode 100644 index 000000000..a8ed2b13d --- /dev/null +++ b/config/7.9.1/envs/rhpam-authoring.yaml @@ -0,0 +1,24 @@ +console: + deploymentConfigs: + - metadata: + name: "[[.ApplicationName]]-[[.Console.Name]]" + spec: + template: + metadata: + name: "[[.ApplicationName]]-[[.Console.Name]]" + spec: + containers: + - name: "[[.ApplicationName]]-[[.Console.Name]]" + persistentVolumeClaims: + - metadata: + name: "[[.ApplicationName]]-[[.Console.Name]]-claim" + spec: + # [[ if ne .Console.StorageClassName "" ]] + storageClassName: "[[.Console.StorageClassName]]" + # [[ end ]] + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi + diff --git a/config/7.9.1/envs/rhpam-production-immutable.yaml b/config/7.9.1/envs/rhpam-production-immutable.yaml new file mode 100644 index 000000000..f91b2d236 --- /dev/null +++ b/config/7.9.1/envs/rhpam-production-immutable.yaml @@ -0,0 +1,91 @@ +## KIE Servers BEGIN +servers: + ## RANGE BEGINS + #[[ range $index, $Map := .Servers ]] + ## KIE server deployment config BEGIN + - deploymentConfigs: + - metadata: + name: "[[.KieName]]" + labels: + app: "[[$.ApplicationName]]" + application: "[[$.ApplicationName]]" + service: "[[.KieName]]" + spec: + template: + spec: + containers: + - name: "[[.KieName]]" + image: "[[.KieName]]" + env: + - name: KIE_SERVER_CONTAINER_DEPLOYMENT + value: "[[.Build.KieServerContainerDeployment]]" + - name: KIE_SERVER_MGMT_DISABLED + value: "true" + - name: "[[$.Constants.MavenRepo]]_MAVEN_REPO_USERNAME" + value: "" + - name: "[[$.Constants.MavenRepo]]_MAVEN_REPO_PASSWORD" + value: "" + - name: "[[$.Constants.MavenRepo]]_MAVEN_REPO_SERVICE" + value: "" + - name: MAVEN_REPOS + value: "EXTERNAL" + - name: KIE_SERVER_ROUTER_PROTOCOL + value: "http" + ## KIE server deployment config END + ## KIE server build config BEGIN + #[[if .Build.KieServerContainerDeployment]] + imageStreams: + - metadata: + name: "[[.KieName]]" + labels: + app: "[[$.ApplicationName]]" + application: "[[$.ApplicationName]]" + service: "[[.KieName]]" + buildConfigs: + - metadata: + name: "[[.KieName]]" + labels: + app: "[[$.ApplicationName]]" + application: "[[$.ApplicationName]]" + service: "[[.KieName]]" + spec: + source: + type: Git + git: + uri: "[[.Build.GitSource.URI]]" + ref: "[[.Build.GitSource.Reference]]" + contextDir: "[[.Build.GitSource.ContextDir]]" + strategy: + type: Source + sourceStrategy: + env: + - name: KIE_SERVER_CONTAINER_DEPLOYMENT + value: "[[.Build.KieServerContainerDeployment]]" + - name: MAVEN_MIRROR_URL + value: "[[.Build.MavenMirrorURL]]" + - name: ARTIFACT_DIR + value: "[[.Build.ArtifactDir]]" + forcePull: true + from: + kind: "[[.Build.From.Kind]]" + namespace: "[[.Build.From.Namespace]]" + name: "[[.Build.From.Name]]" + output: + to: + kind: ImageStreamTag + name: "[[.KieName]]:latest" + triggers: + - type: GitHub + github: + secret: "[[.Build.GitHubWebhookSecret]]" + - type: Generic + generic: + secret: "[[.Build.GenericWebhookSecret]]" + - type: ImageChange + imageChange: {} + - type: ConfigChange + #[[end]] + ## KIE server build config END +#[[end]] +## RANGE ends +## KIE Servers END diff --git a/config/7.9.1/envs/rhpam-production.yaml b/config/7.9.1/envs/rhpam-production.yaml new file mode 100644 index 000000000..c41ca0d74 --- /dev/null +++ b/config/7.9.1/envs/rhpam-production.yaml @@ -0,0 +1,52 @@ +console: + deploymentConfigs: + - metadata: + name: "[[.ApplicationName]]-[[.Console.Name]]" + spec: + strategy: + rollingParams: + maxSurge: 100% + maxUnavailable: 0 + type: Rolling + containers: + - name: "[[.ApplicationName]]-[[.Console.Name]]" + env: + - name: MAVEN_REPO_URL + value: "" + - name: MAVEN_REPO_USERNAME + value: "" + - name: MAVEN_REPO_PASSWORD + value: "" + +## KIE Servers BEGIN +servers: + ## RANGE BEGINS + #[[ range $index, $Map := .Servers ]] + ## KIE server deployment config BEGIN + - deploymentConfigs: + - metadata: + name: "[[.KieName]]" + labels: + app: "[[$.ApplicationName]]" + application: "[[$.ApplicationName]]" + service: "[[.KieName]]" + spec: + template: + spec: + containers: + - name: "[[.KieName]]" + env: + - name: EXTERNAL_MAVEN_REPO_ID + value: "" + - name: EXTERNAL_MAVEN_REPO_URL + value: "" + - name: EXTERNAL_MAVEN_REPO_USERNAME + value: "" + - name: EXTERNAL_MAVEN_REPO_PASSWORD + value: "" + - name: KIE_SERVER_MODE + value: PRODUCTION + ## KIE server deployment config END + #[[end]] + ## RANGE ends + ## KIE Servers END diff --git a/config/7.9.1/envs/rhpam-trial.yaml b/config/7.9.1/envs/rhpam-trial.yaml new file mode 100644 index 000000000..11a32b4c1 --- /dev/null +++ b/config/7.9.1/envs/rhpam-trial.yaml @@ -0,0 +1,97 @@ +console: + deploymentConfigs: + - metadata: + name: "[[.ApplicationName]]-[[.Console.Name]]" + spec: + template: + spec: + containers: + - name: "[[.ApplicationName]]-[[.Console.Name]]" + env: + - name: KIE_SERVER_HOST + volumes: + - name: "[[.ApplicationName]]-[[.Console.Name]]-pvol" + emptyDir: {} + persistentVolumeClaims: + - metadata: + name: "[[.ApplicationName]]-[[.Console.Name]]-claim" + annotations: + delete: "true" + + routes: + - id: "[[.ApplicationName]]-[[.Console.Name]]-http" + metadata: + name: "[[.ApplicationName]]-[[.Console.Name]]-http" + labels: + app: "[[.ApplicationName]]" + application: "[[.ApplicationName]]" + service: "[[.ApplicationName]]-[[.Console.Name]]" + annotations: + description: Route for Business Central's http service. + haproxy.router.openshift.io/timeout: 60s + spec: + to: + name: "[[.ApplicationName]]-[[.Console.Name]]" + port: + targetPort: http +## KIE Servers BEGIN +servers: + ## RANGE BEGINS + #[[ range $index, $Map := .Servers ]] + - deploymentConfigs: + ## KIE server deployment config BEGIN + - metadata: + name: "[[.KieName]]" + spec: + template: + metadata: + name: "[[.KieName]]" + spec: + containers: + - name: "[[.KieName]]" + env: + - name: FILTERS + value: "AC_ALLOW_ORIGIN,AC_ALLOW_METHODS,AC_ALLOW_HEADERS,AC_ALLOW_CREDENTIALS,AC_MAX_AGE" + - name: AC_ALLOW_ORIGIN_FILTER_RESPONSE_HEADER_NAME + value: "Access-Control-Allow-Origin" + - name: AC_ALLOW_ORIGIN_FILTER_RESPONSE_HEADER_VALUE + value: "*" + - name: AC_ALLOW_METHODS_FILTER_RESPONSE_HEADER_NAME + value: "Access-Control-Allow-Methods" + - name: AC_ALLOW_METHODS_FILTER_RESPONSE_HEADER_VALUE + value: "GET, POST, OPTIONS, PUT" + - name: AC_ALLOW_HEADERS_FILTER_RESPONSE_HEADER_NAME + value: "Access-Control-Allow-Headers" + - name: AC_ALLOW_HEADERS_FILTER_RESPONSE_HEADER_VALUE + value: "Accept, Authorization, Content-Type, X-Requested-With" + - name: AC_ALLOW_CREDENTIALS_FILTER_RESPONSE_HEADER_NAME + value: "Access-Control-Allow-Credentials" + - name: AC_ALLOW_CREDENTIALS_FILTER_RESPONSE_HEADER_VALUE + value: "true" + - name: AC_MAX_AGE_FILTER_RESPONSE_HEADER_NAME + value: "Access-Control-Max-Age" + - name: AC_MAX_AGE_FILTER_RESPONSE_HEADER_VALUE + value: "1" + ## KIE server deployment config END + ## KIE server route BEGIN + routes: + - id: "[[.KieName]]-http" + metadata: + name: "[[.KieName]]-http" + labels: + app: "[[$.ApplicationName]]" + application: "[[$.ApplicationName]]" + service: "[[.KieName]]" + annotations: + description: Route for KIE server's http service. + haproxy.router.openshift.io/balance: source + haproxy.router.openshift.io/timeout: 60s + spec: + to: + name: "[[.KieName]]" + port: + targetPort: http + ## KIE server route END +#[[end]] +## RANGE ends +## KIE Servers END diff --git a/config/7.9.1/jms/activemq-jms-config.yaml b/config/7.9.1/jms/activemq-jms-config.yaml new file mode 100644 index 000000000..ce448258f --- /dev/null +++ b/config/7.9.1/jms/activemq-jms-config.yaml @@ -0,0 +1,367 @@ +## KIE Servers BEGIN +servers: +## RANGE BEGINS +#[[ range $index, $Map := .Servers ]] +## KIE server deployment config BEGIN + - deploymentConfigs: + - metadata: + name: "[[.KieName]]" + spec: + template: + spec: + containers: + - name: "[[.KieName]]" + env: + # JMS config BEGIN + - name: KIE_SERVER_EXECUTOR_JMS + value: "[[.Jms.Executor]]" + - name: KIE_SERVER_EXECUTOR_JMS_TRANSACTED + value: "[[.Jms.ExecutorTransacted]]" + - name: KIE_SERVER_JMS_QUEUE_REQUEST + value: "[[.Jms.QueueRequest]]" + - name: KIE_SERVER_JMS_QUEUE_RESPONSE + value: "[[.Jms.QueueResponse]]" + - name: KIE_SERVER_JMS_QUEUE_EXECUTOR + value: "[[.Jms.QueueExecutor]]" + - name: KIE_SERVER_JMS_ENABLE_SIGNAL + value: "[[.Jms.EnableSignal]]" + # [[ if .Jms.EnableSignal]] + - name: KIE_SERVER_JMS_QUEUE_SIGNAL + value: "[[.Jms.QueueSignal]]" + # [[end]] + - name: KIE_SERVER_JMS_ENABLE_AUDIT + value: "[[.Jms.EnableAudit]]" + # [[ if .Jms.EnableAudit]] + - name: KIE_SERVER_JMS_QUEUE_AUDIT + value: "[[.Jms.QueueAudit]]" + # [[end]] + - name: KIE_SERVER_JMS_AUDIT_TRANSACTED + value: "[[.Jms.AuditTransacted]]" + - name: MQ_SERVICE_PREFIX_MAPPING + value: "[[.KieName]]-amq7=AMQ" + - name: AMQ_USERNAME + value: "[[.Jms.Username]]" + - name: AMQ_PASSWORD + value: "[[.Jms.Password]]" + - name: AMQ_PROTOCOL + value: "tcp" + - name: AMQ_QUEUES + value: "[[.Jms.AMQQueues]]" + # JMS config END + ## KIE server deployment config END + ## AMQ deployment BEGIN + - metadata: + name: "[[.KieName]]-amq" + labels: + app: "[[$.ApplicationName]]" + application: "[[$.ApplicationName]]" + service: "[[.KieName]]-amq" + annotations: + template.alpha.openshift.io/wait-for-ready: "true" + spec: + strategy: + rollingParams: + maxSurge: 100% + maxUnavailable: 0 + type: Rolling + triggers: + - type: ImageChange + imageChangeParams: + automatic: true + containerNames: + - "[[.KieName]]-amq" + from: + kind: ImageStreamTag + name: "[[$.Constants.BrokerImage]]:[[$.Constants.BrokerImageTag]]" + namespace: "openshift" + - type: ConfigChange + replicas: 1 + selector: + deploymentConfig: "[[.KieName]]-amq" + template: + metadata: + name: "[[.KieName]]-amq" + labels: + app: "[[$.ApplicationName]]" + application: "[[$.ApplicationName]]" + deploymentConfig: "[[.KieName]]-amq" + service: "[[.KieName]]-amq" + spec: + terminationGracePeriodSeconds: 60 + containers: + - name: "[[.KieName]]-amq" + image: "[[$.Constants.BrokerImage]]" + imagePullPolicy: Always + readinessProbe: + exec: + command: + - "/bin/bash" + - "-c" + - "/opt/amq/bin/readinessProbe.sh" + ports: + - containerPort: 8161 + name: console-jolokia + protocol: TCP + - containerPort: 5672 + name: amqp + protocol: TCP + - containerPort: 5671 + name: amqp-ssl + protocol: TCP + - containerPort: 1883 + name: mqtt + protocol: TCP + - containerPort: 8883 + name: mqtt-ssl + protocol: TCP + - containerPort: 61613 + name: stomp + protocol: TCP + - containerPort: 61612 + name: stomp-ssl + protocol: TCP + - containerPort: 61616 + name: artemis + protocol: TCP + - containerPort: 61617 + name: amq-tcp-ssl + protocol: TCP + env: + - name: AMQ_USER + value: "[[.Jms.Username]]" + - name: AMQ_PASSWORD + value: "[[.Jms.Password]]" + # maybe turn it in a parameter and defaults to admin if empty? + - name: AMQ_ROLE + value: "admin" + - name: AMQ_NAME + value: "broker" + - name: AMQ_TRANSPORTS + value: "openwire" + - name: AMQ_QUEUES + value: "[[.Jms.AMQQueues]]" + - name: AMQ_REQUIRE_LOGIN + value: "true" + - name: AMQ_ANYCAST_PREFIX + - name: AMQ_MULTICAST_PREFIX + # [[ if .Jms.AMQEnableSSL]] + - name: AMQ_KEYSTORE_TRUSTSTORE_DIR + value: "/etc/amq-secret-volume" + - name: AMQ_TRUSTSTORE + value: '[[.Jms.AMQTruststoreName ]]' + - name: AMQ_TRUSTSTORE_PASSWORD + value: '[[.Jms.AMQTruststorePassword ]]' + - name: AMQ_KEYSTORE + value: '[[.Jms.AMQKeystoreName ]]' + - name: AMQ_KEYSTORE_PASSWORD + value: '[[.Jms.AMQKeystorePassword ]]' + volumeMounts: + - name: broker-secret-volume + mountPath: "/etc/amq-secret-volume" + readOnly: true + volumes: + - name: broker-secret-volume + secret: + secretName: '[[.Jms.AMQSecretName ]]' + # [[end]] + + ## AMQ deployment END + services: + - spec: + ports: + - name: "amq-jolokia" + port: 8161 + targetPort: 8161 + selector: + deploymentConfig: "[[.KieName]]-amq" + metadata: + name: "[[.KieName]]-amq-jolokia" + labels: + app: "[[$.ApplicationName]]" + application: "[[$.ApplicationName]]" + service: "[[.KieName]]-amq" + annotations: + description: "The broker's console and Jolokia port." + - spec: + ports: + - name: "amq-amqp" + port: 5672 + targetPort: 5672 + selector: + deploymentConfig: "[[.KieName]]-amq" + metadata: + name: "[[.KieName]]-amq-amqp" + labels: + app: "[[$.ApplicationName]]" + application: "[[$.ApplicationName]]" + service: "[[.KieName]]-amq" + annotations: + description: "The broker's AMQP port." + - spec: + ports: + - name: "amq-amqp-ssl" + port: 5671 + targetPort: 5671 + selector: + deploymentConfig: "[[.KieName]]-amq" + metadata: + name: "[[.KieName]]-amq-amqp-ssl" + labels: + app: "[[$.ApplicationName]]" + application: "[[$.ApplicationName]]" + service: "[[.KieName]]-amq" + annotations: + description: "The broker's AMQP SSL port." + - spec: + ports: + - name: "amq-mqtt" + port: 1883 + targetPort: 1883 + selector: + deploymentConfig: "[[.KieName]]-amq" + metadata: + name: "[[.KieName]]-amq-mqtt" + labels: + app: "[[$.ApplicationName]]" + application: "[[$.ApplicationName]]" + service: "[[.KieName]]-amq" + annotations: + description: "The broker's MQTT port." + - spec: + ports: + - name: "amq-mqtt-ssl" + port: 8883 + targetPort: 8883 + selector: + deploymentConfig: "[[.KieName]]-amq" + metadata: + name: "[[.KieName]]-amq-mqtt-ssl" + labels: + app: "[[$.ApplicationName]]" + application: "[[$.ApplicationName]]" + service: "[[.KieName]]-amq" + annotations: + description: "The broker's MQTT SSL port." + - spec: + ports: + - name: "amq-stomp" + port: 61613 + targetPort: 61613 + selector: + deploymentConfig: "[[.KieName]]-amq" + metadata: + name: "[[.KieName]]-amq-stomp" + labels: + app: "[[$.ApplicationName]]" + application: "[[$.ApplicationName]]" + service: "[[.KieName]]-amq" + annotations: + description: "The broker's STOMP port." + - spec: + ports: + - name: "amq-stomp-ssl" + port: 61612 + targetPort: 61612 + selector: + deploymentConfig: "[[.KieName]]-amq" + metadata: + name: "[[.KieName]]-amq-stomp-ssl" + labels: + app: "[[$.ApplicationName]]" + application: "[[$.ApplicationName]]" + service: "[[.KieName]]-amq" + annotations: + description: "The broker's STOMP SSL port." + - spec: + ports: + - name: "amq-tcp" + port: 61616 + targetPort: 61616 + selector: + deploymentConfig: "[[.KieName]]-amq" + metadata: + name: "[[.KieName]]-amq-tcp" + labels: + app: "[[$.ApplicationName]]" + application: "[[$.ApplicationName]]" + service: "[[.KieName]]-amq" + annotations: + description: The broker's OpenWire port. + service.alpha.openshift.io/dependencies: '[{"name": "[[.KieName]]-amq-amqp", + "kind": "Service"},{"name": "[[.KieName]]-amq-mqtt", "kind": "Service"},{"name": + "[[.KieName]]-amq-stomp", "kind": "Service"}]' + - spec: + ports: + - name: "amq-tcp-ssl" + port: 61617 + targetPort: 61617 + selector: + deploymentConfig: "[[.KieName]]-amq" + metadata: + name: "[[.KieName]]-amq-tcp-ssl" + labels: + app: "[[$.ApplicationName]]" + application: "[[$.ApplicationName]]" + service: "[[.KieName]]-amq" + annotations: + description: The broker's OpenWire SSL port. + service.alpha.openshift.io/dependencies: '[{"name": "[[.KieName]]-amq-tcp", "kind": "Service"},{"name": + "[[.KieName]]-amq-amqp", "kind": "Service"},{"name": + "[[.KieName]]-amq-mqtt", "kind": "Service"},{"name": + "[[.KieName]]-amq-stomp", "kind": "Service"},{"name": + "[[.KieName]]-amq-amqp-ssl", "kind": "Service"},{"name": + "[[.KieName]]-amq-mqtt-ssl", "kind": "Service"},{"name": + "[[.KieName]]-amq-stomp-ssl", "kind": "Service"}]' + routes: + # [[ if .Jms.AMQEnableSSL]] + - id: "[[.KieName]]-amq-jolokia-console" + metadata: + name: "amq-jolokia-console" + labels: + app: "[[$.ApplicationName]]" + application: "[[$.ApplicationName]]" + service: "[[.KieName]]-amq" + annotations: + description: "Route for AMQ Jolokia Service" + spec: + to: + kind: "Service" + name: "[[.KieName]]-amq-jolokia" + tls: + termination: passthrough + + - id: "[[.KieName]]-amq-tcp-ssl" + metadata: + name: "amq-tcp-ssl" + labels: + app: "[[$.ApplicationName]]" + application: "[[$.ApplicationName]]" + service: "[[.KieName]]-amq" + annotations: + description: "Route for AMQ Jolokia Service" + spec: + to: + kind: "Service" + name: "[[.KieName]]-amq-tcp-ssl" + tls: + termination: passthrough + # [[else]] + - id: "[[.KieName]]-amq-jolokia-console" + metadata: + name: "amq-jolokia-console" + labels: + app: "[[$.ApplicationName]]" + application: "[[$.ApplicationName]]" + service: "[[.KieName]]-amq" + annotations: + description: "Route for AMQ Jolokia Service" + spec: + to: + kind: "Service" + name: "[[.KieName]]-amq-jolokia" + # [[end]] + +#[[end]] +## RANGE ends +## KIE Servers END + diff --git a/config/7.9.1/pim/process-migration-trial.yaml b/config/7.9.1/pim/process-migration-trial.yaml new file mode 100644 index 000000000..2562f6d25 --- /dev/null +++ b/config/7.9.1/pim/process-migration-trial.yaml @@ -0,0 +1,17 @@ +processMigration: + routes: + - id: "[[.ApplicationName]]-process-migration-http" + metadata: + name: "[[.ApplicationName]]-process-migration-http" + labels: + app: "[[.ApplicationName]]" + application: "[[.ApplicationName]]" + service: "[[.ApplicationName]]-process-migration" + annotations: + description: Route for Process Migration https service. + spec: + to: + kind: Service + name: "[[.ApplicationName]]-process-migration" + port: + targetPort: http diff --git a/config/7.9.1/pim/process-migration.yaml b/config/7.9.1/pim/process-migration.yaml new file mode 100644 index 000000000..4bfb3f8fc --- /dev/null +++ b/config/7.9.1/pim/process-migration.yaml @@ -0,0 +1,134 @@ +## KIE ProcessMigration BEGIN +processMigration: + deploymentConfigs: + - metadata: + name: "[[.ApplicationName]]-process-migration" + labels: + app: "[[$.ApplicationName]]" + application: "[[$.ApplicationName]]" + service: "[[.ApplicationName]]-process-migration" + spec: + replicas: 1 + selector: + deploymentConfig: "[[.ApplicationName]]-process-migration" + strategy: + type: Recreate + triggers: + #[[if not .ProcessMigration.OmitImageStream]] + - type: ImageChange + imageChangeParams: + automatic: true + containerNames: + - "[[.ApplicationName]]-process-migration" + from: + kind: ImageStreamTag + namespace: openshift + name: "[[.ProcessMigration.Image]]:[[.ProcessMigration.ImageTag]]" + #[[end]] + - type: ConfigChange + template: + metadata: + name: "[[.ApplicationName]]-process-migration" + labels: + app: "[[.ApplicationName]]" + application: "[[.ApplicationName]]" + deploymentConfig: "[[.ApplicationName]]-process-migration" + service: "[[.ApplicationName]]-process-migration" + spec: + serviceAccountName: "[[$.ApplicationName]]-[[$.Constants.Product]]svc" + terminationGracePeriodSeconds: 60 + containers: + - name: "[[.ApplicationName]]-process-migration" + image: "[[.ProcessMigration.ImageURL]]" + imagePullPolicy: Always + resources: + limits: + memory: 512Mi + ports: + - name: http + containerPort: 8080 + protocol: TCP + readinessProbe: + failureThreshold: 36 + httpGet: + path: /health + port: 8080 + scheme: HTTP + initialDelaySeconds: 30 + periodSeconds: 5 + successThreshold: 1 + timeoutSeconds: 2 + livenessProbe: + failureThreshold: 3 + httpGet: + path: /health + port: 8080 + scheme: HTTP + initialDelaySeconds: 180 + periodSeconds: 15 + successThreshold: 1 + timeoutSeconds: 2 + env: + - name: JBOSS_KIE_ADMIN_USER + value: "[[.AdminUser]]" + - name: JBOSS_KIE_ADMIN_PWD + value: "[[.AdminPassword]]" + - name: JBOSS_KIE_EXTRA_CONFIG + value: "/opt/rhpam-process-migration/config/project-overrides.yml" + volumeMounts: + - mountPath: /opt/rhpam-process-migration/config/project-overrides.yml + subPath: project-overrides.yml + name: config + volumes: + - name: config + configMap: + name: "[[.ApplicationName]]-process-migration" + defaultMode: 420 + configMaps: + - metadata: + name: "[[.ApplicationName]]-process-migration" + data: + project-overrides.yml: |- + kieservers: + #[[range $index, $Map := .ProcessMigration.KieServerClients]] + - host: [[.Host]] + username: [[.Username]] + password: [[.Password]] + #[[end]] + services: + - spec: + ports: + - name: http + port: 8080 + protocol: TCP + targetPort: 8080 + selector: + deploymentConfig: "[[.ApplicationName]]-process-migration" + metadata: + name: "[[.ApplicationName]]-process-migration" + labels: + app: "[[$.ApplicationName]]" + application: "[[$.ApplicationName]]" + service: "[[.ApplicationName]]-process-migration" + annotations: + description: Process Migration web server's port. + routes: + - id: "[[.ApplicationName]]-process-migration-https" + metadata: + name: "[[.ApplicationName]]-process-migration" + labels: + app: "[[.ApplicationName]]" + application: "[[.ApplicationName]]" + service: "[[.ApplicationName]]-process-migration" + annotations: + description: Route for Process Migration https service. + spec: + to: + kind: Service + name: "[[.ApplicationName]]-process-migration" + port: + targetPort: http + tls: + insecureEdgeTerminationPolicy: Redirect + termination: edge +## KIE ProcessMigration END diff --git a/deploy/crs/v2/snippets/prior_version.yaml b/deploy/crs/v2/snippets/prior_version.yaml index 397886c7f..78deba553 100644 --- a/deploy/crs/v2/snippets/prior_version.yaml +++ b/deploy/crs/v2/snippets/prior_version.yaml @@ -8,4 +8,4 @@ metadata: consoleTitle: Prior Product Version name: prior-version spec: - version: 7.8.1 + version: 7.9.0 diff --git a/deploy/olm-catalog/dev/7.9.1/manifests/businessautomation-operator.7.9.1.clusterserviceversion.yaml b/deploy/olm-catalog/dev/7.9.1/manifests/businessautomation-operator.7.9.1.clusterserviceversion.yaml new file mode 100644 index 000000000..8e70c2087 --- /dev/null +++ b/deploy/olm-catalog/dev/7.9.1/manifests/businessautomation-operator.7.9.1.clusterserviceversion.yaml @@ -0,0 +1,555 @@ +apiVersion: operators.coreos.com/v1alpha1 +kind: ClusterServiceVersion +metadata: + annotations: + alm-examples: '[{"apiVersion":"app.kiegroup.org/v2","kind":"KieApp","metadata":{"name":"rhpam-trial"},"spec":{"environment":"rhpam-trial"}}]' + capabilities: Seamless Upgrades + categories: Integration & Delivery + certified: "false" + containerImage: quay.io/kiegroup/kie-cloud-operator:7.9.1 + createdAt: "2020-10-27 14:01:46" + 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 + support: Red Hat + tectonic-visibility: ocs + labels: + operator-businessautomation: "true" + operatorframework.io/arch.amd64: supported + operatorframework.io/os.linux: supported + name: businessautomation-operator.7.9.1-dev-cpglhmf98c + namespace: placeholder +spec: + apiservicedefinitions: {} + customresourcedefinitions: + owned: + - description: A project prescription running an RHPAM/RHDM environment. + displayName: KieApp + kind: KieApp + name: kieapps.app.kiegroup.org + resources: + - kind: DeploymentConfig + name: "" + version: apps.openshift.io/v1 + - kind: StatefulSet + name: "" + version: apps/v1 + - kind: Role + name: "" + version: rbac.authorization.k8s.io/v1 + - kind: RoleBinding + name: "" + version: rbac.authorization.k8s.io/v1 + - kind: Route + name: "" + version: route.openshift.io/v1 + - kind: BuildConfig + name: "" + version: build.openshift.io/v1 + - kind: ImageStream + name: "" + version: image.openshift.io/v1 + - kind: Secret + name: "" + version: v1 + - kind: PersistentVolumeClaim + name: "" + version: v1 + - kind: ServiceAccount + name: "" + version: v1 + - kind: Service + name: "" + version: v1 + specDescriptors: + - description: Set true to enable automatic micro version product upgrades, it is disabled by default. + displayName: Enable Upgrades + path: upgrades.enabled + x-descriptors: + - urn:alm:descriptor:com.tectonic.ui:booleanSwitch + - description: Set true to enable automatic minor product version upgrades, it is disabled by default. Requires spec.upgrades.enabled to be true. + displayName: Include minor version upgrades + path: upgrades.minor + x-descriptors: + - urn:alm:descriptor:com.tectonic.ui:booleanSwitch + - description: Set true to enable image tags, disabled by default. This will leverage image tags instead of the image digests. + displayName: Use Image Tags + path: useImageTags + x-descriptors: + - urn:alm:descriptor:com.tectonic.ui:booleanSwitch + - description: Environment deployed. + displayName: Environment + path: environment + x-descriptors: + - urn:alm:descriptor:com.tectonic.ui:label + statusDescriptors: + - description: Product version installed. + displayName: Version + path: version + x-descriptors: + - urn:alm:descriptor:com.tectonic.ui:label + - description: Current phase. + displayName: Status + path: phase + x-descriptors: + - urn:alm:descriptor:com.tectonic.ui:label + - description: The address for accessing Business Central, if it is deployed. + displayName: Business/Decision Central URL + path: consoleHost + x-descriptors: + - urn:alm:descriptor:org.w3:link + - description: Deployments for the KieApp environment. + displayName: Deployments + path: deployments + x-descriptors: + - urn:alm:descriptor:com.tectonic.ui:podStatuses + version: v2 + description: |- + Deploys and manages Red Hat Process Automation Manager and Red Hat Decision Manager environments. + + * **Red Hat Process Automation Manager** is a platform for developing containerized microservices and applications that automate business decisions and processes. It includes business process management (BPM), business rules management (BRM), and business resource optimization and complex event processing (CEP) technologies. It also includes a user experience platform to create engaging user interfaces for process and decision services with minimal coding. + + * **Red Hat Decision Manager** is a platform for developing containerized microservices and applications that automate business decisions. It includes business rules management, complex event processing, and resource optimization technologies. Organizations can incorporate sophisticated decision logic into line-of-business applications and quickly update underlying business rules as market conditions change. + + [See more](https://www.redhat.com/en/products/process-automation). + displayName: Business Automation (DEV) + icon: + - base64data: PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA3MjEuMTUgNzIxLjE1Ij48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2RkMzkyNjt9LmNscy0ye2ZpbGw6I2NjMzQyNzt9LmNscy0ze2ZpbGw6I2ZmZjt9LmNscy00e2ZpbGw6I2U1ZTVlNDt9PC9zdHlsZT48L2RlZnM+PHRpdGxlPlByb2R1Y3RfSWNvbi1SZWRfSGF0LUF1dG9tYXRpb24tUkdCPC90aXRsZT48Y2lyY2xlIGNsYXNzPSJjbHMtMSIgY3g9IjM2MC41NyIgY3k9IjM2MC41NyIgcj0iMzU4LjU4Ii8+PHBhdGggY2xhc3M9ImNscy0yIiBkPSJNNjEzLjc4LDEwNy4wOSwxMDYuNzIsNjE0LjE2YzE0MC4xNCwxMzguNjIsMzY2LjExLDEzOC4xNiw1MDUuNjctMS40Uzc1Mi40LDI0Ny4yNCw2MTMuNzgsMTA3LjA5WiIvPjxwb2x5Z29uIGNsYXNzPSJjbHMtMyIgcG9pbnRzPSIzNzguOTcgMzI3LjQ4IDQ2MS43NyAxNTkuNTcgMjU5LjY3IDE1OS40OSAyNTkuNjcgNDEzLjEgMzA2Ljk3IDQxMy43OCAzOTMuMjcgMzI3LjQ3IDM3OC45NyAzMjcuNDgiLz48cG9seWdvbiBjbGFzcz0iY2xzLTQiIHBvaW50cz0iMzU5LjYgNTc4LjA2IDQ4Mi41NSAzMjcuNDUgMzkzLjI3IDMyNy40NyAzMDYuOTcgNDEzLjc4IDM1OS42IDQxNC41MiAzNTkuNiA1NzguMDYiLz48L3N2Zz4= + mediatype: image/svg+xml + install: + spec: + clusterPermissions: + - rules: + - apiGroups: + - console.openshift.io + resources: + - consolelinks + - consoleyamlsamples + verbs: + - get + - create + - update + - delete + serviceAccountName: business-automation-operator + deployments: + - name: business-automation-operator + spec: + replicas: 1 + selector: + matchLabels: + name: business-automation-operator + strategy: + rollingUpdate: + maxSurge: 1 + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + labels: + name: business-automation-operator + spec: + containers: + - command: + - kie-cloud-operator + env: + - name: OPERATOR_NAME + valueFrom: + fieldRef: + fieldPath: metadata.labels['name'] + - name: POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: WATCH_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace + - name: OPERATOR_UI + value: "true" + - name: DEBUG + value: "false" + - name: DM_KIESERVER_IMAGE_7.9.1 + value: registry.redhat.io/rhdm-7/rhdm-kieserver-rhel8:7.9.1 + - name: DM_CONTROLLER_IMAGE_7.9.1 + value: registry.redhat.io/rhdm-7/rhdm-controller-rhel8:7.9.1 + - name: DM_DC_IMAGE_7.9.1 + value: registry.redhat.io/rhdm-7/rhdm-decisioncentral-rhel8:7.9.1 + - name: PAM_KIESERVER_IMAGE_7.9.1 + value: registry.redhat.io/rhpam-7/rhpam-kieserver-rhel8:7.9.1 + - name: PAM_CONTROLLER_IMAGE_7.9.1 + value: registry.redhat.io/rhpam-7/rhpam-controller-rhel8:7.9.1 + - name: PAM_BC_IMAGE_7.9.1 + value: registry.redhat.io/rhpam-7/rhpam-businesscentral-rhel8:7.9.1 + - name: PAM_BC_MONITORING_IMAGE_7.9.1 + value: registry.redhat.io/rhpam-7/rhpam-businesscentral-monitoring-rhel8:7.9.1 + - name: PAM_SMARTROUTER_IMAGE_7.9.1 + value: registry.redhat.io/rhpam-7/rhpam-smartrouter-rhel8:7.9.1 + - name: PAM_PROCESS_MIGRATION_IMAGE_7.9.1 + value: registry.redhat.io/rhpam-7/rhpam-process-migration-rhel8:7.9.1 + - name: OSE_CLI_IMAGE_7.9.1 + value: registry.redhat.io/openshift3/ose-cli:v3.11 + - name: MYSQL_PROXY_IMAGE_7.9.1 + value: registry.redhat.io/rhscl/mysql-80-rhel7:latest + - name: POSTGRESQL_PROXY_IMAGE_7.9.1 + value: registry.redhat.io/rhscl/postgresql-10-rhel7:latest + - name: DATAGRID_IMAGE_7.9.1 + value: registry.redhat.io/jboss-datagrid-7/datagrid73-openshift:1.6 + - name: BROKER_IMAGE_7.9.1 + value: registry.redhat.io/amq7/amq-broker:7.7 + - name: DM_KIESERVER_IMAGE_7.9.0 + value: registry.redhat.io/rhdm-7/rhdm-kieserver-rhel8:7.9.0 + - name: DM_CONTROLLER_IMAGE_7.9.0 + value: registry.redhat.io/rhdm-7/rhdm-controller-rhel8:7.9.0 + - name: DM_DC_IMAGE_7.9.0 + value: registry.redhat.io/rhdm-7/rhdm-decisioncentral-rhel8:7.9.0 + - name: PAM_KIESERVER_IMAGE_7.9.0 + value: registry.redhat.io/rhpam-7/rhpam-kieserver-rhel8:7.9.0 + - name: PAM_CONTROLLER_IMAGE_7.9.0 + value: registry.redhat.io/rhpam-7/rhpam-controller-rhel8:7.9.0 + - name: PAM_BC_IMAGE_7.9.0 + value: registry.redhat.io/rhpam-7/rhpam-businesscentral-rhel8:7.9.0 + - name: PAM_BC_MONITORING_IMAGE_7.9.0 + value: registry.redhat.io/rhpam-7/rhpam-businesscentral-monitoring-rhel8:7.9.0 + - name: PAM_SMARTROUTER_IMAGE_7.9.0 + value: registry.redhat.io/rhpam-7/rhpam-smartrouter-rhel8:7.9.0 + - name: PAM_PROCESS_MIGRATION_IMAGE_7.9.0 + value: registry.redhat.io/rhpam-7/rhpam-process-migration-rhel8:7.9.0 + - name: OSE_CLI_IMAGE_7.9.0 + value: registry.redhat.io/openshift3/ose-cli:v3.11 + - name: MYSQL_PROXY_IMAGE_7.9.0 + value: registry.redhat.io/rhscl/mysql-80-rhel7:latest + - name: POSTGRESQL_PROXY_IMAGE_7.9.0 + value: registry.redhat.io/rhscl/postgresql-10-rhel7:latest + - name: DATAGRID_IMAGE_7.9.0 + value: registry.redhat.io/jboss-datagrid-7/datagrid73-openshift:1.6 + - name: BROKER_IMAGE_7.9.0 + value: registry.redhat.io/amq7/amq-broker:7.7 + - name: DM_KIESERVER_IMAGE_7.8.1 + value: registry.redhat.io/rhdm-7/rhdm-kieserver-rhel8:7.8.1 + - name: DM_CONTROLLER_IMAGE_7.8.1 + value: registry.redhat.io/rhdm-7/rhdm-controller-rhel8:7.8.1 + - name: DM_DC_IMAGE_7.8.1 + value: registry.redhat.io/rhdm-7/rhdm-decisioncentral-rhel8:7.8.1 + - name: PAM_KIESERVER_IMAGE_7.8.1 + value: registry.redhat.io/rhpam-7/rhpam-kieserver-rhel8:7.8.1 + - name: PAM_CONTROLLER_IMAGE_7.8.1 + value: registry.redhat.io/rhpam-7/rhpam-controller-rhel8:7.8.1 + - name: PAM_BC_IMAGE_7.8.1 + value: registry.redhat.io/rhpam-7/rhpam-businesscentral-rhel8:7.8.1 + - name: PAM_BC_MONITORING_IMAGE_7.8.1 + value: registry.redhat.io/rhpam-7/rhpam-businesscentral-monitoring-rhel8:7.8.1 + - name: PAM_SMARTROUTER_IMAGE_7.8.1 + value: registry.redhat.io/rhpam-7/rhpam-smartrouter-rhel8:7.8.1 + - name: PAM_PROCESS_MIGRATION_IMAGE_7.8.1 + value: registry.redhat.io/rhpam-7/rhpam-process-migration-rhel8:7.8.1 + - name: OSE_CLI_IMAGE_7.8.1 + value: registry.redhat.io/openshift3/ose-cli:v3.11 + - name: MYSQL_PROXY_IMAGE_7.8.1 + value: registry.redhat.io/rhscl/mysql-80-rhel7:latest + - name: POSTGRESQL_PROXY_IMAGE_7.8.1 + value: registry.redhat.io/rhscl/postgresql-10-rhel7:latest + - name: DATAGRID_IMAGE_7.8.1 + value: registry.redhat.io/jboss-datagrid-7/datagrid73-openshift:1.5 + - name: BROKER_IMAGE_7.8.1 + value: registry.redhat.io/amq7/amq-broker:7.6 + - name: OAUTH_PROXY_IMAGE_LATEST + value: registry.redhat.io/openshift4/ose-oauth-proxy:latest + - name: OAUTH_PROXY_IMAGE_4.6 + value: registry.redhat.io/openshift4/ose-oauth-proxy:v4.6 + - name: OAUTH_PROXY_IMAGE_4.5 + value: registry.redhat.io/openshift4/ose-oauth-proxy:v4.5 + - name: OAUTH_PROXY_IMAGE_4.4 + value: registry.redhat.io/openshift4/ose-oauth-proxy:v4.4 + - name: OAUTH_PROXY_IMAGE_4.3 + value: registry.redhat.io/openshift4/ose-oauth-proxy:v4.3 + - name: OAUTH_PROXY_IMAGE_4.2 + value: registry.redhat.io/openshift4/ose-oauth-proxy:v4.2 + - name: OAUTH_PROXY_IMAGE_4.1 + value: registry.redhat.io/openshift4/ose-oauth-proxy:v4.1 + - name: OAUTH_PROXY_IMAGE_3 + value: registry.redhat.io/openshift3/oauth-proxy:latest + image: quay.io/kiegroup/kie-cloud-operator:7.9.1 + imagePullPolicy: Always + name: business-automation-operator + resources: {} + serviceAccountName: business-automation-operator + permissions: + - rules: + - apiGroups: + - "" + resources: + - configmaps + - pods + - services + - services/finalizers + - serviceaccounts + - persistentvolumeclaims + - secrets + verbs: + - create + - delete + - deletecollection + - get + - list + - patch + - update + - watch + - apiGroups: + - "" + resources: + - bindings + - endpoints + - podtemplates + verbs: + - list + - apiGroups: + - apps + resources: + - deployments + - deployments/finalizers + - replicasets + - statefulsets + verbs: + - create + - delete + - deletecollection + - get + - list + - patch + - update + - watch + - apiGroups: + - apps.openshift.io + resources: + - deploymentconfigs + verbs: + - create + - delete + - deletecollection + - get + - list + - patch + - update + - watch + - apiGroups: + - rbac.authorization.k8s.io + resources: + - rolebindings + - roles + verbs: + - create + - delete + - deletecollection + - get + - list + - patch + - update + - watch + - apiGroups: + - route.openshift.io + resources: + - routes + verbs: + - create + - delete + - deletecollection + - get + - list + - patch + - update + - watch + - apiGroups: + - build.openshift.io + resources: + - buildconfigs + verbs: + - create + - delete + - deletecollection + - get + - list + - patch + - update + - watch + - apiGroups: + - image.openshift.io + resources: + - images + - imagetags + - imagestreams + - imagestreamimages + - imagestreamtags + verbs: + - create + - delete + - deletecollection + - get + - list + - patch + - update + - watch + - apiGroups: + - app.kiegroup.org + resources: + - kieapps + - kieapps/status + - kieapps/finalizers + verbs: + - create + - delete + - deletecollection + - get + - list + - patch + - update + - watch + - apiGroups: + - monitoring.coreos.com + resources: + - servicemonitors + - prometheusrules + verbs: + - get + - create + - list + - apiGroups: + - operators.coreos.com + resources: + - clusterserviceversions + - subscriptions + verbs: + - get + - list + - patch + - update + - watch + serviceAccountName: business-automation-operator + strategy: deployment + installModes: + - supported: true + type: OwnNamespace + - supported: true + type: SingleNamespace + - supported: false + type: MultiNamespace + - supported: false + type: AllNamespaces + keywords: + - kieapp + - pam + - decision + - kie + - cloud + - bpm + - process + - automation + - operator + labels: + alm-owner-businessautomation: businessautomation-operator + operated-by: businessautomation-operator.7.9.1-dev-cpglhmf98c + links: + - 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.9/#category-deploying-red-hat-process-automation-manager-on-openshift + maintainers: + - email: bsig-cloud@redhat.com + name: Red Hat + maturity: dev + provider: + name: Red Hat + relatedImages: + - image: quay.io/kiegroup/kie-cloud-operator:7.9.1 + name: kie-cloud-operator + - image: registry.redhat.io/rhdm-7/rhdm-kieserver-rhel8:7.9.1 + name: rhdm-kieserver-rhel8 + - image: registry.redhat.io/rhdm-7/rhdm-controller-rhel8:7.9.1 + name: rhdm-controller-rhel8 + - image: registry.redhat.io/rhdm-7/rhdm-decisioncentral-rhel8:7.9.1 + name: rhdm-decisioncentral-rhel8 + - image: registry.redhat.io/rhpam-7/rhpam-kieserver-rhel8:7.9.1 + name: rhpam-kieserver-rhel8 + - image: registry.redhat.io/rhpam-7/rhpam-controller-rhel8:7.9.1 + name: rhpam-controller-rhel8 + - image: registry.redhat.io/rhpam-7/rhpam-businesscentral-rhel8:7.9.1 + name: rhpam-businesscentral-rhel8 + - image: registry.redhat.io/rhpam-7/rhpam-businesscentral-monitoring-rhel8:7.9.1 + name: rhpam-businesscentral-monitoring-rhel8 + - image: registry.redhat.io/rhpam-7/rhpam-smartrouter-rhel8:7.9.1 + name: rhpam-smartrouter-rhel8 + - image: registry.redhat.io/rhpam-7/rhpam-process-migration-rhel8:7.9.1 + name: rhpam-process-migration-rhel8 + - image: registry.redhat.io/rhdm-7/rhdm-kieserver-rhel8:7.9.0 + name: rhdm-kieserver-rhel8 + - image: registry.redhat.io/rhdm-7/rhdm-controller-rhel8:7.9.0 + name: rhdm-controller-rhel8 + - image: registry.redhat.io/rhdm-7/rhdm-decisioncentral-rhel8:7.9.0 + name: rhdm-decisioncentral-rhel8 + - image: registry.redhat.io/rhpam-7/rhpam-kieserver-rhel8:7.9.0 + name: rhpam-kieserver-rhel8 + - image: registry.redhat.io/rhpam-7/rhpam-controller-rhel8:7.9.0 + name: rhpam-controller-rhel8 + - image: registry.redhat.io/rhpam-7/rhpam-businesscentral-rhel8:7.9.0 + name: rhpam-businesscentral-rhel8 + - image: registry.redhat.io/rhpam-7/rhpam-businesscentral-monitoring-rhel8:7.9.0 + name: rhpam-businesscentral-monitoring-rhel8 + - image: registry.redhat.io/rhpam-7/rhpam-smartrouter-rhel8:7.9.0 + name: rhpam-smartrouter-rhel8 + - image: registry.redhat.io/rhpam-7/rhpam-process-migration-rhel8:7.9.0 + name: rhpam-process-migration-rhel8 + - image: registry.redhat.io/rhdm-7/rhdm-kieserver-rhel8:7.8.1 + name: rhdm-kieserver-rhel8 + - image: registry.redhat.io/rhdm-7/rhdm-controller-rhel8:7.8.1 + name: rhdm-controller-rhel8 + - image: registry.redhat.io/rhdm-7/rhdm-decisioncentral-rhel8:7.8.1 + name: rhdm-decisioncentral-rhel8 + - image: registry.redhat.io/rhpam-7/rhpam-kieserver-rhel8:7.8.1 + name: rhpam-kieserver-rhel8 + - image: registry.redhat.io/rhpam-7/rhpam-controller-rhel8:7.8.1 + name: rhpam-controller-rhel8 + - image: registry.redhat.io/rhpam-7/rhpam-businesscentral-rhel8:7.8.1 + name: rhpam-businesscentral-rhel8 + - image: registry.redhat.io/rhpam-7/rhpam-businesscentral-monitoring-rhel8:7.8.1 + name: rhpam-businesscentral-monitoring-rhel8 + - image: registry.redhat.io/rhpam-7/rhpam-smartrouter-rhel8:7.8.1 + name: rhpam-smartrouter-rhel8 + - image: registry.redhat.io/rhpam-7/rhpam-process-migration-rhel8:7.8.1 + name: rhpam-process-migration-rhel8 + - image: registry.redhat.io/openshift4/ose-oauth-proxy:latest + name: ose-oauth-proxy + - image: registry.redhat.io/openshift4/ose-oauth-proxy:v4.6 + name: ose-oauth-proxy + - image: registry.redhat.io/openshift4/ose-oauth-proxy:v4.5 + name: ose-oauth-proxy + - image: registry.redhat.io/openshift4/ose-oauth-proxy:v4.4 + name: ose-oauth-proxy + - image: registry.redhat.io/openshift4/ose-oauth-proxy:v4.3 + name: ose-oauth-proxy + - image: registry.redhat.io/openshift4/ose-oauth-proxy:v4.2 + name: ose-oauth-proxy + - image: registry.redhat.io/openshift4/ose-oauth-proxy:v4.1 + name: ose-oauth-proxy + - image: registry.redhat.io/openshift3/oauth-proxy:latest + name: oauth-proxy + - image: registry.redhat.io/openshift3/ose-cli:v3.11 + name: ose-cli + - image: registry.redhat.io/rhscl/mysql-57-rhel7:latest + name: mysql-57-rhel7 + - image: registry.redhat.io/rhscl/mysql-80-rhel7:latest + name: mysql-80-rhel7 + - image: registry.redhat.io/rhscl/postgresql-10-rhel7:latest + name: postgresql-10-rhel7 + - image: registry.redhat.io/jboss-datagrid-7/datagrid73-openshift:1.5 + name: datagrid73-openshift + - image: registry.redhat.io/jboss-datagrid-7/datagrid73-openshift:1.6 + name: datagrid73-openshift + - image: registry.redhat.io/amq7/amq-broker:7.6 + name: amq-broker + - image: registry.redhat.io/amq7/amq-broker:7.7 + name: amq-broker + replaces: businessautomation-operator.7.9.0 + selector: + matchLabels: + alm-owner-businessautomation: businessautomation-operator + operated-by: businessautomation-operator.7.9.1-dev-cpglhmf98c + version: 7.9.1+cpglhmf98c diff --git a/deploy/olm-catalog/dev/7.9.1/manifests/kieapp.crd.yaml b/deploy/olm-catalog/dev/7.9.1/manifests/kieapp.crd.yaml new file mode 120000 index 000000000..0bbfc8893 --- /dev/null +++ b/deploy/olm-catalog/dev/7.9.1/manifests/kieapp.crd.yaml @@ -0,0 +1 @@ +../../../../crds/kieapp.crd.yaml \ No newline at end of file diff --git a/deploy/olm-catalog/dev/7.9.1/metadata/annotations.yaml b/deploy/olm-catalog/dev/7.9.1/metadata/annotations.yaml new file mode 100644 index 000000000..724337620 --- /dev/null +++ b/deploy/olm-catalog/dev/7.9.1/metadata/annotations.yaml @@ -0,0 +1,10 @@ +annotations: + operators.operatorframework.io.bundle.channel.default.v1: stable + operators.operatorframework.io.bundle.channels.v1: stable + operators.operatorframework.io.bundle.manifests.v1: manifests/ + operators.operatorframework.io.bundle.mediatype.v1: registry+v1 + operators.operatorframework.io.bundle.metadata.v1: metadata/ + operators.operatorframework.io.bundle.package.v1: businessautomation-operator + operators.operatorframework.io.metrics.builder: operator-sdk-v0.19.2 + operators.operatorframework.io.metrics.mediatype.v1: metrics+v1 + operators.operatorframework.io.metrics.project_layout: go diff --git a/deploy/olm-catalog/prod/7.9.1/manifests/businessautomation-operator.7.9.1.clusterserviceversion.yaml b/deploy/olm-catalog/prod/7.9.1/manifests/businessautomation-operator.7.9.1.clusterserviceversion.yaml new file mode 100644 index 000000000..e164fbee8 --- /dev/null +++ b/deploy/olm-catalog/prod/7.9.1/manifests/businessautomation-operator.7.9.1.clusterserviceversion.yaml @@ -0,0 +1,555 @@ +apiVersion: operators.coreos.com/v1alpha1 +kind: ClusterServiceVersion +metadata: + annotations: + alm-examples: '[{"apiVersion":"app.kiegroup.org/v2","kind":"KieApp","metadata":{"name":"rhpam-trial"},"spec":{"environment":"rhpam-trial"}}]' + capabilities: Seamless Upgrades + categories: Integration & Delivery + certified: "true" + containerImage: registry.redhat.io/rhpam-7/rhpam-rhel8-operator:7.9.1 + createdAt: "2020-10-27 14:01:46" + 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 + support: Red Hat + tectonic-visibility: ocs + labels: + operator-businessautomation: "true" + operatorframework.io/arch.amd64: supported + operatorframework.io/os.linux: supported + name: businessautomation-operator.7.9.1 + namespace: placeholder +spec: + apiservicedefinitions: {} + customresourcedefinitions: + owned: + - description: A project prescription running an RHPAM/RHDM environment. + displayName: KieApp + kind: KieApp + name: kieapps.app.kiegroup.org + resources: + - kind: DeploymentConfig + name: "" + version: apps.openshift.io/v1 + - kind: StatefulSet + name: "" + version: apps/v1 + - kind: Role + name: "" + version: rbac.authorization.k8s.io/v1 + - kind: RoleBinding + name: "" + version: rbac.authorization.k8s.io/v1 + - kind: Route + name: "" + version: route.openshift.io/v1 + - kind: BuildConfig + name: "" + version: build.openshift.io/v1 + - kind: ImageStream + name: "" + version: image.openshift.io/v1 + - kind: Secret + name: "" + version: v1 + - kind: PersistentVolumeClaim + name: "" + version: v1 + - kind: ServiceAccount + name: "" + version: v1 + - kind: Service + name: "" + version: v1 + specDescriptors: + - description: Set true to enable automatic micro version product upgrades, it is disabled by default. + displayName: Enable Upgrades + path: upgrades.enabled + x-descriptors: + - urn:alm:descriptor:com.tectonic.ui:booleanSwitch + - description: Set true to enable automatic minor product version upgrades, it is disabled by default. Requires spec.upgrades.enabled to be true. + displayName: Include minor version upgrades + path: upgrades.minor + x-descriptors: + - urn:alm:descriptor:com.tectonic.ui:booleanSwitch + - description: Set true to enable image tags, disabled by default. This will leverage image tags instead of the image digests. + displayName: Use Image Tags + path: useImageTags + x-descriptors: + - urn:alm:descriptor:com.tectonic.ui:booleanSwitch + - description: Environment deployed. + displayName: Environment + path: environment + x-descriptors: + - urn:alm:descriptor:com.tectonic.ui:label + statusDescriptors: + - description: Product version installed. + displayName: Version + path: version + x-descriptors: + - urn:alm:descriptor:com.tectonic.ui:label + - description: Current phase. + displayName: Status + path: phase + x-descriptors: + - urn:alm:descriptor:com.tectonic.ui:label + - description: The address for accessing Business Central, if it is deployed. + displayName: Business/Decision Central URL + path: consoleHost + x-descriptors: + - urn:alm:descriptor:org.w3:link + - description: Deployments for the KieApp environment. + displayName: Deployments + path: deployments + x-descriptors: + - urn:alm:descriptor:com.tectonic.ui:podStatuses + version: v2 + description: |- + Deploys and manages Red Hat Process Automation Manager and Red Hat Decision Manager environments. + + * **Red Hat Process Automation Manager** is a platform for developing containerized microservices and applications that automate business decisions and processes. It includes business process management (BPM), business rules management (BRM), and business resource optimization and complex event processing (CEP) technologies. It also includes a user experience platform to create engaging user interfaces for process and decision services with minimal coding. + + * **Red Hat Decision Manager** is a platform for developing containerized microservices and applications that automate business decisions. It includes business rules management, complex event processing, and resource optimization technologies. Organizations can incorporate sophisticated decision logic into line-of-business applications and quickly update underlying business rules as market conditions change. + + [See more](https://www.redhat.com/en/products/process-automation). + displayName: Business Automation + icon: + - base64data: PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA3MjEuMTUgNzIxLjE1Ij48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2RkMzkyNjt9LmNscy0ye2ZpbGw6I2NjMzQyNzt9LmNscy0ze2ZpbGw6I2ZmZjt9LmNscy00e2ZpbGw6I2U1ZTVlNDt9PC9zdHlsZT48L2RlZnM+PHRpdGxlPlByb2R1Y3RfSWNvbi1SZWRfSGF0LUF1dG9tYXRpb24tUkdCPC90aXRsZT48Y2lyY2xlIGNsYXNzPSJjbHMtMSIgY3g9IjM2MC41NyIgY3k9IjM2MC41NyIgcj0iMzU4LjU4Ii8+PHBhdGggY2xhc3M9ImNscy0yIiBkPSJNNjEzLjc4LDEwNy4wOSwxMDYuNzIsNjE0LjE2YzE0MC4xNCwxMzguNjIsMzY2LjExLDEzOC4xNiw1MDUuNjctMS40Uzc1Mi40LDI0Ny4yNCw2MTMuNzgsMTA3LjA5WiIvPjxwb2x5Z29uIGNsYXNzPSJjbHMtMyIgcG9pbnRzPSIzNzguOTcgMzI3LjQ4IDQ2MS43NyAxNTkuNTcgMjU5LjY3IDE1OS40OSAyNTkuNjcgNDEzLjEgMzA2Ljk3IDQxMy43OCAzOTMuMjcgMzI3LjQ3IDM3OC45NyAzMjcuNDgiLz48cG9seWdvbiBjbGFzcz0iY2xzLTQiIHBvaW50cz0iMzU5LjYgNTc4LjA2IDQ4Mi41NSAzMjcuNDUgMzkzLjI3IDMyNy40NyAzMDYuOTcgNDEzLjc4IDM1OS42IDQxNC41MiAzNTkuNiA1NzguMDYiLz48L3N2Zz4= + mediatype: image/svg+xml + install: + spec: + clusterPermissions: + - rules: + - apiGroups: + - console.openshift.io + resources: + - consolelinks + - consoleyamlsamples + verbs: + - get + - create + - update + - delete + serviceAccountName: business-automation-operator + deployments: + - name: business-automation-operator + spec: + replicas: 1 + selector: + matchLabels: + name: business-automation-operator + strategy: + rollingUpdate: + maxSurge: 1 + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + labels: + name: business-automation-operator + spec: + containers: + - command: + - kie-cloud-operator + env: + - name: OPERATOR_NAME + valueFrom: + fieldRef: + fieldPath: metadata.labels['name'] + - name: POD_NAME + valueFrom: + fieldRef: + fieldPath: metadata.name + - name: WATCH_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace + - name: OPERATOR_UI + value: "true" + - name: DEBUG + value: "false" + - name: DM_KIESERVER_IMAGE_7.9.1 + value: registry.redhat.io/rhdm-7/rhdm-kieserver-rhel8:7.9.1 + - name: DM_CONTROLLER_IMAGE_7.9.1 + value: registry.redhat.io/rhdm-7/rhdm-controller-rhel8:7.9.1 + - name: DM_DC_IMAGE_7.9.1 + value: registry.redhat.io/rhdm-7/rhdm-decisioncentral-rhel8:7.9.1 + - name: PAM_KIESERVER_IMAGE_7.9.1 + value: registry.redhat.io/rhpam-7/rhpam-kieserver-rhel8:7.9.1 + - name: PAM_CONTROLLER_IMAGE_7.9.1 + value: registry.redhat.io/rhpam-7/rhpam-controller-rhel8:7.9.1 + - name: PAM_BC_IMAGE_7.9.1 + value: registry.redhat.io/rhpam-7/rhpam-businesscentral-rhel8:7.9.1 + - name: PAM_BC_MONITORING_IMAGE_7.9.1 + value: registry.redhat.io/rhpam-7/rhpam-businesscentral-monitoring-rhel8:7.9.1 + - name: PAM_SMARTROUTER_IMAGE_7.9.1 + value: registry.redhat.io/rhpam-7/rhpam-smartrouter-rhel8:7.9.1 + - name: PAM_PROCESS_MIGRATION_IMAGE_7.9.1 + value: registry.redhat.io/rhpam-7/rhpam-process-migration-rhel8:7.9.1 + - name: OSE_CLI_IMAGE_7.9.1 + value: registry.redhat.io/openshift3/ose-cli:v3.11 + - name: MYSQL_PROXY_IMAGE_7.9.1 + value: registry.redhat.io/rhscl/mysql-80-rhel7:latest + - name: POSTGRESQL_PROXY_IMAGE_7.9.1 + value: registry.redhat.io/rhscl/postgresql-10-rhel7:latest + - name: DATAGRID_IMAGE_7.9.1 + value: registry.redhat.io/jboss-datagrid-7/datagrid73-openshift:1.6 + - name: BROKER_IMAGE_7.9.1 + value: registry.redhat.io/amq7/amq-broker:7.7 + - name: DM_KIESERVER_IMAGE_7.9.0 + value: registry.redhat.io/rhdm-7/rhdm-kieserver-rhel8:7.9.0 + - name: DM_CONTROLLER_IMAGE_7.9.0 + value: registry.redhat.io/rhdm-7/rhdm-controller-rhel8:7.9.0 + - name: DM_DC_IMAGE_7.9.0 + value: registry.redhat.io/rhdm-7/rhdm-decisioncentral-rhel8:7.9.0 + - name: PAM_KIESERVER_IMAGE_7.9.0 + value: registry.redhat.io/rhpam-7/rhpam-kieserver-rhel8:7.9.0 + - name: PAM_CONTROLLER_IMAGE_7.9.0 + value: registry.redhat.io/rhpam-7/rhpam-controller-rhel8:7.9.0 + - name: PAM_BC_IMAGE_7.9.0 + value: registry.redhat.io/rhpam-7/rhpam-businesscentral-rhel8:7.9.0 + - name: PAM_BC_MONITORING_IMAGE_7.9.0 + value: registry.redhat.io/rhpam-7/rhpam-businesscentral-monitoring-rhel8:7.9.0 + - name: PAM_SMARTROUTER_IMAGE_7.9.0 + value: registry.redhat.io/rhpam-7/rhpam-smartrouter-rhel8:7.9.0 + - name: PAM_PROCESS_MIGRATION_IMAGE_7.9.0 + value: registry.redhat.io/rhpam-7/rhpam-process-migration-rhel8:7.9.0 + - name: OSE_CLI_IMAGE_7.9.0 + value: registry.redhat.io/openshift3/ose-cli:v3.11 + - name: MYSQL_PROXY_IMAGE_7.9.0 + value: registry.redhat.io/rhscl/mysql-80-rhel7:latest + - name: POSTGRESQL_PROXY_IMAGE_7.9.0 + value: registry.redhat.io/rhscl/postgresql-10-rhel7:latest + - name: DATAGRID_IMAGE_7.9.0 + value: registry.redhat.io/jboss-datagrid-7/datagrid73-openshift:1.6 + - name: BROKER_IMAGE_7.9.0 + value: registry.redhat.io/amq7/amq-broker:7.7 + - name: DM_KIESERVER_IMAGE_7.8.1 + value: registry.redhat.io/rhdm-7/rhdm-kieserver-rhel8:7.8.1 + - name: DM_CONTROLLER_IMAGE_7.8.1 + value: registry.redhat.io/rhdm-7/rhdm-controller-rhel8:7.8.1 + - name: DM_DC_IMAGE_7.8.1 + value: registry.redhat.io/rhdm-7/rhdm-decisioncentral-rhel8:7.8.1 + - name: PAM_KIESERVER_IMAGE_7.8.1 + value: registry.redhat.io/rhpam-7/rhpam-kieserver-rhel8:7.8.1 + - name: PAM_CONTROLLER_IMAGE_7.8.1 + value: registry.redhat.io/rhpam-7/rhpam-controller-rhel8:7.8.1 + - name: PAM_BC_IMAGE_7.8.1 + value: registry.redhat.io/rhpam-7/rhpam-businesscentral-rhel8:7.8.1 + - name: PAM_BC_MONITORING_IMAGE_7.8.1 + value: registry.redhat.io/rhpam-7/rhpam-businesscentral-monitoring-rhel8:7.8.1 + - name: PAM_SMARTROUTER_IMAGE_7.8.1 + value: registry.redhat.io/rhpam-7/rhpam-smartrouter-rhel8:7.8.1 + - name: PAM_PROCESS_MIGRATION_IMAGE_7.8.1 + value: registry.redhat.io/rhpam-7/rhpam-process-migration-rhel8:7.8.1 + - name: OSE_CLI_IMAGE_7.8.1 + value: registry.redhat.io/openshift3/ose-cli:v3.11 + - name: MYSQL_PROXY_IMAGE_7.8.1 + value: registry.redhat.io/rhscl/mysql-80-rhel7:latest + - name: POSTGRESQL_PROXY_IMAGE_7.8.1 + value: registry.redhat.io/rhscl/postgresql-10-rhel7:latest + - name: DATAGRID_IMAGE_7.8.1 + value: registry.redhat.io/jboss-datagrid-7/datagrid73-openshift:1.5 + - name: BROKER_IMAGE_7.8.1 + value: registry.redhat.io/amq7/amq-broker:7.6 + - name: OAUTH_PROXY_IMAGE_LATEST + value: registry.redhat.io/openshift4/ose-oauth-proxy:latest + - name: OAUTH_PROXY_IMAGE_4.6 + value: registry.redhat.io/openshift4/ose-oauth-proxy:v4.6 + - name: OAUTH_PROXY_IMAGE_4.5 + value: registry.redhat.io/openshift4/ose-oauth-proxy:v4.5 + - name: OAUTH_PROXY_IMAGE_4.4 + value: registry.redhat.io/openshift4/ose-oauth-proxy:v4.4 + - name: OAUTH_PROXY_IMAGE_4.3 + value: registry.redhat.io/openshift4/ose-oauth-proxy:v4.3 + - name: OAUTH_PROXY_IMAGE_4.2 + value: registry.redhat.io/openshift4/ose-oauth-proxy:v4.2 + - name: OAUTH_PROXY_IMAGE_4.1 + value: registry.redhat.io/openshift4/ose-oauth-proxy:v4.1 + - name: OAUTH_PROXY_IMAGE_3 + value: registry.redhat.io/openshift3/oauth-proxy:latest + image: registry.redhat.io/rhpam-7/rhpam-rhel8-operator:7.9.1 + imagePullPolicy: Always + name: business-automation-operator + resources: {} + serviceAccountName: business-automation-operator + permissions: + - rules: + - apiGroups: + - "" + resources: + - configmaps + - pods + - services + - services/finalizers + - serviceaccounts + - persistentvolumeclaims + - secrets + verbs: + - create + - delete + - deletecollection + - get + - list + - patch + - update + - watch + - apiGroups: + - "" + resources: + - bindings + - endpoints + - podtemplates + verbs: + - list + - apiGroups: + - apps + resources: + - deployments + - deployments/finalizers + - replicasets + - statefulsets + verbs: + - create + - delete + - deletecollection + - get + - list + - patch + - update + - watch + - apiGroups: + - apps.openshift.io + resources: + - deploymentconfigs + verbs: + - create + - delete + - deletecollection + - get + - list + - patch + - update + - watch + - apiGroups: + - rbac.authorization.k8s.io + resources: + - rolebindings + - roles + verbs: + - create + - delete + - deletecollection + - get + - list + - patch + - update + - watch + - apiGroups: + - route.openshift.io + resources: + - routes + verbs: + - create + - delete + - deletecollection + - get + - list + - patch + - update + - watch + - apiGroups: + - build.openshift.io + resources: + - buildconfigs + verbs: + - create + - delete + - deletecollection + - get + - list + - patch + - update + - watch + - apiGroups: + - image.openshift.io + resources: + - images + - imagetags + - imagestreams + - imagestreamimages + - imagestreamtags + verbs: + - create + - delete + - deletecollection + - get + - list + - patch + - update + - watch + - apiGroups: + - app.kiegroup.org + resources: + - kieapps + - kieapps/status + - kieapps/finalizers + verbs: + - create + - delete + - deletecollection + - get + - list + - patch + - update + - watch + - apiGroups: + - monitoring.coreos.com + resources: + - servicemonitors + - prometheusrules + verbs: + - get + - create + - list + - apiGroups: + - operators.coreos.com + resources: + - clusterserviceversions + - subscriptions + verbs: + - get + - list + - patch + - update + - watch + serviceAccountName: business-automation-operator + strategy: deployment + installModes: + - supported: true + type: OwnNamespace + - supported: true + type: SingleNamespace + - supported: false + type: MultiNamespace + - supported: false + type: AllNamespaces + keywords: + - kieapp + - pam + - decision + - kie + - cloud + - bpm + - process + - automation + - operator + labels: + alm-owner-businessautomation: businessautomation-operator + operated-by: businessautomation-operator.7.9.1 + links: + - 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.9/#category-deploying-red-hat-process-automation-manager-on-openshift + maintainers: + - email: bsig-cloud@redhat.com + name: Red Hat + maturity: stable + provider: + name: Red Hat + relatedImages: + - image: registry.redhat.io/rhpam-7/rhpam-rhel8-operator:7.9.1 + name: rhpam-rhel8-operator + - image: registry.redhat.io/rhdm-7/rhdm-kieserver-rhel8:7.9.1 + name: rhdm-kieserver-rhel8 + - image: registry.redhat.io/rhdm-7/rhdm-controller-rhel8:7.9.1 + name: rhdm-controller-rhel8 + - image: registry.redhat.io/rhdm-7/rhdm-decisioncentral-rhel8:7.9.1 + name: rhdm-decisioncentral-rhel8 + - image: registry.redhat.io/rhpam-7/rhpam-kieserver-rhel8:7.9.1 + name: rhpam-kieserver-rhel8 + - image: registry.redhat.io/rhpam-7/rhpam-controller-rhel8:7.9.1 + name: rhpam-controller-rhel8 + - image: registry.redhat.io/rhpam-7/rhpam-businesscentral-rhel8:7.9.1 + name: rhpam-businesscentral-rhel8 + - image: registry.redhat.io/rhpam-7/rhpam-businesscentral-monitoring-rhel8:7.9.1 + name: rhpam-businesscentral-monitoring-rhel8 + - image: registry.redhat.io/rhpam-7/rhpam-smartrouter-rhel8:7.9.1 + name: rhpam-smartrouter-rhel8 + - image: registry.redhat.io/rhpam-7/rhpam-process-migration-rhel8:7.9.1 + name: rhpam-process-migration-rhel8 + - image: registry.redhat.io/rhdm-7/rhdm-kieserver-rhel8:7.9.0 + name: rhdm-kieserver-rhel8 + - image: registry.redhat.io/rhdm-7/rhdm-controller-rhel8:7.9.0 + name: rhdm-controller-rhel8 + - image: registry.redhat.io/rhdm-7/rhdm-decisioncentral-rhel8:7.9.0 + name: rhdm-decisioncentral-rhel8 + - image: registry.redhat.io/rhpam-7/rhpam-kieserver-rhel8:7.9.0 + name: rhpam-kieserver-rhel8 + - image: registry.redhat.io/rhpam-7/rhpam-controller-rhel8:7.9.0 + name: rhpam-controller-rhel8 + - image: registry.redhat.io/rhpam-7/rhpam-businesscentral-rhel8:7.9.0 + name: rhpam-businesscentral-rhel8 + - image: registry.redhat.io/rhpam-7/rhpam-businesscentral-monitoring-rhel8:7.9.0 + name: rhpam-businesscentral-monitoring-rhel8 + - image: registry.redhat.io/rhpam-7/rhpam-smartrouter-rhel8:7.9.0 + name: rhpam-smartrouter-rhel8 + - image: registry.redhat.io/rhpam-7/rhpam-process-migration-rhel8:7.9.0 + name: rhpam-process-migration-rhel8 + - image: registry.redhat.io/rhdm-7/rhdm-kieserver-rhel8:7.8.1 + name: rhdm-kieserver-rhel8 + - image: registry.redhat.io/rhdm-7/rhdm-controller-rhel8:7.8.1 + name: rhdm-controller-rhel8 + - image: registry.redhat.io/rhdm-7/rhdm-decisioncentral-rhel8:7.8.1 + name: rhdm-decisioncentral-rhel8 + - image: registry.redhat.io/rhpam-7/rhpam-kieserver-rhel8:7.8.1 + name: rhpam-kieserver-rhel8 + - image: registry.redhat.io/rhpam-7/rhpam-controller-rhel8:7.8.1 + name: rhpam-controller-rhel8 + - image: registry.redhat.io/rhpam-7/rhpam-businesscentral-rhel8:7.8.1 + name: rhpam-businesscentral-rhel8 + - image: registry.redhat.io/rhpam-7/rhpam-businesscentral-monitoring-rhel8:7.8.1 + name: rhpam-businesscentral-monitoring-rhel8 + - image: registry.redhat.io/rhpam-7/rhpam-smartrouter-rhel8:7.8.1 + name: rhpam-smartrouter-rhel8 + - image: registry.redhat.io/rhpam-7/rhpam-process-migration-rhel8:7.8.1 + name: rhpam-process-migration-rhel8 + - image: registry.redhat.io/openshift4/ose-oauth-proxy:latest + name: ose-oauth-proxy + - image: registry.redhat.io/openshift4/ose-oauth-proxy:v4.6 + name: ose-oauth-proxy + - image: registry.redhat.io/openshift4/ose-oauth-proxy:v4.5 + name: ose-oauth-proxy + - image: registry.redhat.io/openshift4/ose-oauth-proxy:v4.4 + name: ose-oauth-proxy + - image: registry.redhat.io/openshift4/ose-oauth-proxy:v4.3 + name: ose-oauth-proxy + - image: registry.redhat.io/openshift4/ose-oauth-proxy:v4.2 + name: ose-oauth-proxy + - image: registry.redhat.io/openshift4/ose-oauth-proxy:v4.1 + name: ose-oauth-proxy + - image: registry.redhat.io/openshift3/oauth-proxy:latest + name: oauth-proxy + - image: registry.redhat.io/openshift3/ose-cli:v3.11 + name: ose-cli + - image: registry.redhat.io/rhscl/mysql-57-rhel7:latest + name: mysql-57-rhel7 + - image: registry.redhat.io/rhscl/mysql-80-rhel7:latest + name: mysql-80-rhel7 + - image: registry.redhat.io/rhscl/postgresql-10-rhel7:latest + name: postgresql-10-rhel7 + - image: registry.redhat.io/jboss-datagrid-7/datagrid73-openshift:1.5 + name: datagrid73-openshift + - image: registry.redhat.io/jboss-datagrid-7/datagrid73-openshift:1.6 + name: datagrid73-openshift + - image: registry.redhat.io/amq7/amq-broker:7.6 + name: amq-broker + - image: registry.redhat.io/amq7/amq-broker:7.7 + name: amq-broker + replaces: businessautomation-operator.7.9.0 + selector: + matchLabels: + alm-owner-businessautomation: businessautomation-operator + operated-by: businessautomation-operator.7.9.1 + version: 7.9.1 diff --git a/deploy/olm-catalog/prod/7.9.1/manifests/kieapp.crd.yaml b/deploy/olm-catalog/prod/7.9.1/manifests/kieapp.crd.yaml new file mode 120000 index 000000000..0bbfc8893 --- /dev/null +++ b/deploy/olm-catalog/prod/7.9.1/manifests/kieapp.crd.yaml @@ -0,0 +1 @@ +../../../../crds/kieapp.crd.yaml \ No newline at end of file diff --git a/deploy/olm-catalog/prod/7.9.1/metadata/annotations.yaml b/deploy/olm-catalog/prod/7.9.1/metadata/annotations.yaml new file mode 100644 index 000000000..724337620 --- /dev/null +++ b/deploy/olm-catalog/prod/7.9.1/metadata/annotations.yaml @@ -0,0 +1,10 @@ +annotations: + operators.operatorframework.io.bundle.channel.default.v1: stable + operators.operatorframework.io.bundle.channels.v1: stable + operators.operatorframework.io.bundle.manifests.v1: manifests/ + operators.operatorframework.io.bundle.mediatype.v1: registry+v1 + operators.operatorframework.io.bundle.metadata.v1: metadata/ + operators.operatorframework.io.bundle.package.v1: businessautomation-operator + operators.operatorframework.io.metrics.builder: operator-sdk-v0.19.2 + operators.operatorframework.io.metrics.mediatype.v1: metrics+v1 + operators.operatorframework.io.metrics.project_layout: go diff --git a/deploy/operator.yaml b/deploy/operator.yaml index 2e69dc98f..df45852d4 100644 --- a/deploy/operator.yaml +++ b/deploy/operator.yaml @@ -37,6 +37,34 @@ spec: value: "true" - name: DEBUG value: "false" + - name: DM_KIESERVER_IMAGE_7.9.1 + value: registry.redhat.io/rhdm-7/rhdm-kieserver-rhel8:7.9.1 + - name: DM_CONTROLLER_IMAGE_7.9.1 + value: registry.redhat.io/rhdm-7/rhdm-controller-rhel8:7.9.1 + - name: DM_DC_IMAGE_7.9.1 + value: registry.redhat.io/rhdm-7/rhdm-decisioncentral-rhel8:7.9.1 + - name: PAM_KIESERVER_IMAGE_7.9.1 + value: registry.redhat.io/rhpam-7/rhpam-kieserver-rhel8:7.9.1 + - name: PAM_CONTROLLER_IMAGE_7.9.1 + value: registry.redhat.io/rhpam-7/rhpam-controller-rhel8:7.9.1 + - name: PAM_BC_IMAGE_7.9.1 + value: registry.redhat.io/rhpam-7/rhpam-businesscentral-rhel8:7.9.1 + - name: PAM_BC_MONITORING_IMAGE_7.9.1 + value: registry.redhat.io/rhpam-7/rhpam-businesscentral-monitoring-rhel8:7.9.1 + - name: PAM_SMARTROUTER_IMAGE_7.9.1 + value: registry.redhat.io/rhpam-7/rhpam-smartrouter-rhel8:7.9.1 + - name: PAM_PROCESS_MIGRATION_IMAGE_7.9.1 + value: registry.redhat.io/rhpam-7/rhpam-process-migration-rhel8:7.9.1 + - name: OSE_CLI_IMAGE_7.9.1 + value: registry.redhat.io/openshift3/ose-cli:v3.11 + - name: MYSQL_PROXY_IMAGE_7.9.1 + value: registry.redhat.io/rhscl/mysql-80-rhel7:latest + - name: POSTGRESQL_PROXY_IMAGE_7.9.1 + value: registry.redhat.io/rhscl/postgresql-10-rhel7:latest + - name: DATAGRID_IMAGE_7.9.1 + value: registry.redhat.io/jboss-datagrid-7/datagrid73-openshift:1.6 + - name: BROKER_IMAGE_7.9.1 + value: registry.redhat.io/amq7/amq-broker:7.7 - name: DM_KIESERVER_IMAGE_7.9.0 value: registry.redhat.io/rhdm-7/rhdm-kieserver-rhel8:7.9.0 - name: DM_CONTROLLER_IMAGE_7.9.0 @@ -93,34 +121,6 @@ spec: value: registry.redhat.io/jboss-datagrid-7/datagrid73-openshift:1.5 - name: BROKER_IMAGE_7.8.1 value: registry.redhat.io/amq7/amq-broker:7.6 - - name: DM_KIESERVER_IMAGE_7.8.0 - value: registry.redhat.io/rhdm-7/rhdm-kieserver-rhel8:7.8.0 - - name: DM_CONTROLLER_IMAGE_7.8.0 - value: registry.redhat.io/rhdm-7/rhdm-controller-rhel8:7.8.0 - - name: DM_DC_IMAGE_7.8.0 - value: registry.redhat.io/rhdm-7/rhdm-decisioncentral-rhel8:7.8.0 - - name: PAM_KIESERVER_IMAGE_7.8.0 - value: registry.redhat.io/rhpam-7/rhpam-kieserver-rhel8:7.8.0 - - name: PAM_CONTROLLER_IMAGE_7.8.0 - value: registry.redhat.io/rhpam-7/rhpam-controller-rhel8:7.8.0 - - name: PAM_BC_IMAGE_7.8.0 - value: registry.redhat.io/rhpam-7/rhpam-businesscentral-rhel8:7.8.0 - - name: PAM_BC_MONITORING_IMAGE_7.8.0 - value: registry.redhat.io/rhpam-7/rhpam-businesscentral-monitoring-rhel8:7.8.0 - - name: PAM_SMARTROUTER_IMAGE_7.8.0 - value: registry.redhat.io/rhpam-7/rhpam-smartrouter-rhel8:7.8.0 - - name: PAM_PROCESS_MIGRATION_IMAGE_7.8.0 - value: registry.redhat.io/rhpam-7/rhpam-process-migration-rhel8:7.8.0 - - name: OSE_CLI_IMAGE_7.8.0 - value: registry.redhat.io/openshift3/ose-cli:v3.11 - - name: MYSQL_PROXY_IMAGE_7.8.0 - value: registry.redhat.io/rhscl/mysql-80-rhel7:latest - - name: POSTGRESQL_PROXY_IMAGE_7.8.0 - value: registry.redhat.io/rhscl/postgresql-10-rhel7:latest - - name: DATAGRID_IMAGE_7.8.0 - value: registry.redhat.io/jboss-datagrid-7/datagrid73-openshift:1.5 - - name: BROKER_IMAGE_7.8.0 - value: registry.redhat.io/amq7/amq-broker:7.6 - name: OAUTH_PROXY_IMAGE_LATEST value: registry.redhat.io/openshift4/ose-oauth-proxy:latest - name: OAUTH_PROXY_IMAGE_4.6 @@ -137,7 +137,7 @@ spec: value: registry.redhat.io/openshift4/ose-oauth-proxy:v4.1 - name: OAUTH_PROXY_IMAGE_3 value: registry.redhat.io/openshift3/oauth-proxy:latest - image: quay.io/kiegroup/kie-cloud-operator:7.9.0 + image: quay.io/kiegroup/kie-cloud-operator:7.9.1 imagePullPolicy: Always name: business-automation-operator resources: {} diff --git a/go.sum b/go.sum index b8b0ba504..da5888d8d 100644 --- a/go.sum +++ b/go.sum @@ -50,7 +50,9 @@ github.com/Azure/go-autorest/autorest/mocks v0.2.0 h1:Ww5g4zThfD/6cLb4z6xxgeyDa7 github.com/Azure/go-autorest/autorest/mocks v0.2.0/go.mod h1:OTyCOPRA2IgIlWxVYxBee2F5Gr4kF2zd2J5cFRaIDN0= github.com/Azure/go-autorest/autorest/mocks v0.3.0 h1:qJumjCaCudz+OcqE9/XtEPfvtOjOmKaui4EOpFI6zZc= github.com/Azure/go-autorest/autorest/mocks v0.3.0/go.mod h1:a8FDP3DYzQ4RYfVAxAN3SVSiiO77gL2j2ronKKP0syM= +github.com/Azure/go-autorest/autorest/to v0.3.1-0.20191028180845-3492b2aff503 h1:2McfZNaDqGPjv2pddK547PENIk4HV+NT7gvqRq4L0us= github.com/Azure/go-autorest/autorest/to v0.3.1-0.20191028180845-3492b2aff503/go.mod h1:MgwOyqaIuKdG4TL/2ywSsIWKAfJfgHDo8ObuUk3t5sA= +github.com/Azure/go-autorest/autorest/validation v0.2.1-0.20191028180845-3492b2aff503 h1:RBrGlrkPWapMcLp1M6ywCqyYKOAT5ERI6lYFvGKOThE= github.com/Azure/go-autorest/autorest/validation v0.2.1-0.20191028180845-3492b2aff503/go.mod h1:3EEqHnBxQGHXRYq3HT1WyXAvT7LLY3tl70hw6tQIbjI= github.com/Azure/go-autorest/logger v0.1.0 h1:ruG4BSDXONFRrZZJ2GUXDiUyVpayPmb1GnWeHDdaNKY= github.com/Azure/go-autorest/logger v0.1.0/go.mod h1:oExouG+K6PryycPJfVSxi/koC6LSNgds39diKLz7Vrc= diff --git a/pkg/controller/kieapp/constants/constants.go b/pkg/controller/kieapp/constants/constants.go index a29c349c6..4d84fae5e 100644 --- a/pkg/controller/kieapp/constants/constants.go +++ b/pkg/controller/kieapp/constants/constants.go @@ -8,11 +8,11 @@ import ( const ( // CurrentVersion product version supported - CurrentVersion = "7.9.0" + CurrentVersion = "7.9.1" // PriorVersion1 product version supported - PriorVersion1 = "7.8.1" + PriorVersion1 = "7.9.0" // PriorVersion2 product version supported - PriorVersion2 = "7.8.0" + PriorVersion2 = "7.8.1" ) // SupportedVersions - product versions this operator supports @@ -262,11 +262,11 @@ var VersionConstants = map[string]*api.VersionConfigs{ OseCliImageURL: OseCli311ImageURL, OseCliComponent: OseCli311Component, BrokerImage: BrokerImage, - BrokerImageTag: Broker76ImageTag, - BrokerImageURL: Broker76ImageURL, + BrokerImageTag: Broker77ImageTag, + BrokerImageURL: Broker77ImageURL, DatagridImage: Datagrid73Image, - DatagridImageTag: Datagrid73ImageTag15, - DatagridImageURL: Datagrid73ImageURL15, + DatagridImageTag: Datagrid73ImageTag16, + DatagridImageURL: Datagrid73ImageURL16, DatagridComponent: Datagrid73Component, MySQLImageURL: MySQL80ImageURL, MySQLComponent: MySQL80Component,