kind: StatefulSet
apiVersion: apps/v1
metadata:
  resourceVersion: '80199932'
  name: minimal-sample-ss
  uid: efc3dce6-8df3-43d7-95af-5f02ef5250b4
  creationTimestamp: '2022-06-21T10:48:01Z'
  generation: 1
  managedFields:
    - manager: amq-broker-operator
      operation: Update
      apiVersion: apps/v1
      time: '2022-06-21T10:48:01Z'
      fieldsType: FieldsV1
      fieldsV1:
        'f:metadata':
          'f:labels':
            'f:rht.subcomp_t': {}
            'f:rht.subcomp': {}
            .: {}
            'f:rht.prod_name': {}
            'f:rht.comp': {}
            'f:ActiveMQArtemis': {}
            'f:rht.comp_ver': {}
            'f:application': {}
            'f:com.company': {}
            'f:rht.prod_ver': {}
          'f:ownerReferences':
            .: {}
            'k:{"uid":"7f0996af-9bdf-49e0-937f-d504ad90f0a1"}': {}
        'f:spec':
          'f:podManagementPolicy': {}
          'f:replicas': {}
          'f:revisionHistoryLimit': {}
          'f:selector': {}
          'f:serviceName': {}
          'f:template':
            'f:metadata':
              'f:labels':
                'f:rht.subcomp_t': {}
                'f:rht.subcomp': {}
                .: {}
                'f:rht.prod_name': {}
                'f:rht.comp': {}
                'f:ActiveMQArtemis': {}
                'f:rht.comp_ver': {}
                'f:application': {}
                'f:com.company': {}
                'f:rht.prod_ver': {}
              'f:name': {}
              'f:namespace': {}
            'f:spec':
              'f:volumes':
                .: {}
                'k:{"name":"amq-cfg-dir"}':
                  .: {}
                  'f:emptyDir': {}
                  'f:name': {}
                'k:{"name":"configmap-minimal-sample-props-00000001"}':
                  .: {}
                  'f:configMap':
                    .: {}
                    'f:defaultMode': {}
                    'f:name': {}
                  'f:name': {}
                'k:{"name":"tool-dir"}':
                  .: {}
                  'f:emptyDir': {}
                  'f:name': {}
              'f:containers':
                'k:{"name":"minimal-sample-container"}':
                  'f:image': {}
                  'f:volumeMounts':
                    .: {}
                    'k:{"mountPath":"/amq/extra/configmaps/minimal-sample-props-00000001"}':
                      .: {}
                      'f:mountPath': {}
                      'f:name': {}
                      'f:readOnly': {}
                    'k:{"mountPath":"/amq/init/config"}':
                      .: {}
                      'f:mountPath': {}
                      'f:name': {}
                  'f:terminationMessagePolicy': {}
                  .: {}
                  'f:resources':
                    .: {}
                    'f:limits':
                      .: {}
                      'f:cpu': {}
                      'f:memory': {}
                    'f:requests':
                      .: {}
                      'f:cpu': {}
                      'f:memory': {}
                  'f:command': {}
                  'f:livenessProbe':
                    .: {}
                    'f:failureThreshold': {}
                    'f:initialDelaySeconds': {}
                    'f:periodSeconds': {}
                    'f:successThreshold': {}
                    'f:tcpSocket':
                      .: {}
                      'f:port': {}
                    'f:timeoutSeconds': {}
                  'f:env':
                    'k:{"name":"AMQ_JOURNAL_TYPE"}':
                      .: {}
                      'f:name': {}
                      'f:value': {}
                    'k:{"name":"AMQ_QUEUES"}':
                      .: {}
                      'f:name': {}
                    'k:{"name":"AMQ_ACCEPTORS"}':
                      .: {}
                      'f:name': {}
                      'f:valueFrom':
                        .: {}
                        'f:secretKeyRef': {}
                    'k:{"name":"AMQ_ENABLE_METRICS_PLUGIN"}':
                      .: {}
                      'f:name': {}
                      'f:value': {}
                    'k:{"name":"AMQ_ENABLE_JOLOKIA_AGENT"}':
                      .: {}
                      'f:name': {}
                      'f:value': {}
                    'k:{"name":"AMQ_ANYCAST_PREFIX"}':
                      .: {}
                      'f:name': {}
                    'k:{"name":"AMQ_CONNECTORS"}':
                      .: {}
                      'f:name': {}
                      'f:valueFrom':
                        .: {}
                        'f:secretKeyRef': {}
                    'k:{"name":"AMQ_REQUIRE_LOGIN"}':
                      .: {}
                      'f:name': {}
                      'f:value': {}
                    'k:{"name":"CONFIG_BROKER"}':
                      .: {}
                      'f:name': {}
                      'f:value': {}
                    'k:{"name":"AMQ_TRANSPORTS"}':
                      .: {}
                      'f:name': {}
                    'k:{"name":"AMQ_NAME"}':
                      .: {}
                      'f:name': {}
                      'f:value': {}
                    'k:{"name":"AMQ_USER"}':
                      .: {}
                      'f:name': {}
                      'f:valueFrom':
                        .: {}
                        'f:secretKeyRef': {}
                    'k:{"name":"PING_SVC_NAME"}':
                      .: {}
                      'f:name': {}
                      'f:value': {}
                    'k:{"name":"AMQ_EXTRA_ARGS"}':
                      .: {}
                      'f:name': {}
                      'f:value': {}
                    'k:{"name":"OPENSHIFT_DNS_PING_SERVICE_PORT"}':
                      .: {}
                      'f:name': {}
                      'f:value': {}
                    .: {}
                    'k:{"name":"AMQ_CLUSTER_USER"}':
                      .: {}
                      'f:name': {}
                      'f:valueFrom':
                        .: {}
                        'f:secretKeyRef': {}
                    'k:{"name":"AMQ_GLOBAL_MAX_SIZE"}':
                      .: {}
                      'f:name': {}
                      'f:value': {}
                    'k:{"name":"AMQ_ENABLE_MANAGEMENT_RBAC"}':
                      .: {}
                      'f:name': {}
                      'f:value': {}
                    'k:{"name":"AMQ_CLUSTERED"}':
                      .: {}
                      'f:name': {}
                      'f:value': {}
                    'k:{"name":"CONFIG_INSTANCE_DIR"}':
                      .: {}
                      'f:name': {}
                      'f:value': {}
                    'k:{"name":"POD_NAMESPACE"}':
                      .: {}
                      'f:name': {}
                    'k:{"name":"AMQ_ROLE"}':
                      .: {}
                      'f:name': {}
                      'f:value': {}
                    'k:{"name":"AMQ_MULTICAST_PREFIX"}':
                      .: {}
                      'f:name': {}
                    'k:{"name":"TRIGGERED_ROLL_COUNT"}':
                      .: {}
                      'f:name': {}
                      'f:value': {}
                    'k:{"name":"AMQ_PASSWORD"}':
                      .: {}
                      'f:name': {}
                      'f:valueFrom':
                        .: {}
                        'f:secretKeyRef': {}
                    'k:{"name":"AMQ_ADDRESSES"}':
                      .: {}
                      'f:name': {}
                    'k:{"name":"AMQ_CLUSTER_PASSWORD"}':
                      .: {}
                      'f:name': {}
                      'f:valueFrom':
                        .: {}
                        'f:secretKeyRef': {}
                  'f:readinessProbe':
                    .: {}
                    'f:exec':
                      .: {}
                      'f:command': {}
                    'f:failureThreshold': {}
                    'f:initialDelaySeconds': {}
                    'f:periodSeconds': {}
                    'f:successThreshold': {}
                    'f:timeoutSeconds': {}
                  'f:terminationMessagePath': {}
                  'f:imagePullPolicy': {}
                  'f:name': {}
              'f:dnsPolicy': {}
              'f:restartPolicy': {}
              'f:schedulerName': {}
              'f:terminationGracePeriodSeconds': {}
              'f:initContainers':
                .: {}
                'k:{"name":"minimal-sample-container-init"}':
                  'f:image': {}
                  'f:volumeMounts':
                    .: {}
                    'k:{"mountPath":"/amq/extra/configmaps/minimal-sample-props-00000001"}':
                      .: {}
                      'f:mountPath': {}
                      'f:name': {}
                      'f:readOnly': {}
                    'k:{"mountPath":"/amq/init/config"}':
                      .: {}
                      'f:mountPath': {}
                      'f:name': {}
                    'k:{"mountPath":"/init_cfg_root"}':
                      .: {}
                      'f:mountPath': {}
                      'f:name': {}
                  'f:terminationMessagePolicy': {}
                  .: {}
                  'f:resources':
                    .: {}
                    'f:limits':
                      .: {}
                      'f:cpu': {}
                      'f:memory': {}
                    'f:requests':
                      .: {}
                      'f:cpu': {}
                      'f:memory': {}
                  'f:args': {}
                  'f:command': {}
                  'f:env':
                    'k:{"name":"AMQ_JOURNAL_TYPE"}':
                      .: {}
                      'f:name': {}
                      'f:value': {}
                    'k:{"name":"AMQ_QUEUES"}':
                      .: {}
                      'f:name': {}
                    'k:{"name":"AMQ_ACCEPTORS"}':
                      .: {}
                      'f:name': {}
                      'f:valueFrom':
                        .: {}
                        'f:secretKeyRef': {}
                    'k:{"name":"AMQ_ENABLE_METRICS_PLUGIN"}':
                      .: {}
                      'f:name': {}
                      'f:value': {}
                    'k:{"name":"AMQ_ENABLE_JOLOKIA_AGENT"}':
                      .: {}
                      'f:name': {}
                      'f:value': {}
                    'k:{"name":"AMQ_ANYCAST_PREFIX"}':
                      .: {}
                      'f:name': {}
                    'k:{"name":"AMQ_CONNECTORS"}':
                      .: {}
                      'f:name': {}
                      'f:valueFrom':
                        .: {}
                        'f:secretKeyRef': {}
                    'k:{"name":"AMQ_REQUIRE_LOGIN"}':
                      .: {}
                      'f:name': {}
                      'f:value': {}
                    'k:{"name":"AMQ_TRANSPORTS"}':
                      .: {}
                      'f:name': {}
                    'k:{"name":"AMQ_NAME"}':
                      .: {}
                      'f:name': {}
                      'f:value': {}
                    'k:{"name":"AMQ_USER"}':
                      .: {}
                      'f:name': {}
                      'f:valueFrom':
                        .: {}
                        'f:secretKeyRef': {}
                    'k:{"name":"PING_SVC_NAME"}':
                      .: {}
                      'f:name': {}
                      'f:value': {}
                    'k:{"name":"AMQ_EXTRA_ARGS"}':
                      .: {}
                      'f:name': {}
                      'f:value': {}
                    'k:{"name":"OPENSHIFT_DNS_PING_SERVICE_PORT"}':
                      .: {}
                      'f:name': {}
                      'f:value': {}
                    .: {}
                    'k:{"name":"AMQ_CLUSTER_USER"}':
                      .: {}
                      'f:name': {}
                      'f:valueFrom':
                        .: {}
                        'f:secretKeyRef': {}
                    'k:{"name":"JAVA_OPTS"}':
                      .: {}
                      'f:name': {}
                      'f:value': {}
                    'k:{"name":"AMQ_GLOBAL_MAX_SIZE"}':
                      .: {}
                      'f:name': {}
                      'f:value': {}
                    'k:{"name":"AMQ_ENABLE_MANAGEMENT_RBAC"}':
                      .: {}
                      'f:name': {}
                      'f:value': {}
                    'k:{"name":"AMQ_CLUSTERED"}':
                      .: {}
                      'f:name': {}
                      'f:value': {}
                    'k:{"name":"RUN_BROKER"}':
                      .: {}
                      'f:name': {}
                      'f:value': {}
                    'k:{"name":"CONFIG_INSTANCE_DIR"}':
                      .: {}
                      'f:name': {}
                      'f:value': {}
                    'k:{"name":"POD_NAMESPACE"}':
                      .: {}
                      'f:name': {}
                    'k:{"name":"AMQ_ROLE"}':
                      .: {}
                      'f:name': {}
                      'f:value': {}
                    'k:{"name":"AMQ_MULTICAST_PREFIX"}':
                      .: {}
                      'f:name': {}
                    'k:{"name":"TRIGGERED_ROLL_COUNT"}':
                      .: {}
                      'f:name': {}
                      'f:value': {}
                    'k:{"name":"AMQ_PASSWORD"}':
                      .: {}
                      'f:name': {}
                      'f:valueFrom':
                        .: {}
                        'f:secretKeyRef': {}
                    'k:{"name":"AMQ_ADDRESSES"}':
                      .: {}
                      'f:name': {}
                    'k:{"name":"AMQ_CLUSTER_PASSWORD"}':
                      .: {}
                      'f:name': {}
                      'f:valueFrom':
                        .: {}
                        'f:secretKeyRef': {}
                  'f:terminationMessagePath': {}
                  'f:imagePullPolicy': {}
                  'f:name': {}
              'f:securityContext': {}
              'f:affinity': {}
          'f:updateStrategy':
            'f:rollingUpdate':
              .: {}
              'f:partition': {}
            'f:type': {}
    - manager: kube-controller-manager
      operation: Update
      apiVersion: apps/v1
      time: '2022-06-21T10:48:51Z'
      fieldsType: FieldsV1
      fieldsV1:
        'f:status':
          'f:currentReplicas': {}
          'f:currentRevision': {}
          'f:updatedReplicas': {}
          'f:readyReplicas': {}
          'f:replicas': {}
          'f:availableReplicas': {}
          'f:collisionCount': {}
          'f:observedGeneration': {}
          'f:updateRevision': {}
      subresource: status
  namespace: amqbroker
  ownerReferences:
    - apiVersion: broker.amq.io/v1beta1
      kind: ActiveMQArtemis
      name: minimal-sample
      uid: 7f0996af-9bdf-49e0-937f-d504ad90f0a1
      controller: true
      blockOwnerDeletion: true
  labels:
    rht.comp_ver: 7.10.0
    rht.prod_name: Red_Hat_Integration
    rht.prod_ver: 2022.Q2
    ActiveMQArtemis: minimal-sample
    com.company: Red_Hat
    application: minimal-sample-app
    rht.subcomp_t: application
    rht.subcomp: broker-amq
    rht.comp: Broker_AMQ
