-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(helm): update chart emqx to 5.8.2 #196
base: main
Are you sure you want to change the base?
Conversation
Path: @@ -1,11 +1,4 @@
---
-# Source: emqx/templates/rbac.yaml
-apiVersion: v1
-kind: ServiceAccount
-metadata:
- namespace: default
- name: emqx
----
# Source: emqx/templates/configmap.yaml
apiVersion: v1
kind: ConfigMap
@@ -19,46 +12,14 @@
data:
EMQX_ALLOW_ANONYMOUS: "false"
EMQX_AUTH__MNESIA__PASSWORD_HASH: "plain"
- EMQX_CLUSTER__DISCOVERY_STRATEGY: "k8s"
+ EMQX_CLUSTER__DISCOVERY_STRATEGY: "dns"
+ EMQX_CLUSTER__DNS__NAME: "emqx-headless.default.svc.cluster.local"
+ EMQX_CLUSTER__DNS__RECORD_TYPE: "srv"
EMQX_CLUSTER__K8S__ADDRESS_TYPE: "hostname"
- EMQX_CLUSTER__K8S__APISERVER: "https://kubernetes.default.svc:443"
- EMQX_CLUSTER__K8S__NAMESPACE: "default"
- EMQX_CLUSTER__K8S__SERVICE_NAME: "emqx-headless"
EMQX_CLUSTER__K8S__SUFFIX: "svc.cluster.local"
EMQX_DASHBOARD__DEFAULT_PASSWORD: "public"
EMQX_DASHBOARD__DEFAULT_USERNAME: "admin"
---
-# Source: emqx/templates/rbac.yaml
-kind: Role
-apiVersion: rbac.authorization.k8s.io/v1
-metadata:
- namespace: default
- name: emqx
-rules:
- - apiGroups:
- - ""
- resources:
- - endpoints
- verbs:
- - get
- - watch
- - list
----
-# Source: emqx/templates/rbac.yaml
-kind: RoleBinding
-apiVersion: rbac.authorization.k8s.io/v1
-metadata:
- namespace: default
- name: emqx
-subjects:
- - kind: ServiceAccount
- name: emqx
- namespace: default
-roleRef:
- kind: Role
- name: emqx
- apiGroup: rbac.authorization.k8s.io
----
# Source: emqx/templates/service.yaml
apiVersion: v1
kind: Service
@@ -165,16 +126,15 @@
metadata:
labels:
app: emqx
- version: 5.0.3
+ version: 5.0.11
app.kubernetes.io/name: emqx
app.kubernetes.io/instance: emqx
annotations:
- checksum/config: "8d327b352b877578dadefa5a434896f2ec1093e1417d8f53fda1c5e18678cbc5"
+ checksum/config: "6df8924e7014b78f18e8fa5e9e5e713940e0ad98e72dc6b8f0db088cf55260ca"
spec:
volumes:
- name: emqx-data
emptyDir: {}
- serviceAccountName: emqx
securityContext:
fsGroup: 1000
fsGroupChangePolicy: Always
@@ -183,7 +143,7 @@
- 1000
containers:
- name: emqx
- image: "emqx/emqx:5.0.3"
+ image: "emqx/emqx:5.0.11"
imagePullPolicy: IfNotPresent
securityContext:
runAsNonRoot: true
@@ -215,14 +175,14 @@
mountPath: "/opt/emqx/data"
readinessProbe:
httpGet:
- path: /api/v5/status
+ path: /status
port: 18083
initialDelaySeconds: 10
periodSeconds: 5
failureThreshold: 30
livenessProbe:
httpGet:
- path: /api/v5/status
+ path: /status
port: 18083
initialDelaySeconds: 60
periodSeconds: 30 |
🦙 MegaLinter status: ✅ SUCCESS
See detailed report in MegaLinter reports |
5fdda22
to
2b5b08f
Compare
Path: @@ -1,11 +1,4 @@
---
-# Source: emqx/templates/rbac.yaml
-apiVersion: v1
-kind: ServiceAccount
-metadata:
- namespace: default
- name: emqx
----
# Source: emqx/templates/configmap.yaml
apiVersion: v1
kind: ConfigMap
@@ -17,48 +10,15 @@
app.kubernetes.io/instance: emqx
app.kubernetes.io/managed-by: Helm
data:
+ EMQX_NAME: emqx
+ EMQX_CLUSTER__DNS__NAME: "emqx-headless.default.svc.cluster.local"
+ EMQX_CLUSTER__DNS__RECORD_TYPE: "srv"
EMQX_ALLOW_ANONYMOUS: "false"
EMQX_AUTH__MNESIA__PASSWORD_HASH: "plain"
- EMQX_CLUSTER__DISCOVERY_STRATEGY: "k8s"
- EMQX_CLUSTER__K8S__ADDRESS_TYPE: "hostname"
- EMQX_CLUSTER__K8S__APISERVER: "https://kubernetes.default.svc:443"
- EMQX_CLUSTER__K8S__NAMESPACE: "default"
- EMQX_CLUSTER__K8S__SERVICE_NAME: "emqx-headless"
- EMQX_CLUSTER__K8S__SUFFIX: "svc.cluster.local"
+ EMQX_CLUSTER__DISCOVERY_STRATEGY: "dns"
EMQX_DASHBOARD__DEFAULT_PASSWORD: "public"
EMQX_DASHBOARD__DEFAULT_USERNAME: "admin"
---
-# Source: emqx/templates/rbac.yaml
-kind: Role
-apiVersion: rbac.authorization.k8s.io/v1
-metadata:
- namespace: default
- name: emqx
-rules:
- - apiGroups:
- - ""
- resources:
- - endpoints
- verbs:
- - get
- - watch
- - list
----
-# Source: emqx/templates/rbac.yaml
-kind: RoleBinding
-apiVersion: rbac.authorization.k8s.io/v1
-metadata:
- namespace: default
- name: emqx
-subjects:
- - kind: ServiceAccount
- name: emqx
- namespace: default
-roleRef:
- kind: Role
- name: emqx
- apiGroup: rbac.authorization.k8s.io
----
# Source: emqx/templates/service.yaml
apiVersion: v1
kind: Service
@@ -71,6 +31,7 @@
app.kubernetes.io/managed-by: Helm
spec:
type: LoadBalancer
+ externalTrafficPolicy: Cluster
loadBalancerIP: 172.16.1.42
ports:
- name: mqtt
@@ -165,16 +126,15 @@
metadata:
labels:
app: emqx
- version: 5.0.3
+ version: 5.0.12
app.kubernetes.io/name: emqx
app.kubernetes.io/instance: emqx
annotations:
- checksum/config: "8d327b352b877578dadefa5a434896f2ec1093e1417d8f53fda1c5e18678cbc5"
+ checksum/config: "13d4b702c0d43008cf0f9eccb962ecfe6dee16e6fd73451b3d391914fbc71418"
spec:
volumes:
- name: emqx-data
emptyDir: {}
- serviceAccountName: emqx
securityContext:
fsGroup: 1000
fsGroupChangePolicy: Always
@@ -183,7 +143,7 @@
- 1000
containers:
- name: emqx
- image: "emqx/emqx:5.0.3"
+ image: "emqx/emqx:5.0.12"
imagePullPolicy: IfNotPresent
securityContext:
runAsNonRoot: true
@@ -215,14 +175,14 @@
mountPath: "/opt/emqx/data"
readinessProbe:
httpGet:
- path: /api/v5/status
+ path: /status
port: 18083
initialDelaySeconds: 10
periodSeconds: 5
failureThreshold: 30
livenessProbe:
httpGet:
- path: /api/v5/status
+ path: /status
port: 18083
initialDelaySeconds: 60
periodSeconds: 30 |
2b5b08f
to
18b1ffd
Compare
Path: @@ -1,11 +1,4 @@
---
-# Source: emqx/templates/rbac.yaml
-apiVersion: v1
-kind: ServiceAccount
-metadata:
- namespace: default
- name: emqx
----
# Source: emqx/templates/configmap.yaml
apiVersion: v1
kind: ConfigMap
@@ -17,48 +10,15 @@
app.kubernetes.io/instance: emqx
app.kubernetes.io/managed-by: Helm
data:
+ EMQX_NAME: emqx
+ EMQX_CLUSTER__DNS__NAME: "emqx-headless.default.svc.cluster.local"
+ EMQX_CLUSTER__DNS__RECORD_TYPE: "srv"
EMQX_ALLOW_ANONYMOUS: "false"
EMQX_AUTH__MNESIA__PASSWORD_HASH: "plain"
- EMQX_CLUSTER__DISCOVERY_STRATEGY: "k8s"
- EMQX_CLUSTER__K8S__ADDRESS_TYPE: "hostname"
- EMQX_CLUSTER__K8S__APISERVER: "https://kubernetes.default.svc:443"
- EMQX_CLUSTER__K8S__NAMESPACE: "default"
- EMQX_CLUSTER__K8S__SERVICE_NAME: "emqx-headless"
- EMQX_CLUSTER__K8S__SUFFIX: "svc.cluster.local"
+ EMQX_CLUSTER__DISCOVERY_STRATEGY: "dns"
EMQX_DASHBOARD__DEFAULT_PASSWORD: "public"
EMQX_DASHBOARD__DEFAULT_USERNAME: "admin"
---
-# Source: emqx/templates/rbac.yaml
-kind: Role
-apiVersion: rbac.authorization.k8s.io/v1
-metadata:
- namespace: default
- name: emqx
-rules:
- - apiGroups:
- - ""
- resources:
- - endpoints
- verbs:
- - get
- - watch
- - list
----
-# Source: emqx/templates/rbac.yaml
-kind: RoleBinding
-apiVersion: rbac.authorization.k8s.io/v1
-metadata:
- namespace: default
- name: emqx
-subjects:
- - kind: ServiceAccount
- name: emqx
- namespace: default
-roleRef:
- kind: Role
- name: emqx
- apiGroup: rbac.authorization.k8s.io
----
# Source: emqx/templates/service.yaml
apiVersion: v1
kind: Service
@@ -71,6 +31,7 @@
app.kubernetes.io/managed-by: Helm
spec:
type: LoadBalancer
+ externalTrafficPolicy: Cluster
loadBalancerIP: 172.16.1.42
ports:
- name: mqtt
@@ -165,16 +126,15 @@
metadata:
labels:
app: emqx
- version: 5.0.3
+ version: 5.0.13
app.kubernetes.io/name: emqx
app.kubernetes.io/instance: emqx
annotations:
- checksum/config: "8d327b352b877578dadefa5a434896f2ec1093e1417d8f53fda1c5e18678cbc5"
+ checksum/config: "2d871f87d083a34c08553f8983af3e9853e3d64b7a43d385eff884377150cb47"
spec:
volumes:
- name: emqx-data
emptyDir: {}
- serviceAccountName: emqx
securityContext:
fsGroup: 1000
fsGroupChangePolicy: Always
@@ -183,7 +143,7 @@
- 1000
containers:
- name: emqx
- image: "emqx/emqx:5.0.3"
+ image: "emqx/emqx:5.0.13"
imagePullPolicy: IfNotPresent
securityContext:
runAsNonRoot: true
@@ -215,14 +175,14 @@
mountPath: "/opt/emqx/data"
readinessProbe:
httpGet:
- path: /api/v5/status
+ path: /status
port: 18083
initialDelaySeconds: 10
periodSeconds: 5
failureThreshold: 30
livenessProbe:
httpGet:
- path: /api/v5/status
+ path: /status
port: 18083
initialDelaySeconds: 60
periodSeconds: 30 |
18b1ffd
to
87f3b63
Compare
Path: @@ -3,8 +3,12 @@
apiVersion: v1
kind: ServiceAccount
metadata:
- namespace: default
name: emqx
+ namespace: default
+ labels:
+ app.kubernetes.io/name: emqx
+ app.kubernetes.io/instance: emqx
+ app.kubernetes.io/managed-by: Helm
---
# Source: emqx/templates/configmap.yaml
apiVersion: v1
@@ -17,48 +21,15 @@
app.kubernetes.io/instance: emqx
app.kubernetes.io/managed-by: Helm
data:
+ EMQX_NAME: emqx
+ EMQX_CLUSTER__DNS__NAME: "emqx-headless.default.svc.cluster.local"
+ EMQX_CLUSTER__DNS__RECORD_TYPE: "srv"
EMQX_ALLOW_ANONYMOUS: "false"
EMQX_AUTH__MNESIA__PASSWORD_HASH: "plain"
- EMQX_CLUSTER__DISCOVERY_STRATEGY: "k8s"
- EMQX_CLUSTER__K8S__ADDRESS_TYPE: "hostname"
- EMQX_CLUSTER__K8S__APISERVER: "https://kubernetes.default.svc:443"
- EMQX_CLUSTER__K8S__NAMESPACE: "default"
- EMQX_CLUSTER__K8S__SERVICE_NAME: "emqx-headless"
- EMQX_CLUSTER__K8S__SUFFIX: "svc.cluster.local"
+ EMQX_CLUSTER__DISCOVERY_STRATEGY: "dns"
EMQX_DASHBOARD__DEFAULT_PASSWORD: "public"
EMQX_DASHBOARD__DEFAULT_USERNAME: "admin"
---
-# Source: emqx/templates/rbac.yaml
-kind: Role
-apiVersion: rbac.authorization.k8s.io/v1
-metadata:
- namespace: default
- name: emqx
-rules:
- - apiGroups:
- - ""
- resources:
- - endpoints
- verbs:
- - get
- - watch
- - list
----
-# Source: emqx/templates/rbac.yaml
-kind: RoleBinding
-apiVersion: rbac.authorization.k8s.io/v1
-metadata:
- namespace: default
- name: emqx
-subjects:
- - kind: ServiceAccount
- name: emqx
- namespace: default
-roleRef:
- kind: Role
- name: emqx
- apiGroup: rbac.authorization.k8s.io
----
# Source: emqx/templates/service.yaml
apiVersion: v1
kind: Service
@@ -71,6 +42,7 @@
app.kubernetes.io/managed-by: Helm
spec:
type: LoadBalancer
+ externalTrafficPolicy: Cluster
loadBalancerIP: 172.16.1.42
ports:
- name: mqtt
@@ -165,16 +137,16 @@
metadata:
labels:
app: emqx
- version: 5.0.3
+ version: 5.0.20
app.kubernetes.io/name: emqx
app.kubernetes.io/instance: emqx
annotations:
- checksum/config: "8d327b352b877578dadefa5a434896f2ec1093e1417d8f53fda1c5e18678cbc5"
+ checksum/config: "d2b6dd4930740ec1786682ab269b3cf387a5d4c100bf53b80b447ab70c5ca6f2"
spec:
+ serviceAccountName: emqx
volumes:
- name: emqx-data
emptyDir: {}
- serviceAccountName: emqx
securityContext:
fsGroup: 1000
fsGroupChangePolicy: Always
@@ -183,7 +155,7 @@
- 1000
containers:
- name: emqx
- image: "emqx/emqx:5.0.3"
+ image: "emqx/emqx:5.0.20"
imagePullPolicy: IfNotPresent
securityContext:
runAsNonRoot: true
@@ -215,14 +187,14 @@
mountPath: "/opt/emqx/data"
readinessProbe:
httpGet:
- path: /api/v5/status
+ path: /status
port: 18083
initialDelaySeconds: 10
periodSeconds: 5
failureThreshold: 30
livenessProbe:
httpGet:
- path: /api/v5/status
+ path: /status
port: 18083
initialDelaySeconds: 60
periodSeconds: 30
@@ -239,3 +211,7 @@
- emqx
topologyKey: kubernetes.io/hostname
weight: 100
+---
+
+# Source: emqx/templates/rbac.yaml
+--- |
87f3b63
to
6e01b5b
Compare
Path: @@ -3,8 +3,12 @@
apiVersion: v1
kind: ServiceAccount
metadata:
- namespace: default
name: emqx
+ namespace: default
+ labels:
+ app.kubernetes.io/name: emqx
+ app.kubernetes.io/instance: emqx
+ app.kubernetes.io/managed-by: Helm
---
# Source: emqx/templates/configmap.yaml
apiVersion: v1
@@ -17,48 +21,15 @@
app.kubernetes.io/instance: emqx
app.kubernetes.io/managed-by: Helm
data:
+ EMQX_NAME: emqx
+ EMQX_CLUSTER__DNS__NAME: "emqx-headless.default.svc.cluster.local"
+ EMQX_CLUSTER__DNS__RECORD_TYPE: "srv"
EMQX_ALLOW_ANONYMOUS: "false"
EMQX_AUTH__MNESIA__PASSWORD_HASH: "plain"
- EMQX_CLUSTER__DISCOVERY_STRATEGY: "k8s"
- EMQX_CLUSTER__K8S__ADDRESS_TYPE: "hostname"
- EMQX_CLUSTER__K8S__APISERVER: "https://kubernetes.default.svc:443"
- EMQX_CLUSTER__K8S__NAMESPACE: "default"
- EMQX_CLUSTER__K8S__SERVICE_NAME: "emqx-headless"
- EMQX_CLUSTER__K8S__SUFFIX: "svc.cluster.local"
+ EMQX_CLUSTER__DISCOVERY_STRATEGY: "dns"
EMQX_DASHBOARD__DEFAULT_PASSWORD: "public"
EMQX_DASHBOARD__DEFAULT_USERNAME: "admin"
---
-# Source: emqx/templates/rbac.yaml
-kind: Role
-apiVersion: rbac.authorization.k8s.io/v1
-metadata:
- namespace: default
- name: emqx
-rules:
- - apiGroups:
- - ""
- resources:
- - endpoints
- verbs:
- - get
- - watch
- - list
----
-# Source: emqx/templates/rbac.yaml
-kind: RoleBinding
-apiVersion: rbac.authorization.k8s.io/v1
-metadata:
- namespace: default
- name: emqx
-subjects:
- - kind: ServiceAccount
- name: emqx
- namespace: default
-roleRef:
- kind: Role
- name: emqx
- apiGroup: rbac.authorization.k8s.io
----
# Source: emqx/templates/service.yaml
apiVersion: v1
kind: Service
@@ -71,6 +42,7 @@
app.kubernetes.io/managed-by: Helm
spec:
type: LoadBalancer
+ externalTrafficPolicy: Cluster
loadBalancerIP: 172.16.1.42
ports:
- name: mqtt
@@ -165,16 +137,16 @@
metadata:
labels:
app: emqx
- version: 5.0.3
+ version: 5.0.21
app.kubernetes.io/name: emqx
app.kubernetes.io/instance: emqx
annotations:
- checksum/config: "8d327b352b877578dadefa5a434896f2ec1093e1417d8f53fda1c5e18678cbc5"
+ checksum/config: "989b4148532909dd75c368af6ca171ace206b4aeab7b8d781e538019605ff5fc"
spec:
+ serviceAccountName: emqx
volumes:
- name: emqx-data
emptyDir: {}
- serviceAccountName: emqx
securityContext:
fsGroup: 1000
fsGroupChangePolicy: Always
@@ -183,7 +155,7 @@
- 1000
containers:
- name: emqx
- image: "emqx/emqx:5.0.3"
+ image: "emqx/emqx:5.0.21"
imagePullPolicy: IfNotPresent
securityContext:
runAsNonRoot: true
@@ -215,14 +187,14 @@
mountPath: "/opt/emqx/data"
readinessProbe:
httpGet:
- path: /api/v5/status
+ path: /status
port: 18083
initialDelaySeconds: 10
periodSeconds: 5
failureThreshold: 30
livenessProbe:
httpGet:
- path: /api/v5/status
+ path: /status
port: 18083
initialDelaySeconds: 60
periodSeconds: 30
@@ -239,3 +211,7 @@
- emqx
topologyKey: kubernetes.io/hostname
weight: 100
+---
+
+# Source: emqx/templates/rbac.yaml
+--- |
Path: @@ -3,8 +3,12 @@
apiVersion: v1
kind: ServiceAccount
metadata:
- namespace: default
name: emqx
+ namespace: default
+ labels:
+ app.kubernetes.io/name: emqx
+ app.kubernetes.io/instance: emqx
+ app.kubernetes.io/managed-by: Helm
---
# Source: emqx/templates/configmap.yaml
apiVersion: v1
@@ -17,48 +21,15 @@
app.kubernetes.io/instance: emqx
app.kubernetes.io/managed-by: Helm
data:
+ EMQX_NAME: emqx
+ EMQX_CLUSTER__DNS__NAME: "emqx-headless.default.svc.cluster.local"
+ EMQX_CLUSTER__DNS__RECORD_TYPE: "srv"
EMQX_ALLOW_ANONYMOUS: "false"
EMQX_AUTH__MNESIA__PASSWORD_HASH: "plain"
- EMQX_CLUSTER__DISCOVERY_STRATEGY: "k8s"
- EMQX_CLUSTER__K8S__ADDRESS_TYPE: "hostname"
- EMQX_CLUSTER__K8S__APISERVER: "https://kubernetes.default.svc:443"
- EMQX_CLUSTER__K8S__NAMESPACE: "default"
- EMQX_CLUSTER__K8S__SERVICE_NAME: "emqx-headless"
- EMQX_CLUSTER__K8S__SUFFIX: "svc.cluster.local"
+ EMQX_CLUSTER__DISCOVERY_STRATEGY: "dns"
EMQX_DASHBOARD__DEFAULT_PASSWORD: "public"
EMQX_DASHBOARD__DEFAULT_USERNAME: "admin"
---
-# Source: emqx/templates/rbac.yaml
-kind: Role
-apiVersion: rbac.authorization.k8s.io/v1
-metadata:
- namespace: default
- name: emqx
-rules:
- - apiGroups:
- - ""
- resources:
- - endpoints
- verbs:
- - get
- - watch
- - list
----
-# Source: emqx/templates/rbac.yaml
-kind: RoleBinding
-apiVersion: rbac.authorization.k8s.io/v1
-metadata:
- namespace: default
- name: emqx
-subjects:
- - kind: ServiceAccount
- name: emqx
- namespace: default
-roleRef:
- kind: Role
- name: emqx
- apiGroup: rbac.authorization.k8s.io
----
# Source: emqx/templates/service.yaml
apiVersion: v1
kind: Service
@@ -71,6 +42,7 @@
app.kubernetes.io/managed-by: Helm
spec:
type: LoadBalancer
+ externalTrafficPolicy: Cluster
loadBalancerIP: 172.16.1.42
ports:
- name: mqtt
@@ -165,16 +137,16 @@
metadata:
labels:
app: emqx
- version: 5.0.3
+ version: 5.0.21
app.kubernetes.io/name: emqx
app.kubernetes.io/instance: emqx
annotations:
- checksum/config: "8d327b352b877578dadefa5a434896f2ec1093e1417d8f53fda1c5e18678cbc5"
+ checksum/config: "989b4148532909dd75c368af6ca171ace206b4aeab7b8d781e538019605ff5fc"
spec:
+ serviceAccountName: emqx
volumes:
- name: emqx-data
emptyDir: {}
- serviceAccountName: emqx
securityContext:
fsGroup: 1000
fsGroupChangePolicy: Always
@@ -183,7 +155,7 @@
- 1000
containers:
- name: emqx
- image: "emqx/emqx:5.0.3"
+ image: "emqx/emqx:5.0.21"
imagePullPolicy: IfNotPresent
securityContext:
runAsNonRoot: true
@@ -215,14 +187,14 @@
mountPath: "/opt/emqx/data"
readinessProbe:
httpGet:
- path: /api/v5/status
+ path: /status
port: 18083
initialDelaySeconds: 10
periodSeconds: 5
failureThreshold: 30
livenessProbe:
httpGet:
- path: /api/v5/status
+ path: /status
port: 18083
initialDelaySeconds: 60
periodSeconds: 30
@@ -239,3 +211,7 @@
- emqx
topologyKey: kubernetes.io/hostname
weight: 100
+---
+
+# Source: emqx/templates/rbac.yaml
+--- |
6e01b5b
to
f58c9f5
Compare
Path: @@ -3,8 +3,12 @@
apiVersion: v1
kind: ServiceAccount
metadata:
- namespace: default
name: emqx
+ namespace: default
+ labels:
+ app.kubernetes.io/name: emqx
+ app.kubernetes.io/instance: emqx
+ app.kubernetes.io/managed-by: Helm
---
# Source: emqx/templates/configmap.yaml
apiVersion: v1
@@ -17,48 +21,15 @@
app.kubernetes.io/instance: emqx
app.kubernetes.io/managed-by: Helm
data:
+ EMQX_NAME: emqx
+ EMQX_CLUSTER__DNS__NAME: "emqx-headless.default.svc.cluster.local"
+ EMQX_CLUSTER__DNS__RECORD_TYPE: "srv"
EMQX_ALLOW_ANONYMOUS: "false"
EMQX_AUTH__MNESIA__PASSWORD_HASH: "plain"
- EMQX_CLUSTER__DISCOVERY_STRATEGY: "k8s"
- EMQX_CLUSTER__K8S__ADDRESS_TYPE: "hostname"
- EMQX_CLUSTER__K8S__APISERVER: "https://kubernetes.default.svc:443"
- EMQX_CLUSTER__K8S__NAMESPACE: "default"
- EMQX_CLUSTER__K8S__SERVICE_NAME: "emqx-headless"
- EMQX_CLUSTER__K8S__SUFFIX: "svc.cluster.local"
+ EMQX_CLUSTER__DISCOVERY_STRATEGY: "dns"
EMQX_DASHBOARD__DEFAULT_PASSWORD: "public"
EMQX_DASHBOARD__DEFAULT_USERNAME: "admin"
---
-# Source: emqx/templates/rbac.yaml
-kind: Role
-apiVersion: rbac.authorization.k8s.io/v1
-metadata:
- namespace: default
- name: emqx
-rules:
- - apiGroups:
- - ""
- resources:
- - endpoints
- verbs:
- - get
- - watch
- - list
----
-# Source: emqx/templates/rbac.yaml
-kind: RoleBinding
-apiVersion: rbac.authorization.k8s.io/v1
-metadata:
- namespace: default
- name: emqx
-subjects:
- - kind: ServiceAccount
- name: emqx
- namespace: default
-roleRef:
- kind: Role
- name: emqx
- apiGroup: rbac.authorization.k8s.io
----
# Source: emqx/templates/service.yaml
apiVersion: v1
kind: Service
@@ -71,6 +42,7 @@
app.kubernetes.io/managed-by: Helm
spec:
type: LoadBalancer
+ externalTrafficPolicy: Cluster
loadBalancerIP: 172.16.1.42
ports:
- name: mqtt
@@ -165,16 +137,16 @@
metadata:
labels:
app: emqx
- version: 5.0.3
+ version: 5.0.22
app.kubernetes.io/name: emqx
app.kubernetes.io/instance: emqx
annotations:
- checksum/config: "8d327b352b877578dadefa5a434896f2ec1093e1417d8f53fda1c5e18678cbc5"
+ checksum/config: "8fb4dbe413711e374202507224a8e5ca2bc78b64fa4e10b1f7cd51fb5f737a54"
spec:
+ serviceAccountName: emqx
volumes:
- name: emqx-data
emptyDir: {}
- serviceAccountName: emqx
securityContext:
fsGroup: 1000
fsGroupChangePolicy: Always
@@ -183,7 +155,7 @@
- 1000
containers:
- name: emqx
- image: "emqx/emqx:5.0.3"
+ image: "emqx/emqx:5.0.22"
imagePullPolicy: IfNotPresent
securityContext:
runAsNonRoot: true
@@ -215,14 +187,14 @@
mountPath: "/opt/emqx/data"
readinessProbe:
httpGet:
- path: /api/v5/status
+ path: /status
port: 18083
initialDelaySeconds: 10
periodSeconds: 5
failureThreshold: 30
livenessProbe:
httpGet:
- path: /api/v5/status
+ path: /status
port: 18083
initialDelaySeconds: 60
periodSeconds: 30
@@ -239,3 +211,7 @@
- emqx
topologyKey: kubernetes.io/hostname
weight: 100
+---
+
+# Source: emqx/templates/rbac.yaml
+--- |
Path: @@ -3,8 +3,12 @@
apiVersion: v1
kind: ServiceAccount
metadata:
- namespace: default
name: emqx
+ namespace: default
+ labels:
+ app.kubernetes.io/name: emqx
+ app.kubernetes.io/instance: emqx
+ app.kubernetes.io/managed-by: Helm
---
# Source: emqx/templates/configmap.yaml
apiVersion: v1
@@ -17,48 +21,15 @@
app.kubernetes.io/instance: emqx
app.kubernetes.io/managed-by: Helm
data:
+ EMQX_NAME: emqx
+ EMQX_CLUSTER__DNS__NAME: "emqx-headless.default.svc.cluster.local"
+ EMQX_CLUSTER__DNS__RECORD_TYPE: "srv"
EMQX_ALLOW_ANONYMOUS: "false"
EMQX_AUTH__MNESIA__PASSWORD_HASH: "plain"
- EMQX_CLUSTER__DISCOVERY_STRATEGY: "k8s"
- EMQX_CLUSTER__K8S__ADDRESS_TYPE: "hostname"
- EMQX_CLUSTER__K8S__APISERVER: "https://kubernetes.default.svc:443"
- EMQX_CLUSTER__K8S__NAMESPACE: "default"
- EMQX_CLUSTER__K8S__SERVICE_NAME: "emqx-headless"
- EMQX_CLUSTER__K8S__SUFFIX: "svc.cluster.local"
+ EMQX_CLUSTER__DISCOVERY_STRATEGY: "dns"
EMQX_DASHBOARD__DEFAULT_PASSWORD: "public"
EMQX_DASHBOARD__DEFAULT_USERNAME: "admin"
---
-# Source: emqx/templates/rbac.yaml
-kind: Role
-apiVersion: rbac.authorization.k8s.io/v1
-metadata:
- namespace: default
- name: emqx
-rules:
- - apiGroups:
- - ""
- resources:
- - endpoints
- verbs:
- - get
- - watch
- - list
----
-# Source: emqx/templates/rbac.yaml
-kind: RoleBinding
-apiVersion: rbac.authorization.k8s.io/v1
-metadata:
- namespace: default
- name: emqx
-subjects:
- - kind: ServiceAccount
- name: emqx
- namespace: default
-roleRef:
- kind: Role
- name: emqx
- apiGroup: rbac.authorization.k8s.io
----
# Source: emqx/templates/service.yaml
apiVersion: v1
kind: Service
@@ -71,6 +42,7 @@
app.kubernetes.io/managed-by: Helm
spec:
type: LoadBalancer
+ externalTrafficPolicy: Cluster
loadBalancerIP: 172.16.1.42
ports:
- name: mqtt
@@ -165,16 +137,16 @@
metadata:
labels:
app: emqx
- version: 5.0.3
+ version: 5.5.0
app.kubernetes.io/name: emqx
app.kubernetes.io/instance: emqx
annotations:
- checksum/config: "8d327b352b877578dadefa5a434896f2ec1093e1417d8f53fda1c5e18678cbc5"
+ checksum/config: "91a07c4fd4f55920dfc48b8e5bc9d2a7289a8d26dae9f37011a96e6a71c5031f"
spec:
+ serviceAccountName: emqx
volumes:
- name: emqx-data
emptyDir: {}
- serviceAccountName: emqx
securityContext:
fsGroup: 1000
fsGroupChangePolicy: Always
@@ -183,7 +155,7 @@
- 1000
containers:
- name: emqx
- image: "emqx/emqx:5.0.3"
+ image: "emqx/emqx:5.5.0"
imagePullPolicy: IfNotPresent
securityContext:
runAsNonRoot: true
@@ -201,6 +173,8 @@
containerPort: 18083
- name: ekka
containerPort: 4370
+ - name: genrpc-manual
+ containerPort: 5369
envFrom:
- configMapRef:
name: emqx-env
@@ -215,14 +189,14 @@
mountPath: "/opt/emqx/data"
readinessProbe:
httpGet:
- path: /api/v5/status
+ path: /status
port: 18083
initialDelaySeconds: 10
periodSeconds: 5
failureThreshold: 30
livenessProbe:
httpGet:
- path: /api/v5/status
+ path: /status
port: 18083
initialDelaySeconds: 60
periodSeconds: 30
@@ -239,3 +213,6 @@
- emqx
topologyKey: kubernetes.io/hostname
weight: 100
+---
+
+--- |
c622e80
to
ffcd216
Compare
Path: @@ -3,8 +3,12 @@
apiVersion: v1
kind: ServiceAccount
metadata:
- namespace: default
name: emqx
+ namespace: default
+ labels:
+ app.kubernetes.io/name: emqx
+ app.kubernetes.io/instance: emqx
+ app.kubernetes.io/managed-by: Helm
---
# Source: emqx/templates/configmap.yaml
apiVersion: v1
@@ -17,48 +21,15 @@
app.kubernetes.io/instance: emqx
app.kubernetes.io/managed-by: Helm
data:
+ EMQX_NAME: emqx
+ EMQX_CLUSTER__DNS__NAME: "emqx-headless.default.svc.cluster.local"
+ EMQX_CLUSTER__DNS__RECORD_TYPE: "srv"
EMQX_ALLOW_ANONYMOUS: "false"
EMQX_AUTH__MNESIA__PASSWORD_HASH: "plain"
- EMQX_CLUSTER__DISCOVERY_STRATEGY: "k8s"
- EMQX_CLUSTER__K8S__ADDRESS_TYPE: "hostname"
- EMQX_CLUSTER__K8S__APISERVER: "https://kubernetes.default.svc:443"
- EMQX_CLUSTER__K8S__NAMESPACE: "default"
- EMQX_CLUSTER__K8S__SERVICE_NAME: "emqx-headless"
- EMQX_CLUSTER__K8S__SUFFIX: "svc.cluster.local"
+ EMQX_CLUSTER__DISCOVERY_STRATEGY: "dns"
EMQX_DASHBOARD__DEFAULT_PASSWORD: "public"
EMQX_DASHBOARD__DEFAULT_USERNAME: "admin"
---
-# Source: emqx/templates/rbac.yaml
-kind: Role
-apiVersion: rbac.authorization.k8s.io/v1
-metadata:
- namespace: default
- name: emqx
-rules:
- - apiGroups:
- - ""
- resources:
- - endpoints
- verbs:
- - get
- - watch
- - list
----
-# Source: emqx/templates/rbac.yaml
-kind: RoleBinding
-apiVersion: rbac.authorization.k8s.io/v1
-metadata:
- namespace: default
- name: emqx
-subjects:
- - kind: ServiceAccount
- name: emqx
- namespace: default
-roleRef:
- kind: Role
- name: emqx
- apiGroup: rbac.authorization.k8s.io
----
# Source: emqx/templates/service.yaml
apiVersion: v1
kind: Service
@@ -71,6 +42,7 @@
app.kubernetes.io/managed-by: Helm
spec:
type: LoadBalancer
+ externalTrafficPolicy: Cluster
loadBalancerIP: 172.16.1.42
ports:
- name: mqtt
@@ -165,16 +137,16 @@
metadata:
labels:
app: emqx
- version: 5.0.3
+ version: 5.5.1
app.kubernetes.io/name: emqx
app.kubernetes.io/instance: emqx
annotations:
- checksum/config: "8d327b352b877578dadefa5a434896f2ec1093e1417d8f53fda1c5e18678cbc5"
+ checksum/config: "51a9d44d4c2e9441c3c7a68e417eb3b7fe4a0abc848087e76be72e8840eb836f"
spec:
+ serviceAccountName: emqx
volumes:
- name: emqx-data
emptyDir: {}
- serviceAccountName: emqx
securityContext:
fsGroup: 1000
fsGroupChangePolicy: Always
@@ -183,7 +155,7 @@
- 1000
containers:
- name: emqx
- image: "emqx/emqx:5.0.3"
+ image: "emqx/emqx:5.5.1"
imagePullPolicy: IfNotPresent
securityContext:
runAsNonRoot: true
@@ -201,6 +173,8 @@
containerPort: 18083
- name: ekka
containerPort: 4370
+ - name: genrpc-manual
+ containerPort: 5369
envFrom:
- configMapRef:
name: emqx-env
@@ -215,14 +189,14 @@
mountPath: "/opt/emqx/data"
readinessProbe:
httpGet:
- path: /api/v5/status
+ path: /status
port: 18083
initialDelaySeconds: 10
periodSeconds: 5
failureThreshold: 30
livenessProbe:
httpGet:
- path: /api/v5/status
+ path: /status
port: 18083
initialDelaySeconds: 60
periodSeconds: 30
@@ -239,3 +213,6 @@
- emqx
topologyKey: kubernetes.io/hostname
weight: 100
+---
+
+--- |
ffcd216
to
0e66e0a
Compare
Path: @@ -3,8 +3,12 @@
apiVersion: v1
kind: ServiceAccount
metadata:
- namespace: default
name: emqx
+ namespace: default
+ labels:
+ app.kubernetes.io/name: emqx
+ app.kubernetes.io/instance: emqx
+ app.kubernetes.io/managed-by: Helm
---
# Source: emqx/templates/configmap.yaml
apiVersion: v1
@@ -17,48 +21,15 @@
app.kubernetes.io/instance: emqx
app.kubernetes.io/managed-by: Helm
data:
+ EMQX_NAME: emqx
+ EMQX_CLUSTER__DNS__NAME: "emqx-headless.default.svc.cluster.local"
+ EMQX_CLUSTER__DNS__RECORD_TYPE: "srv"
EMQX_ALLOW_ANONYMOUS: "false"
EMQX_AUTH__MNESIA__PASSWORD_HASH: "plain"
- EMQX_CLUSTER__DISCOVERY_STRATEGY: "k8s"
- EMQX_CLUSTER__K8S__ADDRESS_TYPE: "hostname"
- EMQX_CLUSTER__K8S__APISERVER: "https://kubernetes.default.svc:443"
- EMQX_CLUSTER__K8S__NAMESPACE: "default"
- EMQX_CLUSTER__K8S__SERVICE_NAME: "emqx-headless"
- EMQX_CLUSTER__K8S__SUFFIX: "svc.cluster.local"
+ EMQX_CLUSTER__DISCOVERY_STRATEGY: "dns"
EMQX_DASHBOARD__DEFAULT_PASSWORD: "public"
EMQX_DASHBOARD__DEFAULT_USERNAME: "admin"
---
-# Source: emqx/templates/rbac.yaml
-kind: Role
-apiVersion: rbac.authorization.k8s.io/v1
-metadata:
- namespace: default
- name: emqx
-rules:
- - apiGroups:
- - ""
- resources:
- - endpoints
- verbs:
- - get
- - watch
- - list
----
-# Source: emqx/templates/rbac.yaml
-kind: RoleBinding
-apiVersion: rbac.authorization.k8s.io/v1
-metadata:
- namespace: default
- name: emqx
-subjects:
- - kind: ServiceAccount
- name: emqx
- namespace: default
-roleRef:
- kind: Role
- name: emqx
- apiGroup: rbac.authorization.k8s.io
----
# Source: emqx/templates/service.yaml
apiVersion: v1
kind: Service
@@ -71,6 +42,7 @@
app.kubernetes.io/managed-by: Helm
spec:
type: LoadBalancer
+ externalTrafficPolicy: Cluster
loadBalancerIP: 172.16.1.42
ports:
- name: mqtt
@@ -165,16 +137,16 @@
metadata:
labels:
app: emqx
- version: 5.0.3
+ version: 5.6.0
app.kubernetes.io/name: emqx
app.kubernetes.io/instance: emqx
annotations:
- checksum/config: "8d327b352b877578dadefa5a434896f2ec1093e1417d8f53fda1c5e18678cbc5"
+ checksum/config: "e3b8e8023b6a2912f5eb9ceb0c3649bb6d40bf2be4e034a19569fb12528f9552"
spec:
+ serviceAccountName: emqx
volumes:
- name: emqx-data
emptyDir: {}
- serviceAccountName: emqx
securityContext:
fsGroup: 1000
fsGroupChangePolicy: Always
@@ -183,7 +155,7 @@
- 1000
containers:
- name: emqx
- image: "emqx/emqx:5.0.3"
+ image: "emqx/emqx:5.6.0"
imagePullPolicy: IfNotPresent
securityContext:
runAsNonRoot: true
@@ -201,6 +173,8 @@
containerPort: 18083
- name: ekka
containerPort: 4370
+ - name: genrpc-manual
+ containerPort: 5369
envFrom:
- configMapRef:
name: emqx-env
@@ -215,14 +189,14 @@
mountPath: "/opt/emqx/data"
readinessProbe:
httpGet:
- path: /api/v5/status
+ path: /status
port: 18083
initialDelaySeconds: 10
periodSeconds: 5
failureThreshold: 30
livenessProbe:
httpGet:
- path: /api/v5/status
+ path: /status
port: 18083
initialDelaySeconds: 60
periodSeconds: 30
@@ -239,3 +213,6 @@
- emqx
topologyKey: kubernetes.io/hostname
weight: 100
+---
+
+--- |
0e66e0a
to
26bc1ad
Compare
Path: @@ -3,8 +3,12 @@
apiVersion: v1
kind: ServiceAccount
metadata:
- namespace: default
name: emqx
+ namespace: default
+ labels:
+ app.kubernetes.io/name: emqx
+ app.kubernetes.io/instance: emqx
+ app.kubernetes.io/managed-by: Helm
---
# Source: emqx/templates/configmap.yaml
apiVersion: v1
@@ -17,48 +21,15 @@
app.kubernetes.io/instance: emqx
app.kubernetes.io/managed-by: Helm
data:
+ EMQX_NAME: emqx
+ EMQX_CLUSTER__DNS__NAME: "emqx-headless.default.svc.cluster.local"
+ EMQX_CLUSTER__DNS__RECORD_TYPE: "srv"
EMQX_ALLOW_ANONYMOUS: "false"
EMQX_AUTH__MNESIA__PASSWORD_HASH: "plain"
- EMQX_CLUSTER__DISCOVERY_STRATEGY: "k8s"
- EMQX_CLUSTER__K8S__ADDRESS_TYPE: "hostname"
- EMQX_CLUSTER__K8S__APISERVER: "https://kubernetes.default.svc:443"
- EMQX_CLUSTER__K8S__NAMESPACE: "default"
- EMQX_CLUSTER__K8S__SERVICE_NAME: "emqx-headless"
- EMQX_CLUSTER__K8S__SUFFIX: "svc.cluster.local"
+ EMQX_CLUSTER__DISCOVERY_STRATEGY: "dns"
EMQX_DASHBOARD__DEFAULT_PASSWORD: "public"
EMQX_DASHBOARD__DEFAULT_USERNAME: "admin"
---
-# Source: emqx/templates/rbac.yaml
-kind: Role
-apiVersion: rbac.authorization.k8s.io/v1
-metadata:
- namespace: default
- name: emqx
-rules:
- - apiGroups:
- - ""
- resources:
- - endpoints
- verbs:
- - get
- - watch
- - list
----
-# Source: emqx/templates/rbac.yaml
-kind: RoleBinding
-apiVersion: rbac.authorization.k8s.io/v1
-metadata:
- namespace: default
- name: emqx
-subjects:
- - kind: ServiceAccount
- name: emqx
- namespace: default
-roleRef:
- kind: Role
- name: emqx
- apiGroup: rbac.authorization.k8s.io
----
# Source: emqx/templates/service.yaml
apiVersion: v1
kind: Service
@@ -71,6 +42,7 @@
app.kubernetes.io/managed-by: Helm
spec:
type: LoadBalancer
+ externalTrafficPolicy: Cluster
loadBalancerIP: 172.16.1.42
ports:
- name: mqtt
@@ -165,16 +137,16 @@
metadata:
labels:
app: emqx
- version: 5.0.3
+ version: 5.6.1
app.kubernetes.io/name: emqx
app.kubernetes.io/instance: emqx
annotations:
- checksum/config: "8d327b352b877578dadefa5a434896f2ec1093e1417d8f53fda1c5e18678cbc5"
+ checksum/config: "8ecb01b4e206c1f6040e7e23f2f0e1011d3a8c37a0ec854f57c8585f1877eb4f"
spec:
+ serviceAccountName: emqx
volumes:
- name: emqx-data
emptyDir: {}
- serviceAccountName: emqx
securityContext:
fsGroup: 1000
fsGroupChangePolicy: Always
@@ -183,7 +155,7 @@
- 1000
containers:
- name: emqx
- image: "emqx/emqx:5.0.3"
+ image: "emqx/emqx:5.6.1"
imagePullPolicy: IfNotPresent
securityContext:
runAsNonRoot: true
@@ -201,6 +173,8 @@
containerPort: 18083
- name: ekka
containerPort: 4370
+ - name: genrpc-manual
+ containerPort: 5369
envFrom:
- configMapRef:
name: emqx-env
@@ -215,14 +189,14 @@
mountPath: "/opt/emqx/data"
readinessProbe:
httpGet:
- path: /api/v5/status
+ path: /status
port: 18083
initialDelaySeconds: 10
periodSeconds: 5
failureThreshold: 30
livenessProbe:
httpGet:
- path: /api/v5/status
+ path: /status
port: 18083
initialDelaySeconds: 60
periodSeconds: 30
@@ -239,3 +213,6 @@
- emqx
topologyKey: kubernetes.io/hostname
weight: 100
+---
+
+--- |
26bc1ad
to
64acd48
Compare
Path: @@ -3,8 +3,12 @@
apiVersion: v1
kind: ServiceAccount
metadata:
- namespace: default
name: emqx
+ namespace: default
+ labels:
+ app.kubernetes.io/name: emqx
+ app.kubernetes.io/instance: emqx
+ app.kubernetes.io/managed-by: Helm
---
# Source: emqx/templates/configmap.yaml
apiVersion: v1
@@ -17,48 +21,15 @@
app.kubernetes.io/instance: emqx
app.kubernetes.io/managed-by: Helm
data:
+ EMQX_NAME: emqx
+ EMQX_CLUSTER__DNS__NAME: "emqx-headless.default.svc.cluster.local"
+ EMQX_CLUSTER__DNS__RECORD_TYPE: "srv"
EMQX_ALLOW_ANONYMOUS: "false"
EMQX_AUTH__MNESIA__PASSWORD_HASH: "plain"
- EMQX_CLUSTER__DISCOVERY_STRATEGY: "k8s"
- EMQX_CLUSTER__K8S__ADDRESS_TYPE: "hostname"
- EMQX_CLUSTER__K8S__APISERVER: "https://kubernetes.default.svc:443"
- EMQX_CLUSTER__K8S__NAMESPACE: "default"
- EMQX_CLUSTER__K8S__SERVICE_NAME: "emqx-headless"
- EMQX_CLUSTER__K8S__SUFFIX: "svc.cluster.local"
+ EMQX_CLUSTER__DISCOVERY_STRATEGY: "dns"
EMQX_DASHBOARD__DEFAULT_PASSWORD: "public"
EMQX_DASHBOARD__DEFAULT_USERNAME: "admin"
---
-# Source: emqx/templates/rbac.yaml
-kind: Role
-apiVersion: rbac.authorization.k8s.io/v1
-metadata:
- namespace: default
- name: emqx
-rules:
- - apiGroups:
- - ""
- resources:
- - endpoints
- verbs:
- - get
- - watch
- - list
----
-# Source: emqx/templates/rbac.yaml
-kind: RoleBinding
-apiVersion: rbac.authorization.k8s.io/v1
-metadata:
- namespace: default
- name: emqx
-subjects:
- - kind: ServiceAccount
- name: emqx
- namespace: default
-roleRef:
- kind: Role
- name: emqx
- apiGroup: rbac.authorization.k8s.io
----
# Source: emqx/templates/service.yaml
apiVersion: v1
kind: Service
@@ -71,6 +42,7 @@
app.kubernetes.io/managed-by: Helm
spec:
type: LoadBalancer
+ externalTrafficPolicy: Cluster
loadBalancerIP: 172.16.1.42
ports:
- name: mqtt
@@ -165,16 +137,16 @@
metadata:
labels:
app: emqx
- version: 5.0.3
+ version: 5.7.0
app.kubernetes.io/name: emqx
app.kubernetes.io/instance: emqx
annotations:
- checksum/config: "8d327b352b877578dadefa5a434896f2ec1093e1417d8f53fda1c5e18678cbc5"
+ checksum/config: "d2c589be003e96737811a548c3145c0b26a0f57c36174f8112dc67be9582853d"
spec:
+ serviceAccountName: emqx
volumes:
- name: emqx-data
emptyDir: {}
- serviceAccountName: emqx
securityContext:
fsGroup: 1000
fsGroupChangePolicy: Always
@@ -183,7 +155,7 @@
- 1000
containers:
- name: emqx
- image: "emqx/emqx:5.0.3"
+ image: "emqx/emqx:5.7.0"
imagePullPolicy: IfNotPresent
securityContext:
runAsNonRoot: true
@@ -201,6 +173,8 @@
containerPort: 18083
- name: ekka
containerPort: 4370
+ - name: genrpc-manual
+ containerPort: 5369
envFrom:
- configMapRef:
name: emqx-env
@@ -215,14 +189,14 @@
mountPath: "/opt/emqx/data"
readinessProbe:
httpGet:
- path: /api/v5/status
+ path: /status
port: 18083
initialDelaySeconds: 10
periodSeconds: 5
failureThreshold: 30
livenessProbe:
httpGet:
- path: /api/v5/status
+ path: /status
port: 18083
initialDelaySeconds: 60
periodSeconds: 30
@@ -239,3 +213,6 @@
- emqx
topologyKey: kubernetes.io/hostname
weight: 100
+---
+
+--- |
64acd48
to
e976563
Compare
Path: @@ -3,8 +3,12 @@
apiVersion: v1
kind: ServiceAccount
metadata:
- namespace: default
name: emqx
+ namespace: default
+ labels:
+ app.kubernetes.io/name: emqx
+ app.kubernetes.io/instance: emqx
+ app.kubernetes.io/managed-by: Helm
---
# Source: emqx/templates/configmap.yaml
apiVersion: v1
@@ -17,48 +21,15 @@
app.kubernetes.io/instance: emqx
app.kubernetes.io/managed-by: Helm
data:
+ EMQX_NAME: emqx
+ EMQX_CLUSTER__DNS__NAME: "emqx-headless.default.svc.cluster.local"
+ EMQX_CLUSTER__DNS__RECORD_TYPE: "srv"
EMQX_ALLOW_ANONYMOUS: "false"
EMQX_AUTH__MNESIA__PASSWORD_HASH: "plain"
- EMQX_CLUSTER__DISCOVERY_STRATEGY: "k8s"
- EMQX_CLUSTER__K8S__ADDRESS_TYPE: "hostname"
- EMQX_CLUSTER__K8S__APISERVER: "https://kubernetes.default.svc:443"
- EMQX_CLUSTER__K8S__NAMESPACE: "default"
- EMQX_CLUSTER__K8S__SERVICE_NAME: "emqx-headless"
- EMQX_CLUSTER__K8S__SUFFIX: "svc.cluster.local"
+ EMQX_CLUSTER__DISCOVERY_STRATEGY: "dns"
EMQX_DASHBOARD__DEFAULT_PASSWORD: "public"
EMQX_DASHBOARD__DEFAULT_USERNAME: "admin"
---
-# Source: emqx/templates/rbac.yaml
-kind: Role
-apiVersion: rbac.authorization.k8s.io/v1
-metadata:
- namespace: default
- name: emqx
-rules:
- - apiGroups:
- - ""
- resources:
- - endpoints
- verbs:
- - get
- - watch
- - list
----
-# Source: emqx/templates/rbac.yaml
-kind: RoleBinding
-apiVersion: rbac.authorization.k8s.io/v1
-metadata:
- namespace: default
- name: emqx
-subjects:
- - kind: ServiceAccount
- name: emqx
- namespace: default
-roleRef:
- kind: Role
- name: emqx
- apiGroup: rbac.authorization.k8s.io
----
# Source: emqx/templates/service.yaml
apiVersion: v1
kind: Service
@@ -71,6 +42,7 @@
app.kubernetes.io/managed-by: Helm
spec:
type: LoadBalancer
+ externalTrafficPolicy: Cluster
loadBalancerIP: 172.16.1.42
ports:
- name: mqtt
@@ -165,16 +137,16 @@
metadata:
labels:
app: emqx
- version: 5.0.3
+ version: 5.7.1
app.kubernetes.io/name: emqx
app.kubernetes.io/instance: emqx
annotations:
- checksum/config: "8d327b352b877578dadefa5a434896f2ec1093e1417d8f53fda1c5e18678cbc5"
+ checksum/config: "a9f654c886bcc2eed78e15702c46969719340a379eb1f3dcf38702e93e6a83cc"
spec:
+ serviceAccountName: emqx
volumes:
- name: emqx-data
emptyDir: {}
- serviceAccountName: emqx
securityContext:
fsGroup: 1000
fsGroupChangePolicy: Always
@@ -183,7 +155,7 @@
- 1000
containers:
- name: emqx
- image: "emqx/emqx:5.0.3"
+ image: "emqx/emqx:5.7.1"
imagePullPolicy: IfNotPresent
securityContext:
runAsNonRoot: true
@@ -201,6 +173,8 @@
containerPort: 18083
- name: ekka
containerPort: 4370
+ - name: genrpc-manual
+ containerPort: 5369
envFrom:
- configMapRef:
name: emqx-env
@@ -215,14 +189,14 @@
mountPath: "/opt/emqx/data"
readinessProbe:
httpGet:
- path: /api/v5/status
+ path: /status
port: 18083
initialDelaySeconds: 10
periodSeconds: 5
failureThreshold: 30
livenessProbe:
httpGet:
- path: /api/v5/status
+ path: /status
port: 18083
initialDelaySeconds: 60
periodSeconds: 30
@@ -239,3 +213,6 @@
- emqx
topologyKey: kubernetes.io/hostname
weight: 100
+---
+
+--- |
This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation. |
e976563
to
6ba6afe
Compare
Path: @@ -3,8 +3,12 @@
apiVersion: v1
kind: ServiceAccount
metadata:
- namespace: default
name: emqx
+ namespace: default
+ labels:
+ app.kubernetes.io/name: emqx
+ app.kubernetes.io/instance: emqx
+ app.kubernetes.io/managed-by: Helm
---
# Source: emqx/templates/configmap.yaml
apiVersion: v1
@@ -17,48 +21,15 @@
app.kubernetes.io/instance: emqx
app.kubernetes.io/managed-by: Helm
data:
+ EMQX_NAME: emqx
+ EMQX_CLUSTER__DNS__NAME: "emqx-headless.default.svc.cluster.local"
+ EMQX_CLUSTER__DNS__RECORD_TYPE: "srv"
EMQX_ALLOW_ANONYMOUS: "false"
EMQX_AUTH__MNESIA__PASSWORD_HASH: "plain"
- EMQX_CLUSTER__DISCOVERY_STRATEGY: "k8s"
- EMQX_CLUSTER__K8S__ADDRESS_TYPE: "hostname"
- EMQX_CLUSTER__K8S__APISERVER: "https://kubernetes.default.svc:443"
- EMQX_CLUSTER__K8S__NAMESPACE: "default"
- EMQX_CLUSTER__K8S__SERVICE_NAME: "emqx-headless"
- EMQX_CLUSTER__K8S__SUFFIX: "svc.cluster.local"
+ EMQX_CLUSTER__DISCOVERY_STRATEGY: "dns"
EMQX_DASHBOARD__DEFAULT_PASSWORD: "public"
EMQX_DASHBOARD__DEFAULT_USERNAME: "admin"
---
-# Source: emqx/templates/rbac.yaml
-kind: Role
-apiVersion: rbac.authorization.k8s.io/v1
-metadata:
- namespace: default
- name: emqx
-rules:
- - apiGroups:
- - ""
- resources:
- - endpoints
- verbs:
- - get
- - watch
- - list
----
-# Source: emqx/templates/rbac.yaml
-kind: RoleBinding
-apiVersion: rbac.authorization.k8s.io/v1
-metadata:
- namespace: default
- name: emqx
-subjects:
- - kind: ServiceAccount
- name: emqx
- namespace: default
-roleRef:
- kind: Role
- name: emqx
- apiGroup: rbac.authorization.k8s.io
----
# Source: emqx/templates/service.yaml
apiVersion: v1
kind: Service
@@ -71,6 +42,7 @@
app.kubernetes.io/managed-by: Helm
spec:
type: LoadBalancer
+ externalTrafficPolicy: Cluster
loadBalancerIP: 172.16.1.42
ports:
- name: mqtt
@@ -165,16 +137,16 @@
metadata:
labels:
app: emqx
- version: 5.0.3
+ version: 5.7.2
app.kubernetes.io/name: emqx
app.kubernetes.io/instance: emqx
annotations:
- checksum/config: "8d327b352b877578dadefa5a434896f2ec1093e1417d8f53fda1c5e18678cbc5"
+ checksum/config: "215476f4347f1522aebf1fa07a8af30e8cd0578dc10a6f406e11ba0799f04753"
spec:
+ serviceAccountName: emqx
volumes:
- name: emqx-data
emptyDir: {}
- serviceAccountName: emqx
securityContext:
fsGroup: 1000
fsGroupChangePolicy: Always
@@ -183,7 +155,7 @@
- 1000
containers:
- name: emqx
- image: "emqx/emqx:5.0.3"
+ image: "emqx/emqx:5.7.2"
imagePullPolicy: IfNotPresent
securityContext:
runAsNonRoot: true
@@ -201,6 +173,8 @@
containerPort: 18083
- name: ekka
containerPort: 4370
+ - name: genrpc-manual
+ containerPort: 5369
envFrom:
- configMapRef:
name: emqx-env
@@ -215,14 +189,14 @@
mountPath: "/opt/emqx/data"
readinessProbe:
httpGet:
- path: /api/v5/status
+ path: /status
port: 18083
initialDelaySeconds: 10
periodSeconds: 5
failureThreshold: 30
livenessProbe:
httpGet:
- path: /api/v5/status
+ path: /status
port: 18083
initialDelaySeconds: 60
periodSeconds: 30
@@ -239,3 +213,6 @@
- emqx
topologyKey: kubernetes.io/hostname
weight: 100
+---
+
+--- |
6ba6afe
to
8d73ea8
Compare
Path: @@ -3,8 +3,12 @@
apiVersion: v1
kind: ServiceAccount
metadata:
- namespace: default
name: emqx
+ namespace: default
+ labels:
+ app.kubernetes.io/name: emqx
+ app.kubernetes.io/instance: emqx
+ app.kubernetes.io/managed-by: Helm
---
# Source: emqx/templates/configmap.yaml
apiVersion: v1
@@ -17,48 +21,15 @@
app.kubernetes.io/instance: emqx
app.kubernetes.io/managed-by: Helm
data:
+ EMQX_NAME: emqx
+ EMQX_CLUSTER__DNS__NAME: "emqx-headless.default.svc.cluster.local"
+ EMQX_CLUSTER__DNS__RECORD_TYPE: "srv"
EMQX_ALLOW_ANONYMOUS: "false"
EMQX_AUTH__MNESIA__PASSWORD_HASH: "plain"
- EMQX_CLUSTER__DISCOVERY_STRATEGY: "k8s"
- EMQX_CLUSTER__K8S__ADDRESS_TYPE: "hostname"
- EMQX_CLUSTER__K8S__APISERVER: "https://kubernetes.default.svc:443"
- EMQX_CLUSTER__K8S__NAMESPACE: "default"
- EMQX_CLUSTER__K8S__SERVICE_NAME: "emqx-headless"
- EMQX_CLUSTER__K8S__SUFFIX: "svc.cluster.local"
+ EMQX_CLUSTER__DISCOVERY_STRATEGY: "dns"
EMQX_DASHBOARD__DEFAULT_PASSWORD: "public"
EMQX_DASHBOARD__DEFAULT_USERNAME: "admin"
---
-# Source: emqx/templates/rbac.yaml
-kind: Role
-apiVersion: rbac.authorization.k8s.io/v1
-metadata:
- namespace: default
- name: emqx
-rules:
- - apiGroups:
- - ""
- resources:
- - endpoints
- verbs:
- - get
- - watch
- - list
----
-# Source: emqx/templates/rbac.yaml
-kind: RoleBinding
-apiVersion: rbac.authorization.k8s.io/v1
-metadata:
- namespace: default
- name: emqx
-subjects:
- - kind: ServiceAccount
- name: emqx
- namespace: default
-roleRef:
- kind: Role
- name: emqx
- apiGroup: rbac.authorization.k8s.io
----
# Source: emqx/templates/service.yaml
apiVersion: v1
kind: Service
@@ -71,6 +42,7 @@
app.kubernetes.io/managed-by: Helm
spec:
type: LoadBalancer
+ externalTrafficPolicy: Cluster
loadBalancerIP: 172.16.1.42
ports:
- name: mqtt
@@ -165,16 +137,16 @@
metadata:
labels:
app: emqx
- version: 5.0.3
+ version: 5.8.0
app.kubernetes.io/name: emqx
app.kubernetes.io/instance: emqx
annotations:
- checksum/config: "8d327b352b877578dadefa5a434896f2ec1093e1417d8f53fda1c5e18678cbc5"
+ checksum/config: "1aa336550c0f64231ac00b147d8e5ab93dd5b19944e0baf590b5c04105ef1e7d"
spec:
+ serviceAccountName: emqx
volumes:
- name: emqx-data
emptyDir: {}
- serviceAccountName: emqx
securityContext:
fsGroup: 1000
fsGroupChangePolicy: Always
@@ -183,7 +155,7 @@
- 1000
containers:
- name: emqx
- image: "emqx/emqx:5.0.3"
+ image: "emqx/emqx:5.8.0"
imagePullPolicy: IfNotPresent
securityContext:
runAsNonRoot: true
@@ -201,6 +173,8 @@
containerPort: 18083
- name: ekka
containerPort: 4370
+ - name: genrpc-manual
+ containerPort: 5369
envFrom:
- configMapRef:
name: emqx-env
@@ -215,14 +189,14 @@
mountPath: "/opt/emqx/data"
readinessProbe:
httpGet:
- path: /api/v5/status
+ path: /status
port: 18083
initialDelaySeconds: 10
periodSeconds: 5
failureThreshold: 30
livenessProbe:
httpGet:
- path: /api/v5/status
+ path: /status
port: 18083
initialDelaySeconds: 60
periodSeconds: 30
@@ -239,3 +213,6 @@
- emqx
topologyKey: kubernetes.io/hostname
weight: 100
+---
+
+--- |
8d73ea8
to
cbe5eca
Compare
Path: @@ -3,8 +3,12 @@
apiVersion: v1
kind: ServiceAccount
metadata:
- namespace: default
name: emqx
+ namespace: default
+ labels:
+ app.kubernetes.io/name: emqx
+ app.kubernetes.io/instance: emqx
+ app.kubernetes.io/managed-by: Helm
---
# Source: emqx/templates/configmap.yaml
apiVersion: v1
@@ -17,48 +21,15 @@
app.kubernetes.io/instance: emqx
app.kubernetes.io/managed-by: Helm
data:
+ EMQX_NAME: emqx
+ EMQX_CLUSTER__DNS__NAME: "emqx-headless.default.svc.cluster.local"
+ EMQX_CLUSTER__DNS__RECORD_TYPE: "srv"
EMQX_ALLOW_ANONYMOUS: "false"
EMQX_AUTH__MNESIA__PASSWORD_HASH: "plain"
- EMQX_CLUSTER__DISCOVERY_STRATEGY: "k8s"
- EMQX_CLUSTER__K8S__ADDRESS_TYPE: "hostname"
- EMQX_CLUSTER__K8S__APISERVER: "https://kubernetes.default.svc:443"
- EMQX_CLUSTER__K8S__NAMESPACE: "default"
- EMQX_CLUSTER__K8S__SERVICE_NAME: "emqx-headless"
- EMQX_CLUSTER__K8S__SUFFIX: "svc.cluster.local"
+ EMQX_CLUSTER__DISCOVERY_STRATEGY: "dns"
EMQX_DASHBOARD__DEFAULT_PASSWORD: "public"
EMQX_DASHBOARD__DEFAULT_USERNAME: "admin"
---
-# Source: emqx/templates/rbac.yaml
-kind: Role
-apiVersion: rbac.authorization.k8s.io/v1
-metadata:
- namespace: default
- name: emqx
-rules:
- - apiGroups:
- - ""
- resources:
- - endpoints
- verbs:
- - get
- - watch
- - list
----
-# Source: emqx/templates/rbac.yaml
-kind: RoleBinding
-apiVersion: rbac.authorization.k8s.io/v1
-metadata:
- namespace: default
- name: emqx
-subjects:
- - kind: ServiceAccount
- name: emqx
- namespace: default
-roleRef:
- kind: Role
- name: emqx
- apiGroup: rbac.authorization.k8s.io
----
# Source: emqx/templates/service.yaml
apiVersion: v1
kind: Service
@@ -71,6 +42,7 @@
app.kubernetes.io/managed-by: Helm
spec:
type: LoadBalancer
+ externalTrafficPolicy: Cluster
loadBalancerIP: 172.16.1.42
ports:
- name: mqtt
@@ -165,16 +137,16 @@
metadata:
labels:
app: emqx
- version: 5.0.3
+ version: 5.8.1
app.kubernetes.io/name: emqx
app.kubernetes.io/instance: emqx
annotations:
- checksum/config: "8d327b352b877578dadefa5a434896f2ec1093e1417d8f53fda1c5e18678cbc5"
+ checksum/config: "e7fb7adfc878de2780e7013052be0d759e6c5c86dff796475f7c642dd416d0cd"
spec:
+ serviceAccountName: emqx
volumes:
- name: emqx-data
emptyDir: {}
- serviceAccountName: emqx
securityContext:
fsGroup: 1000
fsGroupChangePolicy: Always
@@ -183,7 +155,7 @@
- 1000
containers:
- name: emqx
- image: "emqx/emqx:5.0.3"
+ image: "emqx/emqx:5.8.1"
imagePullPolicy: IfNotPresent
securityContext:
runAsNonRoot: true
@@ -201,6 +173,16 @@
containerPort: 18083
- name: ekka
containerPort: 4370
+ - name: genrpc-manual
+ containerPort: 5369
+ env:
+ - name: POD_NAME
+ valueFrom:
+ fieldRef:
+ apiVersion: v1
+ fieldPath: metadata.name
+ - name: EMQX_HOST
+ value: $(POD_NAME).emqx-headless.default.svc.cluster.local
envFrom:
- configMapRef:
name: emqx-env
@@ -215,14 +197,14 @@
mountPath: "/opt/emqx/data"
readinessProbe:
httpGet:
- path: /api/v5/status
+ path: /status
port: 18083
initialDelaySeconds: 10
periodSeconds: 5
failureThreshold: 30
livenessProbe:
httpGet:
- path: /api/v5/status
+ path: /status
port: 18083
initialDelaySeconds: 60
periodSeconds: 30
@@ -239,3 +221,6 @@
- emqx
topologyKey: kubernetes.io/hostname
weight: 100
+---
+
+--- |
| datasource | package | from | to | | ---------- | ------- | ----- | ----- | | helm | emqx | 5.0.3 | 5.8.2 |
cbe5eca
to
83e3880
Compare
Path: @@ -3,8 +3,12 @@
apiVersion: v1
kind: ServiceAccount
metadata:
- namespace: default
name: emqx
+ namespace: default
+ labels:
+ app.kubernetes.io/name: emqx
+ app.kubernetes.io/instance: emqx
+ app.kubernetes.io/managed-by: Helm
---
# Source: emqx/templates/configmap.yaml
apiVersion: v1
@@ -17,48 +21,15 @@
app.kubernetes.io/instance: emqx
app.kubernetes.io/managed-by: Helm
data:
+ EMQX_NAME: emqx
+ EMQX_CLUSTER__DNS__NAME: "emqx-headless.default.svc.cluster.local"
+ EMQX_CLUSTER__DNS__RECORD_TYPE: "srv"
EMQX_ALLOW_ANONYMOUS: "false"
EMQX_AUTH__MNESIA__PASSWORD_HASH: "plain"
- EMQX_CLUSTER__DISCOVERY_STRATEGY: "k8s"
- EMQX_CLUSTER__K8S__ADDRESS_TYPE: "hostname"
- EMQX_CLUSTER__K8S__APISERVER: "https://kubernetes.default.svc:443"
- EMQX_CLUSTER__K8S__NAMESPACE: "default"
- EMQX_CLUSTER__K8S__SERVICE_NAME: "emqx-headless"
- EMQX_CLUSTER__K8S__SUFFIX: "svc.cluster.local"
+ EMQX_CLUSTER__DISCOVERY_STRATEGY: "dns"
EMQX_DASHBOARD__DEFAULT_PASSWORD: "public"
EMQX_DASHBOARD__DEFAULT_USERNAME: "admin"
---
-# Source: emqx/templates/rbac.yaml
-kind: Role
-apiVersion: rbac.authorization.k8s.io/v1
-metadata:
- namespace: default
- name: emqx
-rules:
- - apiGroups:
- - ""
- resources:
- - endpoints
- verbs:
- - get
- - watch
- - list
----
-# Source: emqx/templates/rbac.yaml
-kind: RoleBinding
-apiVersion: rbac.authorization.k8s.io/v1
-metadata:
- namespace: default
- name: emqx
-subjects:
- - kind: ServiceAccount
- name: emqx
- namespace: default
-roleRef:
- kind: Role
- name: emqx
- apiGroup: rbac.authorization.k8s.io
----
# Source: emqx/templates/service.yaml
apiVersion: v1
kind: Service
@@ -71,6 +42,7 @@
app.kubernetes.io/managed-by: Helm
spec:
type: LoadBalancer
+ externalTrafficPolicy: Cluster
loadBalancerIP: 172.16.1.42
ports:
- name: mqtt
@@ -165,16 +137,16 @@
metadata:
labels:
app: emqx
- version: 5.0.3
+ version: 5.8.2
app.kubernetes.io/name: emqx
app.kubernetes.io/instance: emqx
annotations:
- checksum/config: "8d327b352b877578dadefa5a434896f2ec1093e1417d8f53fda1c5e18678cbc5"
+ checksum/config: "a8b2bc953394fd5f547580afcab481678939a80aade1153d8cd01280794e9931"
spec:
+ serviceAccountName: emqx
volumes:
- name: emqx-data
emptyDir: {}
- serviceAccountName: emqx
securityContext:
fsGroup: 1000
fsGroupChangePolicy: Always
@@ -183,7 +155,7 @@
- 1000
containers:
- name: emqx
- image: "emqx/emqx:5.0.3"
+ image: "emqx/emqx:5.8.2"
imagePullPolicy: IfNotPresent
securityContext:
runAsNonRoot: true
@@ -201,6 +173,16 @@
containerPort: 18083
- name: ekka
containerPort: 4370
+ - name: genrpc-manual
+ containerPort: 5369
+ env:
+ - name: POD_NAME
+ valueFrom:
+ fieldRef:
+ apiVersion: v1
+ fieldPath: metadata.name
+ - name: EMQX_HOST
+ value: $(POD_NAME).emqx-headless.default.svc.cluster.local
envFrom:
- configMapRef:
name: emqx-env
@@ -215,14 +197,14 @@
mountPath: "/opt/emqx/data"
readinessProbe:
httpGet:
- path: /api/v5/status
+ path: /status
port: 18083
initialDelaySeconds: 10
periodSeconds: 5
failureThreshold: 30
livenessProbe:
httpGet:
- path: /api/v5/status
+ path: /status
port: 18083
initialDelaySeconds: 60
periodSeconds: 30
@@ -239,3 +221,6 @@
- emqx
topologyKey: kubernetes.io/hostname
weight: 100
+---
+
+--- |
This PR contains the following updates:
5.0.3
->5.8.2
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.