feat: fix emqx

This commit is contained in:
auricom
2022-06-03 23:08:25 +02:00
parent 9321365110
commit 9c3d0700a7

View File

@@ -10,7 +10,7 @@ spec:
spec: spec:
# renovate: registryUrl=https://repos.emqx.io/charts # renovate: registryUrl=https://repos.emqx.io/charts
chart: emqx chart: emqx
version: 4.4.4 version: 4.4.3
sourceRef: sourceRef:
kind: HelmRepository kind: HelmRepository
name: emqx-charts name: emqx-charts
@@ -54,21 +54,23 @@ spec:
prometheus.io/probe: "true" prometheus.io/probe: "true"
prometheus.io/protocol: tcp prometheus.io/protocol: tcp
type: LoadBalancer type: LoadBalancer
loadBalancerIP: ${CLUSTER_LB_EMQX} externalIPs:
- ${CLUSTER_LB_EMQX}
externalTrafficPolicy: Local externalTrafficPolicy: Local
ingress: ingress:
dashboard: dashboard:
enabled: true enabled: true
# annotations: ingressClassName: nginx
# traefik.ingress.kubernetes.io/router.entrypoints: "websecure"
path: / path: /
hosts: hosts:
- emqx.${SECRET_CLUSTER_DOMAIN} - &host "emqx.${SECRET_CLUSTER_DOMAIN}"
tls: tls:
- hosts: - hosts:
- "emqx.${SECRET_CLUSTER_DOMAIN}" - *host
secretName: "${SECRET_CLUSTER_CERTIFICATE_DEFAULT}"
metrics:
enabled: true
affinity: affinity:
podAntiAffinity: podAntiAffinity:
@@ -89,23 +91,3 @@ spec:
memory: 150Mi memory: 150Mi
limits: limits:
memory: 512Mi memory: 512Mi
postRenderers:
- kustomize:
patchesJson6902:
- target:
kind: Service
name: emqx
patch:
- op: remove
path: /spec/loadBalancerIP
- op: add
path: /spec/externalIPs
value:
- "${CLUSTER_LB_EMQX}"
- target:
kind: Ingress
name: emqx-dashboard
patch:
- op: add
path: /spec/ingressClassName
value: nginx