Skip to content

Commit b718ccd

Browse files
committed
Merge branch 'main' of github.com:compolabs/spark-middleware
2 parents ceab36a + 8f1ec65 commit b718ccd

File tree

5 files changed

+4
-8
lines changed

5 files changed

+4
-8
lines changed

helm/templates/_helpers.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ app.kubernetes.io/managed-by: {{ .Release.Service }}
4646
Selector labels
4747
*/}}
4848
{{- define "helm-chart.selectorLabels" -}}
49-
app.kubernetes.io/name: {{ include "helm-chart.name" . }}
49+
app.kubernetes.io/name: {{ include "helm-chart.fullname" . }}
5050
app.kubernetes.io/instance: {{ .Release.Name }}
5151
{{- end }}
5252

helm/templates/deployment.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,10 @@ spec:
3535
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
3636
imagePullPolicy: {{ .Values.image.pullPolicy }}
3737
env:
38-
{{- toYaml .Values.env | nindent 12}}
3938
{{- toYaml .Values.marketEnv | nindent 12}}
4039
envFrom:
4140
- secretRef:
42-
name: {{ .Values.envFromSecret }}
41+
name: {{ include "helm-chart.fullname" . }}
4342
ports:
4443
- name: http
4544
containerPort: {{ .Values.service.port }}

helm/values.production.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
replicaCount: 1
22

33
ingress:
4-
enabled: true
4+
enabled: false
55
hosts:
66
- host: spark-middleware.production.sprk.fi
77
paths:

helm/values.staging.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ingress:
2-
enabled: true
2+
enabled: false
33
hosts:
44
- host: spark-middleware.staging.sprk.fi
55
paths:

helm/values.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
replicaCount: 1
22

3-
fullnameOverride: spark-middleware
4-
envFromSecret: spark-middleware
5-
63
image:
74
repository: harbor.infra.sprk.fi/sprk/spark-middleware
85
pullPolicy: IfNotPresent

0 commit comments

Comments
 (0)