mirror of
https://github.com/nikdoof/helm-charts.git
synced 2025-12-13 21:42:18 +00:00
[aaisp-to-mqtt] Cleanup templates and remove some issues
This commit is contained in:
@@ -2,4 +2,4 @@ apiVersion: v1
|
|||||||
appVersion: "0.2"
|
appVersion: "0.2"
|
||||||
description: Pulls data from the AAISP CHAOSv2 API into MQTT
|
description: Pulls data from the AAISP CHAOSv2 API into MQTT
|
||||||
name: aaisp-to-mqtt
|
name: aaisp-to-mqtt
|
||||||
version: 0.2.3
|
version: 0.2.4
|
||||||
|
|||||||
@@ -44,6 +44,8 @@ spec:
|
|||||||
- name: {{ .Chart.Name }}
|
- name: {{ .Chart.Name }}
|
||||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
|
resources:
|
||||||
|
{{ toYaml .Values.resources | indent 16 }}
|
||||||
env:
|
env:
|
||||||
- name: AAISP_USERNAME
|
- name: AAISP_USERNAME
|
||||||
valueFrom:
|
valueFrom:
|
||||||
@@ -73,8 +75,6 @@ spec:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
- name: MQTT_TOPIC_PREFIX
|
- name: MQTT_TOPIC_PREFIX
|
||||||
value: {{ default "aaisp" .Values.mqtt.topicPrefix }}
|
value: {{ default "aaisp" .Values.mqtt.topicPrefix }}
|
||||||
resources:
|
|
||||||
{{ toYaml .Values.resources | indent 16 }}
|
|
||||||
{{- with .Values.nodeSelector }}
|
{{- with .Values.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{ toYaml . | indent 12 }}
|
{{ toYaml . | indent 12 }}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{{- if not (.Values.existingSecretName) }}
|
|
||||||
---
|
---
|
||||||
|
{{- if not (.Values.existingSecretName) }}
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Secret
|
kind: Secret
|
||||||
metadata:
|
metadata:
|
||||||
|
|||||||
Reference in New Issue
Block a user