2024-09-05 01:33:23 -05:00
|
|
|
---
|
2024-09-05 22:51:36 -05:00
|
|
|
# yaml-language-server: $schema=https://ks.hsn.dev/apps.emqx.io/emqx_v2beta1.json
|
2024-09-05 01:33:23 -05:00
|
|
|
apiVersion: apps.emqx.io/v2beta1
|
|
|
|
kind: EMQX
|
|
|
|
metadata:
|
|
|
|
name: emqx
|
|
|
|
spec:
|
|
|
|
image: public.ecr.aws/emqx/emqx:5.8.0
|
|
|
|
config:
|
2024-09-22 21:10:53 -05:00
|
|
|
mode: Merge
|
2024-09-05 01:33:23 -05:00
|
|
|
coreTemplate:
|
|
|
|
metadata:
|
|
|
|
annotations:
|
|
|
|
reloader.stakater.com/auto: "true"
|
|
|
|
spec:
|
2024-09-05 22:48:28 -05:00
|
|
|
replicas: 3
|
2024-09-05 01:33:23 -05:00
|
|
|
envFrom:
|
|
|
|
- secretRef:
|
|
|
|
name: emqx-secret
|
|
|
|
extraVolumeMounts:
|
|
|
|
- name: init-user
|
|
|
|
mountPath: /opt/init-user.json
|
|
|
|
subPath: init-user.json
|
|
|
|
readOnly: true
|
2024-09-23 02:10:32 -05:00
|
|
|
- name: acl-conf
|
|
|
|
mountPath: /opt/acl.conf
|
|
|
|
subPath: acl.conf
|
|
|
|
readOnly: true
|
2024-09-05 01:33:23 -05:00
|
|
|
extraVolumes:
|
|
|
|
- name: init-user
|
|
|
|
secret:
|
|
|
|
secretName: emqx-init-user-secret
|
2024-09-23 02:10:32 -05:00
|
|
|
- name: acl-conf
|
|
|
|
configMap:
|
|
|
|
name: emqx-acl-conf
|
2024-09-05 01:33:23 -05:00
|
|
|
listenersServiceTemplate:
|
|
|
|
metadata:
|
|
|
|
annotations:
|
|
|
|
io.cilium/lb-ipam-ips: 10.1.1.38
|
|
|
|
spec:
|
|
|
|
type: LoadBalancer
|