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

Added LoadbalancerClass (1.22) #62

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion helm/wireguard/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: wireguard
description: A Helm chart for managing a wireguard vpn in kubernetes
type: application
version: 0.26.0
version: 0.27.0
appVersion: "0.0.0"
maintainers:
- name: bryopsida
3 changes: 2 additions & 1 deletion helm/wireguard/README.md
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a badge with the version in the README.md, you can automatically update it if you run make docs-update. If you prefer to manually update it looks like it's just missing the change from 0.26.0 -> 0.27.0

Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ A Helm chart for managing a wireguard vpn in kubernetes
| resources.requests.memory | string | `"256Mi"` | |
| runPodOnHostNetwork | bool | `false` | Run pod on host network |
| runtimeClassName | string | `nil` | Override the default runtime class of the container, if not provided `runc` will most likely be used |
| secretName | string | `nil` | Name of a secret with a wireguard private key on key privatekey, if not provided on first install a hook generates one. |
| secretName | string | `nil` | Name of a secret with a wireguard private key on key privatekey, if not provided on first install a hook generates one |
| securityContext.allowPrivilegeEscalation | bool | `true` | |
| securityContext.privileged | bool | `false` | |
| securityContext.readOnlyRootFilesystem | bool | `true` | |
Expand All @@ -120,6 +120,7 @@ A Helm chart for managing a wireguard vpn in kubernetes
| service.enabled | bool | `true` | Whether the service will be created or not |
| service.externalTrafficPolicy | string | `""` | External Traffic Policy for the service |
| service.extraPorts | list | `[]` | Extra ports that can be attached to the service object, these are passed directly to the port array on the service and must be well formed to the specification |
| service.loadBalancerClass | string | `""` | loadBalancerClass for kubernetes clusters with multiple load balancer classes. This value cannot be used in a upgrade flow |
| service.loadBalancerIP | string | `""` | IP to assign to the LoadBalancer service |
| service.nodePort | int | `31820` | Node port, only valid with service type: NodePort |
| service.port | int | `51820` | Service port, default is 51820 UDP |
Expand Down
3 changes: 3 additions & 0 deletions helm/wireguard/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,7 @@ spec:
{{- if .Values.service.loadBalancerIP }}
loadBalancerIP: {{ .Values.service.loadBalancerIP }}
{{- end }}
{{- if .Values.service.loadBalancerClass }}
loadBalancerClass: {{ .Values.service.loadBalancerClass }}
{{- end }}
{{- end }}
4 changes: 3 additions & 1 deletion helm/wireguard/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,9 @@ service:
annotations: {}
# -- Extra ports that can be attached to the service object, these are passed directly to the port array on the service and must be well formed to the specification
extraPorts: []
# -- Name of a secret with a wireguard private key on key privatekey, if not provided on first install a hook generates one.
# -- loadBalancerClass for kubernetes clusters with multiple load balancer classes. This value cannot be used in a upgrade flow
loadBalancerClass: ""
# -- Name of a secret with a wireguard private key on key privatekey, if not provided on first install a hook generates one
secretName: ~
replicaCount: 3
resources:
Expand Down
Loading