Compare commits
No commits in common. "a5a52b15c85847cd516e3cebd41e565ae4f449c5" and "ee4e749cd36b6e3a2f73fc41844f5b68cf9a1ba1" have entirely different histories.
a5a52b15c8
...
ee4e749cd3
4 changed files with 44 additions and 68 deletions
|
|
@ -84,7 +84,45 @@
|
|||
name: traefik
|
||||
chart_ref: traefik/traefik
|
||||
release_namespace: "{{ traefik_namespace }}"
|
||||
values: "{{ lookup('template', 'traefik-helm-value.yaml.j2') | from_yaml }}"
|
||||
values:
|
||||
image:
|
||||
tag: "{{ traefik_version }}"
|
||||
additionalArguments:
|
||||
- --configFile=/etc/traefik/traefik.yaml
|
||||
# podSecurityPolicy:
|
||||
# enabled: true
|
||||
service:
|
||||
enabled: false
|
||||
ingressRoute:
|
||||
dashboard:
|
||||
enabled: false
|
||||
ingressClass:
|
||||
enabled: true
|
||||
isDefaultClass: true
|
||||
# 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'
|
||||
|
||||
- name: Install traefik configuration
|
||||
k8s:
|
||||
|
|
@ -101,6 +139,6 @@
|
|||
- traefik-files.yml.j2
|
||||
# - traefik-sa.yml.j2
|
||||
- traefik-ingressroute.yml.j2
|
||||
# - traefik-svc.yml.j2
|
||||
- traefik-svc.yml.j2
|
||||
|
||||
tags: traefik
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
apiVersion: cert-manager.io/v1
|
||||
apiVersion: cert-manager.io/v1alpha2
|
||||
kind: Certificate
|
||||
metadata:
|
||||
name: traefik.{{ traefik_domain }}
|
||||
|
|
|
|||
|
|
@ -1,62 +0,0 @@
|
|||
image:
|
||||
tag: "{{ traefik_version }}"
|
||||
additionalArguments:
|
||||
- --configFile=/etc/traefik/traefik.yaml
|
||||
#podSecurityPolicy:
|
||||
# enabled: true
|
||||
service:
|
||||
{% if traefik_external_ips is defined %}
|
||||
type: ClusterIP
|
||||
externalIPs:
|
||||
{% for external_ip in traefik_external_ips %}
|
||||
- {{ external_ip }}
|
||||
{% endfor %}
|
||||
{% elseif %}
|
||||
type: LoadBalancer
|
||||
{% 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'
|
||||
Loading…
Add table
Add a link
Reference in a new issue