Skip to content

Commit a74befb

Browse files
committed
fix: correct value keys
1 parent f47cc6a commit a74befb

File tree

2 files changed

+25
-26
lines changed

2 files changed

+25
-26
lines changed

charts/cirrina/templates/deployment.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
app.kubernetes.io/name: {{ include "cirrina.name" . }}
88
app.kubernetes.io/instance: {{ .Release.Name }}
99
spec:
10-
replicas: {{ .Values.cirrina.replicaCount }}
10+
replicas: {{ .Values.replicaCount }}
1111
selector:
1212
matchLabels:
1313
app.kubernetes.io/name: {{ include "cirrina.name" . }}
@@ -20,19 +20,19 @@ spec:
2020
spec:
2121
containers:
2222
- name: cirrina
23-
image: "{{ .Values.cirrina.image.repository }}:{{ .Values.cirrina.image.tag }}"
23+
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
2424
imagePullPolicy: IfNotPresent
2525
env:
2626
- name: APP_PATH
27-
value: {{ .Values.cirrina.appPath | quote }}
27+
value: {{ .Values.appPath | quote }}
2828
- name: SERVICE_BINDINGS_PATH
29-
value: {{ .Values.cirrina.serviceBindingsPath | quote }}
29+
value: {{ .Values.serviceBindingsPath | quote }}
3030
- name: INSTANTIATE
31-
value: {{ .Values.cirrina.instantiate | quote }}
31+
value: {{ .Values.instantiate | quote }}
3232
- name: NATS_EVENT_URL
33-
value: {{ .Values.cirrina.natsEventUrl | quote }}
33+
value: {{ .Values.natsEventUrl | quote }}
3434
- name: NATS_CONTEXT_URL
35-
value: {{ .Values.cirrina.natsContextUrl | quote }}
36-
{{- if .Values.cirrina.extraEnvVars }}
37-
{{- toYaml .Values.cirrina.extraEnvVars | nindent 12 }}
35+
value: {{ .Values.natsContextUrl | quote }}
36+
{{- if .Values.extraEnvVars }}
37+
{{- toYaml .Values.extraEnvVars | nindent 12 }}
3838
{{- end }}

charts/cirrina/values.yaml

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,21 @@
1-
cirrina:
2-
# Docker image configuration
3-
image:
4-
repository: marlonetheredgeuibk/cirrina
5-
tag: latest
6-
replicaCount: 1
1+
# Docker image configuration
2+
image:
3+
repository: marlonetheredgeuibk/cirrina
4+
tag: latest
5+
replicaCount: 1
76

8-
# Application path must be a URL
9-
appPath: ""
7+
# Application path must be a URL
8+
appPath: ""
109

11-
# Service implementation bindings path must be a URL
12-
serviceBindingsPath: ""
10+
# Service implementation bindings path must be a URL
11+
serviceBindingsPath: ""
1312

14-
# Instantiation of state machines must be valid state machine names
15-
instantiate: ""
13+
# Instantiation of state machines must be valid state machine names
14+
instantiate: ""
1615

17-
# NATS server URLs
18-
natsEventUrl: ""
19-
natsContextUrl: ""
16+
# NATS server URLs
17+
natsEventUrl: ""
18+
natsContextUrl: ""
2019

21-
# Extra environment variables for the container
22-
extraEnvVars: [ ]
20+
# Extra environment variables for the container
21+
extraEnvVars: [ ]

0 commit comments

Comments
 (0)