apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: scc-ingress
  annotations:
    kubernetes.io/ingress.allow-http: 'false'
spec:
  # You should upload a certificate to your Kubernetes platform and refer to it here by secretName.
  # If you do not want to serve SCC over TLS, you can remove or comment out the
  # kubernetes.io/ingress.allow-http annotation above and the tls section below.
  # Note that raw (unencrypted) WebSockets may not work if you are behind a corporate proxy so
  # it is advised that you provide a cert for production and access the SCC service via https:// and wss://
  tls:
    -
      secretName: scc-tls-credentials
  backend:
    serviceName: socketcluster
    servicePort: 8000
