update ingress version in ks-core chart

Signed-off-by: Roland.Ma <rolandma@kubesphere.io>
This commit is contained in:
Roland.Ma
2021-09-26 07:36:52 +00:00
parent 15205cbc40
commit 5ad7d16788
4 changed files with 12 additions and 5 deletions

View File

@@ -43,12 +43,14 @@ spec:
volumeMounts: volumeMounts:
- mountPath: /var/run/docker.sock - mountPath: /var/run/docker.sock
name: docker-sock name: docker-sock
readOnly: true
- mountPath: /etc/kubesphere/ingress-controller - mountPath: /etc/kubesphere/ingress-controller
name: ks-router-config name: ks-router-config
- mountPath: /etc/kubesphere/ - mountPath: /etc/kubesphere/
name: kubesphere-config name: kubesphere-config
- mountPath: /etc/localtime - mountPath: /etc/localtime
name: host-time name: host-time
readOnly: true
{{- if .Values.apiserver.extraVolumeMounts }} {{- if .Values.apiserver.extraVolumeMounts }}
{{- toYaml .Values.apiserver.extraVolumeMounts | nindent 8 }} {{- toYaml .Values.apiserver.extraVolumeMounts | nindent 8 }}
{{- end }} {{- end }}

View File

@@ -36,6 +36,7 @@ spec:
name: sample-bookinfo name: sample-bookinfo
- mountPath: /etc/localtime - mountPath: /etc/localtime
name: host-time name: host-time
readOnly: true
{{- if .Values.console.extraVolumeMounts }} {{- if .Values.console.extraVolumeMounts }}
{{- toYaml .Values.console.extraVolumeMounts | nindent 8 }} {{- toYaml .Values.console.extraVolumeMounts | nindent 8 }}
{{- end }} {{- end }}

View File

@@ -52,6 +52,7 @@ spec:
name: webhook-secret name: webhook-secret
- mountPath: /etc/localtime - mountPath: /etc/localtime
name: host-time name: host-time
readOnly: true
{{- if .Values.controller.extraVolumeMounts }} {{- if .Values.controller.extraVolumeMounts }}
{{- toYaml .Values.controller.extraVolumeMounts | nindent 8 }} {{- toYaml .Values.controller.extraVolumeMounts | nindent 8 }}
{{- end }} {{- end }}

View File

@@ -355,7 +355,7 @@ data:
targetPort: 9080 targetPort: 9080
--- ---
apiVersion: extensions/v1beta1 apiVersion: networking.k8s.io/v1
kind: Ingress kind: Ingress
metadata: metadata:
namespace: servicemesh namespace: servicemesh
@@ -367,10 +367,13 @@ data:
rules: rules:
- http: - http:
paths: paths:
- path: / - backend:
backend: service:
serviceName: productpage name: productpage
servicePort: 9080 port:
number: 9080
path: /
pathType: ImplementationSpecific
host: productpage.servicemesh.139.198.121.92.nip.io host: productpage.servicemesh.139.198.121.92.nip.io
kind: ConfigMap kind: ConfigMap
metadata: metadata: