diff --git a/manifests/grafana/ingress.yaml b/manifests/grafana/ingress.yaml index 75850f9..ffcef31 100644 --- a/manifests/grafana/ingress.yaml +++ b/manifests/grafana/ingress.yaml @@ -1,23 +1,16 @@ -apiVersion: networking.k8s.io/v1 -kind: Ingress +apiVersion: traefik.containo.us/v1alpha1 +kind: IngressRoute metadata: name: grafana-ingress namespace: monitoring annotations: kubernetes.io/ingress.class: "traefik-inter" spec: - tls: - - secretName: grafana-beta-tls - hosts: - - grafana.beta.entos - rules: - - host: grafana.beta.entos - http: - paths: - - path: / - pathType: Prefix - backend: - service: - name: grafana-svc - port: - number: 80 + entryPoints: + - websecure + routes: + - kind: Rule + match: Host(`grafana.entos`) + services: + - name: grafana-svc + port: 80 diff --git a/manifests/prometheus/ingress.yaml b/manifests/prometheus/ingress.yaml index 63da815..fb18ff6 100644 --- a/manifests/prometheus/ingress.yaml +++ b/manifests/prometheus/ingress.yaml @@ -1,23 +1,16 @@ -apiVersion: networking.k8s.io/v1 -kind: Ingress +apiVersion: traefik.containo.us/v1alpha1 +kind: IngressRoute metadata: name: prometheus-ingress namespace: monitoring annotations: kubernetes.io/ingress.class: "traefik-inter" spec: - tls: - - secretName: prometheus-beta-tls - hosts: - - prometheus.beta.entos - rules: - - host: prometheus.beta.entos - http: - paths: - - path: / - pathType: Prefix - backend: - service: - name: prometheus-svc - port: - number: 9090 + entryPoints: + - websecure + routes: + - kind: Rule + match: Host(`prometheus.entos`) + services: + - name: prometheus-svc + port: 80 diff --git a/manifests/secrets.yaml b/manifests/secrets.yaml index 85e3f8a..b48946a 100644 --- a/manifests/secrets.yaml +++ b/manifests/secrets.yaml @@ -8,8 +8,8 @@ metadata: spec: project: default source: - repoURL: https://git.halis.io/athens-school/k3s-secrets.git - targetRevision: dev + repoURL: https://git.halia.dev/athens-school/k3s-secrets.git + targetRevision: prod-migration path: monitoring syncPolicy: automated: