diff --git a/argocd/apps/traefik.yaml b/argocd/apps/traefik.yaml index 0f041a3..01ea54a 100644 --- a/argocd/apps/traefik.yaml +++ b/argocd/apps/traefik.yaml @@ -17,6 +17,9 @@ spec: values: | deployment: kind: DaemonSet + podAnnotations: + prometheus.io/scrape: "true" + prometheus.io/port: "9100" ingressClass: enabled: true @@ -36,16 +39,23 @@ spec: web: port: 8080 exposedPort: 80 - redirectTo: websecure + http: + redirections: + entryPoint: + to: websecure + scheme: https + permanent: true websecure: port: 8443 exposedPort: 443 metrics: port: 9100 - expose: false + expose: + default: false traefik: port: 9000 - expose: false + expose: + default: false service: type: LoadBalancer @@ -54,10 +64,6 @@ spec: service.beta.kubernetes.io/yandex-load-balancer-specification: '{"type": "network-load-balancer"}' service.beta.kubernetes.io/yandex-load-balancer-type: external - podAnnotations: - prometheus.io/scrape: "true" - prometheus.io/port: "9100" - resources: requests: cpu: 100m