Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(helm): support dual stack clusters #2174

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions chart/stirling-pdf/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
apiVersion: v2
appVersion: 0.32.0
description: locally hosted web application that allows you to perform various operations
description:
locally hosted web application that allows you to perform various operations
on PDF files
home: https://github.com/Stirling-Tools/Stirling-PDF
keywords:
- stirling-pdf
- helm
- charts repo
- stirling-pdf
- helm
- charts repo
maintainers:
- name: Stirling-Tools
url: https://github.com/Stirling-Tools/Stirling-PDF
- name: Stirling-Tools
url: https://github.com/Stirling-Tools/Stirling-PDF
name: stirling-pdf-chart
sources:
- https://github.com/Stirling-Tools/Stirling-PDF
- https://github.com/Stirling-Tools/Stirling-PDF
version: 1.1.0
6 changes: 4 additions & 2 deletions chart/stirling-pdf/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# stirling-pdf-chart

![Version: 1.0.0](https://img.shields.io/badge/Version-1.0.0-informational?style=flat-square) ![AppVersion: 0.30.1](https://img.shields.io/badge/AppVersion-0.30.1-informational?style=flat-square)
![Version: 1.1.0](https://img.shields.io/badge/Version-1.1.0-informational?style=flat-square) ![AppVersion: 0.31.1](https://img.shields.io/badge/AppVersion-0.31.1-informational?style=flat-square)

locally hosted web application that allows you to perform various operations on PDF files

Expand All @@ -21,7 +21,7 @@ locally hosted web application that allows you to perform various operations on
Add the following repo to use the chart:

```console
helm repo add stirling-pdf https://stirling-tools.github.io/Stirling-PDF
helm repo add stirling-pdf https://docs.stirlingpdf.com/Stirling-PDF/
```

## Values
Expand Down Expand Up @@ -76,6 +76,8 @@ helm repo add stirling-pdf https://stirling-tools.github.io/Stirling-PDF
| service.annotations | object | `{}` | |
| service.externalPort | int | `8080` | |
| service.externalTrafficPolicy | string | `"Local"` | |
| service.ipFamilies | list | `[]` | Can be IPv4 and/or IPv6 |
| service.ipFamilyPolicy | string | `""` | set the ip family policy to configure dual-stack |
| service.labels | object | `{}` | |
| service.loadBalancerIP | string | `nil` | Only valid if service.type: LoadBalancer |
| service.loadBalancerSourceRanges | list | `[]` | Only valid if service.type: LoadBalancer |
Expand Down
6 changes: 6 additions & 0 deletions chart/stirling-pdf/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ metadata:
{{- end }}
spec:
type: {{ .Values.service.type }}
{{- if .Values.service.ipFamilyPolicy }}
ipFamilyPolicy: {{ .Values.service.ipFamilyPolicy }}
{{- end }}
{{- if .Values.service.ipFamilies }}
ipFamilies: {{ .Values.service.ipFamilies | toYaml | nindent 2 }}
{{- end }}
{{- if (or (eq .Values.service.type "LoadBalancer") (and (eq .Values.service.type "NodePort") (not (empty .Values.service.nodePort)))) }}
externalTrafficPolicy: {{ .Values.service.externalTrafficPolicy }}
{{- end }}
Expand Down
4 changes: 4 additions & 0 deletions chart/stirling-pdf/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ podLabels:
service:
servicename:
type: ClusterIP
# -- set the ip family policy to configure dual-stack
ipFamilyPolicy: ""
# -- Can be IPv4 and/or IPv6
ipFamilies: []
externalTrafficPolicy: Local
# -- Uses pre-assigned IP address from cloud provider
# -- Only valid if service.type: LoadBalancer
Expand Down