ansible-role-k8s-traefik/templates/traefik-dashboard-svc.yml.j2
Adrien 3bb04bb45c
All checks were successful
continuous-integration/drone/push Build is passing
Work on PodSecurityPolicy
2020-10-10 00:30:36 +02:00

24 lines
379 B
Django/Jinja

apiVersion: v1
kind: Service
metadata:
labels:
app: traefik
name: traefik-dashboard
namespace: {{ traefik_namespace }}
spec:
ports:
- name: http
port: 80
protocol: TCP
targetPort: 80
# - name: traefik
# port: 8080
# protocol: TCP
- protocol: TCP
port: 443
name: https
targetPort: 443
type: ClusterIP
selector:
app: traefik