Skip to content

Commit

Permalink
Merge pull request #8 from kuzzleio/fix/kuzzle-container-ports
Browse files Browse the repository at this point in the history
Fix Kuzzle chart container ports
  • Loading branch information
rolljee authored Feb 23, 2023
2 parents 87848c2 + 2ccdf5b commit 3e41f26
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions charts/kuzzle/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ type: application

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 1.0.3
version: 1.0.4

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
appVersion: 1.0.3
appVersion: 1.0.4
22 changes: 11 additions & 11 deletions charts/kuzzle/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ spec:
{{- end }}
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}

# Init containers
{{ if .Values.extraInitContainers }}
initContainers:
Expand All @@ -46,34 +46,34 @@ spec:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.name }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
env:
{{- toYaml .Values.extraEnvs | nindent 12 }}
command:
env:
{{- toYaml .Values.extraEnvs | nindent 12 }}
command:
{{- toYaml .Values.command | nindent 12 }}
args:
args:
{{- toYaml .Values.args | nindent 12 }}
ports:
- name: kuzzle-api
containerPort: {{ .Values.entrypoints.http.port }}
containerPort: {{ .Values.entrypoints.http.targetPort }}
protocol: TCP
- name: cluster-command
containerPort: {{ .Values.entrypoints.cluster_command.port }}
containerPort: {{ .Values.entrypoints.cluster_command.targetPort }}
protocol: TCP
- name: cluster-sync
containerPort: {{ .Values.entrypoints.cluster_sync.port }}
containerPort: {{ .Values.entrypoints.cluster_sync.targetPort }}
protocol: TCP
{{- range .Values.extraEntrypoints }}
- name: {{ .name }}
containerPort: {{ .port }}
containerPort: {{ .targetPort }}
protocol: {{ .protocol }}
{{- end }}
{{- with .Values.probes.liveness }}
livenessProbe:
{{- toYaml . | nindent 12 }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.probes.readiness }}
readinessProbe:
{{- toYaml . | nindent 12 }}
{{- toYaml . | nindent 12 }}
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
Expand Down

0 comments on commit 3e41f26

Please sign in to comment.