charts: rpuppy
diff --git a/charts/rpuppy/.helmignore b/charts/rpuppy/.helmignore
new file mode 100644
index 0000000..0e8a0eb
--- /dev/null
+++ b/charts/rpuppy/.helmignore
@@ -0,0 +1,23 @@
+# Patterns to ignore when building packages.
+# This supports shell glob matching, relative path matching, and
+# negation (prefixed with !). Only one pattern per line.
+.DS_Store
+# Common VCS dirs
+.git/
+.gitignore
+.bzr/
+.bzrignore
+.hg/
+.hgignore
+.svn/
+# Common backup files
+*.swp
+*.bak
+*.tmp
+*.orig
+*~
+# Various IDEs
+.project
+.idea/
+*.tmproj
+.vscode/
diff --git a/charts/rpuppy/Chart.yaml b/charts/rpuppy/Chart.yaml
new file mode 100644
index 0000000..2895802
--- /dev/null
+++ b/charts/rpuppy/Chart.yaml
@@ -0,0 +1,6 @@
+apiVersion: v2
+name: rpuppy
+description: A Helm chart for rpuppy
+type: application
+version: 0.0.1
+appVersion: "0.0.1"
diff --git a/charts/rpuppy/templates/install.yaml b/charts/rpuppy/templates/install.yaml
new file mode 100644
index 0000000..2e69ed2
--- /dev/null
+++ b/charts/rpuppy/templates/install.yaml
@@ -0,0 +1,77 @@
+apiVersion: v1
+kind: Service
+metadata:
+ name: rpuppy
+ namespace: {{ .Release.Namespace }}
+spec:
+ type: LoadBalancer
+ selector:
+ app: rpuppy
+ ports:
+ - name: http
+ 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: apps/v1
+kind: Deployment
+metadata:
+ name: rpuppy
+ namespace: {{ .Release.Namespace }}
+spec:
+ selector:
+ matchLabels:
+ app: rpuppy
+ replicas: 1
+ template:
+ metadata:
+ labels:
+ app: rpuppy
+ spec:
+ containers:
+ - name: rpuppy
+ image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
+ imagePullPolicy: {{ .Values.image.pullPolicy }}
+ ports:
+ - name: http
+ containerPort: 8080
+ protocol: TCP
+ command: ["rpuppy", "--port=8080"]
+ resources:
+ requests:
+ memory: "10Mi"
+ cpu: "10m"
+ limits:
+ memory: "20Mi"
+ cpu: "100m"
+ tolerations:
+ - key: "pcloud"
+ operator: "Equal"
+ value: "role"
+ effect: "NoSchedule"
diff --git a/charts/rpuppy/values.yaml b/charts/rpuppy/values.yaml
new file mode 100644
index 0000000..6ea4bbf
--- /dev/null
+++ b/charts/rpuppy/values.yaml
@@ -0,0 +1,4 @@
+image:
+ repository: giolekva/rpuppy-arm
+ tag: latest
+ pullPolicy: Always