mirror of https://github.com/linkerd/linkerd2.git
17 lines
428 B
Smarty
17 lines
428 B
Smarty
{{- define "partials.proxy.capabilities" -}}
|
|
capabilities:
|
|
{{- if .Values.Capabilities.Add }}
|
|
add:
|
|
{{- toYaml .Values.Capabilities.Add | trim | nindent 4 }}
|
|
{{- end }}
|
|
{{- if .Values.Capabilities.Drop }}
|
|
drop:
|
|
{{- toYaml .Values.Capabilities.Drop | trim | nindent 4 }}
|
|
{{- end }}
|
|
{{- end -}}
|
|
|
|
{{- define "partials.proxy-init.capabilities.drop" -}}
|
|
drop:
|
|
{{ toYaml .Values.Capabilities.Drop | trim }}
|
|
{{- end -}}
|