diff --git a/charts/aaisp-to-mqtt/Chart.yaml b/charts/aaisp-to-mqtt/Chart.yaml index bf301ad..f3d4ef5 100644 --- a/charts/aaisp-to-mqtt/Chart.yaml +++ b/charts/aaisp-to-mqtt/Chart.yaml @@ -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 diff --git a/charts/aaisp-to-mqtt/templates/cronjob.yaml b/charts/aaisp-to-mqtt/templates/cronjob.yaml index ed70253..3f7e9ce 100644 --- a/charts/aaisp-to-mqtt/templates/cronjob.yaml +++ b/charts/aaisp-to-mqtt/templates/cronjob.yaml @@ -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 }} diff --git a/charts/aaisp-to-mqtt/templates/secrets.yaml b/charts/aaisp-to-mqtt/templates/secrets.yaml index 7b50aaa..48376eb 100644 --- a/charts/aaisp-to-mqtt/templates/secrets.yaml +++ b/charts/aaisp-to-mqtt/templates/secrets.yaml @@ -1,5 +1,5 @@ -{{- if not (.Values.existingSecretName) }} --- +{{- if not (.Values.existingSecretName) }} apiVersion: v1 kind: Secret metadata: