fix(matrix-synapse): replace 8008 with port variable
This commit is contained in:
parent
003aa144ac
commit
c99918b413
3 changed files with 8 additions and 8 deletions
|
@ -139,11 +139,11 @@ spec:
|
|||
service:
|
||||
name: {{ $fullName }}
|
||||
port:
|
||||
number: 8008
|
||||
number: {{ $.Values.service.port }}
|
||||
pathType: Prefix
|
||||
{{- else }}
|
||||
serviceName: {{ $fullName }}
|
||||
servicePort: 8008
|
||||
servicePort: {{ $.Values.service.port }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
|
@ -154,11 +154,11 @@ spec:
|
|||
service:
|
||||
name: {{ $fullName }}
|
||||
port:
|
||||
number: 8008
|
||||
number: {{ $.Values.service.port }}
|
||||
pathType: Prefix
|
||||
{{- else }}
|
||||
serviceName: {{ $fullName }}
|
||||
servicePort: 8008
|
||||
servicePort: {{ $.Values.service.port }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
|
@ -195,11 +195,11 @@ spec:
|
|||
service:
|
||||
name: {{ $fullName }}
|
||||
port:
|
||||
number: 8008
|
||||
number: {{ $.Values.service.port }}
|
||||
pathType: Exact
|
||||
{{- else }}
|
||||
serviceName: {{ $fullName }}
|
||||
servicePort: 8008
|
||||
servicePort: {{ $.Values.service.port }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
|
|
@ -12,5 +12,5 @@ spec:
|
|||
- name: wget
|
||||
image: busybox
|
||||
command: ['wget']
|
||||
args: ['{{ include "matrix-synapse.fullname" . }}:8008/_matrix/client/versions']
|
||||
args: ['{{ include "matrix-synapse.fullname" . }}:{{ $.Values.service.port }}/_matrix/client/versions']
|
||||
restartPolicy: Never
|
||||
|
|
|
@ -29,7 +29,7 @@ data:
|
|||
worker_name: {{ $config.name }}
|
||||
{{- end }}
|
||||
|
||||
worker_main_http_uri: http://{{ include "matrix-synapse.fullname" $ }}:8008
|
||||
worker_main_http_uri: http://{{ include "matrix-synapse.fullname" $ }}:{{ $.Values.service.port }}
|
||||
worker_replication_host: {{ include "matrix-synapse.replicationname" $ | quote }}
|
||||
worker_replication_http_port: 9093
|
||||
|
||||
|
|
Loading…
Reference in a new issue