Skip to content

Commit

Permalink
Merge pull request #108 from wojiushixiaobai/main
Browse files Browse the repository at this point in the history
fix: 修正端口获取
  • Loading branch information
wojiushixiaobai authored Oct 25, 2022
2 parents 5f8fac1 + c20199b commit 414f88f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/jumpserver/templates/magnus/deployment-magnus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,15 @@ spec:
{{- else }}
failureThreshold: 30
tcpSocket:
port: magnus-{{ template "jumpserver.magnus.port.start" }}
port: magnus-{{ $magnusPortStart }}
{{- end }}
readinessProbe:
{{- if .readinessProbe }}
{{- toYaml .readinessProbe | nindent 12 }}
{{- else }}
failureThreshold: 30
tcpSocket:
port: magnus-{{ template "jumpserver.magnus.port.start" }}
port: magnus-{{ $magnusPortStart }}
{{- end }}
resources:
{{- toYaml .resources | nindent 12 }}
Expand Down

0 comments on commit 414f88f

Please sign in to comment.