Skip to content

Commit

Permalink
allow annotations on stack nginx service
Browse files Browse the repository at this point in the history
This allows choosing an IP, for example. Or getting an SSL cert
  • Loading branch information
ClashTheBunny committed Aug 27, 2023
1 parent 987e42c commit 857b9a3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tinkerbell/stack/templates/nginx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@ metadata:
app: {{ .Values.stack.name }}
name: {{ .Values.stack.name }}
namespace: {{ .Release.Namespace | quote }}
annotations:
{{- with .Values.stack.service.annotations | default dict }}
{{ toYaml . | nindent 4 }}
{{- end }}
spec:
type: {{ .Values.stack.service.type }}
{{- if eq .Values.stack.service.type "LoadBalancer" }}
Expand Down

0 comments on commit 857b9a3

Please sign in to comment.