Skip to content

Commit e3822d8

Browse files
committed
chore(addons): modify rabbitmq plan and appVersion
1 parent ceb0ed6 commit e3822d8

17 files changed

Lines changed: 59 additions & 103 deletions

File tree

addons/mariadb-1.1.0/chart/mariadb/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
annotations:
22
category: Database
33
apiVersion: v2
4-
appVersion: 10.5.15
4+
appVersion: "11"
55
dependencies:
66
- name: common
77
repository: oci://registry.drycc.cc/charts

addons/minio-1.1.0/chart/minio/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
annotations:
22
category: Infrastructure
33
apiVersion: v2
4-
appVersion: 2022.6.20
4+
appVersion: "2023"
55
dependencies:
66
- name: common
77
repository: oci://registry.drycc.cc/charts

addons/postgresql-1.1.0/chart/postgresql/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
annotations:
22
category: Database
33
apiVersion: v2
4-
appVersion: 14.2.0
4+
appVersion: "15"
55
dependencies:
66
- name: common
77
repository: oci://registry.drycc.cc/charts

addons/rabbitmq-1.1.0/chart/rabbitmq/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
annotations:
22
category: Infrastructure
33
apiVersion: v2
4-
appVersion: 3.10.8
4+
appVersion: "3.12"
55
dependencies:
66
- name: common
77
repository: oci://registry.drycc.cc/charts

addons/rabbitmq-1.1.0/chart/rabbitmq/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ auth:
118118
## @param auth.username RabbitMQ application username
119119
## ref: https://github.com/bitnami/containers/tree/main/bitnami/rabbitmq#environment-variables
120120
##
121-
username: user
121+
username: rabbitmq
122122
## @param auth.password RabbitMQ application password
123123
## ref: https://github.com/bitnami/containers/tree/main/bitnami/rabbitmq#environment-variables
124124
##
@@ -1074,7 +1074,7 @@ networkPolicy:
10741074
## on. When true, RabbitMQ will accept connections from any source
10751075
## (with the correct destination port).
10761076
##
1077-
allowExternal: true
1077+
allowExternal: false
10781078

10791079
allowCurrentNamespace: true
10801080
allowNamespaces: []
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
credential:
2+
- name: HOST
3+
valueFrom:
4+
serviceRef:
5+
name: {{ include "common.names.fullname" . }}
6+
jsonpath: '{ .status.loadBalancer.ingress[*].ip }'
7+
8+
{{- if or (.Values.service.portEnabled) (not .Values.auth.tls.enabled) }}
9+
- name: RABBITMQ_AMQP_PORT
10+
valueFrom:
11+
serviceRef:
12+
name: {{ include "common.names.fullname" . }}
13+
jsonpath: '{ .spec.ports[?(@.targetPort=="amqp")].port }'
14+
{{- end }}
15+
16+
{{- if .Values.auth.tls.enabled }}
17+
- name: RABBITMQ_AMQP_SSL_PORT
18+
valueFrom:
19+
serviceRef:
20+
name: {{ include "common.names.fullname" . }}
21+
jsonpath: '{ .spec.ports[?(@.targetPort=="amqp-ssl")].port }'
22+
{{- end }}
23+
24+
{{- if .Values.auth.username }}
25+
- name: RABBITMQ_USER
26+
value: {{ .Values.auth.username | quote }}
27+
{{- end }}
28+
29+
{{- if (not .Values.auth.existingPasswordSecret ) }}
30+
- name: RABBITMQ_PASSWORD
31+
valueFrom:
32+
secretKeyRef:
33+
name: {{ include "common.names.fullname" . }}
34+
jsonpath: '{ .data.rabbitmq-password }'
35+
{{- end }}

addons/rabbitmq-1.1.0/plans/standard-128/create-instance-schema.json renamed to addons/rabbitmq-1.1.0/plans/standard-1024/create-instance-schema.json

File renamed without changes.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
name: "standard-1024"
2+
id: 4b9ae236-b30e-4652-b8be-c03e58652c11
3+
description: "RabbitMQ standard-1024 plan which limit resources memory size 1024Mi."
4+
displayName: "standard-1024"
5+
bindable: true
6+
maximum_polling_duration: 1800

addons/rabbitmq-1.1.0/plans/standard-128/values.yaml renamed to addons/rabbitmq-1.1.0/plans/standard-1024/values.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ fullnameOverride: hb-rabbitmq-standard-128
1313
##
1414
resources:
1515
limits:
16-
cpu: 100m
17-
memory: 128Mi
16+
cpu: 1000m
17+
memory: 1024Mi
1818
requests:
19-
cpu: 10m
20-
memory: 64Mi
19+
cpu: 500m
20+
memory: 512Mi
2121

2222
## @param replicaCount Number of RabbitMQ replicas to deploy
2323
##
24-
replicaCount: 1
24+
replicaCount: 3
2525

2626
## @section Persistence parameters
2727
##
@@ -45,4 +45,4 @@ persistence:
4545
## @param persistence.size PVC Storage Request for RabbitMQ data volume
4646
## If you change this value, you might have to adjust `rabbitmq.diskFreeLimit` as well
4747
##
48-
size: 256Mi
48+
size: 512Mi

addons/rabbitmq-1.1.0/plans/standard-128/bind.yaml

Lines changed: 0 additions & 68 deletions
This file was deleted.

0 commit comments

Comments
 (0)