-
Notifications
You must be signed in to change notification settings - Fork 825
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent terminationGracePeriodSeconds being treated as string in helm…
… charts (#628) add terminationGracePeriodSeconds to serverConfig in helm charts via json6902
- Loading branch information
1 parent
085e553
commit c4b5476
Showing
5 changed files
with
10 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
k8s/kustomize/helm-components/patch_mlserver_serverconfig_json6902.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
- op: replace | ||
path: /spec/podSpec/securityContext | ||
value: HACK_REMOVE_ME{{- toYaml .Values.serverConfig.securityContext | nindent 6 }} | ||
- op: add | ||
path: /spec/podSpec/terminationGracePeriodSeconds | ||
value: HACK_REMOVE_ME{{ .Values.serverConfig.terminationGracePeriodSeconds }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
k8s/kustomize/helm-components/patch_triton_serverconfig_json6902.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
- op: replace | ||
path: /spec/podSpec/securityContext | ||
value: HACK_REMOVE_ME{{- toYaml .Values.serverConfig.securityContext | nindent 6 }} | ||
- op: add | ||
path: /spec/podSpec/terminationGracePeriodSeconds | ||
value: HACK_REMOVE_ME{{ .Values.serverConfig.terminationGracePeriodSeconds }} |