Merge branch 'feat/service-fix' into 'master'
Fix typo in matrix-synapse/service See merge request ananace/charts!24
This commit is contained in:
commit
a441d78848
4 changed files with 9 additions and 9 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 }}
|
||||
|
|
|
@ -8,7 +8,7 @@ metadata:
|
|||
spec:
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- port: {{ .Values.serviceport | default 8008 }}
|
||||
- port: {{ .Values.service.port }}
|
||||
targetPort: {{ .Values.service.targetPort | default "http" }}
|
||||
protocol: TCP
|
||||
name: http
|
||||
|
|
|
@ -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