Skip to content

Commit

Permalink
- revert service port change
Browse files Browse the repository at this point in the history
- change default port to 8080
- add probes
  • Loading branch information
deer-wmde committed Jan 6, 2025
1 parent 9f87303 commit aae9581
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 deletions.
21 changes: 9 additions & 12 deletions charts/tool-querybuilder/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,16 @@ spec:
value: {{ .Values.app.siConversionProperty | quote }}
ports:
- name: http
containerPort: 80
containerPort: 8080
protocol: TCP
- name: https
containerPort: 443
protocol: TCP
# livenessProbe:
# httpGet:
# path: /
# port: http
# readinessProbe:
# httpGet:
# path: /
# port: http
livenessProbe:
httpGet:
path: /querybuilder/
port: http
readinessProbe:
httpGet:
path: /querybuilder/
port: http
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.nodeSelector }}
Expand Down
2 changes: 1 addition & 1 deletion charts/tool-querybuilder/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ securityContext: {}

service:
type: ClusterIP
port: 8080
port: 80

resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
Expand Down

0 comments on commit aae9581

Please sign in to comment.