Skip to content

Commit 656c965

Browse files
committed
Fix Test Suite
1 parent 41d4505 commit 656c965

File tree

5 files changed

+9
-7
lines changed

5 files changed

+9
-7
lines changed

README.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ oc label secret/mycluster-amq-broker-all-secret app.kubernetes.io/managed-by=Hel
109109
110110
. Extract Client TrustStore
111111
+
112-
`oc extract secret/mycluster-amq-broker-all-secret --keys=client.ts`
112+
`oc extract secret/mycluster-amq-broker-all-secret --keys=client.ts`
113113
114114
. Extract AMQ Endpoint
115115
@@ -205,7 +205,7 @@ NOTE: You cannot create more than one broker deployment in a given OpenShift pro
205205
. [install/upgrade] Create kind: ActiveMQArtemis and ActiveMQArtemisAddress
206206
. [install/upgrade] Create Config Map with custom broker xml.
207207
. [post-install hook] Shutdown the AMQ Broker Operator
208-
. [post-install hook] Adoptthe AMQ Broker resource to Helm:
208+
. [post-install hook] Adopt the AMQ Broker resource to Helm:
209209
+
210210
[source,yaml]
211211
------

amq-broker/templates/post-install.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ spec:
1919
spec:
2020
serviceAccountName: {{ include "amq-broker.serviceAccountName" . }}
2121
restartPolicy: Never
22-
{{- if .Values.pki.self -}}
22+
{{ if .Values.pki.self -}}
2323
initContainers:
2424
- name: keytool
2525
image: "{{ .Values.keytool.image.repository }}:{{ .Values.keytool.image.tag }}"

amq-broker/templates/tests/artemis-consumer.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{{- range $index, $acceptor := .Values.acceptors }}
22
{{- with $ }}
3+
---
34
apiVersion: v1
45
kind: Pod
56
metadata:
@@ -48,7 +49,7 @@ spec:
4849
{{ end }}
4950
{{- if $acceptor.sslEnabled }}
5051
volumeMounts:
51-
- name: {{ .name }}
52+
- name: {{ $acceptor.name }}
5253
mountPath: /opt/pki/{{ .name }}
5354
volumes:
5455
- name: {{ $acceptor.name }}

amq-broker/templates/tests/artemis-producer.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{{- range $index, $acceptor := .Values.acceptors }}
22
{{- with $ }}
3+
---
34
apiVersion: v1
45
kind: Pod
56
metadata:
@@ -9,7 +10,7 @@ metadata:
910
annotations:
1011
"helm.sh/hook": test
1112
"helm.sh/hook-delete-policy": hook-succeeded
12-
"helm.sh/hook-weight": "{{ $index }}"
13+
"helm.sh/hook-weight": "{{ sub $index 1 }}"
1314
spec:
1415
containers:
1516
- name: artemis-producer
@@ -48,7 +49,7 @@ spec:
4849
{{ end }}
4950
{{- if $acceptor.sslEnabled }}
5051
volumeMounts:
51-
- name: {{ .name }}
52+
- name: {{ $acceptor.name }}
5253
mountPath: /opt/pki/{{ .name }}
5354
volumes:
5455
- name: {{ $acceptor.name }}

amq-broker/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,5 +86,5 @@ bridges: []
8686

8787
diverts: []
8888

89-
clusterDomain: apps-crc.testing
89+
clusterDomain: apps.dev.openlab.red
9090

0 commit comments

Comments
 (0)