diff --git a/templates/server-statefulset.yaml b/templates/server-statefulset.yaml index 0d8e604d0..ebf624e55 100644 --- a/templates/server-statefulset.yaml +++ b/templates/server-statefulset.yaml @@ -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}} diff --git a/values.schema.json b/values.schema.json index 976065733..9a1b348be 100644 --- a/values.schema.json +++ b/values.schema.json @@ -659,6 +659,9 @@ "string" ] }, + "enableServiceLinks": { + "type": "boolean" + }, "enterpriseLicense": { "type": "object", "properties": { diff --git a/values.yaml b/values.yaml index 17f5ca572..0b0b56276 100644 --- a/values.yaml +++ b/values.yaml @@ -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: