All checks were successful
continuous-integration/drone/push Build is passing
60 lines
No EOL
1.2 KiB
Django/Jinja
60 lines
No EOL
1.2 KiB
Django/Jinja
#image:
|
|
# tag: "{{ traefik_version }}"
|
|
additionalArguments:
|
|
- --configFile=/etc/traefik/traefik.yaml
|
|
#podSecurityPolicy:
|
|
# enabled: true
|
|
service:
|
|
type: {{ traefik_service_type }}
|
|
{% if traefik_external_ips is defined %}
|
|
externalIPs:
|
|
{% for external_ip in traefik_external_ips %}
|
|
- {{ external_ip }}
|
|
{% endfor %}
|
|
{% endif %}
|
|
ingressRoute:
|
|
dashboard:
|
|
enabled: false
|
|
podDisruptionBudget:
|
|
enabled: true
|
|
minAvailable: 1
|
|
ingressClass:
|
|
enabled: true
|
|
isDefaultClass: true
|
|
autoscaling:
|
|
enabled: true
|
|
minReplicas: 1
|
|
maxReplicas: 10
|
|
metrics:
|
|
- type: Resource
|
|
resource:
|
|
name: cpu
|
|
targetAverageUtilization: 60
|
|
- type: Resource
|
|
resource:
|
|
name: memory
|
|
targetAverageUtilization: 60
|
|
#ports:
|
|
# web:
|
|
# redirectTo: websecure
|
|
# hostPort: 80
|
|
# websecure:
|
|
# hostPort: 443
|
|
# tls:
|
|
# enabled: true
|
|
# options: default
|
|
volumes:
|
|
- mountPath: /etc/traefik
|
|
name: traefik-conf
|
|
type: configMap
|
|
- mountPath: /etc/traefik/file
|
|
name: traefik-files
|
|
type: configMap
|
|
- mountPath: /etc/traefik/basic-auth
|
|
name: basic-auth
|
|
type: secret
|
|
deployment:
|
|
replicas: 1
|
|
podAnnotations:
|
|
prometheus.io/port: '9000'
|
|
prometheus.io/scrape: 'true' |