-
Bug
-
Resolution: Done
-
Major
-
fuse-7.x-GA
-
None
In productized version we have in syndesis/install/operator/pkg/generator/assets/infrastructure/04-amq-example.yml.tmpl
{{- if .Productized}}
- apiVersion: image.openshift.io/v1
kind: ImageStream
metadata:
name: jboss-amq-63
labels:
app: syndesis
syndesis.io/app: syndesis
syndesis.io/component: amq
spec:
tags:
- from:
kind: DockerImage
name: registry.access.redhat.com/jboss-amq-6/amq63-openshift:1.3
importPolicy:
scheduled: true
name: "1.3"
- apiVersion: v1
kind: Service
metadata:
annotations:
description: The broker's OpenWire port.
labels:
application: broker
name: broker-amq-tcp
spec:
ports:
- name: openwire
port: 61616
targetPort: 61616
- name: stomp
port: 61613
targetPort: 61613
selector:
syndesis.io/example: broker-amq
- apiVersion: apps.openshift.io/v1
kind: DeploymentConfig
metadata:
labels:
app: syndesis
syndesis.io/app: syndesis
syndesis.io/example: broker-amq
name: broker-amq
spec:
replicas: 0
selector:
app: syndesis
syndesis.io/app: syndesis
syndesis.io/example: broker-amq
strategy:
type: Recreate
template:
metadata:
labels:
app: syndesis
syndesis.io/app: syndesis
syndesis.io/example: broker-amq
name: broker-amq
spec:
containers:
- env:
- name: AMQ_USER
value: amq
- name: AMQ_PASSWORD
value: topSecret
- name: AMQ_TRANSPORTS
value: openwire,stomp
image: jboss-amq-63
imagePullPolicy: Always
name: broker-amq
ports:
- containerPort: 8778
name: jolokia
protocol: TCP
- containerPort: 61616
name: tcp
protocol: TCP
- containerPort: 61613
name: stomp
protocol: TCP
readinessProbe:
exec:
command:
- /bin/bash
- -c
- /opt/amq/bin/readinessProbe.sh
terminationGracePeriodSeconds: 60
triggers:
- imageChangeParams:
automatic: true
containerNames:
- broker-amq
from:
kind: ImageStreamTag
name: jboss-amq-63:1.3
type: ImageChange
- type: ConfigChange
{{- end}}
since it is by default scaled to "0", there is no possibility to scale it manually to 1, because operator will always revert it to 0
- relates to
-
ENTESB-12674 Repeated "resource updated" for broker-amq dc in operator
-
- Done
-