Skip to content

Commit

Permalink
Added the ability to set an externalTrafficPolicy for sdi-catalogue
Browse files Browse the repository at this point in the history
  • Loading branch information
sorenroug committed Feb 1, 2024
1 parent edd5f71 commit 8ed1ffa
Show file tree
Hide file tree
Showing 7 changed files with 182 additions and 157 deletions.
325 changes: 169 additions & 156 deletions docs/index.yaml

Large diffs are not rendered by default.

Binary file added docs/sdi-catalogue-0.3.2.tgz
Binary file not shown.
2 changes: 1 addition & 1 deletion sources/sdi-catalogue/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ keywords:
# 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.3.1
version: 0.3.2
3 changes: 3 additions & 0 deletions sources/sdi-catalogue/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ A csw service and front end application to search and find EEA GIS datasets.
## Releases

<dl>
<dt>Version 0.3.2</dt>
<dd>Added the ability to set an externalTrafficPolicy</dd>

<dt>Version 0.3.1</dt>
<dd>Upgraded Apache image due to a security vulnerability in HTTPD 2.4.57.</dd>

Expand Down
3 changes: 3 additions & 0 deletions sources/sdi-catalogue/templates/apache-loadbalancer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ metadata:

spec:
type: {{ .Values.apache.service.type }}
{{- if (or (eq .Values.apache.service.type "LoadBalancer") (eq .Values.apache.service.type "NodePort")) }}
externalTrafficPolicy: {{ .Values.apache.service.externalTrafficPolicy | quote }}
{{- end }}
ports:
- name: http
port: 80
Expand Down
3 changes: 3 additions & 0 deletions sources/sdi-catalogue/templates/proftpd-loadbalancer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ metadata:

spec:
type: {{ .Values.proftpd.service.type }}
{{- if (or (eq .Values.proftpd.service.type "LoadBalancer") (eq .Values.proftpd.service.type "NodePort")) }}
externalTrafficPolicy: {{ .Values.proftpd.service.externalTrafficPolicy | quote }}
{{- end }}
ports:
- name: "ftpdata"
port: 20
Expand Down
3 changes: 3 additions & 0 deletions sources/sdi-catalogue/templates/samba-loadbalancer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ metadata:

spec:
type: {{ .Values.samba.service.type }}
{{- if (or (eq .Values.samba.service.type "LoadBalancer") (eq .Values.samba.service.type "NodePort")) }}
externalTrafficPolicy: {{ .Values.samba.service.externalTrafficPolicy | quote }}
{{- end }}
ports:
- name: netbios
port: 139
Expand Down

0 comments on commit 8ed1ffa

Please sign in to comment.