2024-09-05 01:33:23 -05:00
|
|
|
# yaml-language-server: $schema=https://json.schemastore.org/kustomization
|
|
|
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
|
|
kind: Kustomization
|
|
|
|
resources:
|
|
|
|
- ./cluster.yaml
|
|
|
|
- ./ingress.yaml
|
|
|
|
- ./podmonitor.yaml
|
2024-09-23 01:25:01 -05:00
|
|
|
configMapGenerator:
|
|
|
|
- name: emqx-conf
|
|
|
|
files:
|
|
|
|
- emqx.conf=./resources/emqx.conf
|
2024-09-23 02:10:32 -05:00
|
|
|
- name: emqx-acl-conf
|
|
|
|
files:
|
|
|
|
- acl.conf=./resources/acl.conf
|
2024-09-23 01:25:01 -05:00
|
|
|
replacements:
|
|
|
|
- source:
|
|
|
|
kind: ConfigMap
|
|
|
|
name: emqx-conf
|
|
|
|
fieldPath: data.emqx\.conf
|
|
|
|
targets:
|
|
|
|
- fieldPaths:
|
|
|
|
- spec.config.data
|
|
|
|
options:
|
|
|
|
create: true
|
|
|
|
select:
|
|
|
|
kind: EMQX
|
|
|
|
name: emqx
|
2024-09-22 21:10:53 -05:00
|
|
|
generatorOptions:
|
|
|
|
disableNameSuffixHash: true
|