Skip to content

Commit

Permalink
feat: expose on tailscale
Browse files Browse the repository at this point in the history
  • Loading branch information
Saghen committed Mar 20, 2024
1 parent 79901ba commit a55af61
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ci/chart/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ metadata:
name: {{ .Values.name }}
labels:
app.kubernetes.io/name: {{ .Values.name }}
{{- if .Values.service.annotations }}
annotations:
{{- toYaml .Values.service.annotations | nindent 4 }}
{{- end }}
spec:
type: ClusterIP
ports:
Expand Down
5 changes: 5 additions & 0 deletions ci/chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ image:
pullPolicy: IfNotPresent
tag: ""

service:
annotations:
tailscale.com/expose: "true"
tailscale.com/hostname: "{{ .Values.name }}"

resources:
requests:
cpu: 10m
Expand Down

0 comments on commit a55af61

Please sign in to comment.