mirror of https://github.com/portainer/k8s.git
Fix EE manifests and Helm deployment template
parent
0190fa934f
commit
ea4f8ad6bd
|
@ -62,12 +62,26 @@ spec:
|
|||
- name: http
|
||||
containerPort: 9000
|
||||
protocol: TCP
|
||||
{{- if .Values.enterpriseEdition.enabled }}
|
||||
- name: https
|
||||
containerPort: 9443
|
||||
protocol: TCP
|
||||
protocol: TCP
|
||||
{{- end }}
|
||||
- name: tcp-edge
|
||||
containerPort: 8000
|
||||
protocol: TCP
|
||||
{{- if .Values.enterpriseEdition.enabled }}
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: 9000
|
||||
scheme: HTTP
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: 9000
|
||||
scheme: HTTP
|
||||
{{- else }}
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
|
@ -78,5 +92,6 @@ spec:
|
|||
path: /
|
||||
port: 9443
|
||||
scheme: HTTPS
|
||||
{{- end }}
|
||||
resources:
|
||||
{{- toYaml .Values.resources | nindent 12 }}
|
||||
|
|
|
@ -132,22 +132,19 @@ spec:
|
|||
- name: http
|
||||
containerPort: 9000
|
||||
protocol: TCP
|
||||
- name: https
|
||||
containerPort: 9443
|
||||
protocol: TCP
|
||||
- name: tcp-edge
|
||||
containerPort: 8000
|
||||
protocol: TCP
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: 9443
|
||||
scheme: HTTPS
|
||||
port: 9000
|
||||
scheme: HTTP
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: 9443
|
||||
scheme: HTTPS
|
||||
port: 9000
|
||||
scheme: HTTP
|
||||
resources:
|
||||
{}
|
||||
|
||||
|
|
|
@ -128,22 +128,19 @@ spec:
|
|||
- name: http
|
||||
containerPort: 9000
|
||||
protocol: TCP
|
||||
- name: https
|
||||
containerPort: 9443
|
||||
protocol: TCP
|
||||
- name: tcp-edge
|
||||
containerPort: 8000
|
||||
protocol: TCP
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: 9443
|
||||
scheme: HTTPS
|
||||
port: 9000
|
||||
scheme: HTTP
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: 9443
|
||||
scheme: HTTPS
|
||||
port: 9000
|
||||
scheme: HTTP
|
||||
resources:
|
||||
{}
|
||||
|
||||
|
|
Loading…
Reference in New Issue