[aaisp-to-mqtt] Cleanup templates and remove some issues

This commit is contained in:
2020-05-06 12:17:41 +01:00
parent f110d08221
commit 7db31d9be6
3 changed files with 4 additions and 4 deletions

View File

@@ -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

View File

@@ -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 }}

View File

@@ -1,5 +1,5 @@
{{- if not (.Values.existingSecretName) }}
--- ---
{{- if not (.Values.existingSecretName) }}
apiVersion: v1 apiVersion: v1
kind: Secret kind: Secret
metadata: metadata: