Use the product and image name for the chart, release, namespace, secrets, container and rendered file paths. The application package and local config paths keep their existing names. Bump the chart to 0.1.2 so the new chart name and paths are a distinct release. CI now publishes oci://gitea.tap-tap.win/taptap/charts/audiomanager.
34 lines
915 B
YAML
34 lines
915 B
YAML
{{- if .Values.ingress.enabled }}
|
|
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: {{ include "audiomanager.fullname" . }}
|
|
labels:
|
|
{{- include "audiomanager.labels" . | nindent 4 }}
|
|
{{- with .Values.ingress.annotations }}
|
|
annotations:
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
spec:
|
|
{{- with .Values.ingress.className }}
|
|
ingressClassName: {{ . }}
|
|
{{- end }}
|
|
{{- if .Values.ingress.tls.enabled }}
|
|
tls:
|
|
- hosts:
|
|
- {{ .Values.ingress.host | quote }}
|
|
secretName: {{ .Values.ingress.tls.secretName }}
|
|
{{- end }}
|
|
rules:
|
|
- host: {{ .Values.ingress.host | quote }}
|
|
http:
|
|
paths:
|
|
- path: {{ .Values.ingress.path }}
|
|
pathType: {{ .Values.ingress.pathType }}
|
|
backend:
|
|
service:
|
|
name: {{ include "audiomanager.fullname" . }}
|
|
port:
|
|
name: http
|
|
{{- end }}
|