diff --git a/app/Chart.yaml b/app/Chart.yaml index 56fb0ea..f0834d6 100644 --- a/app/Chart.yaml +++ b/app/Chart.yaml @@ -15,10 +15,10 @@ 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.0 +version: 0.1.1 # 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. # It is recommended to use it with quotes. -appVersion: "0.1.0" +appVersion: "0.1.1" diff --git a/app/templates/ingressroute.yaml b/app/templates/ingressroute.yaml index c5bfbc5..d6d79fc 100644 --- a/app/templates/ingressroute.yaml +++ b/app/templates/ingressroute.yaml @@ -12,12 +12,13 @@ spec: routes: - match: Host(`{{ .Values.ingressRoute.host }}`) kind: Rule + middlewares: {{ .Values.ingressRoute.middlewares }} services: - name: {{ include "app.fullname" . }} port: {{ .Values.service.port }} {{- with .Values.ingressRoute.additionalRoutes }} {{- toYaml . | nindent 4 }} - {{- end }} + {{- end }} {{- if .Values.ingressRoute.tlsName }} tls: diff --git a/app/values.yaml b/app/values.yaml index fbeb2f3..396f4d8 100644 --- a/app/values.yaml +++ b/app/values.yaml @@ -1,10 +1,10 @@ replicaCount: 1 image: - repository: alpine + repository: nginx pullPolicy: Always # IfNotPresent - tag: "latest" + tag: "alpine" imagePullSecrets: [] nameOverride: "" @@ -58,6 +58,7 @@ ingressRoute: # - web host: "" tlsName: "" + middlewares: [] additionalRoutes: [] # - kind: Rule # match: Host(`host`) && PathPrefix(`/api`)