@@ -6,7 +6,7 @@ metadata:
66 labels :
77 app : webhook
88spec :
9- replicas : {{ .Values.matrixWebHook. replicas }}
9+ replicas : {{ .Values.replicas }}
1010 selector :
1111 matchLabels :
1212 app : webhook
@@ -17,34 +17,34 @@ spec:
1717 spec :
1818 containers :
1919 - name : webhook
20- image : {{ .Values.matrixWebHook. image.repository }}:{{ .Values.matrixWebHook .image.tag }}
21- imagePullPolicy : {{ .Values.matrixWebHook. image.pullPolicy }}
20+ image : {{ .Values.image.repository }}:{{ .Values.image.tag }}
21+ imagePullPolicy : {{ .Values.image.pullPolicy }}
2222 resources :
23- {{ toYaml .Values.matrixWebHook. resources | nindent 10 }}
23+ {{ toYaml .Values.resources | nindent 10 }}
2424 args : ["-vvvvvvvvvvvvvvvvvvvvv"]
2525 env :
2626 - name : MATRIX_URL
27- value : " https://{{ .Values.server_name }}"
27+ value : " https://{{ .Values.ingress.host }}"
2828 - name : MATRIX_ID
29- value : " {{ .Values.matrixWebHook. matrix.id }}"
29+ value : " {{ .Values.matrix.id }}"
3030 - name : MATRIX_PW
31- value : " {{ .Values.matrixWebHook. matrix.password }}"
31+ value : " {{ .Values.matrix.password }}"
3232 - name : API_KEY
33- value : " {{ .Values.matrixWebHook. matrix.apiKey }}"
33+ value : " {{ .Values.matrix.apiKey }}"
3434 ports :
3535 - containerPort : 4785
3636 name : webhook
3737 protocol : TCP
3838 terminationGracePeriodSeconds : 10
39- {{- if .Values.matrixWebHook. nodeSelector }}
39+ {{- if .Values.nodeSelector }}
4040 nodeSelector :
41- {{ toYaml .Values.matrixWebHook. nodeSelector | nindent 8 }}
41+ {{ toYaml .Values.nodeSelector | nindent 8 }}
4242 {{- end }}
43- {{- if .Values.matrixWebHook. tolerations }}
43+ {{- if .Values.tolerations }}
4444 tolerations :
45- {{ toYaml .Values.matrixWebHook. tolerations | nindent 8 }}
45+ {{ toYaml .Values.tolerations | nindent 8 }}
4646 {{- end }}
47- {{- if .Values.matrixWebHook. affinity }}
47+ {{- if .Values.affinity }}
4848 affinity :
49- {{ toYaml .Values.matrixWebHook. affinity | nindent 8 }}
49+ {{ toYaml .Values.affinity | nindent 8 }}
5050 {{- end }}
0 commit comments