Skip to content

Commit

Permalink
Merge pull request #9 from akyriako/6-add-umami-chart
Browse files Browse the repository at this point in the history
6 add umami chart
  • Loading branch information
akyriako authored Sep 6, 2024
2 parents fa3ee76 + 6fb707c commit f8b5ebb
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/umami/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.1
version: 0.1.2
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
Expand Down
30 changes: 27 additions & 3 deletions charts/umami/templates/umami.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,36 @@ metadata:
labels:
{{- include "umami.labels" . | nindent 4 }}
spec:
type: ClusterIP
type: NodePort
ports:
- protocol: TCP
name: umami
name: http
port: 5000
targetPort: 5000
selector:
app: umami-web
---
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ include "umami.fullname" . }}-ingress
labels:
{{- include "umami.labels" . | nindent 4 }}
annotations:
kubernetes.io/elb.class: union
kubernetes.io/elb.id: {{ required "ingress.elbId is required" .Values.ingress.elbId }}
kubernetes.io/elb.port: {{ required "ingress.port is required" .Values.ingress.port | quote }}
nginx.ingress.kubernetes.io/rewrite-target: /
spec:
ingressClassName: cce
rules:
- host: {{ required "ingress.host is required" .Values.ingress.host }}
http:
paths:
- backend:
service:
name: {{ include "typesense.fullname" . }}-reverse-proxy
port:
number: {{ required "ingress.port is required" .Values.ingress.port }}
path: /
pathType: ImplementationSpecific
4 changes: 4 additions & 0 deletions charts/umami/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@ web:
imagePullPolicy: IfNotPresent
postgresql:
storageClass: default
ingress:
elbId:
host:
port: 80

0 comments on commit f8b5ebb

Please sign in to comment.