Skip to content

Traefik

OpenUnison's helm charts can generate the correct Service and Ingress objects for the Traefik Ingress Controller. Traefik requires that a downstream service's certificate be explicitly trusted, either by trusting the certificate or its signing CA. This means that you'll need to either:

  • **Trust the unison-tls Secret - ** You can configure your Traefik controller to explicitly trust the certificates generated by OpenUnison
  • Have OpenUnison's certificates generated by a 3rd part CA and trust the CA - Use a tool like Let's Encrypt to generate the unison-tls Secret instead of OpenUnison's own operator, then trust that CA
  • Disable downstream TLS verification - Add the --serverstransport.insecureskipverify=true parameter to the command in Traefik's DaemonSet/Deployment

Once you decide how you want Traefik to trust or verify OpenUnison's internal certificate, configure your values.yaml to use Traefik by setting network.ingress_type to traefik. The helm charts will create all of the appropriate Service annotations and Ingress configurations for you. The charts assume that you have an insecure entrypoint called web and a secure entrypoint called websecure. You can configure these defaults by adding a traefik section to the network block in your values.yaml:

netowork:
  traefik:
    secure: true
    entrypoints:
      plaintext: web
      tls: websecure

*** Using kubectl exec/cp/port-forward on Managed Clusters***

The kubectl exec/cp/port-forward commands all use the SPDY protocol which is not supported by Traefik. When using OpenUnison with impersonation: true on a managed cluster, the helm charts configure Traefik to use pass-through TLS to interact directly with the OpenUnison pods. The kubectl configuration file includes the unison-tls certificate instead of the Ingress certificate. This does not impact interaction with the portal.

*** Securely Exposing the Traefik Dashboard ***

To securely expose the Traefik Dashboard:

  • Enable the dashboard and api in traefik
  • Create a Service to port 9000, ie:
kind: Service
apiVersion: v1
metadata:
  name: traefik-dashboard
  namespace: kube-system
spec:
  selector:
    app.kubernetes.io/name: traefik
  ports:
  - protocol: TCP
    port: 9000
    targetPort: 9000
  • Add the following to your deployment, with customizations as noted:
---
apiVersion: openunison.tremolo.io/v1
kind: Application
metadata:
  name: traefik-dashboard
  namespace: openunison
spec:
  azTimeoutMillis: 3000
  isApp: true
  urls:
  - hosts:
    - "#[OU_HOST]"
    filterChain: []
    uri: "/dashboard"
    proxyTo: "http://traefik-dashboard.kube-system.svc:9000${fullURI}"
    authChain: login-service
    azRules:
    - scope: filter
      constraint: (groups=admins)
    results:
      azFail: default-login-failure
  - hosts:
    - "#[OU_HOST]"
    filterChain: []
    uri: "/api"
    proxyTo: "http://traefik-dashboard.kube-system.svc:9000${fullURI}"
    authChain: login-service
    azRules:
    - scope: filter
      constraint: (groups=admins)
    results:
      azFail: default-login-failure
  cookieConfig:
    sessionCookieName: tremolosession
    domain: "#[OU_HOST]"
    secure: true
    httpOnly: true
    logoutURI: "/logout"
    keyAlias: session-unison
---
apiVersion: openunison.tremolo.io/v1
kind: PortalUrl
metadata:
  name: traefik-dashboard
  namespace: openunison
spec:
  label: Dashboard
  org: B158BD40-0C1B-11E3-8FFD-0800200C9A66
  url: https://#[OU_HOST]/dashboard/
  icon: iVBORw0KGgoAAAANSUhEUgAAANIAAADwCAYAAAB1/Tp/AAABg2lDQ1BJQ0MgcHJvZmlsZQAAKJF9kT1Iw0AcxV9TRZFKB4uIOGSoThZEizhqFYpQIdQKrTqYXPoFTRqSFBdHwbXg4Mdi1cHFWVcHV0EQ/ABxdHJSdJES/5cUWsR4cNyPd/ced+8AoVFhmtU1AWi6baaTCTGbWxV7XiFgEGHEEZOZZcxJUgq+4+seAb7exXiW/7k/R7+atxgQEIlnmWHaxBvE05u2wXmfOMJKskp8Tjxu0gWJH7muePzGueiywDMjZiY9TxwhFosdrHQwK5kacZw4qmo65QtZj1XOW5y1So217slfGMrrK8tcpzmCJBaxBAkiFNRQRgU2YrTqpFhI037Cxz/s+iVyKeQqg5FjAVVokF0/+B/87tYqTE16SaEE0P3iOB+jQM8u0Kw7zvex4zRPgOAzcKW3/dUGMPNJer2tRY+A8DZwcd3WlD3gcgcYejJkU3alIE2hUADez+ibcsDALdC35vXW2sfpA5ChrlI3wMEhMFak7HWfd/d29vbvmVZ/P8LNcscukfolAAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH5gIWEBMj3NWajAAAIABJREFUeNrtnXl4lNX59z/3MzNJWAWpC7g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Z+znDUsEtX93YxpqTLLiJ92BWIl5D62FWFoybp+y77LcLkS1C/s8Os798TDBqC3FXmb04PmOpfWc6stp/u2BlvRqbcExbon2TyK1qG1TMCnTr1sybbOfT6wUuMZOejoHkcOBxXZh7xLAs48ECjHBn+9agrY85yYrKc+1kjTcBXIeZzeKr9Czc8IQ5qD2TbpW+6Itcmit6/AjXChavyZS+516R2uAT7E7ZE8mN4fMpEeHrH2zDyaztbuBs0EW/uzOtUZbabqS9Gpn9FsMlsotPubcZX1A18tU+H/CGuc9DU8KMo6tO9c61Tot/sAAC07tSKd2cAgSozChRmuAf5J+SWhHJAcHTAjSeMwZ1lOD5aUdkRyCxGhM0OpQTBBrwhHJwSF97IuJvqjBHAjjiOTgkB4iwOmYw+I/MoDqMQwmIiXavEvCrek+wSjMudNTmBAjHUwvP1ByQzZa/fwhzFmSQ+/DxxwiL8QEDQ8qIv0/i8Zd7ux6lM0AAAAASUVORK5CYII=
  azRules:
  - constraint: (groups=admins)
    scope: filter

You'll want to make the following customizations:

Location Description Example
Application/traefik-dashboard
spec.urls[0].proxyTo The URL inside your cluster for the dashboard, based on the Service created above, example is based on Civo standard deployment "http://traefik-dashboard.kube-system.svc:9000${fullURI}"
spec.urls[0].azRules[0].constraint A group that is allowed to access the dashboard, assuming you don't want everyone to have access (groups=admins)
spec.urls[1].proxyTo The URL inside your cluster for the dashboard, based on the Service created above, example is based on Civo standard deployment "http://traefik-dashboard.kube-system.svc:9000${fullURI}"
spec.urls[1].azRules[0].constraint A group that is allowed to access the dashboard, assuming you don't want everyone to have access (groups=admins)
PortalUrl/traefik-dashboard
spec.azRules[0].constraint A group that is allowed to access the dashboard, assuming you don't want everyone to have access (groups=admins)

If all goes well, when you login with the appropriate permissions you'll see image

Return to deployment