mirror of
https://github.com/bitnami/charts.git
synced 2026-03-05 06:47:25 +08:00
[bitnami/nats] Add support for service.headless.annotations (#15437)
* [bitnami/nats] Add support for service.headless.annotations Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Update README.md with readme-generator-for-helm Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> --------- Signed-off-by: Miguel Ruiz <miruiz@vmware.com> Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
@@ -24,4 +24,4 @@ name: nats
|
||||
sources:
|
||||
- https://github.com/bitnami/containers/tree/main/bitnami/nats
|
||||
- https://nats.io/
|
||||
version: 7.5.13
|
||||
version: 7.6.0
|
||||
|
||||
@@ -191,6 +191,7 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
| `service.externalTrafficPolicy` | NATS service external traffic policy | `Cluster` |
|
||||
| `service.annotations` | Additional custom annotations for NATS service | `{}` |
|
||||
| `service.extraPorts` | Extra ports to expose in the NATS service (normally used with the `sidecar` value) | `[]` |
|
||||
| `service.headless.annotations` | Annotations for the headless service. | `{}` |
|
||||
| `ingress.enabled` | Set to true to enable ingress record generation | `false` |
|
||||
| `ingress.pathType` | Ingress Path type | `ImplementationSpecific` |
|
||||
| `ingress.apiVersion` | Override API Version (automatically detected if not set) | `""` |
|
||||
|
||||
@@ -7,8 +7,14 @@ metadata:
|
||||
{{- if .Values.commonLabels }}
|
||||
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- if .Values.commonAnnotations }}
|
||||
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
|
||||
{{- if or .Values.commonAnnotations .Values.service.headless.annotations }}
|
||||
annotations:
|
||||
{{- if .Values.service.headless.annotations }}
|
||||
{{- include "common.tplvalues.render" ( dict "value" .Values.service.headless.annotations "context" $ ) | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- if .Values.commonAnnotations }}
|
||||
{{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
spec:
|
||||
type: ClusterIP
|
||||
|
||||
@@ -550,6 +550,12 @@ service:
|
||||
## @param service.extraPorts Extra ports to expose in the NATS service (normally used with the `sidecar` value)
|
||||
##
|
||||
extraPorts: []
|
||||
## Headless service properties
|
||||
##
|
||||
headless:
|
||||
## @param service.headless.annotations Annotations for the headless service.
|
||||
##
|
||||
annotations: {}
|
||||
## NATS ingress parameters
|
||||
## ref: https://kubernetes.io/docs/user-guide/ingress/
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user