spec:
  replicas: 1
  selector:
    matchLabels:
      rht.comp_ver: 7.10.0
      rht.prod_name: Red_Hat_Integration
      rht.prod_ver: 2022.Q2
      ActiveMQArtemis: minimal-sample
      com.company: Red_Hat
      application: minimal-sample-app
      rht.subcomp_t: application
      rht.subcomp: broker-amq
      rht.comp: Broker_AMQ
  template:
    metadata:
      name: minimal-sample
      namespace: amqbroker
      creationTimestamp: null
      labels:
        rht.comp_ver: 7.10.0
        rht.prod_name: Red_Hat_Integration
        rht.prod_ver: 2022.Q2
        ActiveMQArtemis: minimal-sample
        com.company: Red_Hat
        application: minimal-sample-app
        rht.subcomp_t: application
        rht.subcomp: broker-amq
        rht.comp: Broker_AMQ
    spec:
      restartPolicy: Always
      initContainers:
        - resources:
            limits:
              cpu: 200m
              memory: 512M
            requests:
              cpu: 200m
              memory: 512M
          terminationMessagePath: /dev/termination-log
          name: minimal-sample-container-init
          command:
            - /bin/bash
          env:
            - name: AMQ_ACCEPTORS
              valueFrom:
                secretKeyRef:
                  name: minimal-sample-netty-secret
                  key: AMQ_ACCEPTORS
            - name: AMQ_ADDRESSES
            - name: AMQ_ANYCAST_PREFIX
            - name: AMQ_CLUSTERED
              value: 'true'
            - name: AMQ_CLUSTER_PASSWORD
              valueFrom:
                secretKeyRef:
                  name: minimal-sample-credentials-secret
                  key: AMQ_CLUSTER_PASSWORD
            - name: AMQ_CLUSTER_USER
              valueFrom:
                secretKeyRef:
                  name: minimal-sample-credentials-secret
                  key: AMQ_CLUSTER_USER
            - name: AMQ_CONNECTORS
              valueFrom:
                secretKeyRef:
                  name: minimal-sample-netty-secret
                  key: AMQ_CONNECTORS
            - name: AMQ_ENABLE_JOLOKIA_AGENT
              value: 'false'
            - name: AMQ_ENABLE_MANAGEMENT_RBAC
              value: 'false'
            - name: AMQ_ENABLE_METRICS_PLUGIN
              value: 'false'
            - name: AMQ_EXTRA_ARGS
              value: '--no-autotune'
            - name: AMQ_GLOBAL_MAX_SIZE
              value: 100 mb
            - name: AMQ_JOURNAL_TYPE
              value: nio
            - name: AMQ_MULTICAST_PREFIX
            - name: AMQ_NAME
              value: amq-broker
            - name: AMQ_PASSWORD
              valueFrom:
                secretKeyRef:
                  name: minimal-sample-credentials-secret
                  key: AMQ_PASSWORD
            - name: AMQ_QUEUES
            - name: AMQ_REQUIRE_LOGIN
              value: 'false'
            - name: AMQ_ROLE
              value: admin
            - name: AMQ_TRANSPORTS
            - name: AMQ_USER
              valueFrom:
                secretKeyRef:
                  name: minimal-sample-credentials-secret
                  key: AMQ_USER
            - name: CONFIG_INSTANCE_DIR
              value: /amq/init/config
            - name: JAVA_OPTS
              value: >-
                -Dbroker.properties=/amq/extra/configmaps/minimal-sample-props-00000001/broker.properties
            - name: OPENSHIFT_DNS_PING_SERVICE_PORT
              value: '7800'
            - name: PING_SVC_NAME
              value: minimal-sample-ping-svc
            - name: POD_NAMESPACE
            - name: RUN_BROKER
              value: 'false'
            - name: TRIGGERED_ROLL_COUNT
              value: '0'
          imagePullPolicy: IfNotPresent
          volumeMounts:
            - name: amq-cfg-dir
              mountPath: /amq/init/config
            - name: tool-dir
              mountPath: /init_cfg_root
            - name: configmap-minimal-sample-props-00000001
              readOnly: true
              mountPath: /amq/extra/configmaps/minimal-sample-props-00000001
          terminationMessagePolicy: File
          image: >-
            registry.redhat.io/amq7/amq-broker-init-rhel8@sha256:171a1eb87f2fc11f5a69cd6bb8c3165f1d617f4064c3e4b05e18a7e13df8fd9b
          args:
            - '-c'
            - /opt/amq/bin/launch.sh && /opt/amq-broker/script/default.sh
      schedulerName: default-scheduler
      affinity: {}
      terminationGracePeriodSeconds: 60
      securityContext: {}
      containers:
        - resources:
            limits:
              cpu: 200m
              memory: 512M
            requests:
              cpu: 200m
              memory: 512M
          readinessProbe:
            exec:
              command:
                - /bin/bash
                - '-c'
                - /opt/amq/bin/readinessProbe.sh
            initialDelaySeconds: 30
            timeoutSeconds: 5
            periodSeconds: 10
            successThreshold: 1
            failureThreshold: 3
          terminationMessagePath: /dev/termination-log
          name: minimal-sample-container
          command:
            - /bin/sh
            - '-c'
            - >-
              export STATEFUL_SET_ORDINAL=${HOSTNAME##*-};exec
              /opt/amq/bin/launch.sh
            - start
          livenessProbe:
            tcpSocket:
              port: 8161
            initialDelaySeconds: 30
            timeoutSeconds: 5
            periodSeconds: 10
            successThreshold: 1
            failureThreshold: 3
          env:
            - name: AMQ_ACCEPTORS
              valueFrom:
                secretKeyRef:
                  name: minimal-sample-netty-secret
                  key: AMQ_ACCEPTORS
            - name: AMQ_ADDRESSES
            - name: AMQ_ANYCAST_PREFIX
            - name: AMQ_CLUSTERED
              value: 'true'
            - name: AMQ_CLUSTER_PASSWORD
              valueFrom:
                secretKeyRef:
                  name: minimal-sample-credentials-secret
                  key: AMQ_CLUSTER_PASSWORD
            - name: AMQ_CLUSTER_USER
              valueFrom:
                secretKeyRef:
                  name: minimal-sample-credentials-secret
                  key: AMQ_CLUSTER_USER
            - name: AMQ_CONNECTORS
              valueFrom:
                secretKeyRef:
                  name: minimal-sample-netty-secret
                  key: AMQ_CONNECTORS
            - name: AMQ_ENABLE_JOLOKIA_AGENT
              value: 'false'
            - name: AMQ_ENABLE_MANAGEMENT_RBAC
              value: 'false'
            - name: AMQ_ENABLE_METRICS_PLUGIN
              value: 'false'
            - name: AMQ_EXTRA_ARGS
              value: '--no-autotune'
            - name: AMQ_GLOBAL_MAX_SIZE
              value: 100 mb
            - name: AMQ_JOURNAL_TYPE
              value: nio
            - name: AMQ_MULTICAST_PREFIX
            - name: AMQ_NAME
              value: amq-broker
            - name: AMQ_PASSWORD
              valueFrom:
                secretKeyRef:
                  name: minimal-sample-credentials-secret
                  key: AMQ_PASSWORD
            - name: AMQ_QUEUES
            - name: AMQ_REQUIRE_LOGIN
              value: 'false'
            - name: AMQ_ROLE
              value: admin
            - name: AMQ_TRANSPORTS
            - name: AMQ_USER
              valueFrom:
                secretKeyRef:
                  name: minimal-sample-credentials-secret
                  key: AMQ_USER
            - name: CONFIG_BROKER
              value: 'false'
            - name: CONFIG_INSTANCE_DIR
              value: /amq/init/config
            - name: OPENSHIFT_DNS_PING_SERVICE_PORT
              value: '7800'
            - name: PING_SVC_NAME
              value: minimal-sample-ping-svc
            - name: POD_NAMESPACE
            - name: TRIGGERED_ROLL_COUNT
              value: 699c8774
          imagePullPolicy: IfNotPresent
          volumeMounts:
            - name: configmap-minimal-sample-props-00000001
              readOnly: true
              mountPath: /amq/extra/configmaps/minimal-sample-props-00000001
            - name: amq-cfg-dir
              mountPath: /amq/init/config
          terminationMessagePolicy: File
          image: >-
            registry.redhat.io/amq7/amq-broker-rhel8@sha256:d5febeb28de5eb9c452f8f69bc91cbf64a2c06e615f42ddc05ca936dfb320af1
      volumes:
        - name: configmap-minimal-sample-props-00000001
          configMap:
            name: minimal-sample-props-00000001
            defaultMode: 420
        - name: amq-cfg-dir
          emptyDir: {}
        - name: tool-dir
          emptyDir: {}
      dnsPolicy: ClusterFirst
  serviceName: minimal-sample-hdls-svc
  podManagementPolicy: OrderedReady
  updateStrategy:
    type: RollingUpdate
    rollingUpdate:
      partition: 0
  revisionHistoryLimit: 10
status:
  observedGeneration: 1
  availableReplicas: 1
  updateRevision: minimal-sample-ss-bd5b9d946
  currentRevision: minimal-sample-ss-bd5b9d946
  currentReplicas: 1
  updatedReplicas: 1
  replicas: 1
  collisionCount: 0
  readyReplicas: 1
