ngrok / kubernetes-ingress-controller

The official ngrok Ingress Controller for Kubernetes
https://ngrok.com
MIT License
183 stars 20 forks source link

Lowercase domain name in helm NOTES.txt #336

Closed jonstacks closed 5 months ago

jonstacks commented 5 months ago

Closes: #325

What

Lowercase the host in the ingress rule(s) provided by NOTES.txt after a helm install/upgrade.

How

Just pipe the random alpha num to the lower template function.

Validation

You can make this accessible via ngrok with the following manifest:
--------------------------------------------------------------------------------
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: test-app-1
  namespace: default
spec:
  ingressClassName: ngrok
  rules:
  - host: test-app-1-s3gmyzci.ngrok.app
    http:
      paths:
      - path: /
        pathType: Prefix
        backend:
          service:
            name: test-app-1
            port:
              number: 80
--------------------------------------------------------------------------------
Applying this manifest will make the service "test-app-1"
available on the public internet at "https://test-app-1-s3gmyzci.ngrok.app/".

One example, taken from your cluster, is the Service:
   "test-app-1"

You can make this accessible via ngrok with the following manifest:
--------------------------------------------------------------------------------
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: test-app-1
  namespace: default
spec:
  ingressClassName: ngrok
  rules:
  - host: test-app-1-wussk2wn.ngrok.app
    http:
      paths:
      - path: /
        pathType: Prefix
        backend:
          service:
            name: test-app-1
            port:
              number: 443
--------------------------------------------------------------------------------
Applying this manifest will make the service "test-app-1"
available on the public internet at "https://test-app-1-wussk2wn.ngrok.app/".

Once done, view your edges in the Dashboard https://dashboard.ngrok.com/cloud-edge/edges
Find the tunnels running in your cluster here https://dashboard.ngrok.com/tunnels/agents

If you have any questions or feedback, please join us in https://ngrok.com/slack and let us know!
deployment.apps/ngrok-ingress-controller-kubernetes-ingress-controller-manager restarted

Breaking Changes

No