Skip to content

Commit

Permalink
Disable docker legacy service links
Browse files Browse the repository at this point in the history
Signed-off-by: Gabi Davar <[email protected]>
  • Loading branch information
mindw committed Jan 25, 2025
1 parent 213d205 commit 9bce368
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions keda/templates/manager/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ spec:
{{- end }}
{{- end }}
spec:
enableServiceLinks: {{ .Values.enableServiceLinks }}
{{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName | quote }}
{{- end }}
Expand Down
1 change: 1 addition & 0 deletions keda/templates/metrics-server/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ spec:
{{- end }}
{{- end }}
spec:
enableServiceLinks: {{ .Values.enableServiceLinks }}
{{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName | quote }}
{{- end }}
Expand Down
1 change: 1 addition & 0 deletions keda/templates/webhooks/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ spec:
{{- end }}
{{- end }}
spec:
enableServiceLinks: {{ .Values.enableServiceLinks }}
{{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName | quote }}
{{- end }}
Expand Down
3 changes: 3 additions & 0 deletions keda/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -863,3 +863,6 @@ asciiArt: true

# -- When specified, each rendered resource will have `app.kubernetes.io/managed-by: ${this}` label on it. Useful, when using only helm template with some other solution.
customManagedBy: ""

# -- Enable service links in pods. Default disabled, due to its legacy status [Legacy container links](https://docs.docker.com/engine/network/links/)
enableServiceLinks: false

0 comments on commit 9bce368

Please sign in to comment.