Skip to content

Commit fef305c

Browse files
committed
chore(rabbitmq): add mqtt config
1 parent e0ef224 commit fef305c

5 files changed

Lines changed: 23 additions & 8 deletions

File tree

addons/rabbitmq/3.12/meta.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,27 @@ instances_retrievable: true
1515
bindings_retrievable: true
1616
plan_updateable: true
1717
allow_parameters:
18+
- name: "initScripts"
19+
required: false
20+
description: "initScripts config for values.yaml"
21+
- name: "extraPlugins"
22+
required: false
23+
description: "extraPlugins config for values.yaml"
24+
- name: "extraContainerPorts"
25+
required: false
26+
description: "extraContainerPorts config for values.yaml"
27+
- name: "extraPorts"
28+
required: false
29+
description: "extraPorts config for values.yaml"
1830
- name: "networkPolicy.allowNamespaces"
1931
required: false
2032
description: "networkPolicy allowNamespaces config for values.yaml"
2133
- name: "service.type"
2234
required: false
2335
description: "service type config for values.yaml"
36+
- name: "service.extraPorts"
37+
required: false
38+
description: "service.extraPorts config for values.yaml"
2439
- name: "metrics.enabled"
2540
required: false
2641
description: "metrics enabled or not config for values.yaml"

addons/rabbitmq/3.12/plans/standard-16c32g3w/bind.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ credential:
2121
valueFrom:
2222
serviceRef:
2323
name: {{ include "common.names.fullname" . }}
24-
jsonpath: '{ .spec.ports[?(@.targetPort=="amqp")].port }'
24+
jsonpath: '{ .spec.ports[?(@.name=="amqp")].port }'
2525
{{- end }}
2626

2727
{{- if .Values.auth.tls.enabled }}
2828
- name: RABBITMQ_AMQP_SSL_PORT
2929
valueFrom:
3030
serviceRef:
3131
name: {{ include "common.names.fullname" . }}
32-
jsonpath: '{ .spec.ports[?(@.targetPort=="amqp-ssl")].port }'
32+
jsonpath: '{ .spec.ports[?(@.name=="amqp-ssl")].port }'
3333
{{- end }}
3434

3535
{{- if .Values.auth.username }}

addons/rabbitmq/3.12/plans/standard-2c4g3w/bind.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ credential:
2121
valueFrom:
2222
serviceRef:
2323
name: {{ include "common.names.fullname" . }}
24-
jsonpath: '{ .spec.ports[?(@.targetPort=="amqp")].port }'
24+
jsonpath: '{ .spec.ports[?(@.name=="amqp")].port }'
2525
{{- end }}
2626

2727
{{- if .Values.auth.tls.enabled }}
2828
- name: RABBITMQ_AMQP_SSL_PORT
2929
valueFrom:
3030
serviceRef:
3131
name: {{ include "common.names.fullname" . }}
32-
jsonpath: '{ .spec.ports[?(@.targetPort=="amqp-ssl")].port }'
32+
jsonpath: '{ .spec.ports[?(@.name=="amqp-ssl")].port }'
3333
{{- end }}
3434

3535
{{- if .Values.auth.username }}

addons/rabbitmq/3.12/plans/standard-4c8g3w/bind.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ credential:
2121
valueFrom:
2222
serviceRef:
2323
name: {{ include "common.names.fullname" . }}
24-
jsonpath: '{ .spec.ports[?(@.targetPort=="amqp")].port }'
24+
jsonpath: '{ .spec.ports[?(@.name=="amqp")].port }'
2525
{{- end }}
2626

2727
{{- if .Values.auth.tls.enabled }}
2828
- name: RABBITMQ_AMQP_SSL_PORT
2929
valueFrom:
3030
serviceRef:
3131
name: {{ include "common.names.fullname" . }}
32-
jsonpath: '{ .spec.ports[?(@.targetPort=="amqp-ssl")].port }'
32+
jsonpath: '{ .spec.ports[?(@.name=="amqp-ssl")].port }'
3333
{{- end }}
3434

3535
{{- if .Values.auth.username }}

addons/rabbitmq/3.12/plans/standard-8c16g3w/bind.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ credential:
2121
valueFrom:
2222
serviceRef:
2323
name: {{ include "common.names.fullname" . }}
24-
jsonpath: '{ .spec.ports[?(@.targetPort=="amqp")].port }'
24+
jsonpath: '{ .spec.ports[?(@.name=="amqp")].port }'
2525
{{- end }}
2626

2727
{{- if .Values.auth.tls.enabled }}
2828
- name: RABBITMQ_AMQP_SSL_PORT
2929
valueFrom:
3030
serviceRef:
3131
name: {{ include "common.names.fullname" . }}
32-
jsonpath: '{ .spec.ports[?(@.targetPort=="amqp-ssl")].port }'
32+
jsonpath: '{ .spec.ports[?(@.name=="amqp-ssl")].port }'
3333
{{- end }}
3434

3535
{{- if .Values.auth.username }}

0 commit comments

Comments
 (0)