[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"
description: Pulls data from the AAISP CHAOSv2 API into MQTT
name: aaisp-to-mqtt
version: 0.2.3
version: 0.2.4

View File

@@ -44,6 +44,8 @@ spec:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
resources:
{{ toYaml .Values.resources | indent 16 }}
env:
- name: AAISP_USERNAME
valueFrom:
@@ -73,8 +75,6 @@ spec:
{{- end }}
- name: MQTT_TOPIC_PREFIX
value: {{ default "aaisp" .Values.mqtt.topicPrefix }}
resources:
{{ toYaml .Values.resources | indent 16 }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{ toYaml . | indent 12 }}

View File

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