Skip to content

Commit 5da4839

Browse files
authored
Fix helm chart issues (#30)
1 parent 4d050fe commit 5da4839

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

helm/parseable/templates/deployment.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,7 @@ spec:
3737
value: {{ tpl $value $ | quote }}
3838
{{- end }}
3939
ports:
40-
- name: parseable
41-
containerPort: 5678
42-
protocol: TCP
40+
- containerPort: 5678
4341
resources:
4442
{{- toYaml .Values.parseable.resources | nindent 12 }}
4543
volumeMounts:

helm/parseable/templates/service.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,12 @@ apiVersion: v1
22
kind: Service
33
metadata:
44
name: {{ include "parseable.fullname" . }}
5-
labels:
6-
{{- include "parseable.labels" . | nindent 4 }}
5+
namespace: {{ .Release.Namespace }}
76
spec:
87
type: {{ $.Values.parseable.service.type }}
98
ports:
109
- port: {{ $.Values.parseable.service.port }}
1110
targetPort: 5678
1211
protocol: TCP
13-
name: parseable
1412
selector:
1513
{{- include "parseable.selectorLabels" . | nindent 4 }}

helm/parseable/values.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ parseable:
55
pullPolicy: IfNotPresent
66
tag: ""
77
env:
8+
P_ADDR: "0.0.0.0:5678"
89
P_TLS_CERT_PATH: ""
910
P_LOCAL_STORAGE: "data"
1011
P_STORAGE_UPLOAD_INTERVAL: "60"
@@ -13,8 +14,8 @@ parseable:
1314
P_S3_SECRET_KEY: ""
1415
P_S3_REGION: ""
1516
P_S3_BUCKET: ""
16-
P_USERNAME: ""
17-
P_PASSWORD: ""
17+
P_USERNAME: "parseable"
18+
P_PASSWORD: "parseable"
1819
nameOverride: ""
1920
fullnameOverride: ""
2021
serviceAccount:
@@ -23,7 +24,7 @@ parseable:
2324
annotations: {}
2425
service:
2526
type: ClusterIP
26-
port: "5678"
27+
port: 80
2728
resources:
2829
limits:
2930
cpu: 100m

0 commit comments

Comments
 (0)