Skip to content

Commit

Permalink
Merge pull request #55 from foomo/gateway-addToRobots
Browse files Browse the repository at this point in the history
fix: use toYaml for addToRobots
  • Loading branch information
franklinkim authored Jan 2, 2025
2 parents fd6023e + f777d5f commit c9f1274
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions charts/squadron-keel-server/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ annotations:
- name: Chart Source
url: https://github.com/foomo/helm-charts/tree/main/charts/squadron-keel-server
version: 0.2.1
appVersion: 0.2.1
version: 0.2.2
appVersion: 0.2.2
2 changes: 1 addition & 1 deletion charts/squadron-keel-server/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# squadron-keel-server

![Version: 0.2.1](https://img.shields.io/badge/Version-0.2.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.2.1](https://img.shields.io/badge/AppVersion-0.2.1-informational?style=flat-square)
![Version: 0.2.2](https://img.shields.io/badge/Version-0.2.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.2.2](https://img.shields.io/badge/AppVersion-0.2.2-informational?style=flat-square)

Squadron Keel Server Chart

Expand Down
2 changes: 1 addition & 1 deletion charts/squadron-keel-server/templates/gateway.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
spec:
service: http://{{ include "keel.server.fullname" . }}.{{ include "keel.server.namespace" . }}
{{- with .Values.gateway.addToRobots }}
addToRobots: {{ . }}
addToRobots: {{ toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.gateway.sitemap }}
sitemap: {{ . }}
Expand Down
4 changes: 2 additions & 2 deletions charts/squadron-nextjs-server/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ annotations:
- name: Chart Source
url: https://github.com/foomo/helm-charts/tree/main/charts/squadron-nextjs-server
version: 0.1.11
appVersion: 0.1.11
version: 0.1.12
appVersion: 0.1.12
2 changes: 1 addition & 1 deletion charts/squadron-nextjs-server/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# squadron-nextjs-server

![Version: 0.1.11](https://img.shields.io/badge/Version-0.1.11-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.11](https://img.shields.io/badge/AppVersion-0.1.11-informational?style=flat-square)
![Version: 0.1.12](https://img.shields.io/badge/Version-0.1.12-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.12](https://img.shields.io/badge/AppVersion-0.1.12-informational?style=flat-square)

Squadron NextJS Server Chart

Expand Down
4 changes: 2 additions & 2 deletions charts/squadron-nextjs-server/templates/gateway.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ metadata:
spec:
service: http://{{ include "nextjs.server.fullname" . }}.{{ include "nextjs.server.namespace" . }}
{{- with .Values.gateway.addToRobots }}
addToRobots: {{ . }}
addToRobots: {{ toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.gateway.sitemap }}
sitemap: {{ . }}
{{- end }}
{{- with .Values.gateway.expose }}
expose: {{- toYaml . | nindent 4 }}
expose: {{ toYaml . | nindent 4 }}
{{ end }}
{{- end }}

0 comments on commit c9f1274

Please sign in to comment.