diff --git a/charts/fp/templates/traefik.yaml b/charts/fp/templates/traefik.yaml index a724ccc..c2dc1bd 100644 --- a/charts/fp/templates/traefik.yaml +++ b/charts/fp/templates/traefik.yaml @@ -10,23 +10,23 @@ spec: scheme: https permanent: true ---- -apiVersion: v1 -kind: Service -metadata: - name: traefik - namespace: futureporn - annotations: - cert-manager.io/cluster-issuer: "{{ .Values.certManager.issuer }}" - meta.helm.sh/release-name: fp -spec: - type: LoadBalancer - selector: - app: traefik - ports: - - protocol: TCP - port: 443 - targetPort: 8443 +# --- +# apiVersion: v1 +# kind: Service +# metadata: +# name: traefik +# namespace: futureporn +# annotations: + +# meta.helm.sh/release-name: fp +# spec: +# type: LoadBalancer +# selector: +# app: traefik +# ports: +# - protocol: TCP +# port: 443 +# targetPort: 8443 --- apiVersion: networking.k8s.io/v1 diff --git a/infrastructure/controllers/ingress-traefik.yaml b/infrastructure/controllers/ingress-traefik.yaml index 64b5f0d..9a131bd 100644 --- a/infrastructure/controllers/ingress-traefik.yaml +++ b/infrastructure/controllers/ingress-traefik.yaml @@ -26,6 +26,9 @@ spec: namespace: futureporn interval: 12h values: + service: + annotations: + cert-manager.io/cluster-issuer: "letsencrypt-staging" logs: access: enabled: true