Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,10 @@ spec:
value: "{{ $val }}"
{{- end }}
{{- end }}
{{- if semverCompare "<1.19" .Capabilities.KubeVersion.GitVersion }}
- name: ENABLE_LEGACY_FSGROUP_INJECTION
Copy link
Contributor

@AndreaM12345 AndreaM12345 Aug 18, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does a check for JWT Policy values need to be added too? in the case of JWT_POLICY is "first-party-jwt" then ENABLE_LEGACY_FSGROUP_INJECTION needs to be false regardless of the kube version

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't need to be false -- it just can be. IMO its not needed; this is strictly an improvement for Helm. While we could add the jwt check in helm as well, the jwt change is from Kubernetes 1.12 which is ~forever ago, so I am not sure its worth the effort

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okay thanks for the clarification

value: "true"
{{- end }}
{{- if .Values.pilot.traceSampling }}
- name: PILOT_TRACE_SAMPLING
value: "{{ .Values.pilot.traceSampling }}"
Expand Down