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

feature: loadbalancerclass #1545

Merged
merged 2 commits into from
Jun 20, 2024
Merged
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: 2 additions & 0 deletions helm/sealed-secrets/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ The command removes all the Kubernetes components associated with the chart and
| Name | Description | Value |
| ---------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | ------------------------ |
| `service.type` | Sealed Secret service type | `ClusterIP` |
| `service.loadBalancerClass` | Sealed Secret service loadBalancerClass | `` |
| `service.port` | Sealed Secret service HTTP port | `8080` |
| `service.nodePort` | Node port for HTTP | `""` |
| `service.annotations` | Additional custom annotations for Sealed Secret service | `{}` |
Expand Down Expand Up @@ -213,6 +214,7 @@ The command removes all the Kubernetes components associated with the chart and
| `metrics.dashboards.annotations` | Annotations to be added to the Grafana dashboard ConfigMap | `{}` |
| `metrics.dashboards.namespace` | Namespace where Grafana dashboard ConfigMap is deployed | `""` |
| `metrics.service.type` | Sealed Secret Metrics service type | `ClusterIP` |
| `metrics.service.loadBalancerClass` | Sealed Secret service Metrics loadBalancerClass | `` |
| `metrics.service.port` | Sealed Secret service Metrics HTTP port | `8081` |
| `metrics.service.nodePort` | Node port for HTTP | `""` |
| `metrics.service.annotations` | Additional custom annotations for Sealed Secret Metrics service | `{}` |
Expand Down
6 changes: 6 additions & 0 deletions helm/sealed-secrets/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ metadata:
{{- end }}
spec:
type: {{ .Values.service.type }}
{{- with .Values.service.loadBalancerClass }}
loadBalancerClass: {{ . }}
{{- end }}
ports:
- name: http
port: {{ .Values.service.port }}
Expand Down Expand Up @@ -57,6 +60,9 @@ metadata:
app.kubernetes.io/component: metrics
spec:
type: {{ .Values.metrics.service.type }}
{{- with .Values.metrics.service.loadBalancerClass }}
loadBalancerClass: {{ . }}
{{- end }}
ports:
- name: metrics
port: {{ .Values.metrics.service.port }}
Expand Down
6 changes: 6 additions & 0 deletions helm/sealed-secrets/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,9 @@ service:
## @param service.type Sealed Secret service type
##
type: ClusterIP
## @param service.loadBalancerClass Sealed Secret service loadBalancerClass
##
loadBalancerClass: ""
## @param service.port Sealed Secret service HTTP port
##
port: 8080
Expand Down Expand Up @@ -482,6 +485,9 @@ metrics:
## @param metrics.service.type Sealed Secret Metrics service type
##
type: ClusterIP
## @param metrics.service.loadBalancerClass Sealed Secret Metrics service loadBalancerClass
##
loadBalancerClass: ""
## @param metrics.service.port Sealed Secret service Metrics HTTP port
##
port: 8081
Expand Down
Loading