Skip to content

Commit

Permalink
add enableServiceLinks support for server
Browse files Browse the repository at this point in the history
  • Loading branch information
chenlein committed Dec 20, 2023
1 parent 50f7439 commit 03fe018
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions templates/server-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ spec:
hostAliases:
{{ toYaml .Values.server.hostAliases | nindent 8}}
{{- end }}
enableServiceLinks: {{ .Values.server.enableServiceLinks }}
{{- if .Values.server.extraInitContainers }}
initContainers:
{{ toYaml .Values.server.extraInitContainers | nindent 8}}
Expand Down
3 changes: 3 additions & 0 deletions values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -659,6 +659,9 @@
"string"
]
},
"enableServiceLinks": {
"type": "boolean"
},
"enterpriseLicense": {
"type": "object",
"properties": {
Expand Down
4 changes: 4 additions & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,10 @@ server:
# Supported log formats include: standard, json
logFormat: ""

# Configure the Service - environment variables for the StatefulSet
# See https://kubernetes.io/docs/tutorials/services/connect-applications-service/#accessing-the-service
enableServiceLinks: true

resources: {}
# resources:
# requests:
Expand Down

0 comments on commit 03fe018

Please sign in to comment.