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
ports:
- name: http
containerPort: 8080
containerPort: 80
protocol: TCP
livenessProbe:
initialDelaySeconds: 10
timeoutSeconds: 5
httpGet:
path: /-/ping
path: /
port: http
readinessProbe:
initialDelaySeconds: 10
timeoutSeconds: 5
httpGet:
path: /-/ping
path: /
port: http
resources:
requests:

View File

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

View File

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