theshire/kubernetes/apps/database/emqx/cluster/kustomization.yaml
2024-09-23 02:10:32 -05:00

29 lines
685 B
YAML

# yaml-language-server: $schema=https://json.schemastore.org/kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./cluster.yaml
- ./ingress.yaml
- ./podmonitor.yaml
configMapGenerator:
- name: emqx-conf
files:
- emqx.conf=./resources/emqx.conf
- name: emqx-acl-conf
files:
- acl.conf=./resources/acl.conf
replacements:
- source:
kind: ConfigMap
name: emqx-conf
fieldPath: data.emqx\.conf
targets:
- fieldPaths:
- spec.config.data
options:
create: true
select:
kind: EMQX
name: emqx
generatorOptions:
disableNameSuffixHash: true