helm: change static healthcheck and port

This commit is contained in:
Jens Langhammer 2020-02-21 21:50:16 +01:00
parent 4d5a2d61ff
commit 2a4d68911b
3 changed files with 6 additions and 6 deletions

View File

@ -25,19 +25,19 @@ spec:
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
ports: ports:
- name: http - name: http
containerPort: 8080 containerPort: 80
protocol: TCP protocol: TCP
livenessProbe: livenessProbe:
initialDelaySeconds: 10 initialDelaySeconds: 10
timeoutSeconds: 5 timeoutSeconds: 5
httpGet: httpGet:
path: /-/ping path: /
port: http port: http
readinessProbe: readinessProbe:
initialDelaySeconds: 10 initialDelaySeconds: 10
timeoutSeconds: 5 timeoutSeconds: 5
httpGet: httpGet:
path: /-/ping path: /
port: http port: http
resources: resources:
requests: requests:

View File

@ -11,7 +11,7 @@ metadata:
spec: spec:
type: ClusterIP type: ClusterIP
ports: ports:
- port: 8080 - port: 80
targetPort: http targetPort: http
protocol: TCP protocol: TCP
name: http name: http

View File

@ -24,7 +24,7 @@ class PolicyListView(LoginRequiredMixin, PermissionListMixin, ListView):
model = Policy model = Policy
permission_required = "passbook_core.view_policy" permission_required = "passbook_core.view_policy"
ordering = "order"
template_name = "administration/policy/list.html" template_name = "administration/policy/list.html"
def get_context_data(self, **kwargs): def get_context_data(self, **kwargs):
@ -34,7 +34,7 @@ class PolicyListView(LoginRequiredMixin, PermissionListMixin, ListView):
return super().get_context_data(**kwargs) return super().get_context_data(**kwargs)
def get_queryset(self): def get_queryset(self):
return super().get_queryset().order_by("order").select_subclasses() return super().get_queryset().select_subclasses()
class PolicyCreateView( class PolicyCreateView(