rpuppy: chart values
diff --git a/charts/rpuppy/templates/install.yaml b/charts/rpuppy/templates/install.yaml
index 2e69ed2..2080454 100644
--- a/charts/rpuppy/templates/install.yaml
+++ b/charts/rpuppy/templates/install.yaml
@@ -4,7 +4,7 @@
   name: rpuppy
   namespace: {{ .Release.Namespace }}
 spec:
-  type: LoadBalancer
+  type: ClusterIP
   selector:
     app: rpuppy
   ports:
@@ -12,32 +12,45 @@
     port: 80
     targetPort: http
     protocol: TCP
-# ---
-# apiVersion: networking.k8s.io/v1
-# kind: Ingress
-# metadata:
-#   name: ingress
-#   namespace: {{ .Release.Namespace }}
-#   annotations:
-#     cert-manager.io/cluster-issuer: "letsencrypt-prod"
-#     acme.cert-manager.io/http01-edit-in-place: "true"
-# spec:
-#   ingressClassName: nginx
-#   tls:
-#   - hosts:
-#     - woof.lekva.me
-#     secretName: cert-woof.lekva.me
-#   rules:
-#   - host: woof.lekva.me
-#     http:
-#       paths:
-#       - path: /
-#         pathType: Prefix
-#         backend:
-#           service:
-#             name: rpuppy
-#             port:
-#               name: http
+---
+apiVersion: cert-manager.io/v1
+kind: Certificate
+metadata:
+  name: rpuppy
+  namespace: {{ .Release.Namespace }}
+spec:
+  secretName: cert-rpuppy
+  dnsNames:
+    - {{ .Values.domain }}
+  issuerRef:
+    kind: ClusterIssuer
+    name: {{ .Values.certificateIssuer}}
+---
+apiVersion: networking.k8s.io/v1
+kind: Ingress
+metadata:
+  name: ingress
+  namespace: {{ .Release.Namespace }}
+  # annotations:
+  #   cert-manager.io/cluster-issuer: "letsencrypt-prod"
+  #   acme.cert-manager.io/http01-edit-in-place: "true"
+spec:
+  ingressClassName: {{ .Values.ingressClassName }}
+  tls:
+  - hosts:
+    - {{ .Values.domain }}
+    secretName: cert-rpuppy
+  rules:
+  - host: {{ .Values.domain }}
+    http:
+      paths:
+      - path: /
+        pathType: Prefix
+        backend:
+          service:
+            name: rpuppy
+            port:
+              name: http
 ---
 apiVersion: apps/v1
 kind: Deployment
diff --git a/charts/rpuppy/values.yaml b/charts/rpuppy/values.yaml
index 6ea4bbf..b222fba 100644
--- a/charts/rpuppy/values.yaml
+++ b/charts/rpuppy/values.yaml
@@ -2,3 +2,6 @@
   repository: giolekva/rpuppy-arm
   tag: latest
   pullPolicy: Always
+ingressClassName: ingress-public
+certificateIssuer: example-public
+domain: woof.example.com