traefik with IngressRoute for rpuppy
diff --git a/apps/rpuppy/install.yaml b/apps/rpuppy/install.yaml
index bf2d666..2ddff28 100644
--- a/apps/rpuppy/install.yaml
+++ b/apps/rpuppy/install.yaml
@@ -4,8 +4,8 @@
 metadata:
   name: app-rpuppy
 ---
-kind: Service 
 apiVersion: v1
+kind: Service 
 metadata:
   name: rpuppy
   namespace: app-rpuppy
@@ -18,8 +18,26 @@
       port: 80
       targetPort: 1234
 ---
-kind: Deployment
+apiVersion: traefik.containo.us/v1alpha1
+kind: IngressRoute
+metadata:
+  name: ingress
+  namespace: app-rpuppy
+spec:
+  entryPoints:
+    - web
+  routes:
+  - kind: Rule
+    match: PathPrefix(`/rpuppy`)
+    services:
+    - kind: Service
+      name: rpuppy
+      namespace: app-rpuppy
+      passHostHeader: true
+      port: 80
+---
 apiVersion: apps/v1
+kind: Deployment
 metadata:
   name: rpuppy
   namespace: app-rpuppy
diff --git a/rpi/setup.sh b/rpi/setup.sh
index 290d42e..1565d8a 100644
--- a/rpi/setup.sh
+++ b/rpi/setup.sh
@@ -29,3 +29,14 @@
 kubectl get pods -A
 # pcloud@rpi
 rm k3s.yaml
+
+
+
+### ingress
+## traefik 2.0
+helm repo add traefik https://containous.github.io/traefik-helm-chart
+helm repo update
+kubectl create namespace traefik
+helm --namespace=traefik install traefik traefik/traefik \
+     --set additionalArguments="{--providers.kubernetesingress,--global.checknewversion=true}" \
+     --set ports.traefik.expose=True