Skip to content

Commit 6d97363

Browse files
beametl chart fix: pass data, not spec for configmap
1 parent 3d8117c commit 6d97363

File tree

3 files changed

+16
-10
lines changed

3 files changed

+16
-10
lines changed

helm/beametl/templates/config.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ kind: ConfigMap
33
metadata:
44
name: beametl-conf
55
namespace: {{ .Values.namespace }}
6-
spec:
7-
data:
8-
PROJECT: {{ .Values.config.project }}
9-
TOPIC: {{ .Values.config.mqtt_topic }}
10-
INSTANCE: {{ .Values.config.cbt_instance }}
11-
TABLE: {{ .Values.config.cbt_table }}
6+
7+
data:
8+
PROJECT: {{ .Values.config.project | quote }}
9+
TOPIC: {{ .Values.config.mqtt_topic | quote }}
10+
INSTANCE: {{ .Values.config.cbt_instance | quote }}
11+
TABLE: {{ .Values.config.cbt_table | quote }}

helm/beametl/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ image: sardinesszsz/beametl-pubsub-to-cbt:latest
55
resourceOptions:
66
requests:
77
memory: "512Mi"
8-
cpu: "2"
8+
cpu: "1"
99
limits:
1010
memory: "1.5Gi"
11-
cpu: "4"
11+
cpu: "2"
1212

1313
config:
1414
project: quick-sonar-469406-j1

k8s/prod/beametl/values.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,13 @@ image: sardinesszsz/beametl-pubsub-to-cbt:latest
55
resourceOptions:
66
requests:
77
memory: "512Mi"
8-
cpu: "2"
8+
cpu: "1"
99
limits:
1010
memory: "1.5Gi"
11-
cpu: "4"
11+
cpu: "2"
12+
13+
config:
14+
project: quick-sonar-469406-j1
15+
mqtt_topic: projects/quick-sonar-469406-j1/topics/mqtt-source
16+
cbt_instance: logcorebt
17+
cbt_table: iotsink

0 commit comments

Comments
 (0